9.14.2 PCON0
Name: | PCON0 |
Offset: | 0xFD7 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
STKOVF | STKUNF | WDTWV | RWDT | RMCLR | RI | POR | BOR | ||
Access | R/W/HS | R/W/HS | R/W/HC | R/W/HC | R/W/HC | R/W/HC | R/W/HC | R/W/HC | |
Reset | 0 | 0 | 1 | 1 | 1 | 1 | 0 | q |
Bit 7 – STKOVF Stack Overflow Flag bit
Reset States: |
|
Value | Description |
---|---|
1 |
A Stack
Overflow occurred (more CALL s than fit on the
stack) |
0 |
A Stack
Overflow has not occurred or set to ‘0 ’ by
firmware |
Bit 6 – STKUNF Stack Underflow Flag bit
Reset States: |
|
Value | Description |
---|---|
1 |
A Stack
Underflow occurred (more RETURN s than
CALL s) |
0 |
A Stack
Underflow has not occurred or set to ‘0 ’ by
firmware |
Bit 5 – WDTWV Watchdog Window Violation Flag bit
Reset States: |
|
Value | Description |
---|---|
1 |
A WDT window
violation has not occurred or set to ‘1 ’ by
firmware |
0 |
A |
Bit 4 – RWDT WDT Reset Flag bit
Reset States: |
|
Value | Description |
---|---|
1 |
A WDT
overflow/time-out Reset has not occurred or set to ‘1 ’ by
firmware |
0 |
A WDT
overflow/time-out Reset has occurred (set to ‘0 ’ in hardware when
a WDT Reset occurs) |
Bit 3 – RMCLR MCLR Reset Flag bit
Reset States: |
|
Value | Description |
---|---|
1 |
A
MCLR Reset has not occurred or set to
‘1 ’ by firmware |
0 |
A
MCLR Reset has occurred (set to ‘0 ’
in hardware when a MCLR Reset
occurs) |
Bit 2 – RI
RESET
Instruction Flag bit
Reset States: |
|
Value | Description |
---|---|
1 |
A
RESET instruction has not been executed or set to
‘1 ’ by firmware |
0 |
A
RESET instruction has been executed (set to
‘0 ’ in hardware upon executing a RESET
instruction) |
Bit 1 – POR Power-on Reset Status bit
Reset States: |
|
Value | Description |
---|---|
1 |
No Power-on
Reset occurred or set to ‘1 ’ by
firmware |
0 |
A Power-on
Reset occurred (set to ‘0 ’ in hardware when a Power-on Reset
occurs) |
Bit 0 – BOR Brown-out Reset Status bit
Reset States: |
|
Value | Description |
---|---|
1 |
No Brown-out
Reset occurred or set to ‘1 ’ by
firmware |
0 |
A Brown-out
Reset occurred (set to ‘0 ’ in hardware when a Brown-out Reset
occurs) |