English
Language : 

PIC24HJ32GP302_11 Datasheet, PDF (229/368 Pages) Microchip Technology – High-Performance, 16-bit Microcontrollers
PIC24HJ32GP302/304, PIC24HJ64GPX02/X04 AND PIC24HJ128GPX02/X04
REGISTER 20-6: AD1CHS0: ADC1 INPUT CHANNEL 0 SELECT REGISTER
R/W-0
U-0
CH0NB
—
bit 15
U-0
R/W-0
R/W-0
R/W-0
R/W-0
—
CH0SB<4:0>
R/W-0
bit 8
R/W-0
U-0
CH0NA
—
bit 7
U-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
—
CH0SA<4:0>
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
bit 14-13
bit 12-8
bit 7
bit 6-5
bit 4-0
CH0NB: Channel 0 Negative Input Select for Sample B bit
Same definition as bit 7.
Unimplemented: Read as ‘0’
CH0SB<4:0>: Channel 0 Positive Input Select for Sample B bits
01100 = Channel 0 positive input is AN12
01011 = Channel 0 positive input is AN11
•
•
•
01000 = Channel 0 positive input is AN8(1)
00111 = Channel 0 positive input is AN7(1)
00110 = Channel 0 positive input is AN6(1)
•
•
•
00010 = Channel 0 positive input is AN2
00001 = Channel 0 positive input is AN1
00000 = Channel 0 positive input is AN0
CH0NA: Channel 0 Negative Input Select for Sample A bit
1 = Channel 0 negative input is AN1
0 = Channel 0 negative input is VREF-
Unimplemented: Read as ‘0’
CH0SA<4:0>: Channel 0 Positive Input Select for Sample A bits
01100 = Channel 0 positive input is AN12
01011 = Channel 0 positive input is AN11
•
•
•
01000 = Channel 0 positive input is AN8(1)
00111 = Channel 0 positive input is AN7(1)
00110 = Channel 0 positive input is AN6(1)
•
•
•
00010 = Channel 0 positive input is AN2
00001 = Channel 0 positive input is AN1
00000 = Channel 0 positive input is AN0
Note 1: These bit settings (AN6, AN7 and AN8) are reserved on PIC24HJ128GPX02, PIC24HJ64GPX02 and
PIC24HJ32GPX02 (28-pin) devices.
© 2011 Microchip Technology Inc.
DS70293E-page 229