[En-Nut-Discussion] Timer1, AT90CAN128 & NutOS

Harald Kipp harald.kipp at egnite.de
Wed Jan 21 12:08:03 CET 2009


Henrik Maier wrote:

> With Nut/OS you should use NutRegisterIrqHandler() to configure the
> interrupt handler and not the ISR macro.

Sorry, Henrik, this is not fully correct. You _can_ use native
interrupts in Nut/OS applications. The main advantages of
NutRegisterIrqHandler() are, that it is portable and that you can pass a
parameter to the handler. But it also consumes some extra cycles.

Harald




More information about the En-Nut-Discussion mailing list