|
osStatus_t | osKernelInitialize (void) |
| Initialize the RTOS Kernel. More...
|
|
osStatus_t | osKernelGetInfo (osVersion_t *version, char *id_buf, uint32_t id_size) |
| Get RTOS Kernel Information. More...
|
|
osKernelState_t | osKernelGetState (void) |
| Get the current RTOS Kernel state. More...
|
|
osStatus_t | osKernelStart (void) |
| Start the RTOS Kernel scheduler. More...
|
|
int32_t | osKernelLock (void) |
| Lock the RTOS Kernel scheduler. More...
|
|
int32_t | osKernelUnlock (void) |
| Unlock the RTOS Kernel scheduler. More...
|
|
int32_t | osKernelRestoreLock (int32_t lock) |
| Restore the RTOS Kernel scheduler lock state. More...
|
|
uint32_t | osKernelSuspend (void) |
| Suspend the RTOS Kernel scheduler. More...
|
|
void | osKernelResume (uint32_t sleep_ticks) |
| Resume the RTOS Kernel scheduler. More...
|
|
uint32_t | osKernelGetTickCount (void) |
| Get the RTOS kernel tick count. More...
|
|
uint32_t | osKernelGetTickFreq (void) |
| Get the RTOS kernel tick frequency. More...
|
|
uint32_t | osKernelGetSysTimerCount (void) |
| Get the RTOS kernel system timer count. More...
|
|
uint32_t | osKernelGetSysTimerFreq (void) |
| Get the RTOS kernel system timer frequency. More...
|
|
osThreadId_t | osThreadNew (osThreadFunc_t func, void *argument, const osThreadAttr_t *attr) |
| Create a thread and add it to Active Threads. More...
|
|
const char * | osThreadGetName (osThreadId_t thread_id) |
| Get name of a thread. More...
|
|
osThreadId_t | osThreadGetId (void) |
| Return the thread ID of the current running thread. More...
|
|
osThreadState_t | osThreadGetState (osThreadId_t thread_id) |
| Get current thread state of a thread. More...
|
|
uint32_t | osThreadGetStackSize (osThreadId_t thread_id) |
| Get stack size of a thread. More...
|
|
uint32_t | osThreadGetStackSpace (osThreadId_t thread_id) |
| Get available stack space of a thread based on stack watermark recording during execution. More...
|
|
osStatus_t | osThreadSetPriority (osThreadId_t thread_id, osPriority_t priority) |
| Change priority of a thread. More...
|
|
osPriority_t | osThreadGetPriority (osThreadId_t thread_id) |
| Get current priority of a thread. More...
|
|
osStatus_t | osThreadYield (void) |
| Pass control to next thread that is in state READY. More...
|
|
osStatus_t | osThreadSuspend (osThreadId_t thread_id) |
| Suspend execution of a thread. More...
|
|
osStatus_t | osThreadResume (osThreadId_t thread_id) |
| Resume execution of a thread. More...
|
|
osStatus_t | osThreadDetach (osThreadId_t thread_id) |
| Detach a thread (thread storage can be reclaimed when thread terminates). More...
|
|
osStatus_t | osThreadJoin (osThreadId_t thread_id) |
| Wait for specified thread to terminate. More...
|
|
__NO_RETURN void | osThreadExit (void) |
| Terminate execution of current running thread. More...
|
|
osStatus_t | osThreadTerminate (osThreadId_t thread_id) |
| Terminate execution of a thread. More...
|
|
uint32_t | osThreadGetCount (void) |
| Get number of active threads. More...
|
|
uint32_t | osThreadEnumerate (osThreadId_t *thread_array, uint32_t array_items) |
| Enumerate active threads. More...
|
|
uint32_t | osThreadFlagsSet (osThreadId_t thread_id, uint32_t flags) |
| Set the specified Thread Flags of a thread. More...
|
|
uint32_t | osThreadFlagsClear (uint32_t flags) |
| Clear the specified Thread Flags of current running thread. More...
|
|
uint32_t | osThreadFlagsGet (void) |
| Get the current Thread Flags of current running thread. More...
|
|
uint32_t | osThreadFlagsWait (uint32_t flags, uint32_t options, uint32_t timeout) |
| Wait for one or more Thread Flags of the current running thread to become signaled. More...
|
|
osStatus_t | osDelay (uint32_t ticks) |
| Wait for Timeout (Time Delay). More...
|
|
osStatus_t | osDelayUntil (uint32_t ticks) |
| Wait until specified time. More...
|
|
osTimerId_t | osTimerNew (osTimerFunc_t func, osTimerType_t type, void *argument, const osTimerAttr_t *attr) |
| Create and Initialize a timer. More...
|
|
const char * | osTimerGetName (osTimerId_t timer_id) |
| Get name of a timer. More...
|
|
osStatus_t | osTimerStart (osTimerId_t timer_id, uint32_t ticks) |
| Start or restart a timer. More...
|
|
osStatus_t | osTimerStop (osTimerId_t timer_id) |
| Stop a timer. More...
|
|
uint32_t | osTimerIsRunning (osTimerId_t timer_id) |
| Check if a timer is running. More...
|
|
osStatus_t | osTimerDelete (osTimerId_t timer_id) |
| Delete a timer. More...
|
|
osEventFlagsId_t | osEventFlagsNew (const osEventFlagsAttr_t *attr) |
| Create and Initialize an Event Flags object. More...
|
|
const char * | osEventFlagsGetName (osEventFlagsId_t ef_id) |
| Get name of an Event Flags object. More...
|
|
uint32_t | osEventFlagsSet (osEventFlagsId_t ef_id, uint32_t flags) |
| Set the specified Event Flags. More...
|
|
uint32_t | osEventFlagsClear (osEventFlagsId_t ef_id, uint32_t flags) |
| Clear the specified Event Flags. More...
|
|
uint32_t | osEventFlagsGet (osEventFlagsId_t ef_id) |
| Get the current Event Flags. More...
|
|
uint32_t | osEventFlagsWait (osEventFlagsId_t ef_id, uint32_t flags, uint32_t options, uint32_t timeout) |
| Wait for one or more Event Flags to become signaled. More...
|
|
osStatus_t | osEventFlagsDelete (osEventFlagsId_t ef_id) |
| Delete an Event Flags object. More...
|
|
osMutexId_t | osMutexNew (const osMutexAttr_t *attr) |
| Create and Initialize a Mutex object. More...
|
|
const char * | osMutexGetName (osMutexId_t mutex_id) |
| Get name of a Mutex object. More...
|
|
osStatus_t | osMutexAcquire (osMutexId_t mutex_id, uint32_t timeout) |
| Acquire a Mutex or timeout if it is locked. More...
|
|
osStatus_t | osMutexRelease (osMutexId_t mutex_id) |
| Release a Mutex that was acquired by osMutexAcquire. More...
|
|
osThreadId_t | osMutexGetOwner (osMutexId_t mutex_id) |
| Get Thread which owns a Mutex object. More...
|
|
osStatus_t | osMutexDelete (osMutexId_t mutex_id) |
| Delete a Mutex object. More...
|
|
osSemaphoreId_t | osSemaphoreNew (uint32_t max_count, uint32_t initial_count, const osSemaphoreAttr_t *attr) |
| Create and Initialize a Semaphore object. More...
|
|
const char * | osSemaphoreGetName (osSemaphoreId_t semaphore_id) |
| Get name of a Semaphore object. More...
|
|
osStatus_t | osSemaphoreAcquire (osSemaphoreId_t semaphore_id, uint32_t timeout) |
| Acquire a Semaphore token or timeout if no tokens are available. More...
|
|
osStatus_t | osSemaphoreRelease (osSemaphoreId_t semaphore_id) |
| Release a Semaphore token up to the initial maximum count. More...
|
|
uint32_t | osSemaphoreGetCount (osSemaphoreId_t semaphore_id) |
| Get current Semaphore token count. More...
|
|
osStatus_t | osSemaphoreDelete (osSemaphoreId_t semaphore_id) |
| Delete a Semaphore object. More...
|
|
osMemoryPoolId_t | osMemoryPoolNew (uint32_t block_count, uint32_t block_size, const osMemoryPoolAttr_t *attr) |
| Create and Initialize a Memory Pool object. More...
|
|
const char * | osMemoryPoolGetName (osMemoryPoolId_t mp_id) |
| Get name of a Memory Pool object. More...
|
|
void * | osMemoryPoolAlloc (osMemoryPoolId_t mp_id, uint32_t timeout) |
| Allocate a memory block from a Memory Pool. More...
|
|
osStatus_t | osMemoryPoolFree (osMemoryPoolId_t mp_id, void *block) |
| Return an allocated memory block back to a Memory Pool. More...
|
|
uint32_t | osMemoryPoolGetCapacity (osMemoryPoolId_t mp_id) |
| Get maximum number of memory blocks in a Memory Pool. More...
|
|
uint32_t | osMemoryPoolGetBlockSize (osMemoryPoolId_t mp_id) |
| Get memory block size in a Memory Pool. More...
|
|
uint32_t | osMemoryPoolGetCount (osMemoryPoolId_t mp_id) |
| Get number of memory blocks used in a Memory Pool. More...
|
|
uint32_t | osMemoryPoolGetSpace (osMemoryPoolId_t mp_id) |
| Get number of memory blocks available in a Memory Pool. More...
|
|
osStatus_t | osMemoryPoolDelete (osMemoryPoolId_t mp_id) |
| Delete a Memory Pool object. More...
|
|
osMessageQueueId_t | osMessageQueueNew (uint32_t msg_count, uint32_t msg_size, const osMessageQueueAttr_t *attr) |
| Create and Initialize a Message Queue object. More...
|
|
const char * | osMessageQueueGetName (osMessageQueueId_t mq_id) |
| Get name of a Message Queue object. More...
|
|
osStatus_t | osMessageQueuePut (osMessageQueueId_t mq_id, const void *msg_ptr, uint8_t msg_prio, uint32_t timeout) |
| Put a Message into a Queue or timeout if Queue is full. More...
|
|
osStatus_t | osMessageQueueGet (osMessageQueueId_t mq_id, void *msg_ptr, uint8_t *msg_prio, uint32_t timeout) |
| Get a Message from a Queue or timeout if Queue is empty. More...
|
|
uint32_t | osMessageQueueGetCapacity (osMessageQueueId_t mq_id) |
| Get maximum number of messages in a Message Queue. More...
|
|
uint32_t | osMessageQueueGetMsgSize (osMessageQueueId_t mq_id) |
| Get maximum message size in a Message Queue. More...
|
|
uint32_t | osMessageQueueGetCount (osMessageQueueId_t mq_id) |
| Get number of queued messages in a Message Queue. More...
|
|
uint32_t | osMessageQueueGetSpace (osMessageQueueId_t mq_id) |
| Get number of available slots for messages in a Message Queue. More...
|
|
osStatus_t | osMessageQueueReset (osMessageQueueId_t mq_id) |
| Reset a Message Queue to initial empty state. More...
|
|
osStatus_t | osMessageQueueDelete (osMessageQueueId_t mq_id) |
| Delete a Message Queue object. More...
|
|