Datasheet

Table Of Contents
PIC18F2221/2321/4221/4321 FAMILY
DS39689F-page 266 © 2009 Microchip Technology Inc.
REGISTER 24-8: CONFIG6L: CONFIGURATION REGISTER 6 LOW (BYTE ADDRESS 30000Ah)
REGISTER 24-9: CONFIG6H: CONFIGURATION REGISTER 6 HIGH (BYTE ADDRESS 30000Bh)
U-0 U-0 U-0 U-0 U-0 U-0 R/C-1 R/C-1
WRT1 WRT0
bit 7 bit 0
bit 7-2 Unimplemented: Read as ‘0
bit 1 WRT1: Write Protection bit
1 = Block 1 not write-protected
(1)
0 = Block 1 write-protected
(1)
bit 0 WRT0: Write Protection bit
1 = Block 0 not write-protected
(1)
0 = Block 0 write-protected
(1)
Note 1: See Figure 24-5 for variable block boundaries.
Legend:
R = Readable bit C = Clearable bit U = Unimplemented bit, read as ‘0’
-n = Value when device is unprogrammed u = Unchanged from programmed state
R/C-1 R/C-1 R-1 U-0 U-0 U-0 U-0 U-0
WRTD WRTB WRTC
(1)
bit 7 bit 0
bit 7 WRTD: Data EEPROM Write Protection bit
1 = Data EEPROM not write-protected
0 = Data EEPROM write-protected
bit 6 WRTB: Boot Block Write Protection bit
1 = Boot block not write-protected
(2)
0 = Boot block write-protected
(2)
bit 5 WRTC: Configuration Register Write Protection bit
(1)
1 = Configuration registers (300000-3000FFh) not write-protected
0 = Configuration registers (300000-3000FFh) 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: See Figure 24-5 for block boundaries.
Legend:
R = Readable bit C = Clearable bit U = Unimplemented bit, read as ‘0’
-n = Value when device is unprogrammed u = Unchanged from programmed state