BAT32G1x9 user manual | Chapter 6 Universal timer unit Timer4/8
144 / 1149
Rev.1.02
As shown below, the read value of the TCRmn register varies depending on the operating mode and operating
state.
Table 6-3 The timer count register mn (TCRmn) read value in each operating mode
Operating mode
Counting
mode
The timer counts the read value
of the register
mn
(TCRmn
).
The value at
which the
operating mode
is changed
after the reset
is lifted
Count paused
The value for
(
TTmn=1
).
Count paused
(TTmn=1) after
changing the value
at run mode
The value at
which to wait
after a single
count when the
trigger began
Interval timer mode
Decrement the
count
FFFFH
The value at
the time of stop
Indefinite
value
—
Capture mode
Increment the
count
0000H
The value at
the time of stop
Indefinite
value
—
Event counter pattern
Decrement the
count
FFFFH
The value at
the time of stop
Indefinite
value
—
Single count mode
Decrement the
count
FFFFH
The value at
the time of stop
Indefinite
value
FFFFH
Capture & single
count mode
Increment the
count
0000H
The value at
the time of stop
Indefinite
value
The capture
value of the
TDRmn
register is +1
Note: Indicates the read value of the TCRmn register when channel n is in the stopped state of timer operation (TEmn=0)
and the count allowable state (TSmn=1). Keep this value in the TCRmn register until the count starts.
Note: m: unit number (m=0,1) n: channel number (when m=0: n=0~3, m=1: n=0~7).