|
From: | E. Weddington |
Subject: | Re: [avr-gcc-list] Re: What Happened to the sbi() and cbi() Macros???? |
Date: | Tue, 01 Feb 2005 23:35:25 -0700 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
Panther Alarm & Communication technologies wrote:
Dear Eric, ".....AFAIK, bit_is_set, bit_is_clear are both still in. But sbi, cbi, inb, inw, outb, outw, outp, inp are all gone now." would please inform How to go about the following more efficiently in C without using the existing Macros for these, and a few extra noted will be a added help 1. bit_is_set() 2. bit_is_clear()
See this primer on bit operations at AVR Freaks: <http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=8764&highlight=programming+101>Go down to the post that starts with "Programming 101" which should be highlighted.
[Prev in Thread] | Current Thread | [Next in Thread] |