ATMEGA103-6AC Atmel, ATMEGA103-6AC Datasheet - Page 40

IC MCU 128K 6MHZ A/D 64TQFP

ATMEGA103-6AC

Manufacturer Part Number
ATMEGA103-6AC
Description
IC MCU 128K 6MHZ A/D 64TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA103-6AC

Core Processor
AVR
Core Size
8-Bit
Speed
6MHz
Connectivity
SPI, UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
32
Program Memory Size
128KB (64K x 16)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
64-TQFP, 64-VQFP
For Use With
ATSTK501 - ADAPTER KIT FOR 64PIN AVR MCU
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA103-6AC
Manufacturer:
ATMEL
Quantity:
1
40
ATmega103(L)
Figure 31. Timer/Counter2 Block Diagram
The 8-bit Timer/Counter0 can select clock source from PCK0 or prescaled PCK0. The 8-
bit Timer/Counter2 can select clock source from CK, prescaled CK or an external pin.
Both Timer/Counters can be stopped as described in the specification for the
Timer/Counter Control Registers – TCCR0 and TCCR2.
The different Status Flags (Overflow, Compare Match and Capture Event) are found in
the Timer/Counter Interrupt Flag Register (TIFR). Control signals are found in the
Timer/Counter Control Registers – TCCR0 and TCCR2. The interrupt enable/disable
settings are found in the Timer/Counter Interrupt Mask Register (TIMSK).
When Timer/Counter2 is externally clocked, the external signal is synchronized with the
Oscillator frequency of the CPU. To assure proper sampling of the external clock, the
minimum time between two external clock transitions must be at least one internal CPU
clock period. The external clock signal is sampled on the rising edge of the internal CPU
clock.
The 8-bit Timer/Counters feature a high-resolution and a high-accuracy usage with the
lower prescaling opportunities. Similarly, the high prescaling opportunities make these
units useful for lower speed functions or exact timing functions with infrequent actions.
Both Timer/Counters support two Output Compare functions using the Output Compare
Registers (OCR0 and OCR2) as the data source to be compared to the Timer/Counter
contents. The Output Compare functions include optional clearing of the counter on
compare match and action on the Output Compare pins – PB4(OC0/PWM0) and
PB7(OC2/PWM2) – on compare match.
Timer/Counters 0 and 2 can also be used as 8-bit Pulse Width Modulators. In this mode
the Timer/Counter and the Output Compare Register serve as a glitch-free, stand-alone
PWM with centered pulses. Refer to page 43 for a detailed description of this function.
7
7
7
8-BIT COMPARATOR
TIMER/COUNTER2
OUTPUT COMPARE
REGISTER2 (OCR2)
REGISTER (TIMSK)
TIMER INT. MASK
(TCNT2)
0
0
0
T/C2 OVER-
FLOW IRQ
T/C CLEAR
T/C CLK SOURCE
UP/DOWN
REGISTER (TIFR)
TIMER INT. FLAG
T/C2 COMPARE
MATCH IRQ
CONTROL
LOGIC
REGISTER (TCCR2)
T/C2 CONTROL
0945I–AVR–02/07
CK
T2

Related parts for ATMEGA103-6AC