dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_semaphore.c File Reference
#include "pios.h"
#include "pios_semaphore.h"

Go to the source code of this file.

Data Structures

struct  pios_semaphore
 

Functions

struct pios_semaphorePIOS_Semaphore_Create (void)
 Creates a binary semaphore. More...
 
bool PIOS_Semaphore_Take (struct pios_semaphore *sema, uint32_t timeout_ms)
 Takes binary semaphore. More...
 
bool PIOS_Semaphore_Give (struct pios_semaphore *sema)
 Gives binary semaphore. More...
 
bool PIOS_Semaphore_Take_FromISR (struct pios_semaphore *sema, bool *woken)
 
bool PIOS_Semaphore_Give_FromISR (struct pios_semaphore *sema, bool *woken)