ATMEGA161-8PI Atmel, ATMEGA161-8PI Datasheet - Page 24

IC AVR MCU 16K 8MHZ IND 40-DIP

ATMEGA161-8PI

Manufacturer Part Number
ATMEGA161-8PI
Description
IC AVR MCU 16K 8MHZ IND 40-DIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA161-8PI

Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
Connectivity
SPI, UART/USART
Peripherals
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)
4 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Other names
ATMEGA1618PI
24
ATmega161(L)
When the BOOTRST fuse is programmed, the most typical and general program setup
for the Reset and Interrupt Vector addresses are:
$01a
$01c
$01e
$020
$022
$024
$026
$028
;
$02a
$02b
$02c
$02d
$02e
Address
.org $002
$002
$004
$006
$008
$00a
$00c
$00e
$010
$012
$014
$016
$018
$01a
$01c
$01e
$020
$022
$024
$026
$028
;
$02a
$02b
$02c
$02d
$02e
;
.org $1e00
$1e00
MAIN:
Labels
MAIN:
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
ldi r16,high(RAMEND) ; Main program start
out SPH,r16
ldi r16,low(RAMEND)
out SPL,r16
<instr>
Code
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
ldi r16,high(RAMEND); Main program start
out SPH,r16
ldi r16,low(RAMEND)
out SPL,r16
<instr>
jmp
UART_RXC0
UART_RXC1
UART_DRE0
UART_DRE1
UART_TXC0
UART_TXC1
EE_RDY
ANA_COMP
EXT_INT0
EXT_INT1
EXT_INT2
TIM2_COMP
TIM2_OVF
TIM1_CAPT
TIM1_COMPA
TIM1_COMPB
TIM1_OVF
TIM0_COMP
TIM0_OVF
SPI_STC;
UART_RXC0
UART_RXC1
UART_DRE0
UART_DRE1
UART_TXC0
UART_TXC1
EE_RDY
ANA_COMP
RESET
xxx
xxx
; UART0 RX Complete Handler
; UART1 RX Complete Handler
; UDR0 Empty Handler
; UDR1 Empty Handler
; UART0 TX Complete Handler
; UART1 TX Complete Handler
; EEPROM Ready Handler
; Analog Comparator Handler
Comments
; Reset is located at $1e000
; IRQ0 Handler
; IRQ1 Handler
; IRQ2 Handler
; Timer2 Compare Handler
; Timer2 Overflow Handler
; Timer1 Capture Handler
; Timer1 CompareA Handler
; Timer1 CompareB Handler
; Timer1 Overflow Handler
; Timer0 Compare Handler
; Timer0 Overflow Handler
; SPI Transfer Complete Handler
; UART0 RX Complete Handler
; UART1 RX Complete Handler
; UDR0 Empty Handler
; UDR1 Empty Handler
; UART0 TX Complete Handler
; UART1 TX Complete Handler
; EEPROM Ready Handler
; Analog Comparator Handler
; Reset handler
1228D–AVR–02/07

Related parts for ATMEGA161-8PI