English
Language : 

ATMEGA8_14 Datasheet, PDF (188/331 Pages) ATMEL Corporation – High-performance, Low-power Atmel
ATmega8(L)
Analog
Comparator
Multiplexed Input
It is possible to select any of the ADC7..0(1) pins to replace the negative input to the Analog
Comparator. The ADC multiplexer is used to select this input, and consequently the ADC must
be switched off to utilize this feature. If the Analog Comparator Multiplexer Enable bit (ACME in
SFIOR) is set and the ADC is switched off (ADEN in ADCSRA is zero), MUX2..0 in ADMUX
select the input pin to replace the negative input to the Analog Comparator, as shown in Table
72. If ACME is cleared or ADEN is set, AIN1 is applied to the negative input to the Analog
Comparator.
Table 72. Analog Comparator Multiplexed Input(1)
ACME
ADEN
MUX2..0 Analog Comparator Negative Input
0
x
xxx
AIN1
1
1
xxx
AIN1
1
0
000
ADC0
1
0
001
ADC1
1
0
010
ADC2
1
0
011
ADC3
1
0
100
ADC4
1
0
101
ADC5
1
0
110
ADC6
1
0
111
ADC7
Note: 1. ADC7..6 are only available in TQFP and QFN/MLF Package
2486AA–AVR–02/2013
188