Renesas H8S/2158 User Manual page 349

16-bit single-chip microcomputer h8s family/h8s/2100 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.
Section 12 16-Bit Free-Running Timer (FRT)
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
This bit selects whether the 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. 3.00 Jan 25, 2006 page 295 of 872
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents