beautypg.com

Renesas H8S/2111B User Manual

Page 199

background image

Rev. 1.00, 05/04, page 165 of 544

Bit Bit

Name

Initial
Value R/W Description

3 OCFA

0 R/(W)*

Output Compare Flag A

This status flag indicates that the FRC value matches
the OCRA value. Only 0 can be written to this bit to
clear the flag.

[Setting condition]

When FRC = OCRA

[Clearing condition]

Read OCFA when OCFA = 1, then write 0 to OCFA

2 OCFB

0 R/(W)*

Output Compare Flag B

This status flag indicates that the FRC value matches
the OCRB value. Only 0 can be written to this bit to
clear the flag.

[Setting condition]

When FRC = OCRB

[Clearing condition]

Read OCFB when OCFB = 1, then write 0 to OCFB

1 OVF 0 R/(W)* Timer

Overflow

This status flag indicates that the FRC has overflowed.
Only 0 can be written to this bit to clear the flag.

[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

CCLRA

0

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

Note: * Only 0 can be written to clear the flag.

This manual is related to the following products: