93 return os_sem_get_count(&sem->
sem);
uwb-core DPL (Decawave Porting Layer) error types
os_error_t dpl_error_t
dpl error type
static dpl_error_t dpl_sem_release(struct dpl_sem *sem)
Release a semaphore.
static dpl_error_t dpl_sem_pend(struct dpl_sem *sem, dpl_time_t timeout)
Pend (wait) for a semaphore.
static dpl_error_t dpl_sem_init(struct dpl_sem *sem, uint16_t tokens)
Initialize a semaphore.
static int16_t dpl_sem_get_count(struct dpl_sem *sem)
Get current semaphore's count.
uwb-core DPL (Decawave Porting Layer) types
os_time_t dpl_time_t
dpl time type
struct os_sem sem
the semaphore