Casio IT-2000D PDAs & Smartphones User Manual


 
136
Setting/Acquisition of Reason Mask for Reboot
To acquire the reboot request reason, enable or disable “mounting on I/O Box” or use of the CI
signal for boot-up.
SYNTAX
int SYS_GetOnEventMask();
INPUT
None
OUTPUT
b0 = 0 Enable use of ring signal
1 Disable use of ring signal
b1 = 0 Enable use of “mounting on I/O Box”
1 Disable use of “mounting on I/O Box”
SYNTAX
int SYS_SetOnEventMask(int nMask);
INPUT
nMask = Setting the reboot reason mask
b0 = 0 Enable use of ring signal
1 Disable use of ring signal
b1 = 0 Enable use of “mounting on I/O Box”
1 Disable use of “mounting on I/O Box”
OUTPUT
= 0 Normal
= -1 Parameter error
Reboot Request
This function is used to restart (reboot) the system without suspending IT-2000 operations.
SYNTAX
int SYS_Reboot(int nMode);
INPUT
nMode = Reboot type
0 Initiates the application.
1 Initiates the system menu.
OUTPUT
= 0 Normal
= -1 Parameter error