English
Language : 

SH7706 Datasheet, PDF (397/749 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family/SH7700 Series
Section 13 Realtime Clock (RTC)
13.3.12 Day of the Week Alarm Register (RWKAR)
The day of the week alarm register (RWKAR) is an 8-bit read/write register, and an alarm register
corresponding to the BCD-coded day of week section counter RWKCNT of the RTC. When the
ENB bit is set to 1, a comparison with the RWKCNT value is performed. From among the
RSECAR/RMINAR/RHRAR/RWKAR/RDAYAR/RMONAR registers, 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 of day of the week can be set 0 to 6 (decimal). Errant operation will result if any other
value is set.
The ENB bit in RWKAR is initialized by a power-on reset. The remaining RWKAR fields are not
initialized by a power-on reset or manual reset, or in standby mode.
Bit
7
6 to 3
2 to 0
Bit Name Initial Value R/W
ENB
0
R/W

All 0
R


R/W
Description
Day of the week Alarm Enable
0: No compared
1: Compared
Always read as 0.
Setting value for day of the week alarm in the
BCD-code.
The range can be set from 0 to 6 (decimal).
Code Day of the Week
0:
Sunday
1:
Monday
2:
Tuesday
3:
Wednesday
4:
Thursday
5:
Friday
6:
Saturday
Rev. 5.00 May 29, 2006 page 349 of 698
REJ09B0146-0500