![]() |
CMSIS-RTOS RTX
Version 4.51
CMSIS-RTOS RTX: Real-Time Operating System for Cortex-M processor-based devices
|
Wait for a time period or unspecified events. More...
Macros | |
#define | osFeature_Wait 0 |
osWait function: 1=available, 0=not available | |
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.
#define osFeature_Wait 0 |
A CMSIS-RTOS implementation may support the generic wait function osWait. When the value osFeature_Wait is 1 a generic wait function osWait is available. When the value osFeature_Wait is 0 no generic wait function osWait is available.
osStatus osDelay | ( | uint32_t | millisec | ) |
[in] | millisec | time delay value |
Wait for a specified time period in millisec.
Example: