
211
8266A-MCU Wireless-12/09
15 Interrupts
This section describes the specifics of the interrupt handling as performed in
ATmega128RFA1. For a general explanation of the AVR interrupt handling, refer to
"Reset and Interrupt Handling" on page 15.
15.1 Interrupt Vectors in ATmega128RFA1
Table 15-1. Reset and Interrupt Vectors
Vector
No.
Program
Address
(2)
Source Interrupt Definition
0 $0000
(1)
RESET
External Pin, Power-on Reset, Brown-out
Reset, Watchdog Reset, and JTAG AVR
Reset
1 $0002 INT0 External Interrupt Request 0
2 $0004 INT1 External Interrupt Request 1
3 $0006 INT2 External Interrupt Request 2
4 $0008 INT3 External Interrupt Request 3
5 $000A INT4 External Interrupt Request 4
6 $000C INT5 External Interrupt Request 5
7 $000E INT6 External Interrupt Request 6
8 $0010 INT7 External Interrupt Request 7
9 $0012 PCINT0 Pin Change Interrupt Request 0
10 $0014 PCINT1 Pin Change Interrupt Request 1
11 $0016(3) PCINT2 Pin Change Interrupt Request 2
12 $0018 WDT Watchdog Time-out Interrupt
13 $001A TIMER2_COMPA Timer/Counter2 Compare Match A
14 $001C TIMER2_COMPB Timer/Counter2 Compare Match B
15 $001E TIMER2_OVF Timer/Counter2 Overflow
16 $0020 TIMER1_CAPT Timer/Counter1 Capture Event
17 $0022 TIMER1_COMPA Timer/Counter1 Compare Match A
18 $0024 TIMER1_COMPB Timer/Counter1 Compare Match B
19 $0026 TIMER1_COMPC Timer/Counter1 Compare Match C
20 $0028 TIMER1_OVF Timer/Counter1 Overflow
21 $002A TIMER0_COMPA Timer/Counter0 Compare Match A
22 $002C TIMER0_COMPB Timer/Counter0 Compare match B
23 $002E TIMER0_OVF Timer/Counter0 Overflow
24 $0030 SPI_STC SPI Serial Transfer Complete
25 $0032 USART0_RX USART0 Rx Complete
26 $0034 USART0_UDRE USART0 Data Register Empty
27 $0036 USART0_TX USART0 Tx Complete
28 $0038 ANALOG_COMP Analog Comparator
Kommentare zu diesen Handbüchern