Datasheet
PIC18F46J11 FAMILY
DS39932D-page 378 2011 Microchip Technology Inc.
24.6 Operation During Sleep
When enabled, the HLVD circuitry continues to operate
during Sleep. If the device voltage crosses the trip
point, the LVDIF bit will be set and the device will wake-
up from Sleep. Device execution will continue from the
interrupt vector address if interrupts have been globally
enabled.
24.7 Effects of a Reset
A device Reset forces all registers to their Reset state.
This forces the HLVD module to be turned off.
TABLE 24-1: REGISTERS ASSOCIATED WITH HIGH/LOW-VOLTAGE DETECT MODULE
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Reset
Values
on page
HLVDCON VDIRMAG BGVST IRVST HLVDEN HLVDL3 HLVDL2 HLVDL1 HLVDL0 72
INTCON GIE/GIEH PEIE/GIEL
TMR0IE INT0IE RBIE TMR0IF INT0IF RBIF 69
PIR2
OSCFIF CM1IF CM2IF — BCLIF LVDIF TMR3IF CCP2IF 71
PIE2
OSCFIE CM1IE CM2IE — BCLIE LVDIE TMR3IE CCP2IE 71
IPR2 OSCFIP CM1IP CM2IP — BCLIP LVDIP TMR3IP CCP2IP 71
Legend: — = unimplemented, read as ‘0’. Shaded cells are unused by the HLVD module.