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 120/202

Download datasheet (4Mb)Embed
PrevNext
PIC16F688
TABLE 11-4:
INITIALIZATION CONDITION FOR REGISTERS (CONTINUED)
Power-on
Register
Address
Reset
OSCCON
8Fh
-110 q000
OSCTUNE
90h
---0 0000
ANSEL
91h
1111 1111
WPUA
95h
--11 -111
IOCA
96h
--00 0000
EEDATH
97h
--00 0000
EEADRH
98h
---- 0000
VRCON
99h
0-0- 0000
EEDAT
9Ah
0000 0000
EEADR
9Bh
0000 0000
EECON1
9Ch
x--- x000
EECON2
9Dh
---- ----
ADRESL
9Eh
xxxx xxxx
ADCON1
9Fh
-000 ----
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.
TABLE 11-5:
INITIALIZATION CONDITION FOR SPECIAL REGISTERS
Condition
Power-on Reset
MCLR Reset during normal operation
MCLR Reset during Sleep
WDT Reset
WDT Wake-up
Brown-out Reset
Interrupt Wake-up from Sleep
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.
DS41203D-page 118
• MCLR Reset
• Wake-up from Sleep
through interrupt
• WDT Reset
(1)
• Wake-up from Sleep
• Brown-out Reset
through WDT time-out
-110 q000
---u uuuu
1111 1111
--11 -111
--00 0000
--00 0000
---- 0000
0-0- 0000
0000 0000
0000 0000
u--- q000
---- ----
uuuu uuuu
-000 ----
Program
Status
Counter
Register
000h
0001 1xxx
000h
000u uuuu
000h
0001 0uuu
000h
0000 uuuu
PC + 1
uuu0 0uuu
000h
0001 1uuu
(1)
PC + 1
uuu1 0uuu
-uuu uuuu
---u uuuu
uuuu uuuu
uuuu uuuu
--uu uuuu
--uu uuuu
---- uuuu
u-u- uuuu
uuuu uuuu
uuuu uuuu
u--- uuuu
---- ----
uuuu uuuu
-uuu ----
PCON
Register
--01 --0x
--0u --uu
--0u --uu
--0u --uu
--uu --uu
--01 --10
--uu --uu
© 2007 Microchip Technology Inc.