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
Page 71
72
Page 72
73
Page 73
74
Page 74
75
Page 75
76
Page 76
77
Page 77
78
Page 78
79
Page 79
80
Page 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
112
113
114
115
116
117
118
119
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 73/202:

ADC REGISTER DEFINITIONS

Download datasheet (4Mb)Embed
PrevNext
8.2.6

ADC REGISTER DEFINITIONS

The following registers are used to control the operation of the ADC.
REGISTER 8-1:
ADCON0: A/D CONTROL REGISTER 0
R/W-0
R/W-0
U-0
ADFM
VCFG
bit 7
Legend:
R = Readable bit
W = Writable bit
-n = Value at POR
‘1’ = Bit is set
bit 7
ADFM: A/D Conversion Result Format Select bit
1 = Right justified
0 = Left justified
bit 6
VCFG: Voltage Reference bit
=
V
pin
1
REF
=
V
0
DD
bit 5
Unimplemented: Read as ‘0’
bit 4-2
CHS<2:0>: Analog Channel Select bits
000 = AN0
001 = AN1
010 = AN2
011 = AN3
100 = AN4
101 = AN5
110 = AN6
111 = AN7
bit 1
GO/DONE: A/D Conversion Status bit
=
A/D Conversion cycle in progress. Setting this bit starts an A/D Conversion cycle.
1
This bit is automatically cleared by hardware when the A/D Conversion has completed.
=
A/D Conversion completed/not in progress
0
bit 0
ADON: ADC Enable bit
1 = ADC is enabled
0 = ADC is disabled and consumes no operating current
REGISTER 8-2:
ADCON1: A/D CONTROL REGISTER 1
U-0
R/W-0
R/W-0
ADCS2
ADCS1
bit 7
Legend:
R = Readable bit
W = Writable bit
-n = Value at POR
‘1’ = Bit is set
bit 7
Unimplemented: Read as ‘0’
bit 6-4
ADCS<2:0>: A/D Conversion Clock Select bits
000 = F
/2
OSC
001 = F
/8
OSC
010 = F
/32
OSC
x11 = F
(clock derived from a dedicated internal oscillator = 500 kHz max)
RC
100 = F
/4
OSC
101 = F
/16
OSC
110 = F
/64
OSC
bit 3-0
Unimplemented: Read as ‘0’
© 2007 Microchip Technology Inc.
R/W-0
R/W-0
R/W-0
CHS2
CHS1
CHS0
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-0
U-0
U-0
ADCS0
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
PIC16F688
R/W-0
R/W-0
GO/DONE
ADON
bit 0
x = Bit is unknown
U-0
U-0
bit 0
x = Bit is unknown
DS41203D-page 71