os_port_cmsis_rtos2.c
void osAcquireMutex(OsMutex *mutex)
Acquire ownership of the specified mutex object.
Definition: os_port_cmsis_rtos2.c:500
__weak_func void * osAllocMem(size_t size)
Allocate a memory block.
Definition: os_port_cmsis_rtos2.c:543
RTOS abstraction layer (CMSIS-RTOS 2 / RTX v5)
void osReleaseMutex(OsMutex *mutex)
Release ownership of the specified mutex object.
Definition: os_port_cmsis_rtos2.c:512
bool_t osWaitForEvent(OsEvent *event, systime_t timeout)
Wait until the specified event is in the signaled state.
Definition: os_port_cmsis_rtos2.c:284
__weak_func void osFreeMem(void *p)
Release a previously allocated memory block.
Definition: os_port_cmsis_rtos2.c:568
bool_t osSetEventFromIsr(OsEvent *event)
Set an event object to the signaled state from an interrupt service routine.
Definition: os_port_cmsis_rtos2.c:321
OsTaskId osCreateTask(const char_t *name, OsTaskCode taskCode, void *arg, const OsTaskParameters *params)
Create a task.
Definition: os_port_cmsis_rtos2.c:80
void osResetEvent(OsEvent *event)
Set the specified event object to the nonsignaled state.
Definition: os_port_cmsis_rtos2.c:269
const OsTaskParameters OS_TASK_DEFAULT_PARAMS
Definition: os_port_cmsis_rtos2.c:40
void osReleaseSemaphore(OsSemaphore *semaphore)
Release the specified semaphore object.
Definition: os_port_cmsis_rtos2.c:431
void osDeleteSemaphore(OsSemaphore *semaphore)
Delete a semaphore object.
Definition: os_port_cmsis_rtos2.c:379
bool_t osWaitForSemaphore(OsSemaphore *semaphore, systime_t timeout)
Wait for the specified semaphore to be available.
Definition: os_port_cmsis_rtos2.c:398
RTOS abstraction layer.
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_cmsis_rtos2.c:257
Debugging facilities.
bool_t osCreateSemaphore(OsSemaphore *semaphore, uint_t count)
Create a semaphore object.
Definition: os_port_cmsis_rtos2.c:340