As Boyapati, Anitha wrote: > I am trying to see what factors influenced to go for a 16-bit > counter in one case and only 8-bit counter in the other. Why not > 16-bit counter for both?
_delay_loop_2 has a coarser granularity (4 ticks vs. 3 for _delay_loop_1). Basically, both these functions were introduced as "convenience wrappers" for _delay_loop_1 and _delay_loop_2, respectively, to make it easier for people to calculate the delay timing. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev