I'm using IAR C++ and want to give multiple interrupt vectors forTIMERA0.
I know only one can be in the interrupt table at a time, but depending on various factors I'd like to change it.
I have two problems. The first is the IAR won't let me define more than one
#pragma vector=TIMERA0_VECTOR
__interrupt void Timer_A0 (void)
{
.....
}
And the second problem is I'm not sure where to write the address of the interrupt vector. Do I just write it to
0xFFEC ? Something like
unsigned p = 0xFFEC;
*(unsigned**)p = (unsigned*)Timer_A0;
?
Thanks for your help