English
Language : 

PIC18F2331_10 Datasheet, PDF (244/392 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D
PIC18F2331/2431/4331/4431
REGISTER 21-5: ADCHS: A/D CHANNEL SELECT REGISTER
R/W-0
GDSEL1
bit 7
R/W-0
GDSEL0
R/W-0
GBSEL1
R/W-0
GBSEL0
R/W-0
GCSEL1
R/W-0
GCSEL0
R/W-0
GASEL1
R/W-0
GASEL0
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-2
bit 1-0
GDSEL<1:0>: Group D Select bits
S/H-2 positive input.
00 = AN3
01 = AN7(1)
1x = Reserved
GBSEL<1:0>: Group B Select bits
S/H-2 positive input.
00 = AN1
01 = AN5(1)
1x = Reserved
GCSEL<1:0>: Group C Select bits
S/H-1 positive input.
00 = AN2
01 = AN6(1)
1x = Reserved
GASEL<1:0>: Group A Select bits
S/H-1 positive input.
00 = AN0
01 = AN4
10 = AN8(1)
11 = Reserved
Note 1: AN5 through AN8 are available only in PIC18F4331/4431 devices.
DS39616D-page 244
 2010 Microchip Technology Inc.