[fpc-pascal] AVR Busy Wait implementation

Florian Klämpfl florian at freepascal.org
Sat Jan 23 18:10:13 CET 2016

Am 23.01.2016 um 14:17 schrieb Marc Santhoff:
> On Sa, 2016-01-23 at 11:53 +0100, Florian Klaempfl wrote:
>> IMO the only proper solution is to implement delaying as compiler
>> intrinsics as it is done by gcc as well.
> Besides using a hardware timer on embedded platforms. Older µC like AVR
> do not have too much hardware timers, but modern ones normally have a
> lot.
> Waiting in a loop is not the best way to delay when using multitasking.

The topic of this discussion is how to do a delay loop on avr. Not if a delay loop is useful.

More information about the fpc-pascal mailing list