
PIC16(L)F1526/27
DS41458B-page 48
Preliminary
2011 Microchip Technology Inc.
REGISTER 4-2:
CONFIGURATION WORD 2
R/P-1
U-1
LVP
DEBUG
LPBOR
BORV
STVREN
—
bit 13
bit 8
U-1
R/P-1
U-1
R/P-1
—
VCAPEN(1)
—
—WRT<1:0>
bit 7
bit 0
Legend:
R = Readable bit
P = Programmable bit
U = Unimplemented bit, read as ‘1’
‘0’ = Bit is cleared
‘1’ = Bit is set
-n = Value when blank or after Bulk Erase
bit 13
LVP:
Low-Voltage Programming Enable bit
1
= Low-voltage programming enabled
0
= High-voltage on MCLR must be used for programming
bit 12
DEBUG:
In-Circuit Debugger Mode bit
1
= In-Circuit Debugger disabled, ICSPCLK and ICSPDAT are general purpose I/O pins
0
= In-Circuit Debugger enabled, ICSPCLK and ICSPDAT are dedicated to the debugger
bit 11
LPBOR:
Low-Power BOR bit
1
= Low-Power BOR is disabled
0
= Low-Power BOR is enabled
bit 10
BORV:
Brown-out Reset Voltage Selection bit
1
= Brown-out Reset voltage set to 1.9V (typical)
0
= Brown-out Reset voltage set to 2.5V (typical)
bit 9
STVREN:
Stack Overflow/Underflow Reset Enable bit
1
= Stack Overflow or Underflow will cause a Reset
0
= Stack Overflow or Underflow will not cause a Reset
bit 8-5
Unimplemented:
Read as ‘1’
bit 4
VCAPEN:
Voltage Regulator Capacitor Enable bits(1)
If PIC16LF1526/27 (regulator disabled):
These bits are ignored. All VCAP pin functions are disabled.
If PIC16F1526/27 (regulator enabled):
0
=VCAP functionality is enabled on RF0.
1
=All VCAP pin functions are disabled
bit 3-2
Unimplemented:
Read as ‘1’
bit 1-0
WRT<1:0>:
Flash Memory Self-Write Protection bits
8 kW Flash memory (PIC16(L)F1526 only):
11
= Write protection off
10
= 000h to 1FFh write-protected, 200h to 1FFFh may be modified by PMCON control
01
= 000h to FFFh write-protected, 1000h to 1FFFh may be modified by PMCON control
00
= 000h to 1FFFh write-protected, no addresses may be modified by PMCON control
16 kW Flash memory (PIC16(L)F1527 only):
11
= Write protection off
10
= 000h to 1FFh write-protected, 200h to 3FFFh may be modified by PMCON control
01
= 000h to 1FFFh write-protected, 2000h to 3FFFh may be modified by PMCON control
00
= 000h to 3FFFh write-protected, no addresses may be modified by PMCON control
Note 1:
PIC16F1526/27 only.