Casio IT-2000 PDAs & Smartphones User Manual


 
165
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