ATMEGA8A-AUR Atmel, ATMEGA8A-AUR Datasheet - Page 210

no-image

ATMEGA8A-AUR

Manufacturer Part Number
ATMEGA8A-AUR
Description
MCU AVR 8KB FLASH 16MHZ 32TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA8A-AUR

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
23
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA8A-AUR
Manufacturer:
Atmel
Quantity:
10 000
22.8.3
22.8.3.1
8159D–AVR–02/11
ADCL and ADCH – The ADC Data Register
ADLAR = 0
• Bit 5 – ADFR: ADC Free Running Select
When this bit is set (one) the ADC operates in Free Running mode. In this mode, the ADC sam-
ples and updates the Data Registers continuously. Clearing this bit (zero) will terminate Free
Running mode.
• Bit 4 – ADIF: ADC Interrupt Flag
This bit is set when an ADC conversion completes and the Data Registers are updated. The
ADC Conversion Complete Interrupt is executed if the ADIE bit and the I-bit in SREG are set.
ADIF is cleared by hardware when executing the corresponding interrupt Handling Vector. Alter-
natively, ADIF is cleared by writing a logical one to the flag. Beware that if doing a Read-Modify-
Write on ADCSRA, a pending interrupt can be disabled. This also applies if the SBI and CBI
instructions are used.
• Bit 3 – ADIE: ADC Interrupt Enable
When this bit is written to one and the I-bit in SREG is set, the ADC Conversion Complete Inter-
rupt is activated.
• Bits 2:0 – ADPS2:0: ADC Prescaler Select Bits
These bits determine the division factor between the XTAL frequency and the input clock to the
ADC.
Table 22-4.
Bit
Read/Write
Initial Value
ADPS2
0
0
0
0
1
1
1
1
ADC7
ADC Prescaler Selections
15
R
R
7
0
0
ADC6
14
R
R
6
0
0
ADPS1
0
0
1
1
0
0
1
1
ADC5
13
R
R
5
0
0
ADC4
12
R
R
4
0
0
ADPS0
0
1
0
1
0
1
0
1
ADC3
11
R
R
3
0
0
ADC2
10
R
R
2
0
0
ADC9
ADC1
Division Factor
R
R
9
1
0
0
ATmega8A
128
16
32
64
2
2
4
8
ADC8
ADC0
R
R
8
0
0
0
ADCH
ADCL
210

Related parts for ATMEGA8A-AUR