Hi,
I'm writing interrupt service routines on a TMS570 part, and I haven't been able to find much documentation about the differences between the interrupt pragma, e.g.
#pragma INTERRUPT(func, IRQ)
void func() { }
and the interrupt keyword, e.g.
interrupt void func() { }
The ARM compiler's user guide doesn't talk about the difference, but the #pragma has the ability to specify which type of interrupt you're handling, which makes a difference if you're handling a data abort vs an IRQ.
Should I be using one vs the other? Does it change with aborts vs IRQs vs FIQs?
Thanks!
Tom