English
Language : 

PIC18F87K22 Datasheet, PDF (351/548 Pages) Microchip Technology – 64/80-Pin, High-Performance, 1-Mbit Enhanced Flash Microcontrollers with 12-Bit A/D and nanoWatt XLP Technology
PIC18F87K22 FAMILY
REGISTER 23-2: ADCON1: A/D CONTROL REGISTER 1
R/W-0
TRIGSEL1
bit 7
R/W-0
TRIGSEL0
R/W-0
VCFG1
R/W-0
VCFG0
R/W-0
VNCFG
R/W-0
CHSN2
R/W-0
CHSN1
R/W-0
CHSN0
bit 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
bit 7-6
bit 5-4
bit 3
bit 2-0
TRIGSEL<1:0>: Special Trigger Select bits
11 = Selects the special trigger from the RTCC
10 = Selects the special trigger from the Timer1
01 = Selects the special trigger from the CTMU
00 = Selects the special trigger from the ECCP2
VCFG<1:0>: A/D VREF+ Configuration bits
11 = Internal VREF+ (4.096V)
10 = Internal VREF+ (2.048V)
01 = External VREF+
00 = AVDD
VNCFG: A/D VREF- Configuration bit
1 = External VREF
0 = AVSS
CHSN<2:0>: Analog Negative Channel Select bits
111 = Channel 07 (AN6)
110 = Channel 06 (AN5)
101 = Channel 05 (AN4)
100 = Channel 04 (AN3)
011 = Channel 03 (AN2)
010 = Channel 02 (AN1)
001 = Channel 01 (AN0)
000 = Channel 00 (AVSS)
 2010 Microchip Technology Inc.
Preliminary
DS39960B-page 351