English
Language : 

SH7708 Datasheet, PDF (343/633 Pages) Renesas Technology Corp – SuperH™ RISC engine
Days of the week are coded as shown in table 12.3.
Table 12.3 Day-of-Week Codes (RWKCNT)
Day of Week
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Code
0
1
2
3
4
5
6
12.2.6 Date Counter (RDAYCNT)
The date counter (RDAYCNT) is an 8-bit read/write register used for setting/counting in the BCD-
coded date section of the RTC. The count operation is performed by a carry for each day of the
hour counter.
The range that can be set is 01–31 (decimal). Errant operation will result if any other value is set.
Carry out write processing after halting the count operation with the START bit in RCR2, or
perform a write using the carry flag as shown in figure 12.2.
RDAYCNT is not initialized by a power-on reset or manual reset, or in standby mode.
The RDAYCNT range that can be set changes with each month and in leap years. Please confirm
the correct setting.
Bit: 7
Bit name: —
Initial value: 0
R/W: R
6
5
4
3
2
1
0
—
10 days
1 day
0
—
—
—
—
—
—
R
R/W R/W R/W R/W R/W R/W
325