newbie question : how to register for a new interrupt
Hi all,
I have written an service routine for handling the GPIO_WAKEUP
interrupt PSC2_4 pin (MPC5200 Core), but I donno how to register this routine into the kernel.
I have connected an external circuit which generates interrupts to this PSC2_4 pin, but I believe the Core doesnt know what to do when this interrupt is generated without registering this routine ...
Help/Suggestions/Redirections please .......
--Cheers
nSr
Quoted 5 lines · Nuguru Susheel
Hi all,
I have written an service routine for handling the
GPIO_WAKEUP
interruptPSC2_4pin (MPC5200 Core), but I donno how to register this routine into the kernel.
request_irq/free_irq() are what you're looking for. See include/linux/interrupt.h for the details.
Arthur