[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
From: |
E. Weddington |
Subject: |
Re: [avr-libc-dev] delay in microseconds [Was: Adding new device to LibC] |
Date: |
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:
>
> http://mail.nongnu.org/archive/html/avr-libc-dev/2003-01/msg00040.html
>
> 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.
Eric