Datasheet
V850ES/JG3-H, V850ES/JH3-H CHAPTER 7 16-BIT TIMER/EVENT COUNTER AA (TAA)
R01UH0042EJ0500 Rev.5.00 Page 235 of 1513
Aug 12, 2011
(1) Anytime write and batch write
With TAAn, the TAAnCCR0 and TAAnCCR1 registers can be rewritten during timer operation (TAAnCTL0.TAAnCE
bit = 1), but the write method (anytime write, batch write) of the CCR0 and CCR1 buffer registers differs depending
on the mode.
(a) Anytime write
In this mode, data is transferred at any time from the TAAnCCR0 and TAAnCCR1 registers to the CCR0 and
CCR1 buffer registers during timer operation.
Figure 7-3. Example of Basic Anytime Write Operation Flowchart (Interval Timer Mode of TAA0)
START
Initial settings
•
Set values to TAACCRn register
•
Timer operation enable
(TAA0CE bit = 1)
→
Transfer values of TAA0CCRn
register to CCRn buffer
register
Timer operation
•
Match between 16-bit counter
and CCR1 buffer register
Note
•
Match between 16-bit counter
and CCR0 buffer register
•
16-bit counter clear & start
INTTAA0CC1 signal output
TAA0CCRn register rewrite
→
Transfer to CCRn buffer register
INTTAA0CC0 signal output
Note The 16-bit counter is not cleared upon a match between the 16-bit counter value
and the CCR1 buffer register value. It is cleared upon a match between the 16-bit
counter value and the CCR0 buffer register value.
Remark n = 0, 1