Oh, yeah.  Dave's idea is even better because you wouldn't compromise
the device's ability to go to sleep after the timeout period when you were
doing all your other processing (outside of the time critical stuff).

John

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dave
Lippincott
Sent: Friday, June 29, 2001 11:46 AM
To: Palm Developer Forum
Subject: Re: Disabling System Timer


or you could periodically call EvtRestAutoOffTimer during your critical
routines.  I use it during my serial routines, it works just fine.

----- Original Message -----
From: "John J. Corelli" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, June 29, 2001 10:47 AM
Subject: RE: Disabling System Timer


> If you're talking about disabling the auto sleep function, just do:
>
> UInt NumSeconds = 0;
> SysSetAutoOffTime(NumSeconds);
>
> The zero value of the argument disables the timer.
>
> That's my stab, but I'm not sure if that's really what you were asking.
> Keep an eye
> out for more posts.  I'm not totally sure what you are trying to do.
>
> John
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jim
> Garozzo
> Sent: Friday, June 29, 2001 8:08 AM
> To: Palm Developer Forum
> Subject: Disabling System Timer
>
>
> I'm doing a serial application where i'd like to disable the system time
if
> in serial mode.  I was curious if there was a simple way of disabling this
> timer instead of just resetting the AutoOffTimer ever less than the actual
> value of the timer when in serial mode.
>
> I did a search in the archives but did not see anything that would do
this.
> So, any quick responses will be helpful.
>
> Thanks!
>
> Jim
>
> --
> **************************************************************
> James P. Garozzo - Connectivity Engineer
> White-Rodgers - Affton, MO
> Phone: 314.577.5201    Fax: 314.577.5248
> E-mail: [EMAIL PROTECTED]
> **************************************************************
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>



--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to