Renesas H8 Series Hardware Manual page 361

8-bit single-chip microcomputer
Hide thumbs Also See for H8 Series:
Table of Contents

Advertisement

Event Counter Control/Status Register (ECCSR)
Bit
7
OVH
Initial Value
0
R/W *
Read/Write
*
Note:
Bits 7 and 6 can only be written with 0, for flag clearing.
ECCSR is an 8-bit read/write register that controls counter overflow detection, counter resetting,
and halting of the count-up function.
ECCSR is initialized to H'00 upon reset.
Bit 7—Counter Overflow 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
Description
0
ECH has not overflowed
Clearing condition:
After reading OVH = 1, cleared by writing 0 to OVH
1
ECH has overflowed
Setting condition:
Set when ECH overflows from H'FF to H'00
Bit 6—Counter Overflow 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.
6
5
OVL
CH2
0
0
R/W *
R/W
R/W
4
3
2
CUEH
CUEL
0
0
0
R/W
R/W
Rev. 7.00 Mar 10, 2005 page 319 of 652
Section 9 Timers
1
0
CRCH
CRCL
0
0
R/W
R/W
(initial value)
REJ09B0042-0700

Advertisement

Table of Contents
loading

Table of Contents