ATMEGA16-16AU SL602 Atmel, ATMEGA16-16AU SL602 Datasheet - Page 45

no-image

ATMEGA16-16AU SL602

Manufacturer Part Number
ATMEGA16-16AU SL602
Description
Manufacturer
Atmel
Datasheet
Interrupts
Interrupt Vectors
in ATmega16
2466T–AVR–07/10
This section describes the specifics of the interrupt handling as performed in ATmega16. For a
general explanation of the AVR interrupt handling, refer to
page
Table 18. Reset and Interrupt Vectors
Notes:
Table 19
BOOTRST and IVSEL settings. If the program never enables an interrupt source, the Interrupt
Vectors are not used, and regular program code can be placed at these locations. This is also
the case if the Reset Vector is in the Application section while the Interrupt Vectors are in the
Boot section or vice versa.
Vector No.
10
11
12
13
14
15
16
17
18
19
20
21
13.
1
2
3
4
5
6
7
8
9
1. When the BOOTRST Fuse is programmed, the device will jump to the Boot Loader address at
2. When the IVSEL bit in GICR is set, interrupt vectors will be moved to the start of the Boot
shows Reset and Interrupt Vectors placement for the various combinations of
reset, see
Flash section. The address of each Interrupt Vector will then be the address in this table added
to the start address of the Boot Flash section.
Address
Program
$000
$00A
$00C
$00E
$01A
$01C
$01E
$002
$004
$006
$008
$010
$012
$014
$016
$018
$020
$022
$024
$026
$028
(1)
“Boot Loader Support – Read-While-Write Self-Programming” on page
(2)
TIMER1 COMPB
TIMER1 COMPA
TIMER2 COMP
TIMER0 COMP
USART, UDRE
TIMER1 CAPT
TIMER2 OVF
TIMER1 OVF
TIMER0 OVF
USART, RXC
USART, TXC
ANA_COMP
SPM_RDY
SPI, STC
EE_RDY
Source
RESET
INT0
INT1
INT2
ADC
TWI
Interrupt Definition
External Pin, Power-on Reset, Brown-out
Reset, Watchdog Reset, and JTAG AVR
Reset
External Interrupt Request 0
External Interrupt Request 1
Timer/Counter2 Compare Match
Timer/Counter2 Overflow
Timer/Counter1 Capture Event
Timer/Counter1 Compare Match A
Timer/Counter1 Compare Match B
Timer/Counter1 Overflow
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
External Interrupt Request 2
Timer/Counter0 Compare Match
Store Program Memory Ready
“Reset and Interrupt Handling” on
ATmega16(L)
246.
45

Related parts for ATMEGA16-16AU SL602