Loading...
Searching...
No Matches

Detailed Description

#include <stdint.h>
#include "event.h"
+ Include dependency graph for uwb_core.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

#define UWB_CORE_EVENT_THREAD_QUEUE   EVENT_PRIO_MEDIUM
 The event queue if uwb_core_event_thread is used.
 
#define UWB_CORE_PRIO   (THREAD_PRIORITY_MAIN - 2)
 Priority used for uwb-core event queue.
 
#define UWB_CORE_STACKSIZE   (THREAD_STACKSIZE_DEFAULT)
 Stacksize used for uwb-core event queue.
 
void uwb_core_riot_init (void)
 Setup and run uwb-core thread.
 
event_queue_tuwb_core_get_eventq (void)
 Retrieves the default event queue.
 

Macro Definition Documentation

◆ UWB_CORE_EVENT_THREAD_QUEUE

#define UWB_CORE_EVENT_THREAD_QUEUE   EVENT_PRIO_MEDIUM

The event queue if uwb_core_event_thread is used.

Definition at line 36 of file uwb_core.h.

◆ UWB_CORE_PRIO

#define UWB_CORE_PRIO   (THREAD_PRIORITY_MAIN - 2)

Priority used for uwb-core event queue.

Definition at line 43 of file uwb_core.h.

◆ UWB_CORE_STACKSIZE

#define UWB_CORE_STACKSIZE   (THREAD_STACKSIZE_DEFAULT)

Stacksize used for uwb-core event queue.

Definition at line 50 of file uwb_core.h.

Function Documentation

◆ uwb_core_get_eventq()

event_queue_t * uwb_core_get_eventq ( void  )

Retrieves the default event queue.

if uwb_core_event_thread is used then the event_thread module queue will be used. Otherwise uwb-core will start and handle its own event queue.

Returns
the default event queue.