Datasheet
2009-2012 Microchip Technology Inc. DS70591E-page 319
dsPIC33FJ32GS406/606/608/610 and dsPIC33FJ64GS406/606/608/610
REGISTER 22-4: ADPCFG: ADC PORT CONFIGURATION REGISTER
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
PCFG<15:8>
(1)
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
PCFG<7:0>
(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-0 PCFG<15:0>: ADC Port Configuration Control bits
(1)
1 = Port pin in Digital mode, port read input is enabled; Analog-to-Digital input multiplexer is
connected to AVSS
0 = Port pin in Analog mode, port read input is disabled; Analog-to-Digital samples the pin voltage
Note 1: Not all PCFGx bits are available on all devices. See Figure 22-1, Figure 22-2, Figure 22-3 and Figure 22-4
for the available analog inputs (PCFGx = ANx, where x = 0-15).
REGISTER 22-5: ADPCFG2: ADC PORT CONFIGURATION REGISTER 2
U-0 U-0 U-0 U-0 U-0 U-0 U-0 U-0
— — — — — — — —
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
PCFG<23:16>
(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-8 Unimplemented: Read as ‘0’
bit 7-0 PCFG<23:16>: ADC Port Configuration Control bits
(1)
1 = Port pin in Digital mode, port read input is enabled; Analog-to-Digital input multiplexer is
connected to AV
SS
0 = Port pin in Analog mode, port read input is disabled; Analog-to-Digital samples the pin voltage
Note 1: Not all PCFGx bits are available on all devices. See Figure 22-1, Figure 22-2, Figure 22-3 and Figure 22-4
for the available analog inputs (PCFGx = ANx, where x can be 0 through 15).