Datasheet

PIC24FJ256DA210 FAMILY
DS39969B-page 330 2010 Microchip Technology Inc.
REGISTER 23-4: AD1CHS: A/D INPUT 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
(1)
CH0SB3
(1)
CH0SB2
(1)
CH0SB1
(1)
CH0SB0
(1)
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
(1)
CH0SA3
(1)
CH0SA2
(1)
CH0SA1
(1)
CH0SA0
(1)
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 MUX B Multiplexer Setting bit
1 = Channel 0 negative input is AN1
0 = Channel 0 negative input is V
R-
bit 14-13 Unimplemented: Read as ‘0
bit 12-8 CH0SB<4:0>: Channel 0 Positive Input Select for MUX B
(1)
Other = Not available; do not use
11111 = No channel used; all inputs are floating; used for CTMU
11011 = Channel 0 positive input is the band gap divided-by-six reference (VBG/6)
11010 = Channel 0 positive input is the core voltage (V
CAP)
11001 = Channel 0 positive input is the band gap reference (V
BG)
11000 = Channel 0 positive input is the band gap divided-by-two reference (V
BG/2)
10111 = Channel 0 positive input is AN23
(2)
.
.
.
00001 = Channel 0 positive input is AN1
00000 = Channel 0 positive input is AN0
bit 7 CH0NA: Channel 0 Negative Input Select for MUX A Multiplexer Setting bit
1 = Channel 0 negative input is AN1
0 = Channel 0 negative input is V
R-
bit 6-5 Unimplemented: Read as ‘0
bit 4-0 CH0SA<4:0>: Channel 0 Positive Input Select for MUX
(1)
Other = Not available; do not use
11111 = No Channel used; all inputs are floating; used for CTMU
11011 = Channel 0 positive input is the band gap divided-by-six reference (V
BG/6)
11010 = Channel 0 positive input is the core voltage (V
CAP)
11001 = Channel 0 positive input is the band gap reference (V
BG)
11000 = Channel 0 positive input is the band gap divided-by-two reference (V
BG/2)
10111 = Channel 0 positive input is AN23
(2)
.
.
.
00001 = Channel 0 positive input is AN1
00000 = Channel 0 positive input is AN0
Note 1: Combinations not shown here (11100 to 11110) are unimplemented; do not use.
2: Channel 0 positive inputs, AN16 through AN23, are not available on 64-pin devices (PIC24FJXXXDAX06).