![Renesas RL78/G1H User Manual Download Page 269](http://html.mh-extra.comrl78-g1h_user-manual_1440449269.png)
CHAPTER 9 REAL-TIME CLOCK
Page 251 of 920
9.3.13
Alarm minute register (ALARMWM)
This register is used to set minutes of alarm.
The ALARMWM register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Caution
Set a decimal value of 00 to 59 to this register in BCD code. If a value outside the range is set,
the alarm is not detected.
Figure 9 - 15 Format of Alarm minute register (ALARMWM)
9.3.14
This register is used to set hours of alarm.
The ALARMWH register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 12H.
However, the value of this register is 00H if the AMPM bit is set to 1 after reset.
Caution
Set a decimal value of 00 to 23, 01 to 12, or 21 to 32 to this register in BCD code. If a value
outside the range is set, the alarm is not detected.
Figure 9 - 16 Format of Alarm hour register (ALARMWH)
Caution
Bit 5 (WH20) of the ALARMWH register indicates AM(0)/PM(1) if AMPM = 0 (if the 12-hour system is
selected).
9.3.15
This register is used to set date of alarm.
The ALARMWW register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 9 - 17 Format of Alarm week register (ALARMWW)
Address: FFF9AH
After reset: 00H
Symbol
7
6
5
4
3
2
1
0
0
WM40
WM20
WM10
WM8
WM4
WM2
WM1
Address: FFF9BH
After reset: 12H
Symbol
7
6
5
4
3
2
1
0
0
0
WH20
WH10
WH8
WH4
WH2
WH1
Address: FFF9CH
After reset: 00H
Symbol
7
6
5
4
3
2
1
0
0
WW6
WW5
WW4
WW3
WW2
WW1
WW0
Summary of Contents for RL78/G1H
Page 941: ...R01UH0575EJ0120 RL78 G1H...