CMSIS-RTOS2: rtx_evr.h File Reference

| CMSIS-RTOS2 Version 2.1.1 Real-Time Operating System: API and RTX Reference Implementation

- Main Page
- Usage and Description
- Reference

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
rtx_evr.h File Reference

## Macros
#define | osRtxErrorKernelNotReady (-7)
| Extended Status codes. More...
#define | osRtxErrorKernelNotRunning (-8)
#define | osRtxErrorInvalidControlBlock (-9)
#define | osRtxErrorInvalidDataMemory (-10)
#define | osRtxErrorInvalidThreadStack (-11)
#define | osRtxErrorInvalidPriority (-12)
#define | osRtxErrorThreadNotJoinable (-13)
#define | osRtxErrorMutexNotOwned (-14)
#define | osRtxErrorMutexNotLocked (-15)
#define | osRtxErrorMutexLockLimit (-16)
#define | osRtxErrorSemaphoreCountLimit (-17)
#define | osRtxErrorTZ_InitContext_S (-18)
#define | osRtxErrorTZ_AllocContext_S (-19)
#define | osRtxErrorTZ_FreeContext_S (-20)
#define | osRtxErrorTZ_LoadContext_S (-21)
#define | osRtxErrorTZ_SaveContext_S (-22)

## Functions
void | EvrRtxMemoryInit (void *mem, uint32_t size, uint32_t result)
| Event on memory initialization (Op) More...
void | EvrRtxMemoryAlloc (void *mem, uint32_t size, uint32_t type, void *block)
| Event on memory allocate (Op) More...
void | EvrRtxMemoryFree (void *mem, void *block, uint32_t result)
| Event on memory free (Op) More...
void | EvrRtxMemoryBlockInit (osRtxMpInfo_t *mp_info, uint32_t block_count, uint32_t block_size, void *block_mem)
| Event on memory block initialization (Op) More...
void | EvrRtxMemoryBlockAlloc (osRtxMpInfo_t *mp_info, void *block)
| Event on memory block alloc (Op) More...
void | EvrRtxMemoryBlockFree (osRtxMpInfo_t *mp_info, void *block, int32_t status)
| Event on memory block free (Op) More...
void | EvrRtxKernelError (int32_t status)
| Event on RTOS kernel error (Error) More...
void | EvrRtxKernelInitialize (void)
| Event on RTOS kernel initialize (API) More...
void | EvrRtxKernelInitializeCompleted (void)
| Event on successful RTOS kernel initialize (Op) More...
void | EvrRtxKernelGetInfo (osVersion_t *version, char *id_buf, uint32_t id_size)
| Event on RTOS kernel information retrieve (API) More...
void | EvrRtxKernelInfoRetrieved (osVersion_t *version, char *id_buf)
| Event on successful RTOS kernel information retrieve (Op) More...
void | EvrRtxKernelGetState (osKernelState_t state)
| Event on current RTOS Kernel state retrieve (API) More...
void | EvrRtxKernelStart (void)
| Event on RTOS Kernel scheduler start (API) More...
void | EvrRtxKernelStarted (void)
| Event on successful RTOS Kernel scheduler start (Op) More...
void | EvrRtxKernelLock (void)
| Event on RTOS Kernel scheduler lock (API) More...
void | EvrRtxKernelLocked (int32_t lock)
| Event on successful RTOS Kernel scheduler lock (Op) More...
void | EvrRtxKernelUnlock (void)
| Event on RTOS Kernel scheduler unlock (API) More...
void | EvrRtxKernelUnlocked (int32_t lock)
| Event on successful RTOS Kernel scheduler unlock (Op) More...
void | EvrRtxKernelRestoreLock (int32_t lock)
| Event on RTOS Kernel scheduler lock state restore (API) More...
void | EvrRtxKernelLockRestored (int32_t lock)
| Event on successful RTOS Kernel scheduler lock state restore (Op) More...
void | EvrRtxKernelSuspend (void)
| Event on RTOS Kernel scheduler suspend (API) More...
void | EvrRtxKernelSuspended (uint32_t sleep_ticks)
| Event on successful RTOS Kernel scheduler suspend (Op) More...
void | EvrRtxKernelResume (uint32_t sleep_ticks)
| Event on RTOS Kernel scheduler resume (API) More...
void | EvrRtxKernelResumed (void)
| Event on successful RTOS Kernel scheduler resume (Op) More...
void | EvrRtxKernelGetTickCount (uint32_t count)
| Event on RTOS kernel tick count retrieve (API) More...
void | EvrRtxKernelGetTickFreq (uint32_t freq)
| Event on RTOS kernel tick frequency retrieve (API) More...
void | EvrRtxKernelGetSysTimerCount (uint32_t count)
| Event on RTOS kernel system timer count retrieve (API) More...
void | EvrRtxKernelGetSysTimerFreq (uint32_t freq)
| Event on RTOS kernel system timer frequency retrieve (API) More...
void | EvrRtxThreadError (osThreadId_t thread_id, int32_t status)
| Event on thread error (Error) More...
void | EvrRtxThreadNew (osThreadFunc_t func, void *argument, const osThreadAttr_t *attr)
| Event on thread create and intialize (API) More...
void | EvrRtxThreadCreated (osThreadId_t thread_id)
| Event on successful thread create (Op) More...
void | EvrRtxThreadGetName (osThreadId_t thread_id, const char *name)
| Event on thread name retrieve (API) More...
void | EvrRtxThreadGetId (osThreadId_t thread_id)
| Event on current running thread ID retrieve (API) More...
void | EvrRtxThreadGetState (osThreadId_t thread_id, osThreadState_t state)
| Event on thread state retrieve (API) More...
void | EvrRtxThreadGetStackSize (osThreadId_t thread_id, uint32_t stack_size)
| Event on thread stack size retrieve (API) More...
void | EvrRtxThreadGetStackSpace (osThreadId_t thread_id, uint32_t stack_space)
| Event on available stack space retrieve (API) More...
void | EvrRtxThreadSetPriority (osThreadId_t thread_id, osPriority_t priority)
| Event on thread priority set (API) More...
void | EvrRtxThreadGetPriority (osThreadId_t thread_id, osPriority_t priority)
| Event on thread priority retrieve (API) More...
void | EvrRtxThreadYield (void)
| Event on thread yield (API) More...
void | EvrRtxThreadSuspend (osThreadId_t thread_id)
| Event on thread suspend (API) More...
void | EvrRtxThreadSuspended (osThreadId_t thread_id)
| Event on successful thread suspend (Op) More...
void | EvrRtxThreadResume (osThreadId_t thread_id)
| Event on thread resume (API) More...
void | EvrRtxThreadResumed (osThreadId_t thread_id)
| Event on successful thread resume (Op) More...
void | EvrRtxThreadDetach (osThreadId_t thread_id)
| Event on thread detach (API) More...
void | EvrRtxThreadDetached (osThreadId_t thread_id)
| Event on successful thread detach (Op) More...
void | EvrRtxThreadJoin (osThreadId_t thread_id)
| Event on thread join (API) More...
void | EvrRtxThreadJoinPending (osThreadId_t thread_id)
| Event on pending thread join (Op) More...
void | EvrRtxThreadJoined (osThreadId_t thread_id)
| Event on successful thread join (Op) More...
void | EvrRtxThreadBlocked (osThreadId_t thread_id, uint32_t timeout)
| Event on thread execution block (Op) More...
void | EvrRtxThreadUnblocked (osThreadId_t thread_id, uint32_t ret_val)
| Event on blocked thread release (Op) More...
void | EvrRtxThreadSwitch (osThreadId_t thread_id)
| Event on current running thread switch (Op) More...
void | EvrRtxThreadExit (void)
| Event on thread exit (API) More...
void | EvrRtxThreadTerminate (osThreadId_t thread_id)
| Event on thread terminate (API) More...
void | EvrRtxThreadDestroyed (osThreadId_t thread_id)
| Event on successful thread terminate (Op) More...
void | EvrRtxThreadGetCount (uint32_t count)
| Event on active thread count retrieve (API) More...
void | EvrRtxThreadEnumerate (osThreadId_t *thread_array, uint32_t array_items, uint32_t count)
| Event on active threads enumerate (API) More...
void | EvrRtxThreadFlagsSet (osThreadId_t thread_id, uint32_t flags)
| Event on thread flags set (API) More...
void | EvrRtxThreadFlagsSetDone (osThreadId_t thread_id, uint32_t thread_flags)
| Event on successful thread flags set (Op) More...
void | EvrRtxThreadFlagsClear (uint32_t flags)
| Event on thread flags clear (API) More...
void | EvrRtxThreadFlagsClearDone (uint32_t thread_flags)
| Event on successful thread flags clear (Op) More...
void | EvrRtxThreadFlagsGet (uint32_t thread_flags)
| Event on thread flags retrieve (API) More...
void | EvrRtxThreadFlagsWait (uint32_t flags, uint32_t options, uint32_t timeout)
| Event on wait for thread flags (API) More...
void | EvrRtxThreadFlagsWaitPending (uint32_t flags, uint32_t options, uint32_t timeout)
| Event on pending wait for thread flags (Op) More...
void | EvrRtxThreadFlagsWaitTimeout (void)
| Event on wait timeout for thread flags (Op) More...
void | EvrRtxThreadFlagsWaitCompleted (uint32_t flags, uint32_t options, uint32_t thread_flags)
| Event on successful wait for thread flags (Op) More...
void | EvrRtxThreadFlagsWaitNotCompleted (uint32_t flags, uint32_t options)
| Event on unsuccessful wait for thread flags (Op) More...
void | EvrRtxThreadDelay (uint32_t ticks)
| Event on wait for timeout (API) More...
void | EvrRtxThreadDelayUntil (uint32_t ticks)
| Event on wait until specified time (API) More...
void | EvrRtxThreadDelayCompleted (void)
| Event on completed wait (Op) More...
void | EvrRtxTimerError (osTimerId_t timer_id, int32_t status)
| Event on timer error (Error) More...
void | EvrRtxTimerCallback (osTimerFunc_t func, void *argument)
| Event on timer callback call (Op) More...
void | EvrRtxTimerNew (osTimerFunc_t func, osTimerType_t type, void *argument, const osTimerAttr_t *attr)
| Event on timer create and initialize (API) More...
void | EvrRtxTimerCreated (osTimerId_t timer_id)
| Event on successful timer create (Op) More...
void | EvrRtxTimerGetName (osTimerId_t timer_id, const char *name)
| Event on timer name retrieve (API) More...
void | EvrRtxTimerStart (osTimerId_t timer_id, uint32_t ticks)
| Event on timer start (API) More...
void | EvrRtxTimerStarted (osTimerId_t timer_id)
| Event on successful timer start (Op) More...
void | EvrRtxTimerStop (osTimerId_t timer_id)
| Event on timer stop (API) More...
void | EvrRtxTimerStopped (osTimerId_t timer_id)
| Event on successful timer stop (Op) More...
void | EvrRtxTimerIsRunning (osTimerId_t timer_id, uint32_t running)
| Event on timer running state check (API) More...
void | EvrRtxTimerDelete (osTimerId_t timer_id)
| Event on timer delete (API) More...
void | EvrRtxTimerDestroyed (osTimerId_t timer_id)
| Event on successful timer delete (Op) More...
void | EvrRtxEventFlagsError (osEventFlagsId_t ef_id, int32_t status)
| Event on event flags error (Error) More...
void | EvrRtxEventFlagsNew (const osEventFlagsAttr_t *attr)
| Event on event flags create and initialize (API) More...
void | EvrRtxEventFlagsCreated (osEventFlagsId_t ef_id)
| Event on successful event flags create (Op) More...
void | EvrRtxEventFlagsGetName (osEventFlagsId_t ef_id, const char *name)
| Event on event flags name retrieve (API) More...
void | EvrRtxEventFlagsSet (osEventFlagsId_t ef_id, uint32_t flags)
| Event on event flags set (API) More...
void | EvrRtxEventFlagsSetDone (osEventFlagsId_t ef_id, uint32_t event_flags)
| Event on successful event flags set (Op) More...
void | EvrRtxEventFlagsClear (osEventFlagsId_t ef_id, uint32_t flags)
| Event on event flags clear (API) More...
void | EvrRtxEventFlagsClearDone (osEventFlagsId_t ef_id, uint32_t event_flags)
| Event on successful event flags clear (Op) More...
void | EvrRtxEventFlagsGet (osEventFlagsId_t ef_id, uint32_t event_flags)
| Event on event flags retrieve (API) More...
void | EvrRtxEventFlagsWait (osEventFlagsId_t ef_id, uint32_t flags, uint32_t options, uint32_t timeout)
| Event on wait for event flags (API) More...
void | EvrRtxEventFlagsWaitPending (osEventFlagsId_t ef_id, uint32_t flags, uint32_t options, uint32_t timeout)
| Event on pending wait for event flags (Op) More...
void | EvrRtxEventFlagsWaitTimeout (osEventFlagsId_t ef_id)
| Event on wait timeout for event flags (Op) More...
void | EvrRtxEventFlagsWaitCompleted (osEventFlagsId_t ef_id, uint32_t flags, uint32_t options, uint32_t event_flags)
| Event on successful wait for event flags (Op) More...
void | EvrRtxEventFlagsWaitNotCompleted (osEventFlagsId_t ef_id, uint32_t flags, uint32_t options)
| Event on unsuccessful wait for event flags (Op) More...
void | EvrRtxEventFlagsDelete (osEventFlagsId_t ef_id)
| Event on event flags delete (API) More...
void | EvrRtxEventFlagsDestroyed (osEventFlagsId_t ef_id)
| Event on successful event flags delete (Op) More...
void | EvrRtxMutexError (osMutexId_t mutex_id, int32_t status)
| Event on mutex error (Error) More...
void | EvrRtxMutexNew (const osMutexAttr_t *attr)
| Event on mutex create and initialize (API) More...
void | EvrRtxMutexCreated (osMutexId_t mutex_id)
| Event on successful mutex create (Op) More...
void | EvrRtxMutexGetName (osMutexId_t mutex_id, const char *name)
| Event on mutex name retrieve (API) More...
void | EvrRtxMutexAcquire (osMutexId_t mutex_id, uint32_t timeout)
| Event on mutex acquire (API) More...
void | EvrRtxMutexAcquirePending (osMutexId_t mutex_id, uint32_t timeout)
| Event on pending mutex acquire (Op) More...
void | EvrRtxMutexAcquireTimeout (osMutexId_t mutex_id)
| Event on mutex acquire timeout (Op) More...
void | EvrRtxMutexAcquired (osMutexId_t mutex_id, uint32_t lock)
| Event on successful mutex acquire (Op) More...
void | EvrRtxMutexNotAcquired (osMutexId_t mutex_id)
| Event on unsuccessful mutex acquire (Op) More...
void | EvrRtxMutexRelease (osMutexId_t mutex_id)
| Event on mutex release (API) More...
void | EvrRtxMutexReleased (osMutexId_t mutex_id, uint32_t lock)
| Event on successful mutex release (Op) More...
void | EvrRtxMutexGetOwner (osMutexId_t mutex_id, osThreadId_t thread_id)
| Event on mutex owner retrieve (API) More...
void | EvrRtxMutexDelete (osMutexId_t mutex_id)
| Event on mutex delete (API) More...
void | EvrRtxMutexDestroyed (osMutexId_t mutex_id)
| Event on successful mutex delete (Op) More...
void | EvrRtxSemaphoreError (osSemaphoreId_t semaphore_id, int32_t status)
| Event on semaphore error (Error) More...
void | EvrRtxSemaphoreNew (uint32_t max_count, uint32_t initial_count, const osSemaphoreAttr_t *attr)
| Event on semaphore create and initialize (API) More...
void | EvrRtxSemaphoreCreated (osSemaphoreId_t semaphore_id)
| Event on successful semaphore create (Op) More...
void | EvrRtxSemaphoreGetName (osSemaphoreId_t semaphore_id, const char *name)
| Event on semaphore name retrieve (API) More...
void | EvrRtxSemaphoreAcquire (osSemaphoreId_t semaphore_id, uint32_t timeout)
| Event on semaphore acquire (API) More...
void | EvrRtxSemaphoreAcquirePending (osSemaphoreId_t semaphore_id, uint32_t timeout)
| Event on pending semaphore acquire (Op) More...
void | EvrRtxSemaphoreAcquireTimeout (osSemaphoreId_t semaphore_id)
| Event on semaphore acquire timeout (Op) More...
void | EvrRtxSemaphoreAcquired (osSemaphoreId_t semaphore_id)
| Event on successful semaphore acquire (Op) More...
void | EvrRtxSemaphoreNotAcquired (osSemaphoreId_t semaphore_id)
| Event on unsuccessful semaphore acquire (Op) More...
void | EvrRtxSemaphoreRelease (osSemaphoreId_t semaphore_id)
| Event on semaphore release (API) More...
void | EvrRtxSemaphoreReleased (osSemaphoreId_t semaphore_id)
| Event on successful semaphore release (Op) More...
void | EvrRtxSemaphoreGetCount (osSemaphoreId_t semaphore_id, uint32_t count)
| Event on semaphore token count retrieval (API) More...
void | EvrRtxSemaphoreDelete (osSemaphoreId_t semaphore_id)
| Event on semaphore delete (API) More...
void | EvrRtxSemaphoreDestroyed (osSemaphoreId_t semaphore_id)
| Event on successful semaphore delete (Op) More...
void | EvrRtxMemoryPoolError (osMemoryPoolId_t mp_id, int32_t status)
| Event on memory pool error (Error) More...
void | EvrRtxMemoryPoolNew (uint32_t block_count, uint32_t block_size, const osMemoryPoolAttr_t *attr)
| Event on memory pool create and initialize (API) More...
void | EvrRtxMemoryPoolCreated (osMemoryPoolId_t mp_id)
| Event on successful memory pool create (Op) More...
void | EvrRtxMemoryPoolGetName (osMemoryPoolId_t mp_id, const char *name)
| Event on memory pool name retrieve (API) More...
void | EvrRtxMemoryPoolAlloc (osMemoryPoolId_t mp_id, uint32_t timeout)
| Event on memory pool allocation (API) More...
void | EvrRtxMemoryPoolAllocPending (osMemoryPoolId_t mp_id, uint32_t timeout)
| Event on pending memory pool allocation (Op) More...
void | EvrRtxMemoryPoolAllocTimeout (osMemoryPoolId_t mp_id)
| Event on memory pool allocation timeout (Op) More...
void | EvrRtxMemoryPoolAllocated (osMemoryPoolId_t mp_id, void *block)
| Event on successful memory pool allocation (Op) More...
void | EvrRtxMemoryPoolAllocFailed (osMemoryPoolId_t mp_id)
| Event on unsuccessful memory pool allocation (Op) More...
void | EvrRtxMemoryPoolFree (osMemoryPoolId_t mp_id, void *block)
| Event on memory pool free (API) More...
void | EvrRtxMemoryPoolDeallocated (osMemoryPoolId_t mp_id, void *block)
| Event on successful memory pool free (Op) More...
void | EvrRtxMemoryPoolFreeFailed (osMemoryPoolId_t mp_id, void *block)
| Event on unsuccessful memory pool free (Op) More...
void | EvrRtxMemoryPoolGetCapacity (osMemoryPoolId_t mp_id, uint32_t capacity)
| Event on memory pool capacity retrieve (API) More...
void | EvrRtxMemoryPoolGetBlockSize (osMemoryPoolId_t mp_id, uint32_t block_size)
| Event on memory pool block size retrieve (API) More...
void | EvrRtxMemoryPoolGetCount (osMemoryPoolId_t mp_id, uint32_t count)
| Event on used memory pool blocks retrieve (API) More...
void | EvrRtxMemoryPoolGetSpace (osMemoryPoolId_t mp_id, uint32_t space)
| Event on available memory pool blocks retrieve (API) More...
void | EvrRtxMemoryPoolDelete (osMemoryPoolId_t mp_id)
| Event on memory pool delete (API) More...
void | EvrRtxMemoryPoolDestroyed (osMemoryPoolId_t mp_id)
| Event on successful memory pool delete (Op) More...
void | EvrRtxMessageQueueError (osMessageQueueId_t mq_id, int32_t status)
| Event on message queue error (Error) More...
void | EvrRtxMessageQueueNew (uint32_t msg_count, uint32_t msg_size, const osMessageQueueAttr_t *attr)
| Event on message queue create and initialization (API) More...
void | EvrRtxMessageQueueCreated (osMessageQueueId_t mq_id)
| Event on successful message queue create (Op) More...
void | EvrRtxMessageQueueGetName (osMessageQueueId_t mq_id, const char *name)
| Event on message queue name retrieve(API) More...
void | EvrRtxMessageQueuePut (osMessageQueueId_t mq_id, const void *msg_ptr, uint8_t msg_prio, uint32_t timeout)
| Event on message put (API) More...
void | EvrRtxMessageQueuePutPending (osMessageQueueId_t mq_id, const void *msg_ptr, uint32_t timeout)
| Event on pending message put (Op) More...
void | EvrRtxMessageQueuePutTimeout (osMessageQueueId_t mq_id)
| Event on message put timeout (Op) More...
void | EvrRtxMessageQueueInsertPending (osMessageQueueId_t mq_id, const void *msg_ptr)
| Event on pending message insert (Op) More...
void | EvrRtxMessageQueueInserted (osMessageQueueId_t mq_id, const void *msg_ptr)
| Event on successful message insert (Op) More...
void | EvrRtxMessageQueueNotInserted (osMessageQueueId_t mq_id, const void *msg_ptr)
| Event on unsuccessful message insert (Op) More...
void | EvrRtxMessageQueueGet (osMessageQueueId_t mq_id, void *msg_ptr, uint8_t *msg_prio, uint32_t timeout)
| Event on message get (API) More...
void | EvrRtxMessageQueueGetPending (osMessageQueueId_t mq_id, void *msg_ptr, uint32_t timeout)
| Event on pending message get (Op) More...
void | EvrRtxMessageQueueGetTimeout (osMessageQueueId_t mq_id)
| Event on message get timeout (Op) More...
void | EvrRtxMessageQueueRetrieved (osMessageQueueId_t mq_id, void *msg_ptr)
| Event on successful message get (Op) More...
void | EvrRtxMessageQueueNotRetrieved (osMessageQueueId_t mq_id, void *msg_ptr)
| Event on unsuccessful message get (Op) More...
void | EvrRtxMessageQueueGetCapacity (osMessageQueueId_t mq_id, uint32_t capacity)
| Event on message queue capacity retrieve (API) More...
void | EvrRtxMessageQueueGetMsgSize (osMessageQueueId_t mq_id, uint32_t msg_size)
| Event on message queue message size retrieve (API) More...
void | EvrRtxMessageQueueGetCount (osMessageQueueId_t mq_id, uint32_t count)
| Event on message queue message count retrieve (API) More...
void | EvrRtxMessageQueueGetSpace (osMessageQueueId_t mq_id, uint32_t space)
| Event on message queue message slots retrieve (API) More...
void | EvrRtxMessageQueueReset (osMessageQueueId_t mq_id)
| Event on message queue reset (API) More...
void | EvrRtxMessageQueueResetDone (osMessageQueueId_t mq_id)
| Event on successful message queue reset (Op) More...
void | EvrRtxMessageQueueDelete (osMessageQueueId_t mq_id)
| Event on message queue delete (API) More...
void | EvrRtxMessageQueueDestroyed (osMessageQueueId_t mq_id)
| Event on successful message queue delete (Op) More...

