Loading...
Searching...
No Matches
syscfg_uwb_rng.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
21#ifndef DPL_SYSCFG_SYSCFG_UWB_RNG_H
22#define DPL_SYSCFG_SYSCFG_UWB_RNG_H
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
31#ifndef MYNEWT_VAL_UWB_RNG_ENABLED
32#define MYNEWT_VAL_UWB_RNG_ENABLED ((IS_USED(MODULE_UWB_CORE_RNG)))
33#endif
34
38#ifndef MYNEWT_VAL_RNG_RX_TIMEOUT
39#define MYNEWT_VAL_RNG_RX_TIMEOUT (((uint16_t)0x20))
40#endif
41
45#ifndef MYNEWT_VAL_RNG_TX_HOLDOFF
46#define MYNEWT_VAL_RNG_TX_HOLDOFF (((uint32_t)0x0320 + 0xA0 * IS_USED(MODULE_UWB_CORE_RNG_TRX_INFO)))
47#endif
48
52#ifndef MYNEWT_VAL_RNG_VERBOSE
53#define MYNEWT_VAL_RNG_VERBOSE (0)
54#endif
55
59#ifndef MYNEWT_VAL_UWB_RNG_JSON_BUFSIZE
60#define MYNEWT_VAL_UWB_RNG_JSON_BUFSIZE (256)
61#endif
62
63#ifdef __cplusplus
64}
65#endif
66
67#endif /* DPL_SYSCFG_SYSCFG_UWB_RNG_H */