Tool/software: TI C/C++ Compiler
All,
I´d like to code in plain C, no TI APIs or sys control functions.
But I am struggling with setting up an interrupt for WTimer0 on reload / time out.
Basically, my code looks like this:
main(void)
{
... <timer init etc, works fine, timer is running>
}
???
void timer_ISR () // ISR for timer running out / reload (WTimer periodic mode)
{
...
}
Question is: How to set up the right declaration for the ISR (interrupt service routine)? #pragma?
Thanks for your help,
Gunter