29.5.7 MUXPOS

Name: MUXPOS
Offset: 0x06
Reset: 0x00
Property: -

Bit 76543210 
    MUXPOS[4:0] 
Access R/WR/WR/WR/WR/W 
Reset 00000 

Bits 4:0 – MUXPOS[4:0] MUXPOS

This bit field selects which single-ended analog input is connected to the ADC. If these bits are changed during a conversion, the change will not take effect until this conversion is complete.

ValueNameDescription
0x00AIN0ADC input pin 0
0x01AIN1ADC input pin 1
0x02AIN2ADC input pin 2
0x03AIN3ADC input pin 3
0x04AIN4ADC input pin 4
0x05AIN5ADC input pin 5
0x06AIN6ADC input pin 6
0x07AIN7ADC input pin 7
0x08AIN8ADC input pin 8
0x09AIN9ADC input pin 9
0x0AAIN10ADC input pin 10
0x0BAIN11ADC input pin 11
0x1CReservedReserved
0x1DINTREFInternal reference (from VREF peripheral)
0x1ETEMPSENSETemperature sensor
0x1FGND0V (GND)
Other-Reserved
Note: Not all pins of a port are available on devices with low pin counts. Check the Pinout Diagram and/or the I/O Multiplexing table for details.