English
Language : 

SH7708 Datasheet, PDF (347/633 Pages) Renesas Technology Corp – SuperH™ RISC engine
Days of the week are coded as shown in table 12.4.
Table 12.4 Day-of-Week Codes (RWKAR)
Day of Week
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Code
0
1
2
3
4
5
6
12.2.13 Date Alarm Register (RDAYAR)
The date alarm register (RDAYAR) is an 8-bit read/write register, and an alarm register
corresponding to the BCD-coded date section counter RDAYCNT of the RTC. When the ENB bit
is set to 1, a comparison with the RDAYCNT value is performed. From among the registers
RSECAR, RMINAR, RHRAR, RWKAR, RDAYAR, RMONAR, the counter and alarm register
comparison is performed only on those with ENB bits set to 1, and if each of those coincide, an
RTC alarm interrupt is generated.
The range that can be set is 01–31 (decimal) + ENB bit. Errant operation will result if any other
value is set. The RDAYCNT range that can be set changes with some months and in leap years.
Please confirm the correct setting.
The ENB bit in RDAYAR is initialized by a power-on reset. The remaining RDAYAR fields are
not initialized by a power-on reset or manual reset, or in standby mode. Contents are retained in a
manual reset and in standby mode.
Bit: 7
6
5
4
3
2
1
0
Bit name: ENB
—
10 days
1 day
Initial value: 0
0
—
—
—
—
—
—
R/W: R/W
R
R/W R/W R/W R/W R/W R/W
329