BAT32G1x9 user manual | Chapter 7 Timer A
244 / 1149
Rev.1.02
7.4 Operation of timer A
7.4.1
Overrides to reload registers and counters
Independent of the operating mode, the rewriting timing of reload registers and counters varies depending on the
value of the TSTART bit of the TARR0 register. When the TSTART bit is "0" (stop count), the registers and counters
are reloaded directly; When the TSTART bit is "1" (start counting), after the registers are reloaded synchronously
with the count source, the counter is written synchronously with the next count source.
The rewrite timing diagram, determined by the value of the TSTART bit, is shown in Figure 7-9.
Figure 7-9 Rewritten timing diagram determined by the value of the TSTART bit
Counter of TIMER A
reload register
load signal of
counter
load clock of
counter
load clock of reload
register
load signal of reload
register
TA0 register
TSTART bit of
TACR0 register
counting source
read/write clock of
register
write "5678H" to TA0 register via program
write "1" to TSTART bit of TACR0 register via program
write "1234H" to TA0 register via program