Table of Contents

Advertisement

M16C/64A Group
7.5

Interrupts

The voltage monitor 1 interrupt and voltage monitor 2 interrupt is a non-maskable interrupt.
The watchdog timer interrupt, oscillator stop/restart detect interrupt, voltage monitor 1 interrupt, and
voltage monitor 2 interrupt share the same vector. When using some functions together, read the detect
flags of the events in an interrupt processing program, and determine the source of the interrupt.
The detect flag for voltage monitor 1 is the VW1C2 bit in the VW1C register, and the detect flag for voltage
monitor 2 is the VW2C2 bit in the VW2C register. After the interrupt source is determined, set bits VW1C2
and VW2C2 to 0 (not detected).
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
7. Voltage Detector
Page 82 of 800

Advertisement

Table of Contents
loading

Table of Contents