Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 12 REAL-TIME COUNTER
R01UH0042EJ0500 Rev.5.00 Page 659 of 1513
Aug 12, 2011
12.4.5 Changing INTRTC1 interrupt setting during the real-time counter operation
If the setting of the INTRTC1 interrupt (alarm interrupt) signal is changed while the real-time counter clock operates
(RC1PWR = 1), the INTRCT1 interrupt waveform may include whiskers and unintended signals may be output. Set as
follows when changing the setting of the INTRTC1 interrupt signal during the real-time counter operation (PC1PWR = 1,
RTCE = 1), in order to mask the whiskers.
Figure 12-6. Changing INTRTC1 Interrupt Setting During The real-time counter Operation
Start
Setting RTC1MK bit Masks interrupt signal (INTRTC1).
RC1CC2.WALE bit = 0 Disables alarm interrupt.
RC1CC2.WALE bit = 1 Enables alarm interrupt.
End
Clearing RTC1IF flag
Clears interrupt pending bit.
Setting RC1ALM
Setting RC1ALH
Setting RC1ALW
Sets alarm minute register.
Sets alarm hour register
Sets alarm day-of-week register
Clearing RTC1MK flag Unmasks interrupt signal (INTRTC1).
Remark See 23.3.4 Interrupt control register (xxICn) for details of the RTC1IF and RTC1MK bits.