PIC12F609/615/617/12HV609/615
TABLE 12-5: INITIALIZATION CONDITION FOR REGISTERS (PIC12F615/617/HV615)
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
04h/84h
xxxx xxxx
uuuu uuuu
uuuu uuuu
GPIO
05h
--x0 x000
--u0 u000
--uu uuuu
PCLATH
INTCON
PIR1
0Ah/8Ah
0Bh/8Bh
0Ch
---0 0000
0000 0000
-000 0-00
---0 0000
0000 0000
-000 0-00
---u uuuu
uuuu uuuu(2)
-uuu u-uu(2)
TMR1L
0Eh
xxxx xxxx
uuuu uuuu
uuuu uuuu
TMR1H
0Fh
xxxx xxxx
uuuu uuuu
uuuu uuuu
T1CON
10h
TMR2(1)
11h
T2CON(1)
12h
CCPR1L(1)
13h
CCPR1H(1)
14h
CCP1CON(1)
15h
PWM1CON(1)
16h
ECCPAS(1)
17h
0000 0000
0000 0000
-000 0000
xxxx xxxx
xxxx xxxx
0-00 0000
0000 0000
0000 0000
uuuu uuuu
0000 0000
-000 0000
uuuu uuuu
uuuu uuuu
0-00 0000
0000 0000
0000 0000
-uuu uuuu
uuuu uuuu
-uuu uuuu
uuuu uuuu
uuuu uuuu
u-uu uuuu
uuuu uuuu
uuuu uuuu
VRCON
19h
0-00 0000
0-00 0000
u-uu uuuu
CMCON0
1Ah
0000 -0-0
0000 -0-0
uuuu -u-u
CMCON1
ADRESH(1)
ADCON0(1)
1Ch
---0 0-10
1Eh
xxxx xxxx
1Fh
00-0 0000
---0 0-10
uuuu uuuu
00-0 0000
---u u-qu
uuuu uuuu
uu-u uuuu
OPTION_REG
81h
1111 1111
1111 1111
uuuu uuuu
TRISIO
85h
--11 1111
--11 1111
--uu uuuu
PIE1
PCON
8Ch
-00- 0-00
8Eh
---- --0x
-00- 0-00
---- --uu(1, 5)
-uu- u-uu
---- --uu
OSCTUNE
90h
---0 0000
---u uuuu
---u uuuu
PR2
92h
1111 1111
1111 1111
1111 1111
APFCON
93h
---0 --00
---0 --00
---u --uu
WPU
95h
--11 -111
--11 -111
--uu -uuu
IOC
PMCON1(6)
PMCON2(6)
PMADRL(6)
96h
--00 0000
98h
---- -000
99h
---- ----
9Ah
0000 0000
--00 0000
---- -000
---- ----
0000 0000
--uu uuuu
---- -uuu
---- ----
uuuu uuuu
Legend:
Note 1:
2:
3:
4:
5:
6:
u = unchanged, x = unknown, – = unimplemented bit, reads as ‘0’, q = value depends on condition.
If VDD goes too low, Power-on Reset will be activated and registers will be affected differently.
One or more bits in INTCON and/or PIR1 will be affected (to cause wake-up).
When the wake-up is due to an interrupt and the GIE bit is set, the PC is loaded with the interrupt vector (0004h).
See Table 12-6 for Reset value for specific condition.
If Reset was due to brown-out, then bit 0 = 0. All other Resets will cause bit 0 = u.
For PIC12F617 only.
DS41302D-page 116
2010 Microchip Technology Inc.