[En-Nut-Discussion] AVR: Use of _delay_loop_2 versus nut_delay_loops

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Mon Sep 24 14:17:04 CEST 2012


Hello,

in SVN Head for NutMicroDelay for AVR, I replaces the usage of
nut_delay_loops with all it's magic constants with a call to the avr-libc
supplied _delay_loop_2() Funktion. Beside setup, the functions eats 4 cycle
for each pass. This change made the BitBanging One-Wire example work with
AVR too.

Please let me know if I broke anything.

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the En-Nut-Discussion mailing list