beautypg.com

Clickutiltimerexpired – Wavetronix Click 500 (programmable controller) (CLK-500) - Developer Guide User Manual

Page 193

background image

192

APPENDIX • CLICK 500 DEVELOPER GUIDE

ClickUtilTimerExpired

Determines if the target end time of a ClickUtilTimer has been reached. The timer is active

until this function returns true.

˽

LIBRARY – click500util.LIB

˽

SYNTAX –

int ClickUtilTimerExpired(ClickUtilTimer* pTimer)

˽

PARAMETER – An end time initialized with a statement such as: NonBlockingEnd-

Time = MS_TIMER + ((unsigned long)5000);

˽

RETURN VALUE – TRUE == 1, if end time of active timer has elapsed. FALSE == 0, if

timer is still active

˽

SEE ALSO – ClickUtilTimerSet