Datasheet

Table Of Contents
207
ATmega32A [DATASHEET]
Atmel-8155D-AVR-ATmega32A-Datasheet_02/2014
23.9.2 ADCSRA – ADC Control and Status Register A
Bit 7 – ADEN: ADC Enable
Writing this bit to one enables the ADC. By writing it to zero, the ADC is turned off. Turning the ADC off while a con-
version is in progress, will terminate this conversion.
Bit 6 – ADSC: ADC Start Conversion
In Single Conversion mode, write this bit to one to start each conversion. In Free Running Mode, write this bit to
one to start the first conversion. The first conversion after ADSC has been written after the ADC has been enabled,
or if ADSC is written at the same time as the ADC is enabled, will take 25 ADC clock cycles instead of the normal
13. This first conversion performs initialization of the ADC.
ADSC will read as one as long as a conversion is in progress. When the conversion is complete, it returns to zero.
Writing zero to this bit has no effect.
01100 ADC2 ADC2 10x
01101
ADC3 ADC2 10x
01110
ADC2 ADC2 200x
01111
ADC3 ADC2 200x
10000
ADC0 ADC1 1x
10001
ADC1 ADC1 1x
10010
N/A ADC2 ADC1 1x
10011
ADC3 ADC1 1x
10100
ADC4 ADC1 1x
10101
ADC5 ADC1 1x
10110
ADC6 ADC1 1x
10111
ADC7 ADC1 1x
11000
ADC0 ADC2 1x
11001
ADC1 ADC2 1x
11010
ADC2 ADC2 1x
11011
ADC3 ADC2 1x
11100
ADC4 ADC2 1x
11101 ADC5 ADC2 1x
11110 1.22V (V
BG
) N/A
11111 0V (GND)
Table 23-4. Input Channel and Gain Selections (Continued)
MUX4:0
Single Ended
Input
Positive Differential
Input
Negative Differential
Input Gain
Bit 76543210
ADEN ADSC ADATE ADIF ADIE ADPS2 ADPS1 ADPS0 ADCSRA
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000