English
Language : 

PIC16C6X_13 Datasheet, PDF (124/334 Pages) Microchip Technology – null8-Bit CMOS Microcontrollers
PIC16C6X
FIGURE 13-2: CONFIGURATION WORD FOR PIC16C62/64/65
—
—
—
—
—
—
—
— CP1 CP0 PWRTE WDTE FOSC1 FOSC0
bit13
bit0
bit 13-6: Unimplemented: Read as '1'
bit 5-4:
CP1:CP0: Code Protection bits
11 = Code protection off
10 = Upper half of program memory code protected
01 = Upper 3/4th of program memory code protected
00 = All memory is code protected
bit 3:
PWRTE: Power-up Timer Enable bit
1 = Power-up Timer enabled
0 = Power-up Timer disabled
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
Register: CONFIG
Address
2007h
FIGURE 13-3: CONFIGURATION WORD FOR PIC16C62A/R62/63/R63/64A/R64/65A/R65/66/67
CP1 CP0 CP1 CP0 CP1 CP0 — BODEN CP1 CP0 PWRTE WDTE FOSC1 FOSC0
bit13
bit0
bit 13-8:
bit 5:4
CP1:CP0: Code Protection bits(2)
11 = Code protection off
10 = Upper half of program memory code protected
01 = Upper 3/4th of program memory code protected
00 = All memory is code protected
bit 7:
bit 6:
bit 3:
Unimplemented: Read as '1'
BODEN: Brown-out Reset Enable bit (1)
1 = Brown-out Reset enabled
0 = Brown-out Reset disabled
PWRTE: Power-up Timer Enable bit (1)
1 = Power-up Timer disabled
0 = Power-up Timer 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
Register: CONFIG
Address
2007h
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 implement the code protection scheme listed.
DS30234E-page 124
 1997-2013 Microchip Technology Inc.