syscfg_twr_ds_ext.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 SYSCFG_SYSCFG_TWR_DS_EXT_H
22 #define SYSCFG_SYSCFG_TWR_DS_EXT_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
31 #ifndef MYNEWT_VAL_TWR_DS_EXT_ENABLED
32 #define MYNEWT_VAL_TWR_DS_EXT_ENABLED IS_ACTIVE(MODULE_UWB_CORE_TWR_DS_EXT)
33 #endif
34 
38 #ifndef MYNEWT_VAL_TWR_DS_EXT_RX_TIMEOUT
39 #define MYNEWT_VAL_TWR_DS_EXT_RX_TIMEOUT (((uint16_t)0x40))
40 #endif
41 
45 #ifndef MYNEWT_VAL_TWR_DS_EXT_TX_HOLDOFF
46 #define MYNEWT_VAL_TWR_DS_EXT_TX_HOLDOFF (((uint32_t)0x0400))
47 #endif
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* SYSCFG_SYSCFG_TWR_DS_EXT_H */