[En-Nut-Discussion] Re: External interrupt mode

Przemyslaw Rudy prudy at audiotech.pl
Tue Aug 29 21:01:36 CEST 2006


ok, this is about ethernut 4.0.3, the newest version has it implemented.

Przemyslaw Rudy wrote:

> Hi
> 
> I am looking for the API to change the external interrupt mode to edge
> instead of default low level.
> 
> The ivectXX.c define AvrInterruptXCtl functions that can handle
> NUT_IRQCTL_SETMODE option.
> The irqreg.h defines NutIrqEnable/NuIrqDisable/NtIrqSetPriority that use
> AvrInterruptXCtl but there is nothing like NtIrqSetMode().
> 
> Is there any particular reason why there is no wrapper to set the
> interrupt mode or it is just ‘not done yet’ as rarely needed (e.g.
> drivers do it by themselves anyway)?
> 
> Thanks
> Przemek
> 



More information about the En-Nut-Discussion mailing list