PIC18F2220/2320/4220/4320
FIGURE 22-2:
LOW-VOLTAGE DETECT (LVD) BLOCK DIAGRAM
VDD
LVDIN
LVD Control
Register
LVDIF
Internally Generated
LVDEN
Reference Voltage
1.2V
The LVD module has an additional feature that allows
the user to supply the sense voltage to the module
from an external source. This mode is enabled when
bits LVDL3:LVDL0 are set to ‘1111’. In this state, the
comparator input is multiplexed from the external input
pin, LVDIN (Figure 22-3). This gives users flexibility
because it allows them to configure the Low-Voltage
Detect interrupt to occur at any voltage in the valid
operating range.
FIGURE 22-3:
LOW-VOLTAGE DETECT (LVD) WITH EXTERNAL INPUT BLOCK DIAGRAM
VDD
VDD
LVD Control
Register
LVDIN
LVDEN
Externally Generated
Trip Point
LVD
VxEN
BODEN
EN
BGAP
DS39599C-page 232
2003 Microchip Technology Inc.