10.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 10-3.

Table 10-3. Status Bits, Their Significance and the Initialization Condition for RCON Register
ConditionProgram CounterEXTRSWRWDTOSLEEPIDLECMBORPORPWRMR
Power-on Reset or MCLR set as POR0x00000000_0000000000111
Brown-out Reset0000001u1
MCLR Reset during Run Mode1uuuuuuuu
MCLR Reset during Idle Mode1uuu1uuuu
MCLR Reset during Sleep Mode1uu1uuuuu
Software Reset Commandu1uuuuuuu
Configuration Word Mismatch Resetuuuuu1uuu
WDT Time-out Reset during Run Modeuu0uuuuuu
WDT Time-out Reset during Idle ModePC+2uu0u1uuuu
WDT Time-out Reset during Sleep Modeuu11uuuuu
Interrupt Exit from Idle ModePC+2 or Interrupt Vectoruuuu1uuuu
Interrupt Exit from Sleep Modeuuu1uuuuu
Power Monitor Reset Event0x00000000_0000uuuuuu111
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.