Download Dynamic C Function Reference Manual

Transcript
DelaySec
int DelaySec( long delaysec );
DESCRIPTION
Second time mechanism for the costatement waitfor constructs. The initial call to this function starts the timing. The function returns zero and continues to return zero until the number of
seconds specified has passed.
PARAMETERS
delaysec
The number of seconds to wait.
RETURN VALUE
1: The specified number of seconds have elapsed.
0: The specified number of seconds have not elapsed.
LIBRARY
COSTATE.LIB
DelayTicks
int DelayTicks( unsigned ticks );
DESCRIPTION
Tick time mechanism for the costatement waitfor constructs. The initial call to this function
starts the timing. The function returns zero and continues to return zero until the number of ticks
specified has passed.
1 tick = 1/1024 second.
PARAMETERS
ticks
The number of ticks to wait.
RETURN VALUE
1: The specified tick delay has elapsed.
0: The specified tick delay has not elapsed.
LIBRARY
COSTATE.LIB
Dynamic C Functions
rabbit.com
45