Datasheet

2003-2013 Microchip Technology Inc. DS39612C-page 31
PIC18F6525/6621/8525/8621
TABLE 3-1: TIME-OUT IN VARIOUS SITUATIONS
REGISTER 3-1: RCON REGISTER BITS AND POSITIONS
(1)
TABLE 3-2: STATUS BITS, THEIR SIGNIFICANCE AND THE INITIALIZATION CONDITION FOR
RCON REGISTER
Oscillator
Configuration
Power-up
(2)
Brown-out
Wake-up from
Sleep or
Oscillator Switch
PWRTE
= 0 PWRTE = 1
HS with PLL enabled
(1)
72 ms + 1024 TOSC + 2 ms 1024 TOSC + 2 ms 72 ms
(2)
+ 1024 TOSC + 2 ms 1024 TOSC + 2 ms
HS, XT, LP 72 ms + 1024 T
OSC 1024 TOSC 72 ms
(2)
+ 1024 TOSC 1024 TOSC
EC 72 ms 1.5 s72 ms
(2)
1.5 s
(3)
External RC 72 ms 72 ms
(2)
Note 1: 2 ms is the nominal time required for the 4x PLL to lock.
2: 72 ms is the nominal power-up timer delay, if implemented.
3: 1.5 s is the recovery time from Sleep. There is no recovery time from oscillator switch.
R/W-0 U-0 U-0 R/W-1 R/W-1 R/W-1 R/W-0 R/W-0
IPEN
—RITO PD POR BOR
bit 7 bit 0
Note 1: Refer to Section 4.14 “RCON Register” for bit definitions.
Condition
Program
Counter
RI
TO PD POR BOR STKFUL STKUNF
Power-on Reset 0000h 111 0 0 u u
MCLR
Reset during normal operation 0000h uuu u u u u
Software Reset during normal operation 0000h 0uu u u u u
Stack Full Reset during normal operation 0000h uuu u u u 1
Stack Underflow Reset during normal
operation
0000h uuu u u 1 u
MCLR
Reset during Sleep 0000h u10 u u u u
WDT Reset 0000h 101 u u u u
WDT Wake-up PC + 2 u00 u u u u
Brown-out Reset 0000h 111 1 0 u u
Interrupt Wake-up from Sleep PC + 2
(1)
u10 u u u u
Legend: u = unchanged, x = unknown
Note 1: When the wake-up is due to an interrupt and the GIEH or GIEL bits are set, the PC is loaded with the
interrupt vector (0008h or 0018h).