## Macro Definition Documentation

#define osRtxErrorKernelNotReady (-7)

#define osRtxErrorKernelNotRunning (-8)

#define osRtxErrorInvalidControlBlock (-9)

#define osRtxErrorInvalidDataMemory (-10)

#define osRtxErrorInvalidThreadStack (-11)

#define osRtxErrorInvalidPriority (-12)

#define osRtxErrorThreadNotJoinable (-13)

#define osRtxErrorMutexNotOwned (-14)

#define osRtxErrorMutexNotLocked (-15)

#define osRtxErrorMutexLockLimit (-16)

#define osRtxErrorSemaphoreCountLimit (-17)

#define osRtxErrorTZ_InitContext_S (-18)

#define osRtxErrorTZ_AllocContext_S (-19)

#define osRtxErrorTZ_FreeContext_S (-20)

#define osRtxErrorTZ_LoadContext_S (-21)

#define osRtxErrorTZ_SaveContext_S (-22)

## Function Documentation

void EvrRtxThreadFlagsSet | ( | osThreadId_t | thread_id,
|  | uint32_t | flags
| ) |  |

Parameters

  [in] | thread_id | thread ID obtained by osThreadNew or osThreadGetId.
  [in] | flags | flags of the thread that shall be set.

void EvrRtxThreadFlagsSetDone | ( | osThreadId_t | thread_id,
|  | uint32_t | thread_flags
| ) |  |

