Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] Sleep and timer T0

2005-06-17 by Dave VanHorn

>
>In assynchronous mode you must wait for the registers update (up to 2
>32kHz cycles). I use the following code on a atmega8.

I thought the read of the ASSR register was supposed to return me 
ones in the low three bits, if those updates were not yet complete.
It said that I could write all three at once, but then I had to loop 
waiting for the three bits in the ASSR to zero, before proceeding.
It does int ONCE though, so obviously something's hosed.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.