[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Sleep mode and global interrut enable
From: |
address@hidden |
Subject: |
Re: [avr-libc-dev] Sleep mode and global interrut enable |
Date: |
Fri, 25 Nov 2005 10:57:52 +0100 (MET) |
>Yes, I agree with this. The reason why we didn't chose sleep() in the
>first place was in particular, that a function named sleep() is
>typically used to pause program execution for that number of seconds,
>which is something completely different than our sleep instruction
>does.
Ok. I suspected there must be a reason. Personally I'm happy
with sleep_if() and don't need the separate enable/disable/sleep
functions. It may still be good to keep them. If you want to rename
the
sleep(), how about using (now ignore the disturbing mental
image..)
sleep_naked()?
-Ripa