2008-10-01 10:38:15 routine interrupt
damien OLLIVE (UNITED STATES)
Message: 62984
hy,
I have some problem to understand how can i use an interrupt? if anybody can explan me.
I have a BF548 with a key pad, i can detect the interrupt with test_event.
i have a 2008R1.5-RC3 release.
I want to use this interrupt in an application but
how can i found the irq number?
what are the header that i have to add?
to link a fonction to an interrupt i have to use request_irq. have you an example of this function?
The question is maybe stupid but i haven't succes to create my routine interrupt
thanks
QuoteReplyEditDelete
2008-10-01 10:46:42 Re: routine interrupt
Mike Frysinger (UNITED STATES)
Message: 62987
we have a documentation wiki that you know about. please search it before asking questions:
http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:interrupts
i dont know which key pad you're talking about, but if you're just using the BF548 on-chip key pad peripheral, we already have a driver for it so there is no need to write your own
QuoteReplyEditDelete
2008-10-01 11:13:37 Re: routine interrupt
damien OLLIVE (UNITED STATES)
Message: 62996
thanks,
i have read this doc but i haven't understood it that why i have asked the question.
yes i use the keypad of BF548 and i have the driver. I have just a problem to use it in an application
i am going to read it again
QuoteReplyEditDelete
2008-10-01 11:32:42 Re: routine interrupt
Mike Frysinger (UNITED STATES)
Message: 62997
if you're having trouble reading a document, describe what you're missing. dont just ask for documentation because we'll just point to a page to go read.
the bf54x keypad driver is documented here:
http://docs.blackfin.uclinux.org/doku.php?id=bf54x_keypad_input_device_driver