Acquisition Of Off Reason - Casio IT-2000W Technical Reference Manual

Casio pda technical reference manual
Table of Contents

Advertisement

Acquisition of OFF Reason

Acquires the reason that the system was most recently turned OFF.
SYNTAX
int SYS_GetPowerOffFactor();
INPUT
None
OUTPUT
b0
b1
b2
b3
b4,b6, b7
b5
b8
b9
b10 to b15
Note:

If the reset switch is pressed the system menu is initiated. This means that an application
program will never acquire the status of "Reset switch being pressed" as the reboot reason.

If the system is rebooted, the reason it was set OFF will be cleared. Therefore, zero will be
acquired if the reason it was set OFF is read for the first time after rebooting.

If "Cancellation of the next resume process" is set as the reason the power was set OFF
(including Power key, APO, Software-triggered OFF, etc.), the reason it was set OFF will
be cleared during the reboot process.
Power key
Reset switch
Reserved
LBO
Reserved
LB1 timeout (indicates "OFF" by the condition of battery voltage low.)
APO
Software-triggered OFF
Reserved
183

Advertisement

Table of Contents
loading

Table of Contents