ATMEGA64-16MC Atmel, ATMEGA64-16MC Datasheet - Page 110

no-image

ATMEGA64-16MC

Manufacturer Part Number
ATMEGA64-16MC
Description
IC AVR MCU 64K 16MHZ COM 64-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA64-16MC

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
53
Program Memory Size
64KB (32K x 16)
Program Memory Type
FLASH
Eeprom Size
2K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
64-MLF®, 64-QFN
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Timer/Counter
Prescaler
2490Q–AVR–06/10
• Bit 0 – TOV0: Timer/Counter0 Overflow Flag
The bit TOV0 is set (one) when an overflow occurs in Timer/Counter0. TOV0 is cleared by hard-
ware when executing the corresponding interrupt handling vector. Alternatively, TOV0 is cleared
by writing a logic one to the flag. When the SREG I-bit, TOIE0 (Timer/Counter0 Overflow Inter-
rupt Enable), and TOV0 are set (one), the Timer/Counter0 Overflow interrupt is executed. In
PWM mode, this bit is set when Timer/Counter0 changes counting direction at 0x00.
Figure 45. Prescaler for Timer/Counter0
The clock source for Timer/Counter0 is named clk
system clock clk
from the TOSC1 pin. This enables use of Timer/Counter0 as a Real Time Counter (RTC). When
AS0 is set, pins TOSC1 and TOSC2 are disconnected from Port C. A crystal can then be con-
nected between the TOSC1 and TOSC2 pins to serve as an independent clock source for
Timer/Counter0. The Oscillator is optimized for use with a 32.768 kHz crystal. Applying an exter-
nal clock source to TOSC1 is not recommended.
For Timer/Counter0, the possible prescaled selections are: clk
clk
Setting the PSR0 bit in SFIOR resets the prescaler. This allows the user to operate with a pre-
dictable prescaler.
T0S
/128, clk
TOSC1
clk
PSR0
CS00
CS01
CS02
AS0
T0S
OSC
OSC
/256, and clk
. By setting the AS0 bit in ASSR, Timer/Counter0 is asynchronously clocked
T0S
clk
/1024. Additionally, clk
T0S
Clear
TIMER/COUNTER0 CLOCK SOURCE
0
T0S
10-BIT T/C PRESCALER
. clk
T0S
clk
T0S
T0
as well as 0 (stop) may be selected.
is by default connected to the main
T0S
ATmega64(L)
/8, clk
T0S
/32, clk
T0S
/64,
110

Related parts for ATMEGA64-16MC