RL78/G1P
CHAPTER 19 VOLTAGE DETECTOR
R01UH0895EJ0100 Rev.1.00
639
Nov 29, 2019
Notes 1.
The LVIMK flag is set to “1” by reset signal generation.
2.
After an interrupt is generated, perform the processing according to
Figure 19-7 Processing Procedure
After an Interrupt Is Generated
in interrupt and reset mode.
3.
After a reset is released, perform the processing according to
Figure 19-8 Initial Setting of Interrupt and
Reset Mode
in interrupt and reset mode.
Remark
V
POR
: POR power supply rise detection voltage
V
PDR
: POR power supply fall detection voltage
Figure 19-7. Processing Procedure After an Interrupt Is Generated
Perform required save processing.
INTLVI generated
LVISEN = 1
Set the LVISEN bit to 1 to mask voltage detection
(LVIOMSK = 1).
LVISEN = 0
Set the LVISEN bit to 0 to enable voltage detection.
Save processing
Yes
No
LVD reset generated
The MCU returns to normal operation when internal
reset by voltage detector (LVD) is not generated,
since a condition of V
DD
becomes V
DD
V
LVDH
.
Set the LVILV bit to 0 to set the high-voltage detection
level (VLVDH).
LVILV = 0
Normal operation
LVISEN = 1
LVISEN = 0
Set the LVISEN bit to 0 to enable voltage detection.
LVIMD = 0
Internal reset by LVD is
generated
No
Yes
LVIOMSK = 0
Set the LVISEN bit to 1 to mask voltage detection
(LVIOMSK = 1)
Set the LVIMD bit to 0 to set interrupt mode.