PIC16F7X7
REGISTER 12-1: ADCON0: A/D CONTROL REGISTER 0 (ADDRESS 1Fh)
R/W-0
R/W-0
R/W-0
CHS2
R/W-0
CHS1
R/W-0
CHS0
R/W-0
R/W-0
CHS3
R/W-0
ADON
ADCS1
ADCS0
GO/DONE
bit 7
bit 0
bit 7-6
ADCS1:ADCS0: A/D Conversion Clock Select bits
If ADCS2 = 0:
000= FOSC/2
001= FOSC/8
010= FOSC/32
011= FRC (clock derived from an RC oscillation)
If ADCS2 = 1:
00= FOSC/4
01= FOSC/16
10= FOSC/64
11= FRC (clock derived from an RC oscillation)
bit 5-3
CHS<2:0>: Analog Channel Select bits
0000= Channel 00 (AN0)
0001= Channel 01 (AN1)
0010= Channel 02 (AN2)
0011= Channel 03 (AN3)
0100= Channel 04 (AN4)
0101= Channel 05 (AN5)(1)
0110= Channel 06 (AN6)(1)
0111= Channel 07 (AN7)(1)
1000= Channel 08 (AN8)
1001= Channel 09 (AN9)
1010= Channel 10 (AN10)
1011= Channel 11 (AN11)
1100= Channel 12 (AN12)
1101= Channel 13 (AN13)
111x= Unused
Note 1: Selecting AN5 through AN7 on the 28-pin product variant (PIC16F737 and
PIC16F767) will result in a full-scale conversion as unimplemented channels are
connected to VDD.
bit 2
GO/DONE: A/D Conversion Status bit
1= A/D conversion cycle in progress. Setting this bit starts an A/D conversion cycle. This bit is
automatically cleared by hardware when the A/D conversion has completed.
0= A/D conversion completed/not in progress
bit 1
bit 0
CHS<3>: Analog Channel Select bit (see bit 5-3 for bit settings)
ADON: A/D Conversion Status bit
1= A/D converter module is operating
0= A/D converter is shut-off and consumes no operating current
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared x = Bit is unknown
DS30498C-page 152
2004 Microchip Technology Inc.