suchst du eventuell das hier ?
http://www.home.unix-ag.org/tjabo/avr/AVRdelayloop.html