[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] about interrputs and Signals
From: |
Clemens Buchacher |
Subject: |
Re: [avr-libc-dev] about interrputs and Signals |
Date: |
Mon, 5 Jul 2004 10:53:07 +0200 |
User-agent: |
Mutt/1.5.6+20040523i |
On Mon, Jul 05, 2004 at 02:28:09AM +0418, address@hidden wrote:
> I am a user of winavr, I would like to ask what is the difference between
> interrputs and Signals?
"signal" and "interrupt" are just two different function attributes used
to denote a function as an interrupt handler. With the "interrupt"
attribute the handler will run with interrupts enabled. With the
"signal" attribute, the handler will run with interrupts disabled.
Otherwise, "signal" and "interrupt" mean exactly the same thing.