PIC18F2331/2431/4331/4431
REGISTER 21-5: ADCHS: A/D CHANNEL SELECT REGISTER
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
GDSEL1
GDSEL0
GBSEL1
GBSEL0
GCSEL1
GCSEL0
GASEL1
GASEL0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared x = Bit is unknown
-n = Value at POR
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.