0FFFFh
TAxCCR0a
TAxCCR0b
TAxCCR0c
TAxCCR0d
t
1
t
0
t
0
TAxCCR1a
TAxCCR1b
TAxCCR1c
TAxCCR1d
t
1
t
1
t
0
FFFEh
FFFFh
0h
Timer Clock
Timer
Set TAxCTL TAIFG
1h
FFFEh
FFFFh
0h
0h
0FFFFh
Timer_A Operation
647
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Timer_A
25.2.3.2 Continuous Mode
In the continuous mode, the timer repeatedly counts up to 0FFFFh and restarts from zero as shown in
. The capture/compare register
works the same way as the other capture/compare
registers.
Figure 25-4. Continuous Mode
The TAIFG interrupt flag is set when the timer
counts
from 0FFFFh to zero.
shows the flag set
cycle.
Figure 25-5. Continuous Mode Flag Setting
25.2.3.3 Use of Continuous Mode
The continuous mode can be used to generate independent time intervals and output frequencies. Each
time an interval is completed, an interrupt is generated. The next time interval is added to the TAxCCRn
register in the interrupt service routine.
shows two separate time intervals, t
0
and t
1
, being
added to the capture/compare registers. In this usage, the time interval is controlled by hardware, not
software, without impact from interrupt latency. Up to n (where n = 0 to 6), independent time intervals or
output frequencies can be generated using capture/compare registers.
Figure 25-6. Continuous Mode Time Intervals