Datasheet
V850ES/JG3-H, V850ES/JH3-H CHAPTER 9 16-BIT TIMER/EVENT COUNTER T (TMT)
R01UH0042EJ0500 Rev.5.00 Page 457 of 1513
Aug 12, 2011
(12) TMT0 counter write register (TT0TCW)
The TT0TCW register is used to set the initial value of the 16-bit counter.
The TT0TCW register is valid only in the encoder compare mode.
This register can be read or written in 16-bit units.
Rewrite the TT0TCW register when the TT0CTL0.TT0CE bit = 0.
The value of the TT0TCW register is transferred to the 16-bit counter when the TT0CE bit is set (1).
Reset sets this register to 0000H.
TT0TCW
12 10 8 6 4 2
After reset: 0000H R/W Address: FFFFF610H
14 0
13 11 9 7 5 3
15 1
(13) TMT0 counter read buffer register (TT0CNT)
The TT0CNT register is a read buffer register that can read the count value of the 16-bit counter.
If this register is read when the TT0CTL0.TT0CE bit = 1, the count value of the 16-bit timer can be read.
This register is read-only, in 16-bit units.
The value of the TT0CNT register is set to 0000H when the TT0CTL2.TT0ECC and TT0CE bits = 0. If the
TT0CNT register is read at this time, the value of the 16-bit counter (FFFFH) is not read, but 0000H is read. The
TT0CNT register is not set to 0000H but the previous value is read when the TT0ECC bit = 1 and TT0CE bit = 0.
The TT0ECC and TT0CE bits are set to 0 after reset, and the value of the TT0CNT register is set to 0000H.
TT0CNT
12 10 8 6 4 2
After reset: 0000H R Address: FFFFFF60EH
14 0
13 11 9 7 5 3
15 1