Home |
RTKernel-32 Programming Manual Function RTKReceiveTimed |
Function RTKReceiveTimedRTKReceiveTimed receives data from any other task if a task becomes ready to send data within the timeout; otherwise, the return value indicates failure and no data is transferred. RTKBool RTKReceiveTimed(void * Data, unsigned DataLen, RTKDuration Timeout); ParametersDataPointer to the variable to store the received data in. DataLenThe length of the expected data. TimeoutSpecifies the timeout for waiting until a task becomes ready to send data in timer ticks. return valueTRUE if the data transfer has been successfully completed or FALSE if no task was ready to send data and the timeout has expired.
|