Datasheet
2011-2013 Microchip Technology Inc. DS30001037C-page 173
PIC24F16KL402 FAMILY
22.0 HIGH/LOW-VOLTAGE DETECT
(HLVD)
The High/Low-Voltage Detect module (HLVD) is a
programmable circuit that allows the user to specify
both the device voltage trip point and the direction of
change.
An interrupt flag is set if the device experiences an
excursion past the trip point in the direction of change.
If the interrupt is enabled, the program execution will
branch to the interrupt vector address and the software
can then respond to the interrupt.
The HLVD Control register (see Register 22-1)
completely controls the operation of the HLVD module.
This allows the circuitry to be “turned off” by the user
under software control, which minimizes the current
consumption for the device.
FIGURE 22-1: HIGH/LOW-VOLTAGE DETECT (HLVD) MODULE BLOCK DIAGRAM
Note: This data sheet summarizes the features of
this group of PIC24F devices. It is not
intended to be a comprehensive reference
source. For more information on the
High/Low-Voltage Detect, refer to the
“dsPIC33/PIC24 Family Reference
Manual”, “High-Level Integration with
Programmable High/Low-Voltage Detect
(HLVD)” (DS39725).
Set
VDD
HLVDEN
HLVDL<3:0>
HLVDIN
V
DD
Externally Generated
Trip Point
HLVDIF
HLVDEN
Internal Voltage
Reference
VDIR
1.2V Typical
–
16-to-1 MUX