GPIO interrupts on mpc8313e

Florian A. Voegel fvoegel at carangul.com
Thu Aug 2 02:26:45 EST 2007


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" <yoni.l at slyde-tech.com> 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?
> 
>  
> 
>  
> 
> 


More information about the Linuxppc-embedded mailing list