PIC10(L)F320/322
3.2 Register Definitions: Configuration Word
REGISTER 3-1: CONFIG: CONFIGURATION WORD
U-1
—
bit 13
R/P-1/1
R/P-1/1
WRT<1:0>
R/P-1/1
BORV
R/P-1/1
LPBOR
R/P-1/1
LVP
bit 8
R/P-1/1
CP
bit 7
R/P-1/1
MCLRE
R/P-1/1
PWRTE
R/P-1/1
R/P-1/1
WDTE<1:0>
R/P-1/1
R/P-1/1
BOREN<1:0>
R/P-1/1
FOSC
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
P = Programmable bit
bit 13
bit 12-11
bit 10
bit 9
bit 8
bit 7
bit 6
Unimplemented: Read as ‘1’
WRT<1:0>: Flash Memory Self-Write Protection bits
256 W Flash memory: PIC10(L)F320:
11 =Write protection off
10 =000h to 03Fh write-protected, 040h to 0FFh may be modified by PMCON control
01 =000h to 07Fh write-protected, 080h to 0FFh may be modified by PMCON control
00 =000h to 0FFh write-protected, no addresses may be modified by PMCON control
512 W Flash memory: PIC10(L)F322:
11 =Write protection off
10 =000h to 07Fh write-protected, 080h to 1FFh may be modified by PMCON control
01 =000h to 0FFh write-protected, 100h to 1FFh may be modified by PMCON control
00 =000h to 1FFh write-protected, no addresses may be modified by PMCON control
BORV: Brown-out Reset Voltage Selection bit
1 = Brown-out Reset voltage (VBOR), low trip point selected.
0 = Brown-out Reset voltage (VBOR), high trip point selected.
LPBOR: Low-Power Brown-out Reset Enable bit
1 = Low-power Brown-out Reset is enabled
0 = Low-power Brown-out Reset is disabled
LVP: Low-Voltage Programming Enable bit
1 = Low-Voltage Programming enabled. MCLR/VPP pin function is MCLR.
0 = High Voltage on MCLR/VPP must be used for programming
CP: Code Protection bit(2)
1 = Program memory code protection is disabled
0 = Program memory code protection is enabled
MCLRE: MCLR/VPP Pin Function Select bit
If LVP bit = 1:
This bit is ignored.
If LVP bit = 0:
1 = MCLR/VPP pin function is MCLR; Weak pull-up enabled.
0 = MCLR/VPP pin function is digital input; MCLR internally disabled; Weak pull-up under control of
WPUA3 bit.
Note 1: Enabling Brown-out Reset does not automatically enable Power-up Timer.
2: Once enabled, code-protect can only be disabled by bulk erasing the device.
3: See VBOR parameter for specific trip point voltages.
DS40001585D-page 20
2011-2015 Microchip Technology Inc.