CMSIS-RTOS RTX
Version 4.80
CMSIS-RTOS RTX: Real-Time Operating System for Cortex-M processor-based devices
|
Wait for a time period or unspecified events. More...
Functions | |
osStatus | osDelay (uint32_t millisec) |
Wait for Timeout (Time Delay). | |
The Generic Wait function group provides means for a time delay and allow to wait for unspecified events.
osStatus osDelay | ( | uint32_t | millisec | ) |
[in] | millisec | Time delay value |
Wait for a specified time period in millisec.
The millisec value specifies the number of timer ticks and is therefore an upper bound. The exact time delay depends on the actual time elapsed since the last timer tick.
Example