PIC18F010/020
11.1 Control Register
The Low Voltage Detect Control register controls the
operation of the Low Voltage Detect circuitry.
REGISTER 11-1: LVDCON REGISTER
U-0
—
bit 7
U-0
R-0
—
BGST
R/W-0
LVDEN
R/W-0
LVV3
R/W-1
LVV2
R/W-0
LVV1
R/W-1
LVV0
bit 0
bit 7-6
bit 5
bit 4
bit 3-0
Unimplemented: Read as '0'
BGST: Bandgap Stable Status Flag bit
1 = Indicates that the bandgap voltage is stable and LVD interrupt is reliable
0 = Indicates that the bandgap voltage is not stable and LVD interrupt should not be enabled
LVDEN: Low Voltage Detect Power Enable bit
1 = Enables LVD, powers up LVD circuit and bandgap reference generator
0 = Disables LVD, powers down LVD and bandgap circuits
LVV3:LVV0: Low Voltage Detection Limit bits
1111 = Reserved
1110 = Reserved
1101 = 4.0V
1100 = 3.5V
1011 = 3.0V
1010 = 2.9V
1001 = 2.8V
1000 = 2.7V
0111 = 2.6V
0110 = 2.5V
0101 = 2.4V
0100 = 2.3V
0011 = 2.2V
0010 = 2.1V
0001 = 2.0V
0000 = 1.9V
Legend:
R = Readable bit
U = Unimplemented bit, read as ‘0’
W = Writable bit
- n = Value at POR Reset
Note: This register must be unlocked to modify, see Section 12.4.
2001 Microchip Technology Inc.
Preliminary
DS41142A-page 79