English
Language : 

PIC18FXX8 Datasheet, PDF (263/402 Pages) Microchip Technology – 28/40-Pin High-Performance, Enhanced Flash Microcontrollers with CAN Module
PIC18FXX8
23.1 Control Register
The Low-Voltage Detect Control register controls the
operation of the Low Voltage Detect circuitry.
REGISTER 23-1:
LVDCON: LOW-VOLTAGE DETECT CONTROL REGISTER
U-0
U-0
R-0
R/W-0
R/W-0
R/W-1
—
—
IRVST LVDEN LVDL3 LVDL2
bit 7
R/W-0
LVDL1
R/W-1
LVDL0
bit 0
bit 7-6
bit 5
bit 4
bit 3-0
Unimplemented: Read as ‘0’
IRVST: Internal Reference Voltage Stable Flag bit
1 = Indicates that the Low-Voltage Detect logic will generate the interrupt flag at the specified
voltage range
0 = Indicates that the Low-Voltage Detect logic will not generate the interrupt flag at the
specified voltage range and the LVD interrupt should not be enabled
LVDEN: Low-Voltage Detect Power Enable bit
1 = Enables LVD, powers up LVD circuit
0 = Disables LVD, powers down LVD circuit
LVDL3:LVDL0: Low-Voltage Detection Limit bits
1111 = External analog input is used (input comes from the LVDIN pin)
1110 = 4.45V min.-4.83V max.
1101 = 4.16V min.-4.5V max.
1100 = 3.96V min.-4.2V max.
1011 = 3.76V min.-4.08V max.
1010 = 3.57V min.-3.87V max.
1001 = 3.47V min.-3.75V max.
1000 = 3.27V min.-3.55V max.
0111 = 2.98V min.-3.22V max.
0110 = 2.77V min.-3.01V max.
0101 = 2.67V min.-2.89V max.
0100 = 2.48V min.-2.68V max.
0011 = 2.37V min.-2.57V max.
0010 = 2.18V min.-2.36V max.
0001 = 1.98V min.-2.14V max.
0000 = Reserved
Note: LVDL3:LVDL0 modes, which result in a trip point below the valid operating voltage
of the device, are not tested.
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared x = Bit is unknown
 2004 Microchip Technology Inc.
DS41159D-page 261