Datasheet

47
8183F–AVR–06/12
ATtiny24A/44A/84A
9. Interrupts
This section describes the specifics of the interrupt handling as performed in
ATtiny24A/44A/84A. For a general explanation of the AVR interrupt handling, see “Reset and
Interrupt Handling” on page 11.
9.1 Interrupt Vectors
The interrupt vectors of ATtiny24A/44A/84A are described in Table 9-1 below.
In case the program never enables an interrupt source, the Interrupt Vectors will not be used
and, consequently, regular program code can be placed at these locations.
The most typical and general setup for interrupt vector addresses in ATtiny24A/44A/84A is
shown in the program example below.
Table 9-1. Reset and Interrupt Vectors
Vector No. Program Address Label Interrupt Source
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