no-OS
Functions
freertos_semaphore.c File Reference
#include <FreeRTOS.h>
#include "no_os_semaphore.h"
#include "semphr.h"
Include dependency graph for freertos_semaphore.c:

Functions

void no_os_semaphore_init (void **semaphore)
 Initialize semaphore. semaphore - Pointer toward the semaphore. More...
 
void no_os_semaphore_take (void *semaphore)
 Take token from semaphore. semaphore - Pointer toward the semaphore. More...
 
 __attribute ((weak))
 Give token to semaphore semaphore - Pointer toward the semaphore. More...
 
void no_os_semaphore_remove (void *semaphore)
 Remove semaphore. semaphore - Pointer toward the semaphore. More...
 

Function Documentation

◆ __attribute()

__attribute ( (weak)  )

Give token to semaphore semaphore - Pointer toward the semaphore.

Returns
None.

◆ no_os_semaphore_init()

void no_os_semaphore_init ( void **  semaphore)
inline

Initialize semaphore. semaphore - Pointer toward the semaphore.

Returns
None.

◆ no_os_semaphore_remove()

void no_os_semaphore_remove ( void *  semaphore)
inline

Remove semaphore. semaphore - Pointer toward the semaphore.

Returns
None.

◆ no_os_semaphore_take()

void no_os_semaphore_take ( void *  semaphore)
inline

Take token from semaphore. semaphore - Pointer toward the semaphore.

Returns
None.