ATMEGA162-16MI Atmel, ATMEGA162-16MI Datasheet - Page 55

IC MCU AVR 16K 5V 16MHZ 44-QFN

ATMEGA162-16MI

Manufacturer Part Number
ATMEGA162-16MI
Description
IC MCU AVR 16K 5V 16MHZ 44-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA162-16MI

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
EBI/EMI, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
35
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
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-VQFN Exposed Pad
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
2513K–AVR–07/09
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.
Assembly Code Example
C Code Example
WDT_off:
void WDT_off(void)
{
}
; Reset WDT
WDR
; Write logical one to W?CE and WDE
in
ori
out
; Turn off WDT
ldi
out
ret
/* Reset WDT*/
_WDR()
/* Write logical on? to WDCE and WDE */
WDTCR |= (1<<WDCE) | (1<?WDE);
/* Turn off WDT */
WDTCR = 0x00;
r16, WDTCR
r16, (1<<WDCE)|(1<<WDE)
WDTCR, r16
r16, (0<<WDE)
WDTCR, r16
ATmega162/V
55

Related parts for ATMEGA162-16MI