HD6432621 Hitachi, HD6432621 Datasheet - Page 992

no-image

HD6432621

Manufacturer Part Number
HD6432621
Description
(HD64F262x Series) 16-Bit Microcomputer
Manufacturer
Hitachi
Datasheet
TSR2—Timer Status Register 2
Note: * Can only be written with 0 for flag clearing.
948
Bit
Initial value
Read/Write
:
:
:
TCFD
Counter direction flag
R
7
1
0 TCNT counts down
1
TCNT counts up
Underflow flag
0 [Clearing condition]
1
6
1
When 0 is written to TCFU after reading TCFU = 1
[Setting condition]
When the TCNT value underflows (changes from H'0000 to H'FFFF)
Overflow flag
0 [Clearing condition]
1
R/(W)*
TCFU
When 0 is written to TCFV after reading TCFV = 1
[Setting condition]
When the TCNT value overflows (changes from H'FFFF to H'0000)
5
0
R/(W)*
TCFV
4
0
TGRB input capture/output compare flag
0 [Clearing conditions]
1
TGRA input capture/output compare flag
H'FF35
• When DTC is activated by TGIB interrupt,
• When 0 is written to TGFB after reading
[Setting conditions]
• When TCNT = TGRB while TGRB is
• When TCNT value is transferred to
0 [Clearing conditions]
1
and DISEL bit in DTC’s MRB is 0
TGFB = 1
functioning as output compare register
TGRB by input capture signal while TGRB
is functioning as input capture register
• When DTC is activated by TGIA interrupt,
• When 0 is written to TGFA after reading
[Setting conditions]
• When TCNT = TGRA while TGRA is
• When TCNT value is transferred to
and DISEL bit in DTC’s MRB is 0
TGFA = 1
functioning as output compare register
TGRA by input capture signal while TGRA
is functioning as input capture register
3
0
2
0
R/(W)*
TGFB
1
0
R/(W)*
TGFA
0
0
TPU2

Related parts for HD6432621