60
7679H–CAN–08/08
AT90CAN32/64/128
8. Interrupts
This section describes the specifics of the interrupt handling as performed in
AT90CAN32/64/128. For a general explanation of the AVR interrupt handling, refer to “Reset
and Interrupt Handling” on page 15.
8.1 Interrupt Vectors in AT90CAN32/64/128
Table 8-1. Reset and Interrupt Vectors
Vector
No.
Program
Address
(1)
Source Interrupt Definition
1 0x0000
(2)
RESET
External Pin, Power-on Reset, Brown-out Reset,
Watchdog Reset, and JTAG AVR Reset
2 0x0002 INT0 External Interrupt Request 0
3 0x0004 INT1 External Interrupt Request 1
4 0x0006 INT2 External Interrupt Request 2
5 0x0008 INT3 External Interrupt Request 3
6 0x000A INT4 External Interrupt Request 4
7 0x000C INT5 External Interrupt Request 5
8 0x000E INT6 External Interrupt Request 6
9 0x0010 INT7 External Interrupt Request 7
10 0x0012 TIMER2 COMP Timer/Counter2 Compare Match
11 0x0014 TIMER2 OVF Timer/Counter2 Overflow
12 0x0016 TIMER1 CAPT Timer/Counter1 Capture Event
13 0x0018 TIMER1 COMPA Timer/Counter1 Compare Match A
14 0x001A TIMER1 COMPB Timer/Counter1 Compare Match B
15 0x001C TIMER1 COMPC Timer/Counter1 Compare Match C
16 0x001E TIMER1 OVF Timer/Counter1 Overflow
17 0x0020 TIMER0 COMP Timer/Counter0 Compare Match
18 0x0022 TIMER0 OVF Timer/Counter0 Overflow
19 0x0024 CANIT CAN Transfer Complete or Error
20 0x0026 OVRIT CAN Timer Overrun
21 0x0028 SPI, STC SPI Serial Transfer Complete
22 0x002A USART0, RX USART0, Rx Complete
23 0x002C USART0, UDRE USART0 Data Register Empty
24 0x002E USART0, TX USART0, Tx Complete
25 0x0030 ANALOG COMP Analog Comparator
26 0x0032 ADC ADC Conversion Complete
27 0x0034 EE READY EEPROM Ready
28 0x0036 TIMER3 CAPT Timer/Counter3 Capture Event