User’s Manual U16896EJ2V0UD
613
CHAPTER 22 LOW-VOLTAGE DETECTOR
22.1 Function
The low-voltage detector (LVI) has the following functions.
•
Compares the supply voltage (V
DD
) and detection voltage (V
LVI
), and generates an interrupt request signal
(INTLVI) or reset signal (LVIRES) when V
DD
< V
LVI
.
•
Detection levels (seven levels) of supply voltage can be changed by software.
•
Interrupt or reset function can be selected by software.
•
Operable in STOP mode.
When the low-voltage detector is used to reset, the RESF.LVIRF bit is set to 1 if the LVIRES signal is generated.
For details of the RESF register, refer to
20.3 (1) Reset source flag register (RESF)
.
22.2 Configuration
A block diagram of the low-voltage detector is shown below.
Figure 22-1. Block Diagram of Low-Voltage Detector
LVIS1 LVIS0
LVION
−
+
Detection voltage
source (
V
LVI
)
V
DD
Internal bus
N-ch
Low-voltage detection level
selection register (LVIS)
Low-voltage detection register (LVIM)
LVIS2
LVIMD
LVIF
INTLVI
Internal reset signal
(
LVIRES)
3
V
DD
Low-voltage detection level selector
Selector