3.5.1 Interrupt Vectors in ATmega640/1280/1281/2560/2561

A clarification for the source names of the Interrupt vectors has been made to comply with the header file naming convention.

Table 3-3. Reset and Interrupt Vectors in ATmega640/1280/1281/2560/2561
Vector NoProgram Address(2)SourceInterrupts definition
10x0000(1)RESETExternal pin, Power-on Reset, Brown-out Reset, Watchdog Reset and JTAG AVR Reset.
20x0002INT0External Interrupt Request 0
30x0004INT1External Interrupt Request 1
40x0006INT2External Interrupt Request 2
50x0008INT3External Interrupt Request 3
60x000AINT4External Interrupt Request 4
70x000CINT5External Interrupt Request 5
80x000EINT6External Interrupt Request 6
80x0010INT7External Interrupt Request 7
90x0012PCINT0Pin Change Interrupt Request 0
100x0014PCINT1Pin Change Interrupt Request 1
110x0016(3)PCINT2Pin Change Interrupt Request 2
120x0018WDTWatchdog Time-out Interrupt
130x001ATIMER2_COMPATimer/Counter2 Compare Match A
140x001CTIMER2_COMPBTimer/Counter2 Compare Match B
150x001ETIMER2_OVFTimer/Counter2 Overflow
160x0020TIMER1_CAPTTimer/Counter1 Capture Event
170x0022TIMER1_COMPATimer/Counter1 Compare Match A
180x0024TIMER1_COMPBTimer/Counter1 Compare Match B
190x0026TIMER1_COMPCTimer/Counter1 Compare Match C
200x0028TIMER1_OVFTimer/Counter1 Overflow
210x002ATIMER0_COMPATimer/Counter0 Compare Match A
220x002CTIMER0_COMPBTimer/Counter0 Compare Match B
230x002ETIMER0_OVFTimer/Counter0 Overflow
240x0030SPI_STCSPI Serial Transfer Complete
250x0032USART0_RXUSART0 Receive complete
260x0034USART0_UDREUSART0 Data Register Empty
270x0036USART0_TXUSART0 Transmit complete
280x0038ANALOG_COMPAnalog Comparator
300x003AADCADC Conversion complete
310x003CEE_READYEEPROM Ready
320x003ETIMER3_CAPTTimer/Counter3 Capture Event
330x0040TIMER3_COMPATimer/Counter3 Compare Match A
340x0042TIMER3_COMPBTimer/Counter3 Compare Match B
350x0044TIMER3_COMPCTimer/Counter3 Compare Match C
360x0046TIMER3_OVFTimer/Counter3 Overflow
370x0048USART1_RXUSART1 Receive complete
380x004AUSART1_UDREUSART1 Data Register Empty
390x004CUSART1_TXUSART1 Transmit complete
400x004ETWI2-Wire Serial Interface
410x0050SPM_READYStore Program Memory Ready
420x0052(3)TIMER4_CAPTTimer/Counter4 Capture Event
430x0054TIMER4_COMPATimer/Counter4 Compare Match A
440x0056TIMER4_COMPBTimer/Counter4 Compare Match B
450x0058TIMER4_COMPCTimer/Counter4 Compare Match C
460x005ATIMER4_OVFTimer/Counter4 Overflow
470x005C(3)TIMER5_CAPTTimer/Counter5 Capture Event
480x005ETIMER5_COMPATimer/Counter5 Compare Match A
490x0060TIMER5_COMPBTimer/Counter5 Compare Match B
500x0062TIMER5_COMPCTimer/Counter5 Compare Match C
510x0064TIMER5_OVFTimer/Counter5 Overflow
520x0066(3)USART2_RXUSART2 Receive complete
530x0068(3)USART2_UDREUSART2 Data Register Empty
540x006A(3)USART2_TXUSART2 Transmit complete
550x006C(3)USART3_RXUSART3 Receive complete
560x006E(3)USART3_UDREUSART3 Data Register Empty
570x0070(3)USART3_TXUSART3 Transmit complete
Note:
  1. When the BOOTRST fuse is programmed, the device will jump to the boot loader address at Reset. See “Boot Loader Support – Read-While-Write Self- Programming”.
  2. When setting the IVSEL bit in MCUCR, Interrupt Vectors will be moved to the start of the boot 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.
  3. Only available in ATmega640/1280/2560.