CMSIS-RTOS2
Version 2.1.3
Real-Time Operating System: API and RTX Reference Implementation
|
Constants and enumerations used by many CMSIS-RTOS functions. More...
Content | |
Flags Functions Error Codes | |
Constants used by Thread Flags and Event Flags to return error codes. | |
Macros | |
#define | osWaitForever 0xFFFFFFFFU |
Wait forever timeout value. More... | |
#define | osFlagsWaitAny 0x00000000U |
Wait for any flag (default). More... | |
#define | osFlagsWaitAll 0x00000001U |
Wait for all flags. More... | |
#define | osFlagsNoClear 0x00000002U |
Do not clear flags which have been specified to wait for. More... | |
Enumerations | |
enum | osStatus_t { osOK = 0, osError = -1, osErrorTimeout = -2, osErrorResource = -3, osErrorParameter = -4, osErrorNoMemory = -5, osErrorISR = -6, osStatusReserved = 0x7FFFFFFF } |
Status code values returned by CMSIS-RTOS functions. More... | |
The following constants and enumerations are used by many CMSIS-RTOS function calls.
#define osWaitForever 0xFFFFFFFFU |
A special Timeout Value that informs the RTOS to wait infinite until a resource becomes available. It applies to the following functions:
#define osFlagsWaitAny 0x00000000U |
Reference:
#define osFlagsWaitAll 0x00000001U |
Reference:
#define osFlagsNoClear 0x00000002U |
Reference:
enum osStatus_t |
The osStatus_t enumeration defines the event status and error codes that are returned by many CMSIS-RTOS functions.