|
HD6432345 Datasheet, PDF (855/907 Pages) Hitachi Semiconductor – H8S/2345 F-ZTAT Hardware Manual | |||
|
◁ |
TSR0âTimer Status Register 0
H'FFD5
Bit
:7
6
5
4
3
2
1
0
â
â
â
TCFV TGFD TGFC TGFB TGFA
Initial value : 1
1
0
0
0
0
0
0
Read/Write : â
â
â R/(W)* R/(W)* R/(W)* R/(W)* R/(W)*
TPU0
Input Capture/Output Compare Flag A
0 [Clearing condition]
⢠When DTC is activated by TGIA interrupt while
DISEL bit of MRB in DTC is 0
⢠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 condition]
⢠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
Input Capture/Output Compare Flag C
0 [Clearing condition]
⢠When DTC is activated by TGIC interrupt while DISEL bit of MRB in
DTC is 0
⢠When 0 is written to TGFC after reading TGFC = 1
1 [Setting conditions]
⢠When TCNT = TGRC while TGRC is functioning as output compare
register
⢠When TCNT value is transferred to TGRC by input capture signal
while TGRC is functioning as input capture register
Input Capture/Output Compare Flag D
0 [Clearing condition]
⢠When DTC is activated by TGID interrupt while DISEL bit of MRB in DTC
is 0
⢠When 0 is written to TGFD after reading TGFD = 1
1 [Setting conditions]
⢠When TCNT = TGRD while TGRD is functioning as output compare register
⢠When TCNT value is transferred to TGRD by input capture signal while
TGRD is functioning as input capture register
Overflow Flag
0 [Clearing condition]
When 0 is written to TCFV after reading TCFV = 1
1 [Setting conditions]
When the TCNT value overflows (changes from H'FFFF to H'0000 )
Note: * Can only be written with 0 for flag clearing.
846
|
▷ |