void ctl_timeout_wait(CTL_TIME_t timeout);
ctl_timeout_wait takes the timeout (not the duration) as a parameter and suspends the calling task until the current time reaches the timeout.
ctl_timeout_wait must not be called from an interrupt service routine.