Introduces the functions of the PIC24F series, including flexible configuration options, device identification, voltage monitoring, etc.
This section of the Microchip PIC24F Family Reference Manual introduces high-level integration features that affect the entire device: flexible configuration options, device identification and on-chip voltage monitoring. It describes device Configuration bits, DEVID and DEVREV registers, Power-on Reset and Brown-out Reset, and the programmable High/Low-Voltage Detect module.
The HLVD circuit uses an internally generated reference voltage and a comparator to generate an interrupt when VDD crosses a selected trip point in the chosen direction. The trip point can be set to one of 16 values, or an external source on the HLVDIN pin can be used when HLVDL3:HLVDL0 are set to 1111.
| Configuration bit program memory location | F80000h |
|---|---|
| Device ID register width | 24 bits |
| Power-up Timer delay | 64 ms nominal |
| BOR trip points | Three selectable trip points |
| HLVD trip point settings | 16 values |
| HLVD external input pin | HLVDIN |
It can generate an interrupt when VDD crosses the selected trip voltage range in the selected direction and set the HLVDIF flag.
The trip point voltage is software programmable to any one of 16 values.
When enabled, the Power-up Timer adds a fixed nominal delay of 64 ms after TSTARTUP.
Set HLVDL3:HLVDL0 to 1111; the comparator input is then multiplexed from the external HLVDIN pin.