Datasheet
2010 Microchip Technology Inc. DS39616D-page 271
PIC18F2331/2431/4331/4431
REGISTER 23-9: CONFIG6L: CONFIGURATION REGISTER 6 LOW (BYTE ADDRESS 30000Ah)
U-0 U-0 U-0 U-0 R/P-1 R/P-1 R/P-1 R/P-1
— — — —WRT3
(1,2)
WRT2
(1,2)
WRT1
(2)
WRT0
(2)
bit 7 bit 0
Legend:
R = Readable bit P = Programmable bit U = Unimplemented bit, read as ‘0’
-n = Value when device is unprogrammed U = Unchanged from programmed state
bit 7-4 Unimplemented: Read as ‘0’
bit 3 WRT3: Write Protection bit
(1,2)
1 = Block 3 is not write-protected
0 = Block 3 is write-protected
bit 2 WRT2: Write Protection bit
(1,2)
1 = Block 2 is not write-protected
0 = Block 2 is write-protected
bit 1 WRT1: Write Protection bit
(2)
1 = Block 1 is not write-protected
0 = Block 1 is write-protected
bit 0 WRT0: Write Protection bit
(2)
1 = Block 0 is not write-protected
0 = Block 0 is write-protected
Note 1: Unimplemented in PIC18F2331/4331 devices; maintain this bit set.
2: Refer to Figure 23-5 for block boundary addresses.
REGISTER 23-10: CONFIG6H: CONFIGURATION REGISTER 6 HIGH (BYTE ADDRESS 30000Bh)
R/P-1 R/P-1 R-1 U-0 U-0 U-0 U-0 U-0
WRTD
(2)
WRTB
(2)
WRTC
(1,2)
— — — — —
bit 7 bit 0
Legend:
R = Readable bit P = Programmable bit U = Unimplemented bit, read as ‘0’
-n = Value when device is unprogrammed U = Unchanged from programmed state
bit 7 WRTD: Data EEPROM Write Protection bit
(2)
1 = Data EEPROM is not write-protected
0 = Data EEPROM is write-protected
bit 6 WRTB: Boot Block Write Protection bit
(2)
1 = Boot block is not write-protected
0 = Boot block is write-protected
bit 5 WRTC: Configuration Register Write Protection bit
(1,2)
1 = Configuration registers are not write-protected
0 = Configuration registers are write-protected
bit 4-0 Unimplemented: Read as ‘0’
Note 1: This bit is read-only in normal execution mode; it can be written only in Program mode.
2: Refer to Figure 23-5 for block boundary addresses.