syscfg_uwb_dw1000.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_UWB_DW1000_H
22 #define SYSCFG_UWB_DW1000_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
33 #ifndef MYNEWT_VAL_UWB_DW1000_API_CHECKS
34 #define MYNEWT_VAL_UWB_DW1000_API_CHECKS (1)
35 #endif
36 
41 #ifndef MYNEWT_VAL_DW1000_HAL_SPI_BUFFER_SIZE
42 #define MYNEWT_VAL_DW1000_HAL_SPI_BUFFER_SIZE (256)
43 #endif
44 
54 #ifndef MYNEWT_VAL_DW1000_HAL_SPI_MAX_CNT
55 #define MYNEWT_VAL_DW1000_HAL_SPI_MAX_CNT (1024)
56 #endif
57 
63 #ifndef MYNEWT_VAL_DW1000_DEVICE_SPI_RD_MAX_NOBLOCK
64 #define MYNEWT_VAL_DW1000_DEVICE_SPI_RD_MAX_NOBLOCK (9)
65 #endif
66 
70 #ifndef MYNEWT_VAL_DW1000_BIAS_CORRECTION_ENABLED
71 #define MYNEWT_VAL_DW1000_BIAS_CORRECTION_ENABLED (0)
72 #endif
73 
77 #ifndef MYNEWT_VAL_DW1000_DEVICE_TX_PWR
78 #define MYNEWT_VAL_DW1000_DEVICE_TX_PWR (((float)-14.3f))
79 #endif
80 
84 #ifndef MYNEWT_VAL_DW1000_DEVICE_ANT_GAIN
85 #define MYNEWT_VAL_DW1000_DEVICE_ANT_GAIN (((float)1.0f))
86 #endif
87 
91 #ifndef MYNEWT_VAL_DW1000_RXTX_LEDS
92 #define MYNEWT_VAL_DW1000_RXTX_LEDS (1)
93 #endif
94 
98 #ifndef MYNEWT_VAL_DW1000_RXTX_GPIO
99 #define MYNEWT_VAL_DW1000_RXTX_GPIO (0)
100 #endif
101 
105 #ifndef MYNEWT_VAL_DW1000_RNG_INDICATE_LED
106 #define MYNEWT_VAL_DW1000_RNG_INDICATE_LED (0)
107 #endif
108 
112 #ifndef MYNEWT_VAL_DW1000_CLI_EVENT_COUNTERS
113 #define MYNEWT_VAL_DW1000_CLI_EVENT_COUNTERS (0)
114 #endif
115 
116 #ifdef __cplusplus
117 }
118 #endif
119 
120 #endif /* SYSCFG_UWB_DW1000_H */