Renesas H8S/2437 Hardware Manual page 285

Renesas 16-bit single-chip microcomputer h8s family / h8s / 2600 series
Table of Contents

Advertisement

Bit
Bit Name
Initial Value
3
OCFA
0
2
OCFB
0
1
OVF
0
0
CCLRA
0
Note:
* Only 0 can be written to clear the flag.
R/W
Description
R/(W)* Output Compare Flag A
This status flag 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
R/(W)* Output Compare Flag B
This status flag 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
R/(W)* Overflow Flag
This status 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
R/W
Counter Clear A
Selects whether FRC is to be cleared at compare-
match A (when the FRC and OCRA values match).
0: FRC clearing is disabled
1: FRC is cleared at compare-match A
Rev. 1.00, 09/03, page 247 of 704

Advertisement

Table of Contents
loading

Table of Contents