|
dRonin
adbada4
dRonin firmware
|
#include <stdint.h>#include <stdbool.h>Go to the source code of this file.
Macros | |
| #define | PIOS_SEMAPHORE_TIMEOUT_MAX 0xffffffff |
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) |
Definition in file pios_semaphore.h.