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

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

Re: [avr-gcc-list] AVR GCC compiler for win98


From: Rob Ward
Subject: Re: [avr-gcc-list] AVR GCC compiler for win98
Date: Fri, 19 Apr 2002 10:47:38 +1200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311

Ah, but sbi and cbi take 2 clock cycles.

Rob

Andreas Schwarz wrote:
Thursday, April 18, 2002, 11:56:23 PM, you wrote:

Great. Ok, I understand that. So the next question...is there any way to
toggle an i/o portline in a single clock cycle.

sbi(PORTD, 0);
cbi(PORTD, 0);

Of course you have to include io.h.

HTH,
Andreas


-- 
Thanks in advance.

Rob Ward
--
Beaglehole Instruments Ltd.,
32 Salamanca Road,
Kelburn,
Wellington,
New Zealand.
Phone +64 4 473 7749
Fax +64 4 473 2686

address@hidden
www.beaglehole.com

avr-gcc-list at http://avr1.org
reply via email to

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