Renesas R5S72621 User Manual

Page of 2152
 
Section 14   Realtime Clock 
 
R01UH0134EJ0400  Rev. 4.00  
 
Page 683 of 2108 
Sep 24, 2014 
 
 
 
SH7262 Group, SH7264 Group 
14.3.6
 
Date Counter (RDAYCNT) 
RDAYCNT is used for setting/counting in the BCD-coded date section. The count operation is 
performed by a carry for each day of the hour counter. 
The assignable range is from 01 through 31 (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. 
The range of date changes with each month and in leap years. Confirm the correct setting. Leap 
years are recognized by dividing the year counter (RYRCNT) values by 400, 100, and 4 and 
obtaining a fractional result of 0. 
Undefined Undefined Undefined 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:
-
-
10 days
R/W
R/W
R/W
1 day
 
 
Bit Bit 
Name 
Initial 
Value 
R/W Description 
7, 6 
 All 
Reserved 
These bits are always read as 0. The write value should 
always be 0. 
5, 4 
10 days 
Undefined  R/W 
Counting Ten's Position of Dates 
3 to 0 
1 day 
Undefined  R/W 
Counting One's Position of Dates 
Counts on 0 to 9 once per date. When a carry is 
generated, 1 is added to the ten's position.