English
Language : 

UPD78F0411GA-GAM-AX Datasheet, PDF (281/564 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
CHAPTER 9 REAL-TIME COUNTER
9.4.3 Setting alarm of real-time counter
Set time of alarm when WALE = 0.
Figure 9-21. Alarm Setting Procedure
Start
WALE = 0
Match operation of alarm is invalid.
WALIE = 1
Interrupt is generated when alarm matches.
Setting ALARMWM
Sets alarm minute register.
Setting ALARMWH
Sets alarm hour register.
Setting ALARMWW
Sets alarm week register.
WALE = 1
Match operation of alarm is valid.
No
INTRTC = 1?
Yes
WAFG = 1?
Match detection of alarm Yes
Alarm processing
No
Constant-period interrupt servicing
Remarks 1. ALARMWM, ALARMWH, and ALARMWW may be written in any sequence.
2. Fixed-cycle interrupts and alarm match interrupts use the same interrupt source (INTRTC). When
using these two types of interrupts at the same time, which interrupt occurred can be judged by
checking the fixed-cycle interrupt status flag (RIFG) and the alarm detection status flag (WAFG) upon
INTRTC occurrence.
User’s Manual U18698EJ1V0UD
279