Datasheet
V850ES/JG3-H, V850ES/JH3-H CHAPTER 9 16-BIT TIMER/EVENT COUNTER T (TMT)
R01UH0042EJ0500 Rev.5.00 Page 464 of 1513
Aug 12, 2011
(2) Anytime write and batch write
The TT0CCR0 and TT0CCR1 registers in TMT0 can be rewritten during timer operation (TT0CTL0.TT0CE 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 TT0CCR0 and TT0CCR1 registers to the CCR0 and
CCR1 buffer registers during timer operation (n = 0, 1).
Figure 9-3. Flowchart of Basic Operation for Anytime Write
START
Initial settings
• Set values to TT0CCRn register
•
Timer operation enable
(TT0CE bit = 1)
→ Transfer values of TT0CCRn
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
IINTTT0CC1 signal output
TTnCCRn register rewrite
→ Transfer to CCRn buffer register
IINTTT0CC0 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.
Remarks 1. The above flowchart illustrates an example of the operation in the interval
timer mode.
2. n = 0, 1