[Top][All Lists]

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

Re: [avr-gcc-list] Bit Operations

From: Ormund Williams
Subject: Re: [avr-gcc-list] Bit Operations
Date: Sun, 11 Feb 2001 21:04:25 -0500

Jim Pearce wrote:
> Is there any way using GCC to force bit based I/O instead of doing ugly ANDs 
> and ORs of entire 8-bit ports?
> Thanks,
> Jim
Hi Jim 

The avr-libc has bit-IO macros that compile as single asm instructions
for setting and clearing bits on a port.  Marek just posted the latest,


reply via email to

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