
PIC18F6525/6621/8525/8621
DS39612B-page 254
2005 Microchip Technology Inc.
FIGURE 23-2:
LOW-VOLTAGE DETECT (LVD) BLOCK DIAGRAM
The LVD module has an additional feature that allows
the user to supply the trip voltage to the module from
an external source. This mode is enabled when bits
LVDL3:LVDL0 are set to ‘1111’. In this state, the com-
parator input is multiplexed from the external input pin,
LVDIN
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 23-3:
LOW-VOLTAGE DETECT (LVD) WITH EXTERNAL INPUT BLOCK DIAGRAM
LVDIF
VDD
16
t
o
1
MUX
LVDEN
LVDCON
Internally Generated
Reference Voltage
LVDIN
LVDL3:LVDL0
Register
LVD
EN
16
t
o
1
M
U
X
BGAP
BODEN
LVDEN
VxEN
LVDIN
VDD
Externally Generated
Trip Point
LVDL3:LVDL0
LVDCON
Register