Datasheet

PIC18F2331/2431/4331/4431
DS39616D-page 244 2010 Microchip Technology Inc.
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 U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7-6 GDSEL<1:0>: Group D Select bits
S/H-2 positive input.
00 = AN3
01 = AN7
(1)
1x = Reserved
bit 5-4 GBSEL<1:0>: Group B Select bits
S/H-2 positive input.
00 = AN1
01 = AN5
(1)
1x = Reserved
bit 3-2 GCSEL<1:0>: Group C Select bits
S/H-1 positive input.
00 = AN2
01 = AN6
(1)
1x = Reserved
bit 1-0 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.