Parameters

  [in] | thread_id | thread ID obtained by osThreadNew or osThreadGetId.
  [in] | thread_flags | thread flags after setting

void EvrRtxThreadFlagsClear | ( | uint32_t | flags | ) |

Parameters

  [in] | flags | flags of the thread that shall be cleared.

void EvrRtxThreadFlagsClearDone | ( | uint32_t | thread_flags | ) |

Parameters

  [in] | thread_flags | thread flags before clearing

void EvrRtxThreadFlagsGet | ( | uint32_t | thread_flags | ) |

Parameters

  [in] | thread_flags | current thread flags.

void EvrRtxThreadFlagsWait | ( | uint32_t | flags,
|  | uint32_t | options,
|  | uint32_t | timeout
| ) |  |

Parameters

  [in] | flags | flags to wait for.
  [in] | options | flags options (osFlagsXxxx).
  [in] | timeout | Timeout Value or 0 in case of no time-out.

void EvrRtxThreadFlagsWaitPending | ( | uint32_t | flags,
|  | uint32_t | options,
|  | uint32_t | timeout
| ) |  |

Parameters

  [in] | flags | flags to wait for.
  [in] | options | flags options (osFlagsXxxx).
  [in] | timeout | Timeout Value or 0 in case of no time-out.

void EvrRtxThreadFlagsWaitCompleted | ( | uint32_t | flags,
|  | uint32_t | options,
|  | uint32_t | thread_flags
| ) |  |

