Datasheet
© 2009 Microchip Technology Inc. DS39636D-page 245
PIC18F2X1X/4X1X
REGISTER 22-8: CONFIG6L: CONFIGURATION REGISTER 6 LOW (BYTE ADDRESS 30000Ah)
REGISTER 22-9: CONFIG6H: CONFIGURATION REGISTER 6 HIGH (BYTE ADDRESS 30000Bh)
U-0 U-0 U-0 U-0 R/C-1 R/C-1 R/C-1 R/C-1
— — — —WRT3
(1,2)
WRT2
(1)
WRT1 WRT0
bit 7 bit 0
bit 7-4 Unimplemented: Read as ‘0’
bit 3 WRT3: Write Protection bit
(1,2)
1 = Block 3 (006000-007FFFh) not write-protected
(3)
0 = Block 3 (006000-007FFFh) write-protected
(3)
1 = Block 3 (00C000-00FFFFh) not write-protected
(4)
0 = Block 3 (00C000-00FFFFh) write-protected
(4)
bit 2 WRT2: Write Protection bit
(1)
1 = Block 2 (004000-005FFFh) not write-protected
(3)
0 = Block 2 (004000-005FFFh) write-protected
(3)
1 = Block 2 (008000-00BFFFh) not write-protected
(4)
0 = Block 2 (008000-00BFFFh) write-protected
(4)
bit 1 WRT1: Write Protection bit
1 = Block 1 (002000-003FFFh) not write-protected
(3)
0 = Block 1 (002000-003FFFh) write-protected
(3)
1 = Block 1 (004000-007FFFh) not write-protected
(4)
0 = Block 1 (004000-007FFFh) write-protected
(4)
bit 0 WRT0: Write Protection bit
1 = Block 0 (000800-001FFFh) not write-protected
(3)
0 = Block 0 (000800-001FFFh) write-protected
(3)
1 = Block 0 (000800-003FFFh) not write-protected
(4)
0 = Block 0 (000800-003FFFh) write-protected
(4)
Note 1: Unimplemented in PIC18F2410/4410 devices; maintain this bit set.
2: Unimplemented in PIC18F2515/4515 devices; maintain this bit set.
3: Address range for 16K and 32K devices.
4: Address range for 48K and 64K devices.
Legend:
R = Readable bit C = Clearable bit U = Unimplemented bit, read as ‘0’
-n = Value when device is unprogrammed u = Unchanged from programmed state
U-0 R/C-1 R-1 U-0 U-0 U-0 U-0 U-0
—WRTBWRTC
(1)
— — — — —
bit 7 bit 0
bit 7 Unimplemented: Read as ‘0’
bit 6 WRTB: Boot Block Write Protection bit
1 = Boot block (000000-0007FFh) not write-protected
0 = Boot block (000000-0007FFh) write-protected
bit 5 WRTC: Configuration Register Write Protection bit
(1)
1 = Configuration registers (300000-3000FFh) not write-protected
0 = Configuration registers (300000-3000FFh) write-protected
Note 1: This bit is read-only in Normal Execution mode; it can be written only in Program mode.
bit 4-0 Unimplemented: Read as ‘0’
Legend:
R = Readable bit C = Clearable bit U = Unimplemented bit, read as ‘0’
-n = Value when device is unprogrammed u = Unchanged from programmed state