English
Language : 

ATMEGA88_14 Datasheet, PDF (61/377 Pages) ATMEL Corporation – Appendix A - Atmel ATmega88/168 Automotive
ATmega48/88/168
0xC1C
0xC1D
0xC1E
0xC1F
ldi r16,low(RAMEND)
out SPL,r16
sei
; Enable interrupts
<instr> xxx
12.4 Interrupt vectors in Atmel ATmega168
Table 12-4.
Vector no.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Reset and interrupt vectors in ATmega168.
Program
address(2)
0x0000(1)
Source
RESET
Interrupt definition
External pin, power-on reset, brown-out reset and watchdog system reset
0x0002
INT0
External interrupt request 0
0x0004
INT1
External interrupt request 1
0x0006
PCINT0
Pin change interrupt request 0
0x0008
PCINT1
Pin change interrupt request 1
0x000A
PCINT2
Pin change interrupt request 2
0x000C
WDT
Watchdog time-out interrupt
0x000E
TIMER2 COMPA Timer/Counter2 compare match A
0x0010
TIMER2 COMPB Timer/Counter2 compare match B
0x0012
TIMER2 OVF
Timer/Counter2 overflow
0x0014
TIMER1 CAPT
Timer/Counter1 capture event
0x0016
TIMER1 COMPA Timer/Counter1 compare match A
0x0018
TIMER1 COMPB Timer/Coutner1 compare match B
0x001A
TIMER1 OVF
Timer/Counter1 overflow
0x001C
TIMER0 COMPA Timer/Counter0 compare match A
0x001E
TIMER0 COMPB Timer/Counter0 compare match B
0x0020
TIMER0 OVF
Timer/Counter0 overflow
0x0022
SPI, STC
SPI serial transfer complete
0x0024
USART, RX
USART Rx complete
0x0026
USART, UDRE
USART, data register empty
0x0028
USART, TX
USART, Tx complete
0x002A
ADC
ADC conversion complete
0x002C
EE READY
EEPROM ready
0x002E
ANALOG COMP
Analog comparator
0x0030
TWI
2-wire serial interface
0x0032
SPM READY
Store program memory ready
Notes:
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, Atmel ATmega88 and
Atmel ATmega168” on page 269.
2. When the IVSEL bit in MCUCR is set, 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.
61
2545T–AVR–05/11