os_port_safertos.c
Go to the documentation of this file.
Debugging facilities.
RTOS abstraction layer.
bool_t osWaitForEvent(OsEvent *event, systime_t timeout)
Wait until the specified event is in the signaled state.
Definition: os_port_safertos.c:271
void osReleaseSemaphore(OsSemaphore *semaphore)
Release the specified semaphore object.
Definition: os_port_safertos.c:393
const OsTaskParameters OS_TASK_DEFAULT_PARAMS
Definition: os_port_safertos.c:41
__weak_func void * osAllocMem(size_t size)
Allocate a memory block.
Definition: os_port_safertos.c:495
portBaseType xInitializeScheduler(void)
void osDeleteSemaphore(OsSemaphore *semaphore)
Delete a semaphore object.
Definition: os_port_safertos.c:350
void osAcquireMutex(OsMutex *mutex)
Acquire ownership of the specified mutex object.
Definition: os_port_safertos.c:452
__weak_func void osFreeMem(void *p)
Release a previously allocated memory block.
Definition: os_port_safertos.c:507
__weak_func OsTaskId osCreateTask(const char_t *name, OsTaskCode taskCode, void *arg, const OsTaskParameters *params)
Create a task.
Definition: os_port_safertos.c:84
bool_t osWaitForSemaphore(OsSemaphore *semaphore, systime_t timeout)
Wait for the specified semaphore to be available.
Definition: os_port_safertos.c:364
void osReleaseMutex(OsMutex *mutex)
Release ownership of the specified mutex object.
Definition: os_port_safertos.c:464
void osResetEvent(OsEvent *event)
Set the specified event object to the nonsignaled state.
Definition: os_port_safertos.c:256
bool_t osSetEventFromIsr(OsEvent *event)
Set an event object to the signaled state from an interrupt service routine.
Definition: os_port_safertos.c:303
bool_t osCreateSemaphore(OsSemaphore *semaphore, uint_t count)
Create a semaphore object.
Definition: os_port_safertos.c:324
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_safertos.c:244
RTOS abstraction layer (SafeRTOS)
portInt8Type buffer[portQUEUE_OVERHEAD_BYTES *2]
Definition: os_port_safertos.h:149