145
Acquisition of Reboot Reason
Used to acquire the reason the system was rebooted.
SYNTAX
int SYS_GetPowerOnFactor();
INPUT
None
OUTPUT
b0 Power key
b1 Reset button
b2 Alarm
b3 Ring signal
b4 IT-2000 is being set on I/O Box
Note :
If the reset button 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.
Acquisition of Reason for OFF
Acquires the reason that the system was most recently turned OFF.
SYNTAX
int SYS_GetPowerOffFactor();
INPUT
None
OUTPUT
b0 Power key
b1 Reset key
b2 Reserved
b3 LBO
b4,b6, b7 Reserved
b5 LB1 timeout (indicates “OFF” by the condition of battery voltage low.)
b8 APO
b9 Software-triggered OFF
b10 to b15 Reserved
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.