avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] SREG save?


From: Mattias Svensson
Subject: Re: [avr-gcc-list] SREG save?
Date: Tue, 14 Dec 2004 14:09:39 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030915

if you want your interrupt routine to run
uninterruptible, you should use INTERRUPT() rather
than SIGNAL().

As i recall:
INTERRUPT() runs with global interrupts enabled.
SIGNAL() runs with global interrupts disabled.

/Mattias S



reply via email to

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