English
Language : 

PIC24FV16KM204 Datasheet, PDF (218/336 Pages) Microchip Technology – General Purpose, 16-Bit Flash Microcontroller with XLP Technology Data Sheet
PIC24FV16KM204 FAMILY
REGISTER 19-5: AD1CHS: A/D SAMPLE SELECT REGISTER
R/W-0
CH0NB2
bit 15
R/W-0
CH0NB1
R/W-0
CH0NB0
R/W-0
CH0SB4
R/W-0
CH0SB3
R/W-0
CH0SB2
R/W-0
CH0SB1
R/W-0
CH0SB0
bit 8
R/W-0
CH0NA2
bit 7
R/W-0
CH0NA1
R/W-0
CH0NA0
R/W-0
CH0SA4
R/W-0
CH0SA3
R/W-0
CH0SA2
R/W-0
CH0SA1
R/W-0
CH0SA0
bit 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 15-13
bit 12-8
CH0NB<2:0>: Sample B Channel 0 Negative Input Select bits
111 = AN6(1)
110 = AN5(2)
101 = AN4
100 = AN3
011 = AN2
010 = AN1
001 = AN0
000 = AVSS
CH0SB<4:0>: S/H Amplifier Positive Input Select for MUX B Multiplexer Setting bits
11111 = Unimplemented, do not use
11110 = AVDD(3)
11101 = AVSS(3)
11100 = Upper guardband rail (0.785 * VDD)
11011 = Lower guardband rail (0.215 * VDD)
11010 = Internal Band Gap Reference (VBG)(3)
11000-11001 = Unimplemented, do not use
10001 = No channels are connected, all inputs are floating (used for CTMU)
10111 = No channels connected, all inputs are floating (used for CTMU)
10110 = No channels connected, all inputs are floating (used for CTMU temperature sensor input) –
does not require the corresponding CTMEN22 (AD1CTMENH<6>) bit)
10101 = Channel 0 positive input is AN21
10100 = Channel 0 positive input is AN20
10011 = Channel 0 positive input is AN19
10010 = Channel 0 positive input is AN18(2)
10001 = Channel 0 positive input is AN17(2)



01001 = Channel 0 positive input is AN9
01000 = Channel 0 positive input is AN8(1)
00111 = Channel 0 positive input is AN7(1)
00110 = Channel 0 positive input is AN6(1)
00101 = Channel 0 positive input is AN5(2)
00100 = Channel 0 positive input is AN4
00011 = Channel 0 positive input is AN3
00010 = Channel 0 positive input is AN2
00001 = Channel 0 positive input is AN1
00000 = Channel 0 positive input is AN0
Note 1:
2:
3:
This is implemented on 44-pin devices only.
This is implemented on 28-pin and 44-pin devices only.
The band gap value used for this input is 2x or 4x the internal VBG, which is selected when PVCFG<1:0> = 1x.
DS33030A-page 218
Advance Information
 2013 Microchip Technology Inc.