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 
9 #pragma once
10 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
30 #ifndef MYNEWT_VAL_UWB_RNG_ENABLED
31 #define MYNEWT_VAL_UWB_RNG_ENABLED ((IS_USED(MODULE_UWB_CORE_RNG)))
32 #endif
33 
37 #ifndef MYNEWT_VAL_RNG_RX_TIMEOUT
38 #define MYNEWT_VAL_RNG_RX_TIMEOUT (((uint16_t)0x20))
39 #endif
40 
44 #ifndef MYNEWT_VAL_RNG_TX_HOLDOFF
45 #define MYNEWT_VAL_RNG_TX_HOLDOFF (((uint32_t)0x0320 + 0xA0 * IS_USED(MODULE_UWB_CORE_RNG_TRX_INFO)))
46 #endif
47 
51 #ifndef MYNEWT_VAL_RNG_VERBOSE
52 #define MYNEWT_VAL_RNG_VERBOSE (0)
53 #endif
54 
58 #ifndef MYNEWT_VAL_UWB_RNG_JSON_BUFSIZE
59 #define MYNEWT_VAL_UWB_RNG_JSON_BUFSIZE (256)
60 #endif
61 
62 #ifdef __cplusplus
63 }
64 #endif