Datasheet
PIC12F752/HV752
DS41576B-page 142 Preliminary 2011 Microchip Technology Inc.
REGISTER 17-1: CONFIGURATION WORD
R/P-1 R/P-1 R/P-1 R/P-1 R/P-1 R/P-1
DEBUG
CLKOUTEN WRT<1:0> BOREN<1:0>
bit 13 bit 8
U-1 R/P-1 R/P-1 R/P-1 R/P-1 U-1 U-1 R/P-1
—
CP MCLRE PWRTE WDTE
— —
FOSC0
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 DEBUG
: Debug Mode Enable bit
(2)
1 = Background debugger is disabled
0 = Background debugger is enabled
bit 12 CLKOUTEN
: Clock Out Enable bit
1 = Clock out function disabled. CLKOUT pin acts as I/O pin
0 = General purpose I/O disabled. CLKOUT pin acts as CLKOUT
bit 11-10 WRT<1:0>: Flash Program Memory Self Write Enable bit
11 = Write protection off
10 = 000h to FFh write-protected, 100h to 3FFh may be modified by PMCON1 control
01 = 000h to 1FFh write-protected, 200h to 3FFh may be modified by PMCON1 control
00 = 000h to 3FFh write-protected, entire program is write-protected
bit 8-9 BOREN<1:0>: Brown-out Reset Enable bits
11 = BOR enabled
10 = BOR enabled during operation and disabled in Sleep
0x = BOR disabled
bit 7 Unimplemented: Read as ‘1’.
bit 6 CP
: Code Protection bit
1 = Program memory code protection is disabled
0 = Program memory code protection is enabled
bit 5 MCLRE: MCLR
/VPP Pin Function Select bit
1 = MCLR
pin is MCLR function and weak internal pull-up is enabled
0 = MCLR
pin is input function, MCLR function is internally disabled
bit 4 PWRTE
: Power-up Timer Enable bit
(1)
1 = PWRT disabled
0 = PWRT enabled
bit 3 WDTE: Watchdog Timer Enable bit
1 = WDT enabled
0 = WDT disabled
bit 2-1 Unimplemented: Read as ‘1’.
bit 0 FOSC: Oscillator Selection bits
1 = EC oscillator selected: CLKIN on RA5/CLKIN
0 = Internal oscillator: I/O function on RA5/CLKIN
Note 1: Enabling Brown-out Reset does not automatically enable Power-up Timer.
2: The Configuration bit is managed automatically by the device development tools. The user should not
attempt to manually write this bit location. However, the user should ensure that this location has been
programmed to a ‘1’ and the device checksum is correct for proper operation of production software.