Renesas R5S72642 Manual Do Utilizador
Section 14 Realtime Clock
Page 682 of 2108
R01UH0134EJ0400 Rev. 4.00
Sep
24,
2014
SH7262 Group, SH7264 Group
14.3.5
Day of Week Counter (RWKCNT)
RWKCNT is used for setting/counting day of week section. The count operation is performed by a
carry for each day of the date counter.
carry for each day of the date counter.
The assignable range is from 0 through 6 (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.
Carry out write processing after stopping the count operation through the setting of the START bit
in RCR2.
Undefined Undefined Undefined
0
1
2
3
4
5
6
7
0
R/W
R/W
R/W
R
0
R
BIt:
Initial value:
R/W:
-
-
0
R
-
0
R
-
0
R
-
Day
Bit Bit
Name
Initial
Value R/W
Value R/W
Description
7 to 3
All
0
R
Reserved
These bits are always read as 0. The write value should
always be 0.
2 to 0
Day
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)