Minute Counter (Rmincnt); Hour Counter (Rhrcnt) - Hitachi SH7751 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

11.2.3

Minute Counter (RMINCNT)

RMINCNT is an 8-bit readable/writable register used as a counter for setting and counting the
BCD-coded minute value in the RTC. It counts on the carry generated once per minute by the
second counter.
The setting range is decimal 00 to 59. The RTC will not operate normally if any other value is set.
Write processing should be performed after stopping the count with the START bit in RCR2, or
by using the carry flag.
RMINCNT is not initialized by a power-on or manual reset, or in standby mode.
Bit 7 is always read as 0. A write to this bit is invalid, but the write value should always be 0.
Bit:
7
Initial value:
0
R/W:
R
11.2.4

Hour Counter (RHRCNT)

RHRCNT is an 8-bit readable/writable register used as a counter for setting and counting the
BCD-coded hour value in the RTC. It counts on the carry generated once per hour by the minute
counter.
The setting range is decimal 00 to 23. The RTC will not operate normally if any other value is set.
Write processing should be performed after stopping the count with the START bit in RCR2, or
by using the carry flag.
RHRCNT is not initialized by a power-on or manual reset, or in standby mode.
Bits 7 and 6 are always read as 0. A write to these bits is invalid, but the write value should always
be 0.
Bit:
7
Initial value:
0
R/W:
R
Rev. 3.0, 04/02, page 268 of 1064
6
5
10-minute units
Undefined Undefined Undefined Undefined Undefined Undefined Undefined
R/W
R/W
6
5
10-hour units
0
Undefined Undefined Undefined Undefined Undefined Undefined
R
R/W
4
3
R/W
R/W
4
3
R/W
R/W
2
1
1-minute units
R/W
R/W
R/W
2
1
1-hour units
R/W
R/W
R/W
0
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7751r

Table of Contents