English
Language : 

SH7727 Datasheet, PDF (535/1109 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7700 Series
Section 16 Realtime Clock (RTC)
16.2.5 Day of the Week Counter (RWKCNT)
The day of the week counter (RWKCNT) is an 8-bit read/write register used for setting/counting
in the BCD-coded day of week section of the RTC. The count operation is performed by a carry
for each day of the date counter.
The settable range is 0 to 6 in decimal. If other values are set, correct operation is not provided.
When modifying RWKCNT, check that the count operation has been halted with the START bit
in RCR2.
RWKCNT is not initialized by a power-on reset or manual reset, or in standby mode, and the
operation is continued.
Bit: 7
6
5
4
3
2
1
0
—
—
—
—
—
Day of week
Initial value: 0
0
0
0
0
—
—
—
R/W: R
R
R
R
R
R/W R/W R/W
Days of the week are coded as shown in table 16.3.
Table 16.3 Day-of-Week Codes (RWKCNT)
Day of Week
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Code
0
1
2
3
4
5
6
Rev. 5.00 Dec 12, 2005 page 463 of 1034
REJ09B0254-0500