Download Print this page

Timer Control/Status Register (Tcsr) - Renesas H8S Family Hardware Manual

Advertisement

Section 10 16-Bit Free-Running Timer (FRT)
10.2.5

Timer Control/Status Register (TCSR)

TCSR is used for counter clear selection and control of interrupt request signals.
Bit
Bit Name
7 to 4
3
OCFA
2
OCFB
1
OVF
0
CCLRA
Note:
* Only 0 can be written to clear the flag.
Rev. 1.00 Mar. 12, 2008 Page 378 of 1178
REJ09B0403-0100
Initial
Value
R/W
Description
All 0
R
Reserved
These bits are always read as 0 and cannot be modified.
0
R/(W)* Output Compare Flag A
Indicates that the FRC value matches the OCRA value.
[Setting condition]
When FRC = OCRA
[Clearing condition]
Read OCFA when OCFA = 1, then write 0 to OCFA
0
R/(W)* Output Compare Flag B
Indicates that the FRC value matches the OCRB value.
[Setting condition]
When FRC = OCRB
[Clearing condition]
Read OCFB when OCFB = 1, then write 0 to OCFB
0
R/(W)* Overflow Flag
Indicates that the FRC has overflowed.
[Setting condition]
When FRC overflows (changes from H'FFFF to H'0000)
[Clearing condition]
Read OVF when OVF = 1, then write 0 to OVF
0
R/W
Counter Clear A
Selects whether the FRC is to be cleared on compare-
match A (when the FRC and OCRA values match).
0: FRC clearing is disabled
1: FRC is cleared on compare-match A

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472