Datasheet
2011-2012 Microchip Technology Inc. Preliminary DS61168E-page 207
PIC32MX1XX/2XX
REGISTER 21-4: AD1CHS: ADC INPUT SELECT REGISTER
Bit
Range
Bit
31/23/15/7
Bit
30/22/14/6
Bit
29/21/13/5
Bit
28/20/12/4
Bit
27/19/11/3
Bit
26/18/10/2
Bit
25/17/9/1
Bit
24/16/8/0
31:24
R/W-0 U-0 U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0
CH0NB — — — CH0SB<3:0>
23:16
R/W-0 U-0 U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0
CH0NA — — — CH0SA<3:0>
15:8
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
— — — — — — — —
7:0
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-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 31 CH0NB: Negative Input Select bit for Sample B
1 = Channel 0 negative input is AN1
0 = Channel 0 negative input is V
REFL
bit 30-28 Unimplemented: Read as ‘0’
bit 27-24 CH0SB<3:0>: Positive Input Select bits for Sample B
1111 = Channel 0 positive input is Open
(1)
1110 = Channel 0 positive input is IVREF
(2)
1101 = Channel 0 positive input is CTMU temperature sensor (CTMUT)
(3)
1100 = Channel 0 positive input is AN12
(4)
•
•
•
0001 = Channel 0 positive input is AN1
0000 = Channel 0 positive input is AN0
bit 23 CH0NA: Negative Input Select bit for Sample A Multiplexer Setting
(2)
1 = Channel 0 negative input is AN1
0 = Channel 0 negative input is V
REFL
bit 22-20 Unimplemented: Read as ‘0’
bit 19-16 CH0SA<3:0>: Positive Input Select bits for Sample A Multiplexer Setting
1111 = Channel 0 positive input is Open
(1)
1110 = Channel 0 positive input is IVREF
(2)
1101 = Channel 0 positive input is CTMU temperature (CTMUT)
(3)
1100 = Channel 0 positive input is AN12
(4)
•
•
•
0001 = Channel 0 positive input is AN1
0000 = Channel 0 positive input is AN0
bit 15-0 Unimplemented: Read as ‘0’
Note 1: This selection is only used with CTMU capacitive and time measurement.
2: See Section 23.0 “Comparator Voltage Reference (CV
REF)” for more information.
3: See Section 24.0 “Charge Time Measurement Unit (CTMU)” for more information.
4: AN12 is only available on 44-pin devices. AN6-AN8 are not available on 28-pin devices.