[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] SREG save?
From: |
David Breeze |
Subject: |
Re: [avr-gcc-list] SREG save? |
Date: |
Tue, 14 Dec 2004 13:23:56 +0000 |
> 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
Correct.
Also if you check the listing of an interrupt (SIGNAL) service routine you will
find that the SREG is save for you.
David Breeze
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed. If
an addressing or transmission error has misdirected
this e-mail, please notify the author by replying to this e-mail. If you are
not the intended recipient you must not use, disclose, copy, print or rely on
this e-mail.
Joy Mining Machinery Limited/P&H Minepro Services aims to prevent the
propagation of viruses, but cannot guarantee that this email is virus free.
You are advised to scan all attachments and open them at your own risk.
Joy Mining Machinery Limited/P&H Minepro Services may monitor outgoing and
incoming e-mails and other telecommunications on its e-mail and
telecommunication systems.
<<Privacy - UK>>
- Re: [avr-gcc-list] SREG save?,
David Breeze <=