Datasheet
2012-2013 Microchip Technology Inc. DS60001185C-page 237
PIC32MX330/350/370/430/450/470
REGISTER 22-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 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
CH0NB — — CH0SB<4:0>
23:16
R/W-0 U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
CH0NA — — CH0SA<4: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 VREFL
bit 30-29 Unimplemented: Read as ‘0’
bit 28-24 CH0SB<4:0>: Positive Input Select bits for Sample B
11110 = Channel 0 positive input is Open
(1)
11101 = Channel 0 positive input is CTMU temperature sensor (CTMUT)
(2)
11100 = Channel 0 positive input is IVREF
(3)
11011 = Channel 0 positive input is AN27
•
•
•
00001 = Channel 0 positive input is AN1
00000 = Channel 0 positive input is AN0
bit 23 CH0NA: Negative Input Select bit for Sample A Multiplexer Setting
(3)
1 = Channel 0 negative input is AN1
0 = Channel 0 negative input is V
REFL
bit 22-21 Unimplemented: Read as ‘0’
bit 20-16 CH0SA<4:0>: Positive Input Select bits for Sample A Multiplexer Setting
11110 = Channel 0 positive input is Open
(1)
11101 = Channel 0 positive input is CTMU temperature sensor (CTMUT)
(2)
11100 = Channel 0 positive input is IVREF
(3)
11011 = Channel 0 positive input is AN27
•
•
•
00001 = Channel 0 positive input is AN1
00000 = 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 25.0 “Charge Time Measurement Unit (CTMU)” for more information.
3: See Section 24.0 “Comparator Voltage Reference (CV
REF)” for more information.