Datasheet

PIC10(L)F320/322
DS41585A-page 22 Preliminary 2011 Microchip Technology Inc.
REGISTER 3-1: CONFIG: CONFIGURATION WORD
U-1 R/P-1/1 R/P-1/1 R/P-1/1 R/P-1/1
R/P-1/1
WRT<1:0> BORV LPBOR
LVP
bit 13 bit 8
R/P-1/1 R/P-1/1 R/P-1/1 R/P-1/1 R/P-1/1 R/P-1/1 R/P-1/1
R/P-1/1
CP MCLRE PWRTE WDTE<1:0> BOREN<1:0>
FOSC
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared P = Programmable bit
bit 13 Unimplemented: Read as ‘1
bit 12-11 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
bit 10 BORV: Brown-out Reset Voltage Selection bit
1 = Brown-out Reset Voltage (V
BOR) set to 1.9V (PIC10LF320/322) or 2.4V (PIC10F320/322)
0 = Brown-out Reset Voltage (V
BOR) set to 2.7V
bit 9 LPBOR: Low-Power Brown-out Reset Enable bit
1 = Low-power Brown-out Reset is enabled
0 = Low-power Brown-out Reset is disabled
bit 8 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
bit 7 CP
: Code Protection bit
(2)
1 = Program memory code protection is disabled
0 = Program memory code protection is enabled
bit 6 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.
bit 5 PWRTE
: Power-up Timer Enable bit
(1)
1 = PWRT disabled
0 = PWRT enabled
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.