Loading...
Searching...
No Matches
uwb_core.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Inria
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include <stdint.h>
19#include "event.h"
20#if IS_USED(MODULE_UWB_CORE_EVENT_THREAD)
21#include "event/thread.h"
22#endif
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
31#ifndef UWB_CORE_EVENT_THREAD_QUEUE
32#define UWB_CORE_EVENT_THREAD_QUEUE EVENT_PRIO_MEDIUM
33#endif
34
38#ifndef UWB_CORE_PRIO
39#define UWB_CORE_PRIO (THREAD_PRIORITY_MAIN - 2)
40#endif
41
45#ifndef UWB_CORE_STACKSIZE
46#define UWB_CORE_STACKSIZE (THREAD_STACKSIZE_DEFAULT)
47#endif
48
53
63
64#ifdef __cplusplus
65}
66#endif
67
struct PTRTAG event_queue_t
event queue structure
Provides utility functions for event handler threads.
void uwb_core_riot_init(void)
Setup and run uwb-core thread.
event_queue_t * uwb_core_get_eventq(void)
Retrieves the default event queue.