Synopsis
#include <ctl_api.h> void ctl_timeout_wait(CTL_TIME_t timeout);
Description
The ctl_timeout_wait function takes the timeout (not the duration) as a parameter and suspends the calling task until the current time is less than the timeout.
Restrictions
This function should not be called from an interrupt service routine.
Portability
ctl_task_set_priority is provided in every implementation of the CrossWorks tasking library.