Microchip Technology MA330016 Data Sheet

Page of 300
© 2007-2011 Microchip Technology Inc.
DS70290J-page 187
dsPIC33FJ32GP202/204 and dsPIC33FJ16GP304
 
     
REGISTER 18-6:
AD1CSSL: ADC1 INPUT SCAN SELECT REGISTER LOW
(1,2)
U-0
U-0
U-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
CSS12
CSS11
CSS10
CSS9
CSS8
bit 15
bit 8
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
CSS7
CSS6
CSS5
CSS4
CSS3
CSS2
CSS1
CSS0
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-13
Unimplemented: Read as ‘0’
bit 12-0
CSS<12:0>: ADC Input Scan Selection bits
1 = Select ANx for input scan
0 = Skip ANx for input scan
Note 1: On devices without 13 analog inputs, all AD1CSSL bits can be selected by the user application. However,
inputs selected for scan without a corresponding input on device converts V
REFL
.
2: CSSx = ANx, where x = 0 through 12.
REGISTER 18-7:
AD1PCFGL: ADC1 PORT CONFIGURATION REGISTER LOW
(1,2,3)
U-0
U-0
U-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
PCFG12
PCFG11
PCFG10
PCFG9
PCFG8
bit 15
bit 8
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
PCFG7
PCFG6
PCFG5
PCFG4
PCFG3
PCFG2
PCFG1
PCFG0
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-13
Unimplemented: Read as ‘0’
bit 12-0
PCFG<12:0>: ADC Port Configuration Control bits
1 = Port pin in Digital mode, port read input enabled, ADC input multiplexer connected to AV
SS
0 = Port pin in Analog mode, port read input disabled, ADC samples pin voltage
Note 1: On devices without 13 analog inputs, all PCFG bits are R/W by user software. However, the PCFG bits are 
ignored on ports without a corresponding input on device.
2: PCFGx = ANx, where x = 0 through 12.
3: The PCFGx bits have no effect if the ADC module is disabled by setting ADxMD bit in the PMDx Register. 
In this case, all port pins multiplexed with ANx will be in Digital mode.