English
Language : 

PIC18F2331_07 Datasheet, PDF (267/400 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: LOW-VOLTAGE DETECT CONTROL REGISTER
U-0
—
bit 7
U-0
R-0
R/W-0
R/W-0
R/W-1
R/W-0
—
IRVST
LVDEN
LVDL3(1)
LVDL2(1)
LVDL1(1)
R/W-1
LVDL0(1)
bit 0
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
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(1)
1111 = External analog input is used (input comes from the LVDIN pin)
1110 = Maximum setting
.
.
.
0010 = Minimum setting
0001 = Reserved
0000 = Reserved
Note 1: LVDL3:LVDL0 modes which result in a trip point below the valid operating voltage of the device are not
tested.
© 2007 Microchip Technology Inc.
Preliminary
DS39616C-page 265