Datasheet
PIC16F688
DS41203E-page 118 © 2009 Microchip Technology Inc.
TABLE 11-4: INITIALIZATION CONDITION FOR REGISTERS (CONTINUED)
TABLE 11-5: INITIALIZATION CONDITION FOR SPECIAL REGISTERS
Register Address
Power-on
Reset
• MCLR
Reset
• WDT Reset
• Brown-out Reset
(1)
• Wake-up from Sleep
through interrupt
• Wake-up from Sleep
through WDT time-out
OSCCON 8Fh -110 q000 -110 q000 -uuu uuuu
OSCTUNE 90h ---0 0000 ---u uuuu ---u uuuu
ANSEL 91h 1111 1111 1111 1111 uuuu uuuu
WPUA 95h --11 -111 --11 -111 uuuu uuuu
IOCA 96h --00 0000 --00 0000 --uu uuuu
EEDATH 97h --00 0000 --00 0000 --uu uuuu
EEADRH 98h ---- 0000 ---- 0000 ---- uuuu
VRCON 99h 0-0- 0000 0-0- 0000 u-u- uuuu
EEDAT 9Ah 0000 0000 0000 0000 uuuu uuuu
EEADR 9Bh 0000 0000 0000 0000 uuuu uuuu
EECON1 9Ch x--- x000 u--- q000 u--- uuuu
EECON2 9Dh ---- ---- ---- ---- ---- ----
ADRESL 9Eh xxxx xxxx uuuu uuuu uuuu uuuu
ADCON1 9Fh -000 ---- -000 ---- -uuu ----
Legend: u = unchanged, x = unknown, – = unimplemented bit, reads as ‘0’, q = value depends on condition.
Note 1: If V
DD goes too low, Power-on Reset will be activated and registers will be affected differently.
2: One or more bits in INTCON and/or PIR1 will be affected (to cause wake-up).
3: When the wake-up is due to an interrupt and the GIE bit is set, the PC is loaded with the interrupt
vector (0004h).
4: See Table 11-5 for Reset value for specific condition.
5: If Reset was due to brown-out, then bit 0 = 0. All other Resets will cause bit 0 = u.
Condition
Program
Counter
Status
Register
PCON
Register
Power-on Reset 000h 0001 1xxx --01 --0x
MCLR
Reset during normal operation 000h 000u uuuu --0u --uu
MCLR
Reset during Sleep 000h 0001 0uuu --0u --uu
WDT Reset 000h 0000 uuuu --0u --uu
WDT Wake-up PC + 1 uuu0 0uuu --uu --uu
Brown-out Reset 000h 0001 1uuu --01 --10
Interrupt Wake-up from Sleep PC + 1
(1)
uuu1 0uuu --uu --uu
Legend: u = unchanged, x = unknown, – = unimplemented bit, reads as ‘0’.
Note 1: When the wake-up is due to an interrupt and Global Interrupt Enable bit, GIE, is set, the PC is loaded with
the interrupt vector (0004h) after execution of PC + 1.