Casio IT-2000W User Manual

Page 193

Advertising
background image

193

Setting/Acquisition of Power ON Alarm

This terminal has a function to automatically turn on the power to the main unit at the specified time.

This function requires the RTC (Real Time Clock) function. Normally, an INT4Ah interrupt will

occur when the setting is being made on the RTC. This function makes it possible to add the

function which turns on the main unit at the desired time.

SYNTAX

int SYS_SetPowerOnAlarm(int OnOff);

INPUT

OnOff = Power On setup

0 Does not turn on the power.

Other than 0 Turns on the power.

OUTPUT

0 Normal

SYNTAX

int SYS_GetPowerOnAlarm();

INPUT

None

OUTPUT

0 = Does not turn on the power.

Other than 0 = Turns on the power.

Note :

The power ON alarm set with this function will be reset if rebooting occurs because the reset

button is pressed or due to the software.

Advertising