[Top][All Lists]

[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

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 
sleep(), how about using (now ignore the disturbing mental 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]