atmega323l ATMEL Corporation, atmega323l Datasheet - Page 23

no-image

atmega323l

Manufacturer Part Number
atmega323l
Description
Atmega323 8-bit Avr Microcontroller With 32k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
1457G–AVR–09/03
Table 3. Reset and Interrupt Vectors (Continued)
Notes:
Table 4 shows Reset and Interrupt Vectors placement for the various combinations of
BOOTRST and IVSEL settings.
Table 4. Reset and Interrupt Vectors Placement
Note:
The most typical and general program setup for the Reset and Interrupt Vector
Addresses in ATmega323 is:
Vector No.
BOOTRST
Address
$000
$002
$004
$006
$008
$00a
$00c
$00e
$010
$012
$014
$016
10
11
12
13
14
15
16
17
18
19
20
0
0
1
1
1. When the BOOTRST Fuse is programmed, the device will jump to the Boot Loader
2. When the IVSEL bit in GICR is set, Interrupt Vectors will be moved to the start of the
The Boot Reset Address is shown in Table 59 on page 177.
address at reset, see “Boot Loader Support” on page 177.
boot Flash section. The address of each Interrupt Vector will then be address in this
table plus the start address of the boot Flash section.
Labels Code
Program Address
IVSEL
0
1
0
1
$01A
$01C
$01E
$012
$014
$016
$018
$020
$022
$024
$026
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
Reset address
$0000
$0000
Boot Reset Address
Boot Reset Address
RESET
EXT_INT0
EXT_INT1
EXT_INT2
TIM2_COMP
TIM2_OVF
TIM1_CAPT
TIM1_COMPA ; Timer1 CompareA Handler
TIM1_COMPB ; Timer1 CompareB Handler
TIM1_OVF
TIM0_COMP
TIM0_OVF
(2)
Source
TIMER1 OVF
TIMER0 COMP
TIMER0 OVF
SPI, STC
USART, RXC
USART, UDRE
USART, TXC
ADC
EE_RDY
ANA_COMP
TWSI
Comments
; Reset Handler
; IRQ0 Handler
; IRQ1 Handler
; IRQ2 Handler
; Timer2 Compare Handler
; Timer2 Overflow Handler
; Timer1 Capture Handler
; Timer1 Overflow Handler
; Timer0 Compare Handler
; Timer0 Overflow Handler
Interrupt Vectors Start Address
$0002
Boot Reset Address + $0002
$0002
Boot Reset Address + $0002
Interrupt Definition
Timer/Counter1 Overflow
Timer/Counter0 Compare Match
Timer/Counter0 Overflow
Serial Transfer Complete
USART, Rx Complete
USART Data Register Empty
USART, Tx Complete
ADC Conversion Complete
EEPROM Ready
Analog Comparator
Two-wire Serial Interface
ATmega323(L)
23

Related parts for atmega323l