Renesas R5S72640 Manuel D’Utilisation
Section 14 Realtime Clock
R01UH0134EJ0400 Rev. 4.00
Page 681 of 2108
Sep 24, 2014
SH7262 Group, SH7264 Group
14.3.4
Hour Counter (RHRCNT)
RHRCNT is used for setting/counting in the BCD-coded hour section. The count operation is
performed by a carry for each 1 hour of the minute counter.
performed by a carry for each 1 hour of the minute counter.
The assignable range is from 00 through 23 (practically in BCD), otherwise operation errors
occur. Carry out write processing after stopping the count operation through the setting of the
START bit in RCR2.
occur. Carry out write processing after stopping the count operation through the setting of the
START bit in RCR2.
Undefined Undefined Undefined Undefined Undefined Undefined
0
1
2
3
4
5
6
7
0
R/W
R/W
R/W
R/W
R/W
R/W
R
0
R
BIt:
Initial value:
R/W:
-
-
10 hours
1 hour
Bit Bit
Name
Initial
Value R/W
Value R/W
Description
7, 6
All
0
R
Reserved
These bits are always read as 0. The write value should
always be 0.
5, 4
10 hours
Undefined R/W
Counting Ten's Position of Hours
Counts on 0 to 2 for ten's position of hours.
3 to 0
1 hour
Undefined R/W
Counting One's Position of Hours
Counts on 0 to 9 once per hour. When a carry is
generated, 1 is added to the ten's position.
generated, 1 is added to the ten's position.