GPIO interrupts on mpc8313e

Yoni Levin yoni.l at slyde-tech.com
Wed Aug 1 21:45:05 EST 2007


 

I want to receive interrupt from 1 GPIO port (for example 14)

I changed the GPIMR to 0xffffffff (so I need to get interrupts from all GPIO
ports)

And then request the irq by :

irq_create_mapping(NULL,74);

request_irq(74,handler,IRQF_DISABLED,"GPIO",NULL);

the return value is 0 (OK)

but I cant receive any interrupt.

do I need to do something else?

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20070801/84278eb1/attachment-0001.htm 


More information about the Linuxppc-embedded mailing list