English
Language : 

HD6473887 Datasheet, PDF (260/523 Pages) Renesas Technology Corp – Hitachi Single-Chip Microcomputer
Bit 7: Counter overflow flag H (OVH)
Bit 7 is a status flag indicating that ECH has overflowed from H'FF to H'00. This flag is set when
ECH overflows. It is cleared by software but cannot be set by software. OVH is cleared by
reading it when set to 1, then writing 0.
When ECH and ECL are used as a 16-bit event counter with CH2 cleared to 0, OVH functions as a
status flag indicating that the 16-bit event counter has overflowed from H'FFFF to H'0000.
Bit 7
OVH
0
1
Description
ECH has not overflowed
Clearing conditions:
After reading OVH = 1, cleared by writing 0 to OVH
ECH has overflowed
Setting conditions:
Set when ECH overflows from H'FF to H'00
(initial value)
Bit 6: Counter overflow flag L (OVL)
Bit 6 is a status flag indicating that ECL has overflowed from H'FF to H'00. This flag is set when
ECL overflows. It is cleared by software but cannot be set by software. OVL is cleared by
reading it when set to 1, then writing 0.
Bit 6
OVL
0
1
Description
ECL has not overflowed
Clearing conditions:
After reading OVL = 1, cleared by writing 0 to OVL
ECL has overflowed
Setting conditions:
Set when ECL overflows from H'FF to H'00 while CH2 is set to 1
(initial value)
Bit 5: Reserved bit
Bit 5 is reserved; it can be read and written, and is initialized to 0 upon reset.
243