English
Language : 

HD64F2357VF13 Datasheet, PDF (393/1049 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
10.2.5 Timer Status Register (TSR)
Channel 0: TSR0
Channel 3: TSR3
Bit
:
7
6
5
4
3
2
1
0
—
—
—
TCFV TGFD TGFC TGFB TGFA
Initial value :
1
1
0
0
0
0
0
0
R/W
:—
—
—
R/(W)* R/(W)* R/(W)* R/(W)* R/(W)*
Note: * Can only be written with 0 for flag clearing.
Channel 1: TSR1
Channel 2: TSR2
Channel 4: TSR4
Channel 5: TSR5
Bit
:
Initial value :
R/W
:
7
TCFD
1
R
6
5
4
3
—
TCFU TCFV
—
1
0
0
0
— R/(W)* R/(W)* —
Note: * Can only be written with 0 for flag clearing.
2
1
0
—
TGFB TGFA
0
0
0
— R/(W)* R/(W)*
The TSR registers are 8-bit registers that indicate the status of each channel. The TPU has six TSR registers, one for each
channel. The TSR registers are initialized to H'C0 by a reset, and in hardware standby mode.
Bit 7—Count Direction Flag (TCFD): Status flag that shows the direction in which TCNT counts in channels 1, 2, 4,
and 5.
In channels 0 and 3, bit 7 is reserved. It is always read as 1 and cannot be modified.
Bit 7
TCFD
0
1
Description
TCNT counts down
TCNT counts up
(Initial value)
Bit 6—Reserved: This bit cannot be modified and is always read as 1.
Bit 5—Underflow Flag (TCFU): Status flag that indicates that TCNT underflow has occurred when channels 1, 2, 4, and
5 are set to phase counting mode.
In channels 0 and 3, bit 5 is reserved. It is always read as 0 and cannot be modified.
Bit 5
TCFU
0
1
Description
[Clearing condition]
When 0 is written to TCFU after reading TCFU = 1
[Setting condition]
When the TCNT value underflows (changes from H'0000 to H'FFFF)
(Initial value)
Rev.6.00 Oct.28.2004 page 363 of 1016
REJ09B0138-0600H