|
HD6432633 Datasheet, PDF (1312/1453 Pages) Renesas Technology Corp – Series of Microcomputers (MCUs: microcomputer units) | |||
|
◁ |
TSR1âTimer Status Register 1
TSR2âTimer Status Register 2
TSR4âTimer Status Register 4
TSR5âTimer Status Register 5
H'FF25
H'FF35
H'FE95
H'FEA5
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)*1 R/(W)*1 â
2
1
0
â
TGFB TGFA
0
0
0
â R/(W)*1 R/(W)*1
TPU1
TPU2
TPU4
TPU5
Underflow flag
0
[Clearing condition]
Writing 0 to TCFU after reading TCFU=1.
1
[Setting condition]
When the TCNT value underflows (Hâ0000 â HâFFFF).
Count direction flag
0
TCNT counts down.
1
TCNT counts up.
Overflow flag
0
[Clearing condition]
Writing 0 to TCFV after reading TCFV=1.
1
[Setting condition]
When the TCNT value overflows (HâFFFF â Hâ0000).
Input capture/output compare flag B
0
[Clearing conditions]
(1) When the DTC*2 is started by a TGIB interrupt and the DTC*2 MRB DISEL
bit is 0;
(2) Writing 0 to TGFB after reading TGFB=1.
1
[Setting conditions]
(1) When TGRB is functioning as the output compare register and TCNT=
TGRB;
(2) When TGRB is functioning as the input capture register and the value
of TCNT is sent to TGRB by the input capture signal.
Input capture/output compare flag A
0
[Clearing conditions]
(1) When the DTC*2 is started by a TGIA interrupt and the DTC*2 MRB DISEL
bit is 0;
(2) When the DMAC*2 is started by a TGIA interrupt and the DMAC*2 DMABCR
DTA bit is 1;
(3) Writing 0 to TGFA after reading TGFA=1.
1
[Setting conditions]
(1) When TGRA is functioning as the output compare register and TCNT=
TGRA;
(2) When TGRA is functioning as the input capture register and the value
of TCNT is sent to TGRA by the input capture signal.
Notes: *1 Only 0 can be written to these bits (to clear these flags).
*2 This function is not available in the H8S/2695.
1258
|
▷ |