Tutorial para Interrupciones

En los atmel de 8 bits, las prioridades de las interrupciones son fijas y de acuerdo a su posición en el vector de interrupciones del micro. Cuanto más baja en la posición, mayor es la prioridad.
Por lo que de más alta a más baja van: reset, int0,int1,pcint0, etc.

Copio del datasheet:
1 RESET
2 EXT_INT0
3 EXT_INT1
4 PCINT0
5 PCINT1
6 PCINT2
7 WDT
8 TIM2_COMPA
9 TIM2_COMPB
10 TIM2_OVF
11 TIM1_CAPT
12 TIM1_COMPA
13 TIM1_COMPB
14 TIM1_OVF
15 TIM0_COMPA
16 TIM0_COMPB
17 TIM0_OVF
18 SPI_STC
19 USART_RXC
20 USART_UDRE
21 USART_TXC
22 ADC
23 EE_RDY
24 ANA_COMP
25 TWI
26 SPM_RDY

The lowest addresses in the program memory space are by default defined as the Reset and Interrupt Vectors. The complete list of vectors is shown in “Interrupts” on page 57. The list also determines the priority levels of the different interrupts. The lower the address the higher is the priority level. RESET has the highest priority, and next is INT0 – the External Interrupt Request 0.

Hay que perderle el miedo a los datasheet!!! :smiley:

Saludos :wink:

Igor R.