Hour Counter (Rhrcnt); Day Of Week Counter (Rwkcnt) - Renesas RZ/A Series User Manual

Hide thumbs Also See for RZ/A Series:
Table of Contents

Advertisement

RZ/A1L Group, RZ/A1LU Group, RZ/A1LC Group
13.3.4

Hour Counter (RHRCNT)

RHRCNT is the counter used for setting/counting the BCD-coded hour value. The count operation is performed by a
carry for each 1 hour of the minute counter.
The assignable range is from 00 through 23 (practically in BCD); otherwise an operation error will occur. Carry out write
processing after stopping the count operation through the setting of the START bit in RCR2.
Bit
Bit Name
7, 6
5, 4
10 hours
3 to 0
1 hour
13.3.5

Day of Week Counter (RWKCNT)

RWKCNT is the counter used for setting/counting the BCD-coded day-of-week value. The count operation is performed
by a carry for each day of the hour counter.
The assignable range is from 0 through 6 (practically in BCD); otherwise an operation error will occur. Carry out write
processing after stopping the count operation through the setting of the START bit in RCR2.
Bit
Bit Name
7 to 3
2 to 0
Day
R01UH0437EJ0600 Rev.6.00
Jan 29, 2021
BIt:
7
6
-
-
Initial value:
0
0
R/W:
R
R
Initial
Value
R/W
Description
All 0
R
Reserved
These bits are always read as 0. The write value should always be 0.
Undefined
R/W
Counting Ten's Position of Hours
Counts from 0 to 2 for ten's position of hours.
Undefined
R/W
Counting One's Position of Hours
Counts from 0 to 9, one number per hour. When a carry is generated, 1 is added
to the ten's position.
BIt:
7
6
-
-
Initial value:
0
0
R/W:
R
R
Initial
Value
R/W
Description
All 0
R
Reserved
These bits are always read as 0. The write value should always be 0.
Undefined
R/W
Day-of-Week Counting
Day-of-week is indicated with a binary code.
000: Sunday
001: Monday
010: Tuesday
011: Wednesday
100: Thursday
101: Friday
110: Saturday
111: Reserved (setting prohibited)
5
4
3
2
1
10 hours
1 hour
Undefined Undefined Undefined Undefined Undefined Undefined
R/W
R/W
R/W
R/W
R/W
5
4
3
2
1
-
-
-
Day
0
0
0
Undefined Undefined Undefined
R
R
R
R/W
R/W
13. Realtime Clock
0
R/W
0
R/W
13-6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rz/a1 seriesRz/a1lu seriesRz/a1lc series

Table of Contents