Renesas rl78 User Manual
RL78/G1A
CHAPTER 6 TIMER ARRAY UNIT
R01UH0305EJ0200 Rev.2.00
194
Jul 04, 2013
The TCRmn register read value differs as follows according to operation mode changes and the operating status.
Table 6-3. Timer Count Register mn (TCRmn) Read Value in Various Operation Modes
Timer count register mn (TCRmn) Read Value
Note
Operation Mode
Count Mode
Value if the
operation mode
was changed after
releasing reset
Value if the
operation was count
operation paused
(TTmn = 1)
Value if the
operation mode was
changed after count
operation paused
(TTmn = 1)
Value when waiting
for a start trigger
after one count
Interval timer
mode
Count down
FFFFH
Value if stop
Undefined
−
Capture mode
Count up
0000H
Value if stop
Undefined
−
Event counter
mode
Count down
FFFFH
Value if stop
Undefined
−
One-count mode
Count down
FFFFH
Value if stop
Undefined
FFFFH
Capture & one-
count mode
Count up
0000H
Value if stop
Undefined
Capture value of
TDRmn register + 1
Note This indicates the value read from the TCRmn register when channel n has stopped operating as a timer (TEmn = 0)
and has been enabled to operate as a counter (TSmn = 1). The read value is held in the TCRmn register until the
count operation starts.
Remark m: Unit number (m = 0), n: Channel number (n = 0 to 7)