Thread (8 messages) flat view 8 messages, 4 authors, 2007-08-02

Re: GPIO interrupts on mpc8313e

From: Florian A. Voegel <hidden>
Date: 2007-08-01 15:24:05

Is the interrupt configured properly for whatever it is you connect to it? (level vs edge triggered, rising vs falling)

Best regards,
Florian


On Wed, 1 Aug 2007 14:45:05 +0300
"Yoni Levin" [off-list ref] wrote:
 

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?

 

 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help