This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FE427: Setting TACCRx - Basic Timer Question

Other Parts Discussed in Thread: MSP430FE427

MCU: MSP430FE427

I have the below timer ISR, I would like to know what happens when TACCR0 rolls over? 

What happens when TACCR0 = 65530 and when TIMER_INTERVAL = 35? Would TACCR0 be set to 30?

#pragma vector=TIMERA0_VECTOR
__interrupt void TIMERA0ISR(void)
{
    TACTL &= ~TAIFG;
    TACCR0 += TIMER_INTERVAL;
    return;
}

**Attention** This is a public forum