Microchip Technology MA330026 Data Sheet
2011-2014 Microchip Technology Inc.
DS70000652F-page 227
dsPIC33FJ16(GP/MC)101/102 AND dsPIC33FJ32(GP/MC)101/102/104
REGISTER 19-5:
AD1CHS0: ADC1 INPUT CHANNEL 0 SELECT REGISTER
R/W-0
U-0
U-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
CH0NB
—
—
CH0SB4
CH0SB3
CH0SB2
CH0SB1
CH0SB0
bit 15
bit 8
R/W-0
U-0
U-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
CH0NA
—
—
CH0SA4
CH0SA3
CH0SA2
CH0SA1
CH0SA0
bit 7
bit 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 15
CH0NB: Channel 0 Negative Input Select for Sample B bit
1
= Channel 0 negative input is AN1
0
= Channel 0 negative input is AV
SS
bit 14-13
Unimplemented: Read as ‘0’
bit 12-8
CH0SB<4:0>: Channel 0 Positive Input Select for Sample B bits
11111-10000
= Reserved; do not use
01111
= Channel 0 positive input is AN15
)
01110
= No channels connected, all inputs are floating (used for CTMU)
01101
= Channel 0 positive input is connected to CTMU temperature sensor
01100
= Channel 0 positive input is AN12
)
01011
= Channel 0 positive input is AN11
01010
= Channel 0 positive input is AN10
)
01001
= Channel 0 positive input is AN9
(
01000
= Channel 0 positive input is AN8
(
00111
= Channel 0 positive input is AN7
(
00110
= Channel 0 positive input is AN6
(
00101
= Channel 0 positive input is AN5
(
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
bit 7
CH0NA: Channel 0 Negative Input Select for Sample A bit
1
= Channel 0 negative input is AN1
0
= Channel 0 negative input is AV
SS
bit 6-5
Unimplemented: Read as ‘0’
bit 4-0
CH0SA<4:0>: Channel 0 Positive Input Select for Sample A bits
Refer to bits<12-8> for the available settings.
Note 1:
This setting is available in all devices, excluding the dsPIC33FJXX(GP/MC)101, where it is reserved.
2:
This setting is available in the dsPIC33FJ32(GP/MC)104 devices only and is reserved in all other devices.
3:
This setting is available in all devices, excluding the dsPIC33FJ16(GP/MC)101/102, where it is reserved.