Datasheet

PIC16C712/716
DS41106C-page 52 1999-2013 Microchip Technology Inc.
FIGURE 9-1: CONFIGURATION WORD
CP1 CP0 CP1 CP0 CP1 CP0 —BODENCP1 CP0 PWRTE WDTE FOSC1 FOSC0
Register:CONFIG
Address2007h
bit13 bit0
bit 13-8, 5-4: CP1:CP0: Code Protection bits
(2)
Code Protection for 2K Program memory (PIC16C716)
11 = Programming code protection off
10 = 0400h-07FFh code protected
01 = 0200h-07FFh code protected
00 = 0000h-07FFh code protected
bit 13-8, 5-4:
Code Protection for 1K Program memory bits (PIC16C712)
11 = Programming code protection off
10 = Programming code protection off
01 = 0200h-03FFh code-protected
00 = 0000h-03FFh code-protected
bit 7: Unimplemented: Read as ‘1’
bit 6: BODEN: Brown-out Reset Enable bit
(1)
1 = BOR enabled
0 = BOR disabled
bit 3: PWRTE
: Power-up Timer Enable bit
(1)
1 = PWRT disabled
0 = PWRT enabled
bit 2: WDTE: Watchdog Timer Enable bit
1 = WDT enabled
0 = WDT disabled
bit 1-0: FOSC1:FOSC0: Oscillator Selection bits
11 = RC oscillator
10 = HS oscillator
01 = XT oscillator
00 = LP oscillator
Note 1: Enabling Brown-out Reset automatically enables Power-up Timer (PWRT) regardless of the value of bit PWRTE
.
Ensure the Power-up Timer is enabled anytime Brown-out Reset is enabled.
2: All of the CP1
:CP0 pairs have to be given the same value to enable the code protection scheme listed.