h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 321

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Bit
Note:
3
2
1
0
Bit Name
OCFA
OCFB
OVF
CCLRA
* Only 0 can be written to clear the flag.
Initial Value
0
0
0
0
R/W
R/(W) * Output Compare Flag A
R/(W) * Output Compare Flag B
R/(W) * Timer Overflow
R/W
Description
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
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
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
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
Section 11 16-Bit Free-Running Timer (FRT)
Rev. 3.00 Mar 21, 2006 page 267 of 788
REJ09B0300-0300

Related parts for h8s-2161b