9.14.2 PCON0

Power Control Register 0
Name: PCON0
Offset: 0xFD7

Bit 76543210 
 STKOVFSTKUNFWDTWVRWDTRMCLRRIPORBOR 
Access R/W/HSR/W/HSR/W/HCR/W/HCR/W/HCR/W/HCR/W/HCR/W/HC 
Reset 0011110q 

Bit 7 – STKOVF Stack Overflow Flag bit

Reset States: 
POR/BOR = 0
All Other Resets = q
ValueDescription
1 A Stack Overflow occurred (more CALLs 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: 
POR/BOR = 0
All Other Resets = q
ValueDescription
1 A Stack Underflow occurred (more RETURNs than CALLs)
0 A Stack Underflow has not occurred or set to ‘0’ by firmware

Bit 5 – WDTWV Watchdog Window Violation Flag bit

Reset States: 
POR/BOR = 1
All Other Resets = q
ValueDescription
1 A WDT window violation has not occurred or set to ‘1’ by firmware
0

A CLRWDT instruction was issued when the WDT Reset window was closed (set to ‘0’ in hardware when a WDT window violation Reset occurs)

Bit 4 – RWDT WDT Reset Flag bit

Reset States: 
POR/BOR = 1
All Other Resets = q
ValueDescription
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: 
POR/BOR = 1
All Other Resets = q
ValueDescription
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: 
POR/BOR = 1
All Other Resets = q
ValueDescription
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: 
POR/BOR = 0
All Other Resets = u
ValueDescription
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: 
POR/BOR = q
All Other Resets = u
ValueDescription
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)