English
Language : 

HD64F2357VF13 Datasheet, PDF (991/1049 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
TSR1—Timer Status Register 1
H'FFE5
TPU1
Bit
:
Initial value :
Read/Write :
7
TCFD
1
R
6
5
4
3
— TCFU TCFV —
1
0
0
0
— R/(W)* R/(W)* —
2
1
0
—
TGFB TGFA
0
0
0
— R/(W)* R/(W)*
Input Capture/Output Compare Flag A
0 [Clearing conditions]
• When DTC is activated by TGIA interrupt while
DISEL bit of MRB in DTC is 0
• When DMAC is activated by TGIA interrupt
while DTA bit of DMABCR in DMAC is 1
• When 0 is written to TGFA after reading
TGFA = 1
1 [Setting conditions]
• When TCNT = TGRA while TGRA is functioning
as output compare register
• When TCNT value is transferred to TGRA by
input capture signal while TGRA is functioning
as input capture register
Input Capture/Output Compare Flag B
0 [Clearing conditions]
• When DTC is activated by TGIB interrupt while DISEL
bit of MRB in DTC is 0
• When 0 is written to TGFB after reading TGFB = 1
1 [Setting conditions]
• When TCNT = TGRB while TGRB is functioning as
output compare register
• When TCNT value is transferred to TGRB by input
capture signal while TGRB is functioning as input
capture register
Overflow Flag
0 [Clearing condition]
When 0 is written to TCFV after reading TCFV = 1
1 [Setting condition]
When the TCNT value overflows (changes from H'FFFF to H'0000 )
Underflow Flag
0 [Clearing condition]
When 0 is written to TCFU after reading TCFU = 1
1 [Setting condition]
When the TCNT value underflows (changes from H'0000 to H'FFFF)
Count Direction Flag
0 TCNT counts down
1 TCNT counts up
Note: * Can only be written with 0 for flag clearing.
TCNT1—Timer Counter 1
H'FFE6
TPU1
Bit
: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Initial value : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Read/Write : R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
Up/down-counter*
Note: * This timer counter can be used as an up/down-counter only in phase counting
mode or when performing overflow/underflow counting on another channel. In
other cases it functions as an up-counter.
Rev.6.00 Oct.28.2004 page 961 of 1016
REJ09B0138-0600H