[En-Nut-Discussion] External interrupt mode

Harald Kipp harald.kipp at egnite.de
Thu Sep 7 10:45:19 CEST 2006


Top log entry of the current include/dev/irqreg.h

  * $Log: irqreg.h,v $
  * Revision 1.13  2006/01/05 16:53:56  haraldkipp
  * New function NutIrqSetMode() allows to modify the interrupt mode.

Harald

At 20:47 29.08.2006 +0200, you 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)?




More information about the En-Nut-Discussion mailing list