English
Language : 

HD6417705 Datasheet, PDF (407/739 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7700 Series
15.3.12 Day of Week Alarm Register (RWKAR)
The day of week alarm register (RWKAR) is an 8-bit readable/writable register, and an alarm
register corresponding to the day of week counter RWKCNT. When the ENB bit is set to 1, a
comparison with the RWKCNT value is performed. For alarm registers RSECAR, RMINAR,
RHRAR, RWKAR, RDAYAR, and RMONAR, a comparison with the corresponding counter
value is performed for those whose ENB bit is set to 1, and for RCR3, a comparison is performed
when the YAEN bit is set to 1. If all of those match, an RTC alarm interrupt is generated.
The range of day of the week alarm that can be set is 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, and it is not initialized by manual reset
and standby mode. 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
ENB
Initial Value R/W
0
R/W

0
R


R/W
Description
Day of Week Alarm Enable
Specifies whether to compare RWKCNT with
RWKAR to generate a second alarm.
0: Not compared
1: Compared
Reserved
These bits are always read as 0. The write value
should always be 0.
Day of Week Alarm Code
The range that can be set is 0 to 6 (decimal).
Code Day of the Week
0:
Sunday
1:
Monday
2:
Tuesday
3:
Wednesday
4:
Thursday
5:
Friday
6:
Saturday
Rev. 2.00, 09/03, page 361 of 690