English
Language : 

PIC32MX1XX_12 Datasheet, PDF (207/328 Pages) Microchip Technology – 32-bit Microcontrollers (up to 128 KB Flash and 32 KB SRAM) with Audio and Graphics Interfaces, USB, and Advanced Analog
PIC32MX1XX/2XX
REGISTER 21-4: AD1CHS: ADC INPUT SELECT REGISTER
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
R/W-0
U-0
U-0
U-0
R/W-0
31:24
CH0NB
—
—
—
23:16
R/W-0
CH0NA
U-0
—
U-0
—
U-0
R/W-0
—
15:8
U-0
—
U-0
U-0
U-0
U-0
—
—
—
—
7:0
U-0
—
U-0
U-0
U-0
U-0
—
—
—
—
Bit
Bit
26/18/10/2 25/17/9/1
R/W-0
R/W-0
CH0SB<3:0>
R/W-0
R/W-0
CH0SA<3:0>
U-0
U-0
—
—
U-0
U-0
—
—
Bit
24/16/8/0
R/W-0
R/W-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-28
bit 27-24
bit 23
bit 22-20
bit 19-16
bit 15-0
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<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
CH0NA: Negative Input Select bit for Sample A Multiplexer Setting(2)
1 = Channel 0 negative input is AN1
0 = Channel 0 negative input is VREFL
Unimplemented: Read as ‘0’
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
Unimplemented: Read as ‘0’
Note 1:
2:
3:
4:
This selection is only used with CTMU capacitive and time measurement.
See Section 23.0 “Comparator Voltage Reference (CVREF)” for more information.
See Section 24.0 “Charge Time Measurement Unit (CTMU)” for more information.
AN12 is only available on 44-pin devices. AN6-AN8 are not available on 28-pin devices.
 2011-2012 Microchip Technology Inc.
Preliminary
DS61168E-page 207