![]() |
CMSIS-RTOS2
Version 2.0.0
Real-Time Operating System: API and RTX Reference Implementation
|
The CMSIS-RTOS RTX provides several parameters to configure the Message Queue functions.
See Object-specific Memory Pools.
OS_MSGQUEUE_NUM
.OS_MSGQUEUE_DATA_SIZE
.MessageQueue Configuration Options
Name | #define | Description |
---|---|---|
Object specific Memory allocation | OS_MSGQUEUE_OBJ_MEM | Enables object specific memory allocation. See Object-specific Memory Pools. |
Number of Message Queue objects | OS_MSGQUEUE_NUM | Defines maximum number of objects that can be active at the same time. Applies to objects with system provided memory for control blocks. Value range is [1-1000]. |
Data Storage Memory size [bytes] | OS_MSGQUEUE_DATA_SIZE | Defines the combined data storage memory size. Applies to objects with system provided memory for data storage. Default value is 0. Value range is [0-1073741824], in multiples of 8. |