[En-Nut-Discussion] External interrupt mode

Przemyslaw Rudy prudy at audiotech.pl
Tue Aug 29 20:47:21 CEST 2006


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