Parameters

  [in] | flags | flags to wait for.
  [in] | options | flags options (osFlagsXxxx).
  [in] | thread_flags | thread flags before clearing

void EvrRtxThreadFlagsWaitNotCompleted | ( | uint32_t | flags,
|  | uint32_t | options
| ) |  |

Parameters

  [in] | flags | flags to wait for.
  [in] | options | flags options (osFlagsXxxx).

void EvrRtxEventFlagsSet | ( | osEventFlagsId_t | ef_id,
|  | uint32_t | flags
| ) |  |

Parameters

  [in] | ef_id | event flags ID obtained by osEventFlagsNew.
  [in] | flags | flags that shall be set.

void EvrRtxEventFlagsSetDone | ( | osEventFlagsId_t | ef_id,
|  | uint32_t | event_flags
| ) |  |

Parameters

  [in] | ef_id | event flags ID obtained by osEventFlagsNew.
  [in] | event_flags | event flags after setting

void EvrRtxEventFlagsClear | ( | osEventFlagsId_t | ef_id,
|  | uint32_t | flags
| ) |  |

Parameters

  [in] | ef_id | event flags ID obtained by osEventFlagsNew.
  [in] | flags | flags that shall be cleared.

void EvrRtxEventFlagsClearDone | ( | osEventFlagsId_t | ef_id,
|  | uint32_t | event_flags
| ) |  |

