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

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

Re: [avr-gcc-list] Re: What Happened to the sbi() and cbi() Macros????


From: E. Weddington
Subject: Re: [avr-gcc-list] Re: What Happened to the sbi() and cbi() Macros????
Date: Tue, 01 Feb 2005 06:30:29 -0700
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Ned Konz wrote:

On Monday 31 January 2005 4:10 pm, E. Weddington wrote:
# /bin/sed -f rewriteCbiAndSbi.sed -i.bak file [...]
s/\([  ]*\)cbi[  ]*([  ]*\([^,)]\+\)[  ]*,[  ]*\([^,)]\+\)[  ]*)/\1\2 \&=
~BIT(\3)/g s/\([  ]*\)sbi[  ]*([  ]*\([^,)]\+\)[  ]*,[  ]*\([^,)]\+\)[
]*)/\1\2 |= BIT(\3)/g



s/BIT/_BV/g

Yes, but there was some discussion about renaming _BV()...

But that was only in the context of adding that Bit Operations API.
Unless somebody wants to make that a seperate issue....
[But let's start a new thread on avr-libc-dev only, please]

reply via email to

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