How to register a function in a driver code as its ISR

Posted by CVS-2600Hertz-wordpress-com on Stack Overflow See other posts from Stack Overflow or by CVS-2600Hertz-wordpress-com
Published on 2010-04-23T13:10:37Z Indexed on 2010/04/23 13:13 UTC
Read the original article Hit count: 332

Following the feedback i got from:
http://stackoverflow.com/questions/2683682/new-to-linux-kernel-driver-development/2683819

I have written a driver (.c file) by comparing it with an existing driver
and "borrowing" heavily from its code.

The driver is registered fine and init() and probe() are working fine.
I am also able to access the peripheral device registers. :-)

However i am a bit hazy about the IRQ/ISR.
The peripheral-device is a input device and raises an interrupt on a GPIO pin.

How do i move ahead from my current state ( init(), probe(), etc. )
to be able to handle the IRQ and execute my ISR function??

Many-Thanks in Advance

© Stack Overflow or respective owner

Related posts about irq

Related posts about isr