English
Language : 

PIC24HJ128GP206-I Datasheet, PDF (215/286 Pages) Microchip Technology – High-Performance, 16-Bit Microcontrollers
PIC24HJXXXGPX06/X08/X10
REGISTER 19-9: AD1PCFGH: ADC1 PORT CONFIGURATION REGISTER HIGH(1,2)
R/W-0
PCFG31
bit 15
R/W-0
PCFG30
R/W-0
PCFG29
R/W-0
PCFG28
R/W-0
PCFG27
R/W-0
PCFG26
R/W-0
PCFG25
R/W-0
PCFG24
bit 8
R/W-0
PCFG23
bit 7
R/W-0
PCFG22
R/W-0
PCFG21
R/W-0
PCFG20
R/W-0
PCFG19
R/W-0
PCFG18
R/W-0
PCFG17
R/W-0
PCFG16
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-0
PCFG<31:16>: A/D Port Configuration Control bits
1 = Port pin in Digital mode, port read input enabled, A/D input multiplexor connected to AVSS
0 = Port pin in Analog mode, port read input disabled, A/D samples pin voltage
Note 1: On devices without 32 analog inputs, all PCFG bits are R/W by user. However, PCFG bits are ignored on
ports without a corresponding input on device.
2: ADC2 only supports analog inputs AN0-AN15; therefore, no ADC2 high port Configuration register exists.
REGISTER 19-10: ADxPCFGL: ADCx PORT CONFIGURATION REGISTER LOW(1,2)
R/W-0
PCFG15
bit 15
R/W-0
PCFG14
R/W-0
PCFG13
R/W-0
PCFG12
R/W-0
PCFG11
R/W-0
PCFG10
R/W-0
PCFG9
R/W-0
PCFG8
bit 8
R/W-0
PCFG7
bit 7
R/W-0
PCFG6
R/W-0
PCFG5
R/W-0
PCFG4
R/W-0
PCFG3
R/W-0
PCFG2
R/W-0
PCFG1
R/W-0
PCFG0
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-0
PCFG<15:0>: A/D Port Configuration Control bits
1 = Port pin in Digital mode, port read input enabled, A/D input multiplexor connected to AVSS
0 = Port pin in Analog mode, port read input disabled, A/D samples pin voltage
Note 1:
2:
On devices without 16 analog inputs, all PCFG bits are R/W by user. However, PCFG bits are ignored on
ports without a corresponding input on device.
On devices with 2 analog-to-digital modules, both AD1PCFGL and AD2PCFGL will affect the configuration
of port pins multiplexed with AN0-AN15.
© 2007 Microchip Technology Inc.
DS70175F-page 213