osDelayUntil() function
Delay a task until a specified time
Arguments
PreviousWakeTime
Pointer to a variable that holds the time at which the task was last unblocked. PreviousWakeTime must be initialised with the current time prior to its first use (PreviousWakeTime = osKernelSysTick() )
Return value
status code that indicates the execution status of the function.