Casio IT-2000W User Manual

Page 191

Advertising
background image

191

Acquisition of Alarm Setting

This function is used to acquire the current alarm setting made for the RTC (Real Time Clock).

SYNTAX

void SYS_GetAlarm(int *hour, int *min, int *sec);

INPUT

hour = Pointer to the area from which hours is read.

min = Pointer to the area from which minutes is read.

sec = Pointer to the area from which seconds is read.

OUTPUT

None

Note :

This function returns the time data set for the RTC. Note that the validity of data as time is not

checked.

Advertising