[Top][All Lists]

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

Re: [avr-gcc-list] interrupts

From: E. Weddington
Subject: Re: [avr-gcc-list] interrupts
Date: Thu, 17 Mar 2005 15:53:50 -0700
User-agent: Mozilla Thunderbird 0.7.3 (Windows/20040803)

Jamie Morken wrote:

So if I declare one ISR as INTERRUPT and the rest as SIGNAL, then the INTERRUPT 
can be interrupted by the SIGNAL's? :)  wow..

Yes. Think of it like this:
SIGNAL() declares an ISR that will disable all interrupts.
INTERRUPT() declares an ISR that can be interrupted by other interrupts.

In practically all cases, one should never use INTERRUPT(). It's highly dangerous as you can quickly blow your stack depending upon your application, number of interrupts, frequency of interrupts, etc.


reply via email to

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