Loading...
Searching...
No Matches
syscfg_twr_ds_ext.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Inria
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
27#ifndef MYNEWT_VAL_TWR_DS_EXT_ENABLED
28#define MYNEWT_VAL_TWR_DS_EXT_ENABLED IS_USED(MODULE_UWB_CORE_TWR_DS_EXT)
29#endif
30
34#ifndef MYNEWT_VAL_TWR_DS_EXT_RX_TIMEOUT
35#define MYNEWT_VAL_TWR_DS_EXT_RX_TIMEOUT (((uint16_t)0x40))
36#endif
37
41#ifndef MYNEWT_VAL_TWR_DS_EXT_TX_HOLDOFF
42#define MYNEWT_VAL_TWR_DS_EXT_TX_HOLDOFF (((uint32_t)0x0400 + 0xA0 \
43 * IS_USED(MODULE_UWB_CORE_RNG_TRX_INFO)))
44#endif
45
46#ifdef __cplusplus
47}
48#endif