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.

191

Page 191
Image 191
Casio IT-2000W manual Acquisition of Alarm Setting, Void SYSGetAlarmint *hour, int *min, int *sec