English
Language : 

PIC16F684_07 Datasheet, PDF (106/192 Pages) Microchip Technology – 14-Pin, Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F684
TABLE 12-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 xxxx xxxx
xxxx xxxx
uuuu uuuu
TMR0
PCL
STATUS
01h
02h/82h
03h/83h
xxxx xxxx
0000 0000
0001 1xxx
uuuu uuuu
0000 0000
000q quuu(4)
uuuu uuuu
PC + 1(3)
uuuq quuu(4)
FSR
PORTA(6)
PORTC(6)
04h/84h
05h
07h
xxxx xxxx
--x0 x000
--xx 0000
uuuu uuuu
--u0 u000
--uu 0000
uuuu uuuu
--uu uuuu
--uu uuuu
PCLATH
INTCON
PIR1
0Ah/8Ah
0Bh/8Bh
0Ch
---0 0000
0000 0000
0000 0000
---0 0000
0000 0000
0000 0000
---u uuuu
uuuu uuuu(2)
uuuu uuuu(2)
TMR1L
0Eh
xxxx xxxx
uuuu uuuu
uuuu uuuu
TMR1H
0Fh
xxxx xxxx
uuuu uuuu
uuuu uuuu
T1CON
10h
0000 0000
uuuu uuuu
-uuu uuuu
TMR2
11h
0000 0000
0000 0000
uuuu uuuu
T2CON
12h
-000 0000
-000 0000
-uuu uuuu
CCPR1L
13h
xxxx xxxx
uuuu uuuu
uuuu uuuu
CCPR1H
14h
xxxx xxxx
uuuu uuuu
uuuu uuuu
CCP1CON
15h
0000 0000
0000 0000
uuuu uuuu
PWM1CON
16h
0000 0000
0000 0000
uuuu uuuu
ECCPAS
17h
0000 0000
0000 0000
uuuu uuuu
WDTCON
18h
---0 1000
---0 1000
---u uuuu
CMCON0
19h
0000 0000
0000 0000
uuuu uuuu
CMCON1
1Ah
---- --10
---- --10
---- --uu
ADRESH
1Eh
xxxx xxxx
uuuu uuuu
uuuu uuuu
ADCON0
1Fh
00-0 0000
00-0 0000
uu-u uuuu
OPTION_REG
81h
1111 1111
1111 1111
uuuu uuuu
TRISA
85h
--11 1111
--11 1111
--uu uuuu
TRISC
87h
--11 1111
--11 1111
--uu uuuu
PIE1
PCON
8Ch
0000 0000
8Eh
--01 --0x
0000 0000
--0u --uq(1, 5)
uuuu uuuu
--uu --uu
OSCCON
8Fh
-110 x000
-110 q000
-uuu uuuu
Legend: u = unchanged, x = unknown, – = unimplemented bit, reads as ‘0’, 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 12-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: Port pins with analog functions controlled by the ANSEL register will read ‘0’ immediately after a Reset
even though the data latches are either undefined (POR) or unchanged (other Resets).
DS41202F-page 104
© 2007 Microchip Technology Inc.