dRonin
adbada4
dRonin firmware
|
Go to the source code of this file.
Data Structures | |
struct | pios_semaphore |
Macros | |
#define | SEMAPHORE_MAGIC 0x616d6553 /* 'Sema' */ |
Functions | |
struct pios_semaphore * | PIOS_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) |
#define SEMAPHORE_MAGIC 0x616d6553 /* 'Sema' */ |
Definition at line 32 of file pios_semaphore.c.