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

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

Re: [avr-gcc-list] Speed challenge...


From: Lee Mitchell
Subject: Re: [avr-gcc-list] Speed challenge...
Date: Fri, 26 Apr 2002 11:19:55 +0100

> Hi. I have a challenge. The (working) code below outputs 19 bits
> serially from a 4433 uC to another chip using data, clock, and strobe
> lines. The data comes from 3 lookup arrays of 256 bytes each. At 4MHz on
> a 4433 uC , it takes about 87us to send all 19 bits. I wonder if there
> is a faster way of doing the job?
>
> Rob

<snip>

why not shift the data instead of the mask, that way you won't have to
re-initialise it 3 times. should save a few cycles.


avr-gcc-list at http://avr1.org



reply via email to

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