PIC16C55X(A)
The user will note that address 2007h is beyond
the user program memory space. In fact, it belongs
to the special test/configuration memory space
(2000h – 3FFFh), which can be accessed only during
programming.
7.1
Configuration Bits
The configuration bits can be programmed (read as '0')
or left unprogrammed (read as '1') to select various
device configurations. These bits are mapped in
program memory location 2007h.
FIGURE 7-1: CONFIGURATION WORD
CP01
CP01
CP01
CP01
CP1
CP1
CP1
—
Reserved CP1
PWRTE WDTE F0SC1 F0SC0
bit0
CONFIG
REGISTER: 2007h
Address
bit13
(1)
bit 13-8 CP<1:0>: Code protection bits
5-4: 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'
Reserved: Do not use
PWRTE: Power-up Timer Enable bit
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: All of the CP1:CP0 pairs have to be given the same value to enable the code protection scheme listed.
DS40143B-page 36
Preliminary
1997 Microchip Technology Inc.