[En-Nut-Discussion] Problem using hardware interrupts

Michael Fischer fischermi at t-online.de
Mon Feb 10 20:27:27 CET 2003


Hi Tom,

have you try the following?
Try it with NutRegisterIrqHandler.

I have not try it with the real compiler, but I use 
NutRegisterIrqHandler in my IDE code.


#include <dev/irqreg.h> 


static void loop_trigger (void *arg)
{
  return;
}

int main (void)
{
  NutRegisterIrqHandler(&sig_OVERFLOW0, loop_trigger, NULL);
    for(;;);
}

Regards,

Michael




More information about the En-Nut-Discussion mailing list