|
PIC16F87 Datasheet, PDF (117/214 Pages) Microchip Technology – 18/20/28-Pin Enhanced FLASH Microcontrollers with nanoWatt Technology | |||
|
◁ |
PIC16F87/88
REGISTER 12-3:
ADCON1 REGISTER (ADDRESS 9Fh) PIC16F88 DEVICES ONLY
R/W-0
R/W-0
R/W-0
R/W-0
U-0
U-0
U-0
ADFM ADCS2 VCFG1 VCFG0
â
â
â
bit 7
U-0
â
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
00
01
10
11
VREF+
AVDD
AVDD
VREF+
VREF+
VREF-
AVSS
VREF-
AVSS
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
 2003 Microchip Technology Inc.
Preliminary
DS30487B-page 115
|
▷ |