atmega163l ATMEL Corporation, atmega163l Datasheet - Page 106

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
Operation
106
ATmega163(L)
Figure 57. Analog to Digital Converter Block Schematic
The ADC converts an analog input voltage to a 10-bit digital value through successive
approximation. The minimum value represents AGND and the maximum value repre-
sents the voltage on the AREF pin minus 1 LSB. Optionally, AVCC or an internal 2.56V
reference voltage may be connected to the AREF pin by writing to the REFSn bits in the
ADMUX Register. The internal voltage reference may thus be decoupled by an external
capacitor at the AREF pin to improve noise immunity.
The analog input channel is selected by writing to the MUX bits in ADMUX. Any of the
eight ADC input pins ADC7..0, as well as AGND and a fixed bandgap voltage reference
of nominally 1.22V (V
The ADC can operate in two modes – Single Conversion and Free Running mode. In
Single Conversion mode, each conversion will have to be initiated by the user. In Free
Running mode, the ADC is constantly sampling and updating the ADC Data Register.
The ADFR bit in ADCSR selects between the two available modes.
The ADC is enabled by setting the ADC Enable bit, ADEN in ADCSR. Voltage reference
and input channel selections will not go into effect until ADEN is set. The ADC does not
AGND
AVCC
AREF
ADC7
ADC6
ADC5
ADC4
ADC3
ADC2
ADC1
ADC0
1.22 V BANDGAP
INTERNAL 2.56 V
REFERENCE
REFERENCE
8-BIT DATA BUS
INPUT
MUX
BG
), can be selected as single ended inputs to the ADC.
ADC MULTIPLEXER
SELECT (ADMUX)
MUX DECODER
10-BIT DAC
ADC CTRL. & STATUS
REGISTER (ADCSR)
ADC CONVERSION
COMPLETE IRQ
CONVERSION LOGIC
PRESCALER
15
SAMPLE & HOLD
COMPARATOR
ADC DATA REGISTER
+
-
(ADCH/ADCL)
ADC MULTIPLEXER
OUTPUT
1142E–AVR–02/03
0

Related parts for atmega163l