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.
UndefinedUndefined UndefinedUndefined UndefinedUndefined
01234567
0
R/W R/W R/WR
0
R
BIt:
Initial value:
R/W:
--10 days
R/W R/WR/W
1 day
Bit Bit Name
Initial
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 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.