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.
Value | Name | Description |
---|
0x00 | AIN0 | ADC input pin 0 |
0x01 | AIN1 | ADC input pin 1 |
0x02 | AIN2 | ADC input pin 2 |
0x03 | AIN3 | ADC input pin 3 |
0x04 | AIN4 | ADC input pin 4 |
0x05 | AIN5 | ADC input pin 5 |
0x06 | AIN6 | ADC input pin 6 |
0x07 | AIN7 | ADC input pin 7 |
0x08 | AIN8 | ADC input pin 8 |
0x09 | AIN9 | ADC input pin 9 |
0x0A | AIN10 | ADC input pin 10 |
0x0B | AIN11 | ADC input pin 11 |
0x1C | Reserved | Reserved |
0x1D | INTREF | Internal reference (from VREF peripheral) |
0x1E | TEMPSENSE | Temperature sensor |
0x1F | GND | 0V (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.