CMSIS-RTOS2
Version 2.1.0
Real-Time Operating System: API and RTX Reference Implementation
|
RTX5 macros. More...
Macros | |
#define | osRtxThreadCbSize sizeof(osRtxThread_t) |
Control Block sizes. More... | |
#define | osRtxTimerCbSize sizeof(osRtxTimer_t) |
#define | osRtxEventFlagsCbSize sizeof(osRtxEventFlags_t) |
#define | osRtxMutexCbSize sizeof(osRtxMutex_t) |
#define | osRtxSemaphoreCbSize sizeof(osRtxSemaphore_t) |
#define | osRtxMemoryPoolCbSize sizeof(osRtxMemoryPool_t) |
#define | osRtxMessageQueueCbSize sizeof(osRtxMessageQueue_t) |
#define | osRtxMemoryPoolMemSize(block_count, block_size) (4*(block_count)*(((block_size)+3)/4)) |
Memory size in bytes for Memory Pool storage. More... | |
#define | osRtxMessageQueueMemSize(msg_count, msg_size) (4*(msg_count)*(3+(((msg_size)+3)/4))) |
Memory size in bytes for Message Queue storage. More... | |
#define osRtxThreadCbSize sizeof(osRtxThread_t) |
#define osRtxTimerCbSize sizeof(osRtxTimer_t) |
#define osRtxEventFlagsCbSize sizeof(osRtxEventFlags_t) |
#define osRtxMutexCbSize sizeof(osRtxMutex_t) |
#define osRtxSemaphoreCbSize sizeof(osRtxSemaphore_t) |
#define osRtxMemoryPoolCbSize sizeof(osRtxMemoryPool_t) |
#define osRtxMessageQueueCbSize sizeof(osRtxMessageQueue_t) |
#define osRtxMemoryPoolMemSize | ( | block_count, | |
block_size | |||
) | (4*(block_count)*(((block_size)+3)/4)) |
block_count | maximum number of memory blocks in memory pool. |
block_size | memory block size in bytes. |
#define osRtxMessageQueueMemSize | ( | msg_count, | |
msg_size | |||
) | (4*(msg_count)*(3+(((msg_size)+3)/4))) |
msg_count | maximum number of messages in queue. |
msg_size | maximum message size in bytes. |