67015 ACLK (32.768kHz) Timer count (ex. TA0R) Interrupt Note: Timer Settings : Upmode / CCR0=7 / CCR1 =7/ CCR2=1 Interrupts Enabled: CCR1/CCR2/overflow CCR1 Interrupt overflow Interrupt CCR2 Interrupt B A C Normal operation
Case A: Timer is cleared in A duration ex: TA0CTL |= (MC_1 | TACLR); ACLK (32.768kHz) Timer count (ex. TA0R) Interrupt CCR1 Interrupt overflow Interrupt CCR2 Interrupt Timer Clear In my understanding, this interrupt will happen. Is my understanding correct? Timer Restart
Case B: Timer is cleared in B duration ex: TA0CTL |= (MC_1 | TACLR); ACLK (32.768kHz) Timer count (ex. TA0R) Interrupt CCR1 Interrupt overflow Interrupt CCR2 Interrupt Timer Clear In my understanding, this interrupt will happen. Is my understanding correct? Will the value of TA0R not count up at this rising edge? Is the value of TA0R clear when the TACLR was enabled Timer Restart
Case C: Timer is cleared in C duration ex: TA0CTL |= (MC_1 | TACLR); ACLK (32.768kHz) Timer count (ex. TA0R) Interrupt CCR1 Interrupt overflow Interrupt CCR2 Interrupt Timer Clear 0 Is this interrupt occurred? Will the value of TA0R count up at this rising edge? Timer Restart