avr-libc-dev
[Top][All Lists]
Advanced

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

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


From: Galen Seitz
Subject: [avr-libc-dev] Re: [avr-gcc-list] Re: What Happened to the sbi() and cbi() Macros????
Date: Mon, 31 Jan 2005 11:21:36 -0800

Joerg Wunsch <address@hidden> wrote:

> No other architecture needs a hack like this one in order to set or
> clear bits.  Please go and read any hardware-related C program (Unix
> kernel drivers etc.), as a C programmer who wants to handle hardware,
> you basically have to be aware of the bit manipulation operators that
> are part of the C language.
> 

I agree with Joerg.  If you really feel the need for the old macros, put
them in one of your header files.

galen




reply via email to

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