Rev. 5.00, 09/03, page 413 of 760
13.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:76543210
————— Day of week
Initial value:00000———
R/W:RRRRRR/WR/WR/W
Days of the week are coded as shown in table 13.3.
Table 13.3 Day-of-Week Codes (RWKCNT)
Day of Week Code
Sunday 0
Monday 1
Tuesday 2
Wednesday 3
Thursday 4
Friday 5
Saturday 6