ADC Multiplexer Selection Register
Name:
ADMUX
Offset:
0x1B
Reset:
0x00
Access:
-
Bit76543210
MUX1MUX0
AccessR/WR/W
Reset00

Bits 1:0 – MUXn: Analog Channel Selection [n = 1:0]

Analog Channel Selection [n = 1:0]

The value of these bits selects which analog inputs are connected to the ADC. If these bits are changed during a conversion, the change will not go in effect until this conversion is complete (ADCSRA.ADIF is set).

Table 1. Input Channel Selection
MUX[1:0] Single Ended Input Pin
00 ADC0 PB0
01 ADC1 PB1
10 ADC2 PB2
11 ADC3 PB3