[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] sbi(),cbi()
From: |
E. Weddington |
Subject: |
Re: [avr-libc-dev] sbi(),cbi() |
Date: |
Mon, 28 Feb 2005 07:47:26 -0700 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
Jacek Borowy wrote:
Hi,
Please tell me how to use cbi(0 and sbi() functions.
No.
I obtain error messages from linker "undefined reference do...cbi(), sbi()"
That's because they're no longer there.
In former version od WinAVR it worked.
Yes, they did because you were using deprecated macros.
Please search this mailing list, the avr-gcc-list mailing list, the AVR
GCC Forum at the AVR Freaks website for numerous previous discussions
about this topic.
Use normal C language bit operators to operate on bits within a variable.
Eric