As Joerg Wunsch wrote: > > Also, any reason why _ticks is chosen to be uint8_t type (but not > > uint16_t or uint32_t)? > > Because the underlying _delay_loop_1 uses an 8-bit value.
p.s.: Of course, that doesn't apply to the case where the underlying implementation can be based on __builtin_avr_delay_cycles, but we have to remain compatible with environments where the compiler doesn't offer this (after all, it's not even in the official GCC sources yet, AFAIK). -- 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