EasyManua.ls Logo

Renesas RL78/G15

Renesas RL78/G15
765 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G15 CHAPTER 6 TIMER ARRAY UNIT
R01UH0959EJ0110 Rev.1.10 Page 174 of 765
Mar 7, 2023
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
Operation Mode Count Mode Timer count register mn (TCRmn) Read Value
Note 1
Value if the
operation mode
was changed after
releasing reset
Value if the
Operation was
restarted after
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 1. 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)

Table of Contents

Related product manuals