mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg/uwb-core: adjust holdoff time when rxdiag_enabled
Reading the diagnostic information adds a ~160us overhead, so holdoff for that additional time.
This commit is contained in:
parent
c56e28a7e6
commit
08055156e8
@ -43,7 +43,7 @@ extern "C" {
|
||||
* @brief tx holdoff delay for DS TWR (usec)
|
||||
*/
|
||||
#ifndef MYNEWT_VAL_TWR_DS_TX_HOLDOFF
|
||||
#define MYNEWT_VAL_TWR_DS_TX_HOLDOFF (((uint32_t)0x0300))
|
||||
#define MYNEWT_VAL_TWR_DS_TX_HOLDOFF (((uint32_t)0x0300 + 0xA0 * IS_USED(MODULE_UWB_CORE_RNG_TRX_INFO)))
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -43,7 +43,7 @@ extern "C" {
|
||||
* @brief tx holdoff delay for DS TWR extended frame (usec)
|
||||
*/
|
||||
#ifndef MYNEWT_VAL_TWR_DS_EXT_TX_HOLDOFF
|
||||
#define MYNEWT_VAL_TWR_DS_EXT_TX_HOLDOFF (((uint32_t)0x0400))
|
||||
#define MYNEWT_VAL_TWR_DS_EXT_TX_HOLDOFF (((uint32_t)0x0400 + 0xA0 * IS_USED(MODULE_UWB_CORE_RNG_TRX_INFO)))
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -43,7 +43,7 @@ extern "C" {
|
||||
* @brief tx holdoff delay for SS TWR (usec)
|
||||
*/
|
||||
#ifndef MYNEWT_VAL_TWR_SS_TX_HOLDOFF
|
||||
#define MYNEWT_VAL_TWR_SS_TX_HOLDOFF (((uint32_t)0x0300))
|
||||
#define MYNEWT_VAL_TWR_SS_TX_HOLDOFF (((uint32_t)0x0300 + 0xA0 * IS_USED(MODULE_UWB_CORE_RNG_TRX_INFO)))
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -43,7 +43,7 @@ extern "C" {
|
||||
* @brief TOA timeout delay for SS TWR (usec)
|
||||
*/
|
||||
#ifndef MYNEWT_VAL_TWR_SS_ACK_TX_HOLDOFF
|
||||
#define MYNEWT_VAL_TWR_SS_ACK_TX_HOLDOFF (((uint32_t)0x800))
|
||||
#define MYNEWT_VAL_TWR_SS_ACK_TX_HOLDOFF (((uint32_t)0x800 + 0xA0 * IS_USED(MODULE_UWB_CORE_RNG_TRX_INFO)))
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -43,7 +43,7 @@ extern "C" {
|
||||
* @brief tx holdoff delay for SS EXT TWR (usec)
|
||||
*/
|
||||
#ifndef MYNEWT_VAL_TWR_SS_EXT_TX_HOLDOFF
|
||||
#define MYNEWT_VAL_TWR_SS_EXT_TX_HOLDOFF (((uint32_t)0x0400))
|
||||
#define MYNEWT_VAL_TWR_SS_EXT_TX_HOLDOFF (((uint32_t)0x0400 + 0xA0 * IS_USED(MODULE_UWB_CORE_RNG_TRX_INFO)))
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -43,7 +43,7 @@ extern "C" {
|
||||
* @brief worstcase tx holdoff delay for all TWR modes (usec)
|
||||
*/
|
||||
#ifndef MYNEWT_VAL_RNG_TX_HOLDOFF
|
||||
#define MYNEWT_VAL_RNG_TX_HOLDOFF (((uint32_t)0x0320))
|
||||
#define MYNEWT_VAL_RNG_TX_HOLDOFF (((uint32_t)0x0320 + 0xA0 * IS_USED(MODULE_UWB_CORE_RNG_TRX_INFO)))
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user