PIC16F688

Manufacturer Part NumberPIC16F688
ManufacturerMicrochip Technology Inc.
PIC16F688 datasheet
 


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
Page 111
112
Page 112
113
Page 113
114
Page 114
115
Page 115
116
Page 116
117
Page 117
118
Page 118
119
Page 119
120
Page 120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
Page 119/202

Download datasheet (4Mb)Embed
PrevNext
TABLE 11-4:
INITIALIZATION CONDITION FOR REGISTERS
Register
Address
W
INDF
00h/80h/100h/180h
TMR0
01h/101h
PCL
02h/82h/102h/182h
STATUS
03h/83h/103h/183h
FSR
04h/84h/104h/184h
PORTA
05h/105h
PORTC
07h/107h
PCLATH
0Ah/8Ah/10Ah/18Ah
INTCON
0Bh/8Bh/10Bh/18Bh
PIR1
0Ch
TMR1L
0Eh
TMR1H
0Fh
T1CON
10h
BAUDCTL
11h
SPBRGH
12h
SPBRG
13h
RCREG
14h
TXREG
15h
TXSTA
16h
RCSTA
17h
WDTCON
18h
CMCON0
19h
CMCON1
1Ah
ADRESH
1Eh
ADCON0
1Fh
OPTION_REG
81h/181h
TRISA
85h/185h
TRISC
87h/187h
PIE1
8Ch
PCON
8Eh
Legend: u = unchanged, x = unknown, – = unimplemented bit, reads as ‘0’, q = value depends on condition.
Note 1:
If V
goes too low, Power-on Reset will be activated and registers will be affected differently.
DD
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.
© 2007 Microchip Technology Inc.
MCLR Reset
Power-on
WDT Reset
Reset
(1)
Brown-out Reset
xxxx xxxx
uuuu uuuu
xxxx xxxx
uuuu uuuu
xxxx xxxx
uuuu uuuu
0000 0000
0000 0000
(4)
0001 1xxx
000q quuu
xxxx xxxx
uuuu uuuu
--x0 x000
--00 0000
--xx 0000
--00 0000
---0 0000
---0 0000
0000 000x
0000 000x
0000 0000
0000 0000
xxxx xxxx
uuuu uuuu
xxxx xxxx
uuuu uuuu
0000 0000
uuuu uuuu
01-0 0-00
01-0 0-00
-000 0000
-000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0010
0000 0010
000x 000x
000x 000x
---0 1000
---0 1000
0000 0000
0000 0000
---- --10
---- --10
xxxx xxxx
uuuu uuuu
00-0 0000
00-0 0000
1111 1111
1111 1111
--11 1111
--11 1111
--11 1111
--11 1111
0000 0000
0000 0000
(1,5)
--01 --0x
--0u --uu
PIC16F688
Wake-up from Sleep
through Interrupt
Wake-up from Sleep
through WDT Time-out
uuuu uuuu
uuuu uuuu
uuuu uuuu
(3)
PC + 1
(4)
uuuq quuu
uuuu uuuu
--uu uuuu
--uu uuuu
---u uuuu
(2)
uuuu uuuu
(2)
uuuu uuuu
uuuu uuuu
uuuu uuuu
-uuu uuuu
uu-u u-uu
-uuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
---u uuuu
uuuu uuuu
---- --uu
uuuu uuuu
uu-u uuuu
uuuu uuuu
--uu uuuu
--uu uuuu
uuuu uuuu
--uu --uu
DS41203D-page 117