ATMEGA8L-8AC Atmel, ATMEGA8L-8AC Datasheet - Page 70

IC AVR MCU 8K LV 8MHZ COM 32TQFP

ATMEGA8L-8AC

Manufacturer Part Number
ATMEGA8L-8AC
Description
IC AVR MCU 8K LV 8MHZ COM 32TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA8L-8AC

Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
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
0°C ~ 70°C
Package / Case
32-TQFP, 32-VQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
ATMEGA8L8AC

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA8L-8AC
Manufacturer:
Atmel
Quantity:
10 000
Timer/Counter
Clock Sources
Counter Unit
Operation
Timer/Counter
Timing Diagrams
70
ATmega8(L)
The Timer/Counter can be clocked by an internal or an external clock source. The clock source
is selected by the clock select logic which is controlled by the clock select (CS02:0) bits located
in the Timer/Counter Control Register (TCCR0). For details on clock sources and prescaler, see
“Timer/Counter0 and Timer/Counter1 Prescalers” on page
The main part of the 8-bit Timer/Counter is the programmable counter unit.
block diagram of the counter and its surroundings.
Figure 27. Counter Unit Block Diagram
Signal description (internal signals):
The counter is incremented at each timer clock (clk
or internal clock source, selected by the clock select bits (CS02:0). When no clock source is
selected (CS02:0 = 0) the timer is stopped. However, the TCNT0 value can be accessed by the
CPU, regardless of whether clk
counter clear or count operations.
The counting direction is always up (incrementing), and no counter clear is performed. The
counter simply overruns when it passes its maximum 8-bit value (MAX = 0xFF) and then restarts
from the bottom (0x00). In normal operation the Timer/Counter Overflow Flag (TOV0) will be set
in the same timer clock cycle as the TCNT0 becomes zero. The TOV0 Flag in this case behaves
like a ninth bit, except that it is only set, not cleared. However, combined with the timer overflow
interrupt that automatically clears the TOV0 Flag, the timer resolution can be increased by soft-
ware. A new counter value can be written anytime.
The Timer/Counter is a synchronous design and the timer clock (clk
clock enable signal in the following figures. The figures include information on when Interrupt
Flags are set.
figure shows the count sequence close to the MAX value.
count
clk
max
Tn
DATA BUS
TCNTn
Increment TCNT0 by 1
Timer/Counter clock, referred to as clk
Signalize that TCNT0 has reached maximum value
Figure 28 on page 71
count
T0
is present or not. A CPU write overrides (has priority over) all
contains timing data for basic Timer/Counter operation. The
Control Logic
max
TOVn
(Int. Req.)
clk
T0
Tn
T0
). clk
in the following
T0
73.
can be generated from an external
Clock Select
( From Prescaler )
Detector
Edge
T0
) is therefore shown as a
Figure 27
2486Z–AVR–02/11
Tn
shows a

Related parts for ATMEGA8L-8AC