4.7.2 CONFIG2
Supervisor
Note:
- The
DEBUG bit in the Configuration
Word 2 is managed automatically by device development tools,
including debuggers and programmers. For normal device operation, this bit
needs to be maintained as a ‘
1
’. - See the VBOR parameter in the “Electrical Specifications” chapter for specific trip point voltages.
Name: | CONFIG2 |
Offset: | 0x8008 |
Configuration Word 2
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
DEBUG | STVREN | PPS1WAY | ZCD | BORV | |||||
Access | R/P | R/P | R/P | R/P | R/P | U | |||
Reset | 1 | 1 | 1 | 1 | 1 | 1 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
BOREN[1:0] | LPBOREN | PWRTS[1:0] | MCLRE | ||||||
Access | R/P | R/P | R/P | U | U | R/P | R/P | R/P | |
Reset | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Bit 13 – DEBUG Debugger Enable bit(1)
Value | Description |
---|---|
1 |
Background debugger disabled |
0 |
Background debugger enabled |
Bit 12 – STVREN Stack Overflow/Underflow Reset Enable bit
Value | Description |
---|---|
1 |
Stack Overflow or Underflow will cause a Reset |
0 |
Stack Overflow or Underflow will not cause a Reset |
Bit 11 – PPS1WAY PPSLOCKED bit One-Way Set Enable bit
Value | Description |
---|---|
1 |
The PPSLOCKED bit can be cleared and set only once; the PPS registers remain locked after one clear/set cycle |
0 |
The PPSLOCKED bit can be set and cleared repeatedly (subject to the unlock sequence) |
Bit 10 – ZCD ZCD Control bit
Value | Description |
---|---|
1 |
ZCD disabled. ZCD can be enabled by setting the ZCDSEN bit of the ZCDCON register. |
0 |
ZCD always enabled, the ZCDSEN bit is ignored |
Bit 9 – BORV Brown-out Reset Voltage Selection bit(2)
Value | Description |
---|---|
1 |
Brown-out Reset voltage (VBOR) set to lower trip point level |
0 |
Brown-out Reset voltage (VBOR) set to higher trip point level |
Bits 7:6 – BOREN[1:0] Brown-out Reset Enable bits
When enabled, Brown-out Reset Voltage (VBOR) is set by the BORV bit
Value | Description |
---|---|
11 |
Brown-out Reset enabled, the SBOREN bit is ignored |
10 |
Brown-out Reset enabled while running, disabled in Sleep; the SBOREN is ignored |
01 |
Brown-out Reset enabled according to SBOREN |
00 |
Brown-out Reset disabled |
Bit 5 – LPBOREN Low-Power BOR Enable bit
Value | Description |
---|---|
1 |
Low-Power Brown-out Reset is disabled |
0 |
Low-Power Brown-out Reset is enabled |
Bits 2:1 – PWRTS[1:0] Power-up Timer Selection bits
Value | Description |
---|---|
11 |
PWRT disabled |
10 |
PWRT set at 64 ms |
01 |
PWRT set at 16 ms |
00 |
PWRT set at 1 ms |
Bit 0 – MCLRE Master Clear (MCLR) Enable bit
Value | Name | Description |
---|---|---|
If LVP =
1 |
RE3 pin function is MCLR (it will reset the device when driven low) | |
1 |
If LVP =
0 |
MCLR pin is MCLR (it will reset the device when driven low) |
0 |
If LVP =
0 |
MCLR pin function is port defined function |