Casio IT-2000D User Manual

Page 148

Advertising
background image

148

OUTPUT

= 0 Normal

= -1 Parameter error

Note :

Auto Power OFF will work if the power control function is active. For more information about the

power control function refer to "Setting/Acquisition of Status of Power Control Function".

Acquisition of APO Time

Acquires the currently set APO time.

SYNTAX

int SYS_GetApoTime();

INPUT

None

OUTPUT

0 Disable the APO.

1 to 15 Enable the APO in the specified-number of minutes plus 30 seconds.

The actual APO time has an error of +/- 25 seconds.

Note :

Auto Power OFF will work if the power control function is active. For more information about

the power control function refer to "Setting/Acquisition of Status of Power Control Function".

Setting Status of Alarm

This function is used to set the alarm so that Int4Ah will be executed at the specified time. If the set

time precedes the currently set RTC (Real Time Clock) time, the alarm will be valid on and after the

following day. If the setup time is later than the currently set RTC time, the alarm will be valid from

the specified day. To make this possible the user has to set the specified interrupt handling routine to

Int4Ah. If this function is not reset using the SYS_ResetAlarm() function, the alarm will activate

(repeatedly set) for each 24-hour period. Call the SYS_SetPowerOnAlarm() function to turn on the

system at the alarm time specified by this function.

Advertising