Datasheet
V850ES/JG3-H, V850ES/JH3-H CHAPTER 12 REAL-TIME COUNTER
R01UH0042EJ0500 Rev.5.00 Page 661 of 1513
Aug 12, 2011
12.4.7 Changing INTRTC2 interrupt setting during the real-time counter operation
If the setting of the INTRTC2 interrupt (interval interrupt) is changed while the real-time counter clock operates
(PC1PWR = 1), the INTRCT2 interrupt waveform may include whiskers and unintended signals may be output. Set as
follows when changing the setting of the INTRTC2 interrupt signal during the real-time counter operation (PC1PWR = 1,
RTCE = 1), in order to mask the whiskers.
Figure 12-8. Changing INTRTC2 Interrupt Setting During The real-time counter Operation
Start
Setting RTC2MK bit Masks interrupt signal (INTRTC2).
Setting RC1CC3.ICT2 to
RC1CC3.ICT0
Selects INTRTC2 (interval) interrupt interval.
End
RC1CC3.RINTE = 1 Enables INTRTC2 (interval) interrupt.
Clearing RTC2IF flag
Clears interrupt pending bit.
Clearing RTC2MK flag Unmasks interrupt signal (INTRTC2).
Remark See 23.3.4 Interrupt control register (xxICn) for details of the RTC2IF and RTC2MK bits.