|
From: | Zane D. Purvis |
Subject: | Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes |
Date: | Thu, 08 Sep 2005 15:17:27 -0400 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
Joerg Wunsch wrote:
How about changing the name to "ISR," which would do the same thing as the existing "SIGNAL"?As Matthew MacClary wrote: (About whether to keep <avr/interrupt.h> or <avr/signal.h> after merging their contents.)My suggestion would be to change INTERRUPT to be the same as SIGNAL, and then deprecate SIGNAL.
#include <avr/isr.h> ISR( SIG_ADC ) { // interrupt service routine code here }Then, SIGNAL and INTERRUPT can both be deprecated (avoiding future confusion).
-- Zane
[Prev in Thread] | Current Thread | [Next in Thread] |