Datasheet

48
8006H–AVR–10/09
ATtiny24/44/84
9. Interrupts
This section describes the specifics of the interrupt handling as performed in ATtiny24/44/84.
For a general explanation of the AVR interrupt handling, see “Reset and Interrupt Handling” on
page 12.
9.1 Interrupt Vectors
The interrupt vectors of ATtiny24/44/84 are described in Table 9-1 below.
If the program never enables an interrupt source, the Interrupt Vectors are not used, and regular
program code can be placed at these locations.
The most typical and general setup for Reset and Interrupt Vector Addresses in ATtiny24/44/84
is shown in the program example below.
Table 9-1. Reset and Interrupt Vectors
Vector No. Program Address Source Interrupt Definition
1 0x0000 RESET
External Pin, Power-on Reset,
Brown-out Reset, Watchdog Reset
2 0x0001 INT0 External Interrupt Request 0
3 0x0002 PCINT0 Pin Change Interrupt Request 0
4 0x0003 PCINT1 Pin Change Interrupt Request 1
5 0x0004 WDT Watchdog Time-out
6 0x0005 TIM1_CAPT Timer/Counter1 Capture Event
7 0x0006 TIM1_COMPA Timer/Counter1 Compare Match A
8 0x0007 TIM1_COMPB Timer/Counter1 Compare Match B
9 0x0008 TIM1_OVF Timer/Counter1 Overflow
10 0x0009 TIM0_COMPA Timer/Counter0 Compare Match A
11 0x000A TIM0_COMPB Timer/Counter0 Compare Match B
12 0x000B TIM0_OVF Timer/Counter0 Overflow
13 0x000C ANA_COMP Analog Comparator
14 0x000D ADC ADC Conversion Complete
15 0x000E EE_RDY EEPROM Ready
16 0x000F USI_STR USI START
17 0x0010 USI_OVF USI Overflow