[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] delay in microseconds [Was: Adding new device to LibC
Re: [avr-libc-dev] delay in microseconds [Was: Adding new device to LibC]
Wed, 15 Jan 2003 09:32:56 -0700
On 15 Jan 2003 at 17:24, Joerg Wunsch wrote:
> As Colin O'Flynn wrote:
> > PS: Is anyone already working on this TODO:
> > - In include/avr/delay.h, add macros to allow
> > specifying delays directly in microseconds (with MCU
> > clock frequency defined by the user). With
> > constant delays, all floating point math would be done
> > at compile time.
> Yes, someone recently posted a proposal to the list. Should be
> in the archives... Yep:
> Nobody seems to have reviewed it so far.
Jörg, Ted, do you remember what this todo item was all about?
Especially the tag about the floating point math stuff.
And should these delays be implemented with loops or using the
processor's timers? Whenever I use delays I always prefer the latter.