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

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

[avr-gcc-list] SIGNAL or INTERRUPT ?!


From: Vincent Trouilliez
Subject: [avr-gcc-list] SIGNAL or INTERRUPT ?!
Date: Sat, 03 Sep 2005 18:06:23 +0200

Hi all, new to the list and avr C programming... first question on here,
about interrupt routines...
In the relevant part of the avr-libc PDF, section 6.20.1, it says :

"An interrupt routine is defined with one of two macros,
INTERRUPT() and SIGNAL(). These macros register and mark the routine as
an interrupt handler for the specified peripheral."

But for the life of me, I can't see anywhere in the rest of the
interrupt section, a single word to explain what the difference between
the two macros is, and their respective purpose/goal. So I can't make an
informed decision :-/

I suspect that that it's one single macro, with two different nbames to
suit people's habits/tastes ?? In this case the text isn't very clear...
they aren't "two" macros, just two names for one unique macro.

Please enlighten me :-)



Regards,


--
Vince





reply via email to

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