PIC18F2220/2320/4220/4320
REGISTER 23-6: CONFIG5L:CONFIGURATION REGISTER 5 LOW (BYTE ADDRESS300008h)
U-0
—
U-0
—
U-0
—
U-0
—
R/C-1
CP3(1)
R/C-1
CP2(1)
R/C-1
CP1
R/C-1
CP0
bit 7
bit 0
bit 7-4 Unimplemented: Read as ‘0’
bit 3
bit 2
bit 1
bit 0
CP3: Code Protection bit(1)
1= Block 3 (001800-001FFFh) not code-protected
0= Block 3 (001800-001FFFh) code-protected
CP2: Code Protection bit(1)
1= Block 2 (001000-0017FFh) not code-protected
0= Block 2 (001000-0017FFh) code-protected
CP1: Code Protection bit
1= Block 1 (000800-000FFFh) not code-protected
0= Block 1 (000800-000FFFh) code-protected
CP0: Code Protection bit
1= Block 0 (000200-0007FFh) not code-protected
0= Block 0 (000200-0007FFh) code-protected
Note 1: Unimplemented in PIC18FX220 devices; maintain this bit set.
Legend:
R = Readable bit
C = Clearable bit
U = Unimplemented bit, read as ‘0’
u = Unchanged from programmed state
- n = Value when device is unprogrammed
REGISTER 23-7: CONFIG5H:CONFIGURATIONREGISTER5HIGH(BYTEADDRESS300009h)
R/C-1
CPD
R/C-1
CPB
U-0
—
U-0
—
U-0
—
U-0
—
U-0
—
U-0
—
bit 7
bit 0
bit 7
bit 6
CPD: Data EEPROM Code Protection bit
1= Data EEPROM not code-protected
0= Data EEPROM code-protected
CPB: Boot Block Code Protection bit
1= Boot block (000000-0001FFh) not code-protected
0= Boot block (000000-0001FFh) code-protected
bit 5-0 Unimplemented: Read as ‘0’
Legend:
R = Readable bit
C = Clearable bit
U = Unimplemented bit, read as ‘0’
u = Unchanged from programmed state
- n = Value when device is unprogrammed
2003 Microchip Technology Inc.
DS39599C-page 241