English
Language : 

PIC18F2331 Datasheet, PDF (265/396 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PIC18F2331/2431/4331/4431
21.1 Control Register
The Low-Voltage Detect Control register controls the
operation of the Low-Voltage Detect circuitry.
REGISTER 21-1:
LVDCON REGISTER
U-0
U-0
—
—
bit 7
R-0
IRVST
R/W-0
LVDEN
R/W-0
LVDL3
R/W-1
LVDL2
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.23V - 4.96V
1101 = 3.93V - 4.62V
1100 = 3.75V - 4.40V
1011 = 3.56V - 4.18V
1010 = 3.38V - 3.96V
1001 = 3.29V - 3.86V
1000 = 3.09V - 3.63V
0111 = 2.82V - 3.31V
0110 = 2.64V - 3.10V
0101 = 2.55V - 2.99V
0100 = 2.35V - 2.76V
0011 = 2.26V - 2.65V
0010 = 2.08V - 2.44V
0001 = Reserved
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
 2003 Microchip Technology Inc.
Preliminary
DS39616B-page 263