CONFIG4
| Bit15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| LVP | SCANE | WRTD | WRTB | WRTC | |||
| Access | R/W | R/W | R/W | R/W | R/W | ||
| Reset | 1 | 1 | 1 | 1 | 1 | ||
| Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| WRT3 | WRT2 | WRT1 | WRT0 | ||||
| Access | R/W | R/W | R/W | R/W | |||
| Reset | 1 | 1 | 1 | 1 |
Low-Voltage Programming Enable bit
The LVP bit cannot be written (to zero) while operating from the LVP programming interface. The purpose of this rule is to prevent the user from dropping out of LVP mode while programming from LVP mode, or accidentally eliminating LVP mode from the Configuration state.
| Value | Description |
|---|---|
| 1 | Low-voltage programming enabled. MCLR/VPP pin function is MCLR. MCLRE Configuration bit is ignored. |
| 0 | HV on MCLR/VPP must be used for programming |
Scanner Enable bit
| Value | Description |
|---|---|
| 1 | Scanner module is available for use, PMD0[SCANMD] bit enables the module |
| 0 | Scanner module is NOT available for use, PMD0[SCANMD] bit is ignored |
Data EEPROM Write Protection bit
| Value | Description |
|---|---|
| 1 | Data EEPROM NOT write-protected |
| 0 | Data EEPROM write-protected |
Boot Block Write Protection bit
| Value | Description |
|---|---|
| 1 | Boot Block NOT write-protected |
| 0 | Boot Block write-protected |
Configuration Register Write Protection bit
| Value | Description |
|---|---|
| 1 | Configuration Registers NOT write-protected |
| 0 | Configuration Registers write-protected |
User NVM Self-Write Protection bits
| Value | Description |
|---|---|
| 1 | Corresponding Memory Block NOT write-protected |
| 0 | Corresponding Memory Block write-protected |