avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] Mutiple Interrupts on ATmega


From: Vincent Trouilliez
Subject: Re: [avr-chat] Mutiple Interrupts on ATmega
Date: Tue, 25 Oct 2005 09:02:33 +0200

> Some other CPUs allow to define a priority, AVR not, but there must be any
> kind of HW strategy build into the AVR to handle this.
> 
> Any comments are welcome.

Yes, the priority is hard coded so to speak, and is governed by the
vector table, as explained in the datasheet. The higher the vector
number, the lower the priority. 
So, omitting the reset vector of course, 'INT0', the external interrupt
#0, has the highest priority, then INT1, then INT2...


--
Vince





reply via email to

[Prev in Thread] Current Thread [Next in Thread]