English
Language : 

PIC16F87_05 Datasheet, PDF (117/228 Pages) Microchip Technology – 18/20/28-Pin Enhanced Flash Microcontrollers with nanoWatt Technology
PIC16F87/88
REGISTER 12-3:
ADCON1: A/D CONTROL REGISTER 1 (ADDRESS 9Fh) PIC16F88 DEVICES ONLY
R/W-0
R/W-0
R/W-0
R/W-0
U-0
U-0
U-0
U-0
ADFM ADCS2 VCFG1 VCFG0
—
—
—
—
bit 7
bit 0
bit 7
bit 6
bit 5-4
ADFM: A/D Result Format Select bit
1 = Right justified. Six Most Significant bits of ADRESH are read as ‘0’.
0 = Left justified. Six Least Significant bits of ADRESL are read as ‘0’.
ADCS2: A/D Clock Divide by 2 Select bit
1 = A/D clock source is divided by 2 when system clock is used
0 = Disabled
VCFG<1:0>: A/D Voltage Reference Configuration bits
Logic State VREF+
VREF-
00
AVDD
AVSS
01
AVDD
VREF-
10
VREF+
AVSS
11
VREF+
VREF-
bit 3-0
Note: The ANSEL bits for AN3 and AN2 inputs must be configured as analog inputs for the
VREF+ and VREF- external pins to be used.
Unimplemented: Read as ‘0’
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
 2005 Microchip Technology Inc.
DS30487C-page 115