Datasheet

PIC16F913/914/916/917/946
DS41250F-page 226 © 2007 Microchip Technology Inc.
TABLE 16-4: INITIALIZATION CONDITION FOR 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
W—xxxx xxxx uuuu uuuu uuuu uuuu
INDF 00h/80h/
100h/180h
xxxx xxxx xxxx xxxx uuuu uuuu
TMR0 01h/101h xxxx xxxx uuuu uuuu uuuu uuuu
PCL 02h/82h/
102h/182h
0000 0000 0000 0000 PC + 1
(3)
STATUS 03h/83h/
103h/183h
0001 1xxx 000q quuu
(4)
uuuq quuu
(4)
FSR 04h/84h/
104h/184h
xxxx xxxx uuuu uuuu uuuu uuuu
PORTA 05h xxxx xxxx xxxx xxxx uuuu uuuu
PORTB 06h/106h xxxx xxxx xxxx xxxx uuuu uuuu
PORTC 07h xxxx xxxx xxxx xxxx uuuu uuuu
PORTD
(6)
08h xxxx xxxx xxxx xxxx uuuu uuuu
PORTE 09h ---- xxxx
xxxx xxxx
(7)
---- xxxx
xxxx xxxx
(7)
---- uuuu
uuuu uuuu
(7)
PCLATH 0Ah/8Ah/
10Ah/18Ah
---0 0000 ---0 0000 ---u uuuu
INTCON 0Bh/8Bh/
10Bh/18Bh
0000 000x 0000 000x uuuu uuuu
(2)
PIR1 0Ch 0000 0000 0000 0000 uuuu uuuu
(2)
PIR2 0Dh 0000 -0-0 0000 -0-0 uuuu -u-u
TMR1L 0Eh xxxx xxxx uuuu uuuu uuuu uuuu
TMR1H 0Fh xxxx xxxx uuuu uuuu uuuu uuuu
T1CON 10h 0000 0000 uuuu uuuu uuuu uuuu
TMR2 11h 0000 0000 0000 0000 uuuu uuuu
T2CON 12h -000 0000 -000 0000 -uuu uuuu
SSPBUF 13h xxxx xxxx xxxx xxxx uuuu uuuu
SSPCON 14h 0000 0000 0000 0000 uuuu uuuu
CCPR1L 15h xxxx xxxx xxxx xxxx uuuu uuuu
CCPR1H 16h xxxx xxxx xxxx xxxx uuuu uuuu
CCP1CON 17h --00 0000 --00 0000 --uu uuuu
RCSTA 18h ---0 1000 ---0 1000 ---u uuuu
TXREG 19h 0000 0000 0000 0000 uuuu uuuu
Legend: u = unchanged, x = unknown,
- = unimplemented bit, reads as0’, q = value depends on condition.
Note 1: If VDD 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 16-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.
6: PIC16F914/917 and PIC16F946 only.
7: PIC16F946 only.