> -----Original Message----- > From: avr-libc-dev-bounces+eric.weddington=atmel....@nongnu.org > [mailto:avr-libc-dev-bounces+eric.weddington=atmel....@nongnu.org] On > Behalf Of Joerg Wunsch > Sent: Sunday, March 06, 2011 2:02 PM > To: avr-libc-dev@nongnu.org > Subject: Re: [avr-libc-dev] Re: [bug #17216] change to the > ../util/delay.hheader for increased functionality > > But that way, you might as well question the other _delay_*s > functions. ;-) They have been created to take off the actual > cycle count calculation from the user, to the computer, that's > their only purpose. > > Yes, it's only a few cycles, but the same is true for e.g. > _delay_us(12) on a standard AVR running at its default clock of 1 MHz. > I don't see a difference here to writing _delay_ns(300) on a modern > mega or xmega device running at 20 MHz, and be it only the > auto-documentation effect.
Ok. I'm convinced. Personally, I just never liked dealing with the whole cycle-rounding bit, and it seemed a bit much for these short delays. But, again, that's just me. I guess now we just need code... _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev