ATMEGA649-16MI Atmel, ATMEGA649-16MI Datasheet - Page 46

IC AVR MCU FLASH 64K 5V 64QFN

ATMEGA649-16MI

Manufacturer Part Number
ATMEGA649-16MI
Description
IC AVR MCU FLASH 64K 5V 64QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA649-16MI

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, LCD, 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)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-MLF®, 64-QFN
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
46
ATmega329/3290/649/6490
Table 10-2.
The following code example shows one assembly and one C function for turning off the WDT.
The example assumes that interrupts are controlled (e.g. by disabling interrupts globally) so that
no interrupts will occur during execution of these functions.
Note:
WDP2
Assembly Code Example
C Code Example
0
0
0
0
1
1
1
1
WDT_off:
void WDT_off(void)
{
}
; Reset WDT
wdr
; Write logical one to WDCE and WDE
in
ori r16, (1<<WDCE)|(1<<WDE)
out WDTCR, r16
; Turn off WDT
ldi r16, (0<<WDE)
out WDTCR, r16
ret
/* Reset WDT */
__watchdog_reset();
/* Write logical one to WDCE and WDE */
WDTCR |= (1<<WDCE) | (1<<WDE);
/* Turn off WDT */
WDTCR = 0x00;
1.
WDP1
See “About Code Examples” on page 9.
0
0
1
1
0
0
1
1
r16, WDTCR
Watchdog Timer Prescale Select
(1)
WDP0
0
1
0
1
0
1
0
1
(1)
Oscillator Cycles
Number of WDT
1,024K cycles
2,048K cycles
128K cycles
256K cycles
512K cycles
16K cycles
32K cycles
64K cycles
Typical Time-out
at V
17.1ms
34.3ms
68.5ms
0.14s
0.27s
0.55s
CC
1.1s
2.2s
= 3.0V
Typical Time-out
at V
16.3ms
32.5ms
CC
65ms
0.13s
0.26s
0.52s
1.0s
2.1s
= 5.0V
2552K–AVR–04/11

Related parts for ATMEGA649-16MI