ATMEGA165-16MI Atmel, ATMEGA165-16MI Datasheet - Page 48

no-image

ATMEGA165-16MI

Manufacturer Part Number
ATMEGA165-16MI
Description
IC AVR MCU 16K 16MHZ 64-QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA165-16MI

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
54
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
64-MLF®, 64-QFN
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
2573G–AVR–07/09
When the BOOTRST Fuse is unprogrammed, the Boot section size set to 2K bytes and
the IVSEL bit in the MCUCR Register is set before any interrupts are enabled, the most
typical and general program setup for the Reset and Interrupt Vector Addresses is:
When the BOOTRST Fuse is programmed and the Boot section size set to 2K bytes, the
most typical and general program setup for the Reset and Interrupt Vector Addresses is:
Address
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
;
.org 0x1C02
0x1C02
0x1C04
...
0x1C2C
Address
.org 0x0002
0x0002
0x0004
...
0x002C
;
.org 0x1C00
0x1C00
0x1C01
0x1C02
0x1C03
0x1C04
0x1C05
Labels Code
RESET: ldi
Labels Code
RESET: ldi
out
ldi
out
sei
<instr>
jmp
jmp
...
jmp
jmp
jmp
...
jmp
out
ldi
out
sei
<instr>
r16,high(RAMEND) ; Main program start
SPH,r16
r16,low(RAMEND)
SPL,r16
EXT_INT0
PCINT0
...
SPM_RDY
EXT_INT0
PCINT0
...
SPM_RDY
r16,high(RAMEND) ; Main program start
SPH,r16
r16,low(RAMEND)
SPL,r16
xxx
xxx
Comments
Comments
; Set Stack Pointer to top of RAM
; Enable interrupts
; IRQ0 Handler
; PCINT0 Handler
;
; Store Program Memory Ready Handler
; IRQ0 Handler
; PCINT0 Handler
;
; Store Program Memory Ready Handler
; Set Stack Pointer to top of RAM
; Enable interrupts
ATmega165/V
48

Related parts for ATMEGA165-16MI