Loading...
Searching...
No Matches
syscfg_twr_ss.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_TWR_SS_H
22#define DPL_SYSCFG_SYSCFG_TWR_SS_H
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
31#ifndef MYNEWT_VAL_TWR_SS_ENABLED
32#define MYNEWT_VAL_TWR_SS_ENABLED (IS_USED(MODULE_UWB_CORE_TWR_SS))
33#endif
34
38#ifndef MYNEWT_VAL_TWR_SS_RX_TIMEOUT
39#define MYNEWT_VAL_TWR_SS_RX_TIMEOUT (((uint16_t)0x30))
40#endif
41
45#ifndef MYNEWT_VAL_TWR_SS_TX_HOLDOFF
46#define MYNEWT_VAL_TWR_SS_TX_HOLDOFF (((uint32_t)0x0300 + 0xA0 * IS_USED(MODULE_UWB_CORE_RNG_TRX_INFO)))
47#endif
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* DPL_SYSCFG_SYSCFG_TWR_SS_H */