atmega163l ATMEL Corporation, atmega163l Datasheet - Page 104

no-image

atmega163l

Manufacturer Part Number
atmega163l
Description
Atmega163 8-bit Avr Microcontroller With 16k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
atmega163l-4AI
Manufacturer:
ATMEL
Quantity:
984
Analog Comparator
Multiplexed Input
104
ATmega163(L)
It is possible to select any of the PA7..0 (ADC7..0) pins to replace the negative input to
the Analog Comparator. The ADC multiplexer is used to select this input, and conse-
quently, the ADC must be switched off to utilize this feature. If the Analog Comparator
Multiplexer Enable bit (ACME in SFIOR) is set (one) and the ADC is switched off (ADEN
in ADCSR is zero), MUX2..0 in ADMUX select the input pin to replace the negative input
to the Analog Comparator, as shown in Table 38. If ACME is cleared (zero) or ADEN is
set (one), PB3 (AIN1) is applied to the negative input to the Analog Comparator.
Table 38. Analog Comparator Multiplexed Input
ACME
0
1
1
1
1
1
1
1
1
1
ADEN
x
1
0
0
0
0
0
0
0
0
MUX2..0
000
001
010
011
100
101
110
111
xxx
xxx
Analog Comparator Negative Input
AIN1
AIN1
ADC0
ADC1
ADC2
ADC3
ADC4
ADC5
ADC6
ADC7
1142E–AVR–02/03

Related parts for atmega163l