static struct dpl_event * dpl_eventq_get(struct dpl_eventq *evq)
Get next event from event queue, blocking.
 
static void dpl_event_run(struct dpl_event *ev)
Runs an event.
 
static bool dpl_eventq_is_empty(struct dpl_eventq *evq)
Check if queue is empty.
 
static void * dpl_event_get_arg(struct dpl_event *ev)
Runs an event.
 
static void dpl_eventq_remove(struct dpl_eventq *evq, struct dpl_event *ev)
Remove an event from the queue.
 
static int dpl_eventq_inited(struct dpl_eventq *evq)
Check whether the event queue is initialized.
 
static void dpl_eventq_run(struct dpl_eventq *evq)
Gets and runs an event from the queue callback.
 
static struct dpl_eventq * dpl_eventq_dflt_get(void)
Retrieves the default event queue.
 
void dpl_event_fn(struct dpl_event *ev)
dpl event callback function
 
static void dpl_event_set_arg(struct dpl_event *ev, void *arg)
Set the vent arg.
 
static void dpl_event_init(struct dpl_event *ev, dpl_event_fn *fn, void *arg)
Init a event.
 
static void dpl_eventq_put(struct dpl_eventq *evq, struct dpl_event *ev)
Put an event on the event queue.
 
static struct dpl_event * dpl_eventq_get_no_wait(struct dpl_eventq *evq)
Get next event from event queue, non-blocking.
 
static void dpl_eventq_deinit(struct dpl_eventq *evq)
Deinitialize an event queue.
 
static void dpl_eventq_init(struct dpl_eventq *evq)
Initialize the event queue.
 
static bool dpl_event_is_queued(struct dpl_event *ev)
Check if event is in queue.
 
uwb-core DPL (Decawave Porting Layer) types
 
mynewt-core event and event queue abstraction
 
static bool os_eventq_is_empty(struct os_eventq *evq)
Check if queue is empty.
 
static void os_event_init(struct os_event *ev, os_event_fn *fn, void *arg)
Init a event.
 
static void os_event_set_arg(struct os_event *ev, void *arg)
Set the event argument.
 
static int os_eventq_inited(struct os_eventq *evq)
Check whether the event queue is initialized.
 
static void * os_event_get_arg(struct os_event *ev)
Returns event argument.
 
static void os_eventq_remove(struct os_eventq *evq, struct os_event *ev)
Remove an event from the queue.
 
static bool os_event_is_queued(struct os_event *ev)
Check if event is in queue.
 
void os_event_fn(struct os_event *ev)
Event callback function.
 
static void os_event_run(struct os_event *ev)
Runs an event.
 
static void os_eventq_init(struct os_eventq *evq)
Initialize the event queue.
 
static struct os_event * os_eventq_get_no_wait(struct os_eventq *evq)
Get next event from event queue, non-blocking.
 
static struct os_event * os_eventq_get(struct os_eventq *evq, os_time_t tmo)
Get next event from event queue.
 
static void os_eventq_put(struct os_eventq *evq, struct os_event *ev)
Put an event on the event queue.
 
static void os_eventq_run(struct os_eventq *evq)
Gets and runs an event from the queue callback.
 
struct os_event ev
the event
 
struct os_eventq evq
the event queue
 
event_queue_t * uwb_core_get_eventq(void)
Retrieves the default event queue.