[En-Nut-Discussion] Interrupt question

Harald Kipp harald.kipp at egnite.de
Wed Nov 6 17:55:42 CET 2002


>
>Can someone tell me if I should be using SIGNAL when working with
>the Nut-OS or not ?

No, signal is handled within NUT/OS. You simply
write a routine, like you did.

I'm not sure, whether you enabled the timer
interrupt correctly (TIMSK?). Nut/OS will
not enable anything. It will just call your
routine when the registered interrupt occurs.

Also note, that you are allowed to use
NutPrint... for debugging purposes in interrupt
routines as long as you set the device pointer
to zero.

Harald




More information about the En-Nut-Discussion mailing list