12.5 Effects of Reset

The Reset value for the Reset Control register, RCON, will depend on the type of device Reset, as indicated in Table 12-3.

Table 12-3. Status Bits, Their Significance and the Initialization Condition for RCON Register
ConditionProgram CounterEXTRSWRWDTOSLEEPIDLECMBORPOR
Power-on Reset or MCLR set as POR0x00000000_000000000011
Brown-out Reset0000001u
MCLR Reset during Run Mode1uuuuuuu
MCLR Reset during Idle Mode1uuu1uuu
MCLR Reset during Sleep Mode1uu1uuuu
Software Reset Commandu1uuuuuu
Configuration Word Mismatch Resetuuuuu1uu
WDT Time-out Reset during Run Modeuu0uuuuu
WDT Time-out Reset during Idle ModePC+2uu0u1uuu
WDT Time-out Reset during Sleep Modeuu11uuuu
Interrupt Exit from Idle ModePC+2 or Interrupt Vectoruuuu1uuu
Interrupt Exit from Sleep Modeuuu1uuuu
Legend: u = unchanged
Note: The Program Counter (PC) is loaded with PC + 2 if the interrupt priority is less than or equal to the CPU interrupt priority level. The PC is loaded with the hardware vector address if the interrupt priority is greater than the CPU interrupt priority level.