uwb_core.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Inria
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
19 #ifndef UWB_CORE_H
20 #define UWB_CORE_H
21 
22 #include <stdint.h>
23 #include "event.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
32 #ifndef UWB_CORE__PRIO
33 #define UWB_CORE__PRIO (THREAD_PRIORITY_MAIN - 2)
34 #endif
35 
39 #ifndef UWB_CORE__STACKSIZE
40 #define UWB_CORE__STACKSIZE (THREAD_STACKSIZE_DEFAULT)
41 #endif
42 
46 void uwb_core_riot_init(void);
47 
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif /* UWB_CORE_H */
63 
uwb_core_get_eventq
event_queue_t * uwb_core_get_eventq(void)
Retrieves the default event queue.
event_queue_t
event queue structure
Definition: event.h:150
uwb_core_riot_init
void uwb_core_riot_init(void)
Setup and run uwb-core thread.