Datasheet
PIC18F97J94 FAMILY
DS30575A-page 96 2012 Microchip Technology Inc.
TABLE 5-2: RCONx BIT OPERATION ON VARIOUS RESETS AND WAKE-UPS
Conditions
PC
DPSLP
EXTR
RI
TO
PD
IDLE
CM
BOR
POR
VDDBOR
VDDPOR
VBPOR
(4,6)
VBAT
(4)
DSPOR:
(4)
Loss of VDDBAT
000000 0 0 0 0 1 0 0 1 1 1 1 1 0
VBAT:
(4)
Loss of VDD While VBAT is Established
000000 1 0 0 0 1 0 0 1 1 1 1 u 1
V
DD POR:
Loss of V
DD
000000 0 0 0 0 1 0 0 1 1 1 1 uu
V
DD BOR:
Brown-out of V
DD
000000 uu00 1 0 0uu1 uuu
POR:
Loss of V
DDCORE
000000 0 0 0 0 1 0 0 1 1 uuu u
BOR
Brown-out of V
DDCORE
000000 uu00 1 0 01uuuuu
Deep Sleep Exit 000000 1 0 0 0 1 0 0 1 1 uuu u
Retention Deep Sleep Exit 000000 1 0 0 0 1 0 0 0 0 uuu u
MCLR
Reset
Operational Mode
000000 u 1 uu u uuuuuuuu
MCLR
Reset in Idle Mode 000000 u 1 u 0
(1)
0
(2)
1
(2)
uuuuuuu
MCLR
Reset in Sleep Mode 000000 u 1 u 0
(1)
0
(2)
0
(2)
uuuuuuu
RESET Instruction Reset 000000 uu1 u u uuuuuuuu
Configuration Mismatch Reset 000000 uuuuuu1 uuuuu u
WDT Reset 000000 uuu 1 u uuuuuuuu
WDT Reset in Idle Mode PC + 2 u u u 11
(2)
1
(2)
uuuuuuu
WDT Reset in Sleep Mode PC + 2 u u u 1
0
(2)
0
(2)
uuuuuuu
Interrupt in Idle Mode
with GIE = 0
PC + 2 u u u
0
(1)
1
(2)
1
(2)
uuuuuuu
Interrupt in Idle Mode
with GIE = 1
Vector u u u
0
(1)
1
(2)
1
(2)
uuuuuuu
Interrupt in Sleep Mode
With GIE = 0
PC + 2 u u u
0
(1)
0
(2)
0
(2)
uuuuuuu
Interrupt in Sleep Mode
with GIE = 1
Vector u u u
0
(1)
0
(2)
0
(2)
uuuuuuu
CLRWDT Instruction PC + 2 u u u 0
(3)
1 uuuuuuu u
IDLE Instruction PC + 2 u u u 011uuuuuuu
SLEEP Instruction PC + 2 u u u 000uuuuuuu
User Instruction Writes ‘1’PC + 2u11 1 0 1 1 1 1 1 1 1 1
User Instruction Writes ‘0’PC + 2000 0 1 0 0 0 0 0 0 0 0
Note 1: The SLEEP instruction clears the WDTO bit.
2: The CLRWDT clears the WDTO bit only when the WDT window feature is disabled or the WDT is in the safe window.
3: This bit is also set, flagging the loss of state retention even though the true POR condition has not occurred.
4: This bit is set in hardware only; it can only be cleared in software.
5: Indicates a V
DD POR. Setting the POR bit (RCON<0>) indicates a VCORE POR.
6: This bit is set when the device is originally powered up, even if power is present on V
BAT.