[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes
From: |
gouy yann |
Subject: |
Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes |
Date: |
Thu, 8 Sep 2005 22:07:41 +0200 (CEST) |
--- "Zane D. Purvis" <address@hidden> a écrit :
> Joerg Wunsch wrote:
>
> >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.
> >>
> >>
> How about changing the name to "ISR," which would do the same thing as
> the existing "SIGNAL"?
>
>
> #include <avr/isr.h>
>
> ISR( SIG_ADC ) {
> // interrupt service routine code here
> }
>
>
> Then, SIGNAL and INTERRUPT can both be deprecated (avoiding future
> confusion).
>
I think this solution is by far one of the best.
Yann
>
>
> -- Zane
>
>
>
>
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
>
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
- Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes, (continued)
- Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes, Francisco Silva, 2005/09/09
- Re: [avr-libc-dev] RFD: more avr-libc API changes, Joerg Wunsch, 2005/09/09
- Re: [avr-libc-dev] RFD: more avr-libc API changes, E. Weddington, 2005/09/09
- Re: [avr-libc-dev] RFD: more avr-libc API changes, Björn Haase, 2005/09/10
- Re: [avr-libc-dev] RFD: more avr-libc API changes, Joerg Wunsch, 2005/09/10
- Re: [avr-libc-dev] RFD: more avr-libc API changes, Joerg Wunsch, 2005/09/10
- Re: [avr-libc-dev] RFD: more avr-libc API changes, Björn Haase, 2005/09/18
- Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes, Szikra Istvan, 2005/09/09
- Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes, Erik Christiansen, 2005/09/09
- Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes, Royce Pereira, 2005/09/09
- Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes,
gouy yann <=
- Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes, Russell Shaw, 2005/09/08
- Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes, Björn Haase, 2005/09/09