beautypg.com

Atmega169v/l – Rainbow Electronics Atmega169L User Manual

Page 205

background image

205

ATmega169V/L

2514A–AVR–08/02

• Bits 4:0 – MUX4:0: Analog Channel Selection Bits

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

Table 90. Input Channel Selections

MUX4..0

Single Ended Input

Positive Differential Input

Negative Differential Input

00000

ADC0

N/A

00001

ADC1

00010

ADC2

00011

ADC3

00100

ADC4

00101

ADC5

00110

ADC6

00111

ADC7

01000

01001

01010

01011

01100

01101

01110

01111

10000

ADC0

ADC1

10001

ADC1

ADC1

10010

N/A

ADC2

ADC1

10011

ADC3

ADC1

10100

ADC4

ADC1

10101

ADC5

ADC1

10110

ADC6

ADC1

10111

ADC7

ADC1

11000

ADC0

ADC2

11001

ADC1

ADC2

11010

ADC2

ADC2

11011

ADC3

ADC2

11100

ADC4

ADC2

11101

ADC5

ADC2

11110

1.1V (V

BG

)

N/A

11111

0V (GND)