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: Joerg Wunsch
Subject: Re: [avr-chat] Mutiple Interrupts on ATmega
Date: Tue, 25 Oct 2005 09:42:54 +0200 (MET DST)

Schwichtenberg Knut <address@hidden> wrote:

> Running in an interrupt (SIGNAL foo {.....}) handler other enabled
> interrupts occur. In what sequence are these interrupts handled -
> are the interrupt functions called - after leaving the current INT
> with reti?

The next ISR will be executed as soon as interrupts are being
re-enabled, either by executing an SEI instruction, or by executing
RETI.

If there are multiple interrupt conditions pending by that time, the
interrupt with the highest priority will be executed first.
Priorities are fixed, and in order of the vector table.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/




reply via email to

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