Parameters

  [in] | ef_id | event flags ID obtained by osEventFlagsNew.
  [in] | event_flags | event flags before clearing

void EvrRtxEventFlagsGet | ( | osEventFlagsId_t | ef_id,
|  | uint32_t | event_flags
| ) |  |

Parameters

  [in] | ef_id | event flags ID obtained by osEventFlagsNew.
  [in] | event_flags | current event flags.

void EvrRtxEventFlagsWait | ( | osEventFlagsId_t | ef_id,
|  | uint32_t | flags,
|  | uint32_t | options,
|  | uint32_t | timeout
| ) |  |

Parameters

  [in] | ef_id | event flags ID obtained by osEventFlagsNew.
  [in] | flags | flags to wait for.
  [in] | options | flags options (osFlagsXxxx).
  [in] | timeout | Timeout Value or 0 in case of no time-out.

void EvrRtxEventFlagsWaitPending | ( | osEventFlagsId_t | ef_id,
|  | uint32_t | flags,
|  | uint32_t | options,
|  | uint32_t | timeout
| ) |  |

Parameters

  [in] | ef_id | event flags ID obtained by osEventFlagsNew.
  [in] | flags | flags to wait for.
  [in] | options | flags options (osFlagsXxxx).
  [in] | timeout | Timeout Value or 0 in case of no time-out.

void EvrRtxEventFlagsWaitCompleted | ( | osEventFlagsId_t | ef_id,
|  | uint32_t | flags,
|  | uint32_t | options,
|  | uint32_t | event_flags
| ) |  |

Parameters

  [in] | ef_id | event flags ID obtained by osEventFlagsNew.
  [in] | flags | flags to wait for.
  [in] | options | flags options (osFlagsXxxx).
  [in] | event_flags | event flags before clearing or 0 if specified flags have not been set.

void EvrRtxEventFlagsWaitNotCompleted | ( | osEventFlagsId_t | ef_id,
|  | uint32_t | flags,
|  | uint32_t | options
| ) |  |

Parameters

  [in] | ef_id | event flags ID obtained by osEventFlagsNew.
  [in] | flags | flags to wait for.
  [in] | options | flags options (osFlagsXxxx).