English
Language : 

PIC24FJ16MC101_12 Datasheet, PDF (203/350 Pages) Microchip Technology – 16-bit Microcontrollers (up to 32 KB Flash and 2 KB SRAM)
PIC24FJ16MC101/102 AND PIC24FJ32MC101/102/104
REGISTER 19-7: AD1PCFGL: ADC1 PORT CONFIGURATION REGISTER LOW(1,2,3)
R/W-0
U-0
PCFG15(4,5)
—
bit 15
U-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
—
PCFG12(4,5) PCFG11(4,5) PCFG10(4,7) PCFG9(4,7) PCFG8(4,5)
bit 8
R/W-0
PCFG(4,5)
bit 7
R/W-0
PCFG6(4,5)
R/W-0
PCFG5(4,6)
R/W-0
PCFG4(4,6)
R/W-0
PCFG3(4)
R/W-0
PCFG2(4)
R/W-0
PCFG1(4)
R/W-0
PCFG0(4)
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-0
PCFG15: ADC Port Configuration Control bit
1 = Select ANx for input scan
0 = Skip ANx for input scan
Unimplemented: Read as ‘0’
PCFG12:PCFG0: ADC Port Configuration Control bits(4)
1 = Port pin in Digital mode, port read input enabled, ADC input multiplexer connected to AVSS
0 = Port pin in Analog mode, port read input disabled, ADC samples pin voltage
Note 1:
2:
3:
4:
5:
6:
7:
On devices without 14 analog inputs, all PCFG bits are R/W by user. However, PCFG bits are ignored on
ports without a corresponding input on device.
PCFGx = ANx, where x = 0 through 12, and 15.
PCFGx bits have no effect if the ADC module is disabled by setting ADxMD bit in the PMDx register. When
the bit is set, all port pins that have been multiplexed with ANx will be in Digital mode.
Pins shared with analog functions (i.e., ANx), are analog by default and therefore, must be set by the user
to enable any digital function on that pin. Reading any port pin with the analog function enabled will return
a ‘0’, regardless of the signal input level.
This setting is available in the dsPIC33FJ32(GP/MC)104 devices only, and is Reserved in all other
devices.
This setting is available on all devices excluding the dsPIC33FJXX(GP/MC)101, where it is Reserved.
This setting is available on all devices excluding the dsPIC33FJ16(GP/MC)101/102, where it is Reserved.
© 2011-2012 Microchip Technology Inc.
Preliminary
DS39997C-page 203