Datasheet

PIC18F87K22 FAMILY
DS39960D-page 412 2009-2011 Microchip Technology Inc.
REGISTER 28-8: CONFIG5L: CONFIGURATION REGISTER 5 LOW (BYTE ADDRESS 300008h)
R/C-1 R/C-1 R/C-1 R/C-1 R/C-1 R/C-1 R/C-1 R/C-1
CP7
(1)
CP6
(1)
CP5
(1)
CP4
(1)
CP3 CP2 CP1 CP0
bit 7 bit 0
Legend: C = Clearable bit
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7
CP7: Code Protection bit
(1)
1 = Block 7 is not code-protected
(2)
0 = Block 7 is code-protected
(2)
bit 6 CP6: Code Protection bit
(1)
1 = Block 6 is not code-protected
(2)
0 = Block 6 is code-protected
(2)
bit 5 CP5: Code Protection bit
(1)
1 = Block 5 is not code-protected
(2)
0 = Block 5 is code-protected
(2)
bit 4 CP4: Code Protection bit
(1)
1 = Block 4 is not code-protected
(2)
0 = Block 4 is code-protected
(2)
bit 3 CP3: Code Protection bit
1 = Block 3 is not code-protected
(2)
0 = Block 3 is code-protected
(2)
bit 2 CP2: Code Protection bit
1 = Block 2 is not code-protected
(2)
0 = Block 2 is code-protected
(2)
bit 1
CP1: Code Protection bit
1 = Block 1 is not code-protected
(2)
0 = Block 1 is code-protected
(2)
bit 0
CP0: Code Protection bit
1 = Block 0 is not code-protected
(2)
0 = Block 0 is code-protected
(2)
Note 1: This bit is available only on PIC18F67K22 and PIC18F87K22 devices.
2: For the memory size of the blocks, see Figure 28-6.