PIC32MX1XX/2XX/5XX 64/100-PIN FAMILY
REGISTER 22-4: AD1CHS: ADC INPUT SELECT REGISTER
Bit
Bit
Bit
Bit
Bit
Bit
Bit
Range 31/23/15/7 30/22/14/6 29/21/13/5 28/20/12/4 27/19/11/3 26/18/10/2
R/W-0
U-0
31:24
CH0NB
—
R/W-0
U-0
23:16
CH0NA
—
15:8
U-0
—
U-0
—
7:0
U-0
—
U-0
—
R/W-0
R/W-0
U-0
—
U-0
—
R/W-0
R/W-0
U-0
—
U-0
—
R/W-0
R/W-0
CH0SB<5:0>
R/W-0
R/W-0
CH0SA<5:0>
U-0
U-0
—
—
U-0
U-0
—
—
Bit
25/17/9/1
R/W-0
Bit
24/16/8/0
R/W-0
R/W-0
R/W-0
U-0
U-0
—
—
U-0
U-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 31
bit 30
bit 29-24
bit 23
bit 22
CH0NB: Negative Input Select bit for Sample B
1 = Channel 0 negative input is AN1
0 = Channel 0 negative input is VREFL
Unimplemented: Read as ‘0’
CH0SB<5:0>: Positive Input Select bits for Sample B
For 64-pin devices:
011110 = Channel 0 positive input is Open(1)
011101 = Channel 0 positive input is CTMU temperature sensor (CTMUT)(2)
011100 = Channel 0 positive input is IVREF(3)
011011 = Channel 0 positive input is AN27
•
•
•
000001 = Channel 0 positive input is AN1
000000 = Channel 0 positive input is AN0
For 100-pin devices:
110010 = Channel 0 positive input is Open(1)
110001 = Channel 0 positive input is CTMU temperature sensor (CTMUT)(2)
110000 = Channel 0 positive input is IVREF(3)
101111 = Channel 0 positive input is AN47
•
•
•
0000001 = Channel 0 positive input is AN1
0000000 = Channel 0 positive input is AN0
CH0NA: Negative Input Select bit for Sample A Multiplexer Setting(3)
1 = Channel 0 negative input is AN1
0 = Channel 0 negative input is VREFL
Unimplemented: Read as ‘0’
Note 1:
2:
3:
This selection is only used with CTMU capacitive and time measurement.
See Section 26.0 “Charge Time Measurement Unit (CTMU)” for more information.
Internal precision 1.2V reference. See Section 24.0 “Comparator” for more information.
2014-2017 Microchip Technology Inc.
DS60001290E-page 239