syscfg_twr_ds.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_TWR_DS_ENABLED
31 #define MYNEWT_VAL_TWR_DS_ENABLED (IS_USED(MODULE_UWB_CORE_TWR_DS))
32 #endif
33 
37 #ifndef MYNEWT_VAL_TWR_DS_RX_TIMEOUT
38 #define MYNEWT_VAL_TWR_DS_RX_TIMEOUT (((uint16_t)0x30))
39 #endif
40 
44 #ifndef MYNEWT_VAL_TWR_DS_TX_HOLDOFF
45 #define MYNEWT_VAL_TWR_DS_TX_HOLDOFF (((uint32_t)0x0300 + 0xA0 * IS_USED(MODULE_UWB_CORE_RNG_TRX_INFO)))
46 #endif
47 
48 #ifdef __cplusplus
49 }
50 #endif