EasyManua.ls Logo

Renesas RL78/G10 - Page 131

Renesas RL78/G10
637 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/G10 CHAPTER 6 TIMER ARRAY UNIT
R01UH0384EJ0311 Rev. 3.11 114
Dec 22, 2016
The TCR0n register read value differs as follows according to operation mode changes and the operating status.
Table 6-3. Timer Counter Register 0n (TCR0n) Read Value in Various Operation Modes
Operation Mode Count Mode Timer counter register 0n (TCR0n) Read Value
Note
Value if the
operation mode
was changed after
releasing reset
Value if the count
operation paused
(TT0n = 1)
Value if the
operation mode was
changed after count
operation paused
(TT0n = 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
TDR0n register + 1
Note Following timer operation of channel n being stopped (TE0n = 0), this is the value read from the TCR0n register at the
time counter operation is enabled (TS0n = 1). The TCR0n register retains this value until counting starts.
Remark n: Channel number
n = 0, 1 (for 10-pin products); n = 0 to 3 (for 16-pin products)
Caution When channels 1 and 3 are used in 8-bit timer mode (SPLIT = 1), it is prohibited to read the TCR01H and
TDR01H registers or the TCR03H and TDR03H registers.

Table of Contents

Related product manuals