TI MSP430 Interrupt source

Posted by TheDelChop on Stack Overflow See other posts from Stack Overflow or by TheDelChop
Published on 2010-04-13T19:58:35Z Indexed on 2010/04/13 21:13 UTC
Read the original article Hit count: 599

Guys,

I know that when working with the MSP430F2619 and TI's CCSv4, I can get more than one interrupt to use the same interrupt handler with code that looks something like this:

#pragma vector=TIMERA1_VECTOR
#pragma vector=TIMERA0_VECTOR
__interrupt void Timer_A (void){

ServiceWatchdogTimer();
}

My question is, when I find myself in that interrupt, is there a way to figure out which one of these interrupts got me here?

Thank you,

Joe

© Stack Overflow or respective owner

Related posts about embedded

Related posts about interrupt