English
Language : 

SH7729R Datasheet, PDF (503/855 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series
14.2.5 Day of Week Counter (RWKCNT)
The day of week counter (RWKCNT) is an 8-bit readable/writable 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 range that can be set is 0–6 (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.
RWKCNT is not initialized by a power-on reset or manual reset, or in standby mode.
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 14.3.
Table 14.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.0, 09/03, page 457 of 806