CMSIS-RTOS2  Version 2.1.2
Real-Time Operating System: API and RTX Reference Implementation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

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...
 

Description

Macro Definition Documentation

#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))
Parameters
block_countmaximum number of memory blocks in memory pool.
block_sizememory block size in bytes.
#define osRtxMessageQueueMemSize (   msg_count,
  msg_size 
)    (4*(msg_count)*(3+(((msg_size)+3)/4)))
Parameters
msg_countmaximum number of messages in queue.
msg_sizemaximum message size in bytes.