
2002 Microchip Technology Inc.
DS41120B-page 101
PIC16C717/770/771
10.0
VOLTAGE REFERENCE
MODULE AND LOW-VOLTAGE
DETECT
The Voltage Reference module provides reference
voltages for the Brown-out Reset circuitry, the Low-volt-
age Detect circuitry and the A/D converter.
The source for the reference voltages comes from the
bandgap reference circuit. The bandgap circuit is ener-
gized anytime the reference voltage is required by the
other sub-modules, and is powered down when not in
use. The control registers for this module are LVDCON
REGISTER 10-1:
LOW-VOLTAGE DETECT CONTROL REGISTER (LVDCON: 9Ch)
U-0
R-0
R/W-0
R/W-1
R/W-0
R/W-1
—
BGST
LVDEN
LV3
LV2
LV1
LV0
bit 7
bit 0
bit 7-6
Unimplemented: Read as '0'
bit 5
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
bit 4
LVDEN: Low-voltage Detect Power Enable bit
1
= Enables LVD, powers up bandgap circuit and reference generator
0
= Disables LVD, powers down bandgap circuit if unused by BOR or VRH/VRL
bit 3-0
LV<3:0>: Low Voltage Detection Limit bits(1)
1111
= External analog input is used
1110
= 4.5V
1101
= 4.2V
1100
= 4.0V
1011
= 3.8V
1010
= 3.6V
1001
= 3.5V
1000
= 3.3V
0111
= 3.0V
0110
= 2.8V
0101
= 2.7V
0100
= 2.5V
0011
= Reserved. Do not use.
0010
= Reserved. Do not use.
0001
= Reserved. Do not use.
0000
= Reserved. Do not use.
Note:
These are the minimum trip points for the LVD. See
Table 15-8 for the trip point tol-
erances. Selection of reserved setting may result in an inadvertent interrupt.
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
- n = Value at POR
’1’ = Bit is set
’0’ = Bit is cleared
x = Bit is unknown