English
Language : 

PIC18F87K22 Datasheet, PDF (382/548 Pages) Microchip Technology – 64/80-Pin, High-Performance, 1-Mbit Enhanced Flash Microcontrollers with 12-Bit A/D and nanoWatt XLP Technology
PIC18F87K22 FAMILY
26.6 Operation During Sleep
When enabled, the HLVD circuitry continues to operate
during Sleep. If the device voltage crosses the trip
point, the HLVDIF 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.
26.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 26-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
HLVDCON VDIRMAG BGVST
IRVST HLVDEN HLVDL3 HLVDL2 HLVDL1 HLVDL0
INTCON
GIE/GIEH PEIE/GIEL TMR0IE INT0IE
RBIE
TMR0IF INT0IF
RBIF
PIR2
OSCFIF
—
SSP2IF BLC2IF BCL1IF HLVDIF TMR3IF TMR3GIF
PIE2
OSCFIE
—
SSP2IE BLC2IE BCL1IE HLVDIE TMR3IE TMR3GIE
IPR2
TRISA
OSCFIP
TRISA7(1)
—
TRISA6(1)
SSP2IP
TRISA5
BLC2IP
TRISA4
BCL1IP
TRISA3
HLVDIP
TRISA2
TMR3IP TMR3GIP
TRISA1 TRISA0
ANCON0
ANSEL7 ANSEL6 ANSEL5 ANSEL4 ANSEL3 ANSEL2 ANSEL1 ANSEL0
Legend: — = unimplemented, read as ‘0’. Shaded cells are unused by the HLVD module.
Note 1: PORTA<7:6> and their direction bits are individually configured as port pins based on various primary
oscillator modes. When disabled, these bits read as ‘0’.
DS39960B-page 382
Preliminary
 2010 Microchip Technology Inc.