ATMEGA16A-AUR Atmel, ATMEGA16A-AUR Datasheet - Page 43

no-image

ATMEGA16A-AUR

Manufacturer Part Number
ATMEGA16A-AUR
Description
MCU AVR 16KB FLASH 16MHZ 44TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA16A-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
32
Program Memory Size
16KB (8K 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:
ATMEGA16A-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA16A-AUR
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
8154B–AVR–07/09
Table 10-1.
The following code example shows one assembly and one C function for turning off the WDT.
The example assumes that interrupts are controlled (for example by disabling interrupts globally)
so that no interrupts will occur during execution of these functions.
Assembly Code Example
C Code Example
WDP2
0
0
0
0
1
1
1
1
WDT_off:
void WDT_off(void)
{
}
; Reset WDT
WDR
; Write logical one to WDTOE and WDE
in
ori r16, (1<<WDTOE)|(1<<WDE)
out WDTCR, r16
; Turn off WDT
ldi r16, (0<<WDE)
out WDTCR, r16
ret
/* Reset WDT*/
_WDR();
/* Write logical one to WDTOE and WDE */
WDTCR |= (1<<WDTOE) | (1<<WDE);
/* Turn off WDT */
WDTCR = 0x00;
WDP1
r16, WDTCR
0
0
1
1
0
0
1
1
Watchdog Timer Prescale Select
WDP0
0
1
0
1
0
1
0
1
1,024K (1,048,576)
2,048K (2,097,152)
Oscillator Cycles
Number of WDT
128K (131,072)
256K (262,144)
512K (524,288)
16K (16,384)
32K (32,768)
64K (65,536)
Typical Time-out
at V
17.1 ms
34.3 ms
68.5 ms
0.14 s
0.27 s
0.55 s
CC
1.1 s
2.2 s
= 3.0V
ATmega16A
Typical Time-out
at V
16.3 ms
32.5 ms
65 ms
0.13 s
0.26 s
0.52 s
CC
1.0 s
2.1 s
= 5.0V
43

Related parts for ATMEGA16A-AUR