PCON0

PCON0

Power Control Register 0
  0x4F0 8  

PCON0

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

Stack Overflow Flag

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

Stack Underflow Flag

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

Watchdog Window Violation Flag

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

WDT Reset Flag

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

MCLR Reset Flag

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

RESET Instruction Flag

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

Power-on Reset Status

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

Brown-out Reset Status

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)