[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Code Optimisation question re: volatile
From: |
Reza Naima |
Subject: |
Re: [avr-gcc-list] Code Optimisation question re: volatile |
Date: |
Fri, 23 Jul 2004 14:34:52 -0700 |
User-agent: |
Mutt/1.5.5.1i |
Yeah, it's a macro, sorry, i've been using it for awhile in all my apps
(makes things at lot cleaner, imho) that I forget that it's a macro.
I'll include it as an attachment in caes anyone wants to use it...
Reza
On Fri, Jul 23, 2004 at 01:42:02PM +0200, David Brown sent me this...
> > "Svein E. Seldal" <address@hidden> wrote:
> >
> > >> pwm_state ^= _b00000011;
> >
> > > Is this syntax standard C? I've never seen this before...
> >
> > I guess it's rather a macro...
>
> It certainly appears to be a macro - I simply copied it from the original
> poster's code so that I wouldn't be changing more than necessary.
>
> David
>
>
> >
> > I've got a patch that implementes 0b binary numbers for GCC (including
> > documentation update, finally :), do you think the GCC folks could be
> > braught to accept such a patch? Many other compiler vendors allow for
> > this extension already, and my reading of the standard didn't show me
> > anything that would make it illegal to provide such an extension.
> >
> > (Eric included the patch in the GCC that ships with the current
> > WinAVR.)
> >
> > --
> > J"org Wunsch Unix support engineer
> > address@hidden
> http://www.interface-systems.de/~j/
> >
> > _______________________________________________
> > avr-gcc-list mailing list
> > address@hidden
> > http://www.avr1.org/mailman/listinfo/avr-gcc-list
> >
>
>
>
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list
bin2hex.h.gz
Description: Text document
Re: [avr-gcc-list] Code Optimisation question re: volatile, E. Weddington, 2004/07/23