Presentation is loading. Please wait.

Presentation is loading. Please wait.

67015 ACLK (32.768kHz) Timer count (ex. TA0R) Interrupt Note: Timer Settings : Upmode / CCR0=7 / CCR1 =7/ CCR2=1 Interrupts Enabled: CCR1/CCR2/overflow.

Similar presentations


Presentation on theme: "67015 ACLK (32.768kHz) Timer count (ex. TA0R) Interrupt Note: Timer Settings : Upmode / CCR0=7 / CCR1 =7/ CCR2=1 Interrupts Enabled: CCR1/CCR2/overflow."— Presentation transcript:

1 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

2 Case A: Timer is cleared in A duration ex: TA0CTL |= (MC_1 | TACLR); 67015 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

3 Case B: Timer is cleared in B duration ex: TA0CTL |= (MC_1 | TACLR); 67015 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

4 Case C: Timer is cleared in C duration ex: TA0CTL |= (MC_1 | TACLR); 67125 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


Download ppt "67015 ACLK (32.768kHz) Timer count (ex. TA0R) Interrupt Note: Timer Settings : Upmode / CCR0=7 / CCR1 =7/ CCR2=1 Interrupts Enabled: CCR1/CCR2/overflow."

Similar presentations


Ads by Google