English
Language : 

PIC18F2331 Datasheet, PDF (250/396 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PIC18F2331/2431/4331/4431
REGISTER 20-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
GDSEL1 GDSEL0 GBSEL1 GBSEL0 GCSEL1 GCSEL0 GASEL1
bit 7
R/W-0
GASEL0
bit 0
bit 7-6
bit 5-4
bit 3-2
bit 1-0
GDSEL1:GDSEL0: Group D Select bits
S/H-2 positive input
00 =AN3
01 =AN7(1)
1x =Reserved
GBSEL1:GBSEL0: Group B Select bits
S/H-2 positive input
00 =AN1
01 =AN5(1)
1x =Reserved
GCSEL1:GCSEL0: Group C Select bits
S/H-1 positive input
00 =AN2
01 =AN6(1)
1x =Reserved
GASEL1:GASEL0: 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 PIC18F4X31 devices.
Legend:
R = Readable bit
-n = Value at Reset
W = Writable bit
‘1’ = bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = bit is cleared x = bit is unknown
DS39616B-page 248
Preliminary
 2003 Microchip Technology Inc.