Datasheet
2003-2013 Microchip Technology Inc. DS30491D-page 35
PIC18F6585/8585/6680/8680
TABLE 3-1: TIME-OUT IN VARIOUS SITUATIONS
REGISTER 3-1: RCON REGISTER BITS AND POSITIONS
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 + 2ms 1024 TOSC + 2 ms 1024 TOSC + 2 ms 1024 TOSC + 2 ms
EC with PLL enabled
(1)
72 ms + 2ms 1.5 s + 2 ms 2 ms 1.5 s + 2 ms
HS, XT, LP 72 ms + 1024 T
OSC 1024 TOSC 1024 TOSC 1024 TOSC
EC 72 ms 1.5 s1.5 s1.5 s
(3)
External RC 72 ms 1.5 s1.5 s1.5 s
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-1 R/W-0
IPEN
— —RITO PD POR BOR
bit 7 bit 0
Note: Refer to Section 4.14 “RCON Register” for bit definitions.
Condition
Program
Counter
RCON
Register
RI TO PD POR BOR STKFUL STKUNF
Power-on Reset 0000h 0--1 1100 1 1 1 0 0 u u
MCLR
Reset during normal
operation
0000h 0--u uuuu u u u u u u u
Software Reset during normal
operation
0000h 0--0 uuuu 0 u u u u u u
Stack Full Reset during normal
operation
0000h 0--u uu11 u u u u u u 1
Stack Underflow Reset during
normal operation
0000h 0--u uu11 u u u u u 1 u
MCLR
Reset during Sleep 0000h 0--u 10uu u 1 0 u u u u
WDT Reset 0000h 0--u 01uu 1 0 1 u u u u
WDT Wake-up PC + 2 u--u 00uu u 0 0 u u u u
Brown-out Reset 0000h 0--1 11u0 1 1 1 1 0 u u
Interrupt wake-up from Sleep PC + 2
(1)
u--u 00uu u 1 0 u u u u
Legend: u = unchanged, x = unknown, – = unimplemented bit, read as ‘0’
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 (000008h or 000018h).
18F8680.book Page 35 Tuesday, January 29, 2013 1:32 PM