This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Interrupt functions and modules

I would like to place some interrupt functions within separate code modules for reuse across applications. Is this possible?

For example, the file "system_tick.c" could contain:

static void timer0_isr(void) interrupt 1 using 1
{
//...whatever...
}

...and other related functions.

Thanks.

0