Casio IT-2000D User Manual

Page 146

Advertising
background image

146

Setting Cancellation of Next Resume Process

Sets the power-on process (Resume/Boot) for each power OFF reason. The default setting is

Resume On.

SYNTAX

int SYS_SetResumeCondition(int nCondition);

INPUT

nCondition =

b0

Power key

0 = Resume On, 1 = Boot

b1 to b7

Reserved

b8

APO

0 = Resume On, 1 = Boot

b9

Software-triggered OFF

0 = Resume On, 1 = Boot

b10 to b15

Reserved

OUTPUT

= 0 Normal

= -1 Parameter error

Note :

With this function the power-on process can be set for each of the reasons the power is turned

OFF: Power key, APO, and Software-triggered OFF. Therefore, if set to "The next power-on

process is boot" from the application, it is necessary to specify all three parts with the

corresponding bits.

Acquisition of Cancellation Status of Next Resume Process

Acquires the power-on process setting (Resume On/Boot) for each power-off reason.

SYNTAX

int SYS_GetResumeCondition();

INPUT

None

OUTPUT

b0

Power key

0 = Resume ON, 1 = Boot

b1 to b7

Reserved

b8

APO

0 = Resume ON, 1 = Boot

b9

Software-triggered OFF

0 = Resume ON, 1 = Boot

b10 to b15

Reserved

Advertising