|
PIC18LF24K Datasheet, PDF (477/594 Pages) – | |||
|
◁ |
PIC18(L)F26/45/46K40
REGISTER 33-2: HLVDCON0: HIGH/LOW-VOLTAGE DETECT CONTROL REGISTER 0
R/W-0/0
U-0
R-x
R-x
U-0
U-0
R/W-0/0
EN
â
OUT
RDY
â
â
INTH
bit 7
R/W-0/0
INTL
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
bit 6
bit 5
bit 4
bit 3-2
bit 1
bit 0
EN: High/Low-voltage Detect Power Enable bit
1 = Enables HLVD, powers up HLVD circuit and supporting reference circuitry
0 = Disables HLVD, powers down HLVD and supporting circuitry
Unimplemented: Read as â0â
OUT: HLVD Comparator Output bit
1 = Voltage ï£ selected detection limit (HLVDL<3:0>)
0 = Voltage ï³ selected detection limit (HLVDL<3:0>)
RDY: Band Gap Reference Voltages Stable Status Flag bit
1 = Indicates HLVD Module is ready and output is stable
0 = Indicates HLVD Module is not ready
Unimplemented: Read as â0â
INTH: HLVD Positive going (High Voltage) Interrupt Enable
1 = HLVDIF will be set when voltage ï³ selected detection limit (HLVDSEL<3:0>)
0 = HLVDIF will not be set
INTL: HLVD Negative going (Low Voltage) Interrupt Enable
1 = HLVDIF will be set when voltage ï£ selected detection limit (HLVDSEL<3:0>)
0 = HLVDIF will not be set
TABLE 33-2: REGISTERS ASSOCIATED WITH HIGH/LOW-VOLTAGE DETECT MODULE
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Register
on Page
HLVDCON0
EN
â
OUT
RDY
â
â
INTH
INTL
477
HLVDCON1
â
â
â
â
INTCON
GIE/GIEH PEIE/GIEL IPEN
â
PIR2
HLVDIF ZCDIF
â
â
PIE2
HLVDIE ZCDIE
â
â
IPR2
HLVDIP ZCDIP
â
â
SEL<3:0>
476
â
INT2EDG INT1EDG INT0EDG
169
â
â
C2IF
C1IF
172
â
â
C2IE
C1IE
180
â
â
C2IP
C1IP
188
PMD0
SYSCMD FVRMD HLVDMD CRCMD SCANMD NVMMD CLKRMD IOCMD
67
Legend:
Note 1:
â = unimplemented, read as â0â. Shaded cells are unused by the HLVD module.
PORTA<7:6> and their direction bits are individually configured as port pins based on various primary oscillator modes.
When disabled, these bits read as â0â.
ï£ 2016 Microchip Technology Inc.
Preliminary
DS40001816C-page 477
|
▷ |