openwsn_defs.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 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
27 /* Measured 440us + ~10% */
28 #define PORT_maxTxDataPrepare (500/PORT_US_PER_TICK)
29 /* Measured 200us + ~10% */
30 #define PORT_maxRxAckPrepare (300/PORT_US_PER_TICK)
31 /* Measured 300us + ~10% */
32 #define PORT_maxRxDataPrepare (350/PORT_US_PER_TICK)
33 /* Measured 316us + ~10% */
34 #define PORT_maxTxAckPrepare (350/PORT_US_PER_TICK)
35 /* Measured 360us with openwsn_sctimer_rtt */
36 #define PORT_delayTx (360/PORT_US_PER_TICK)
39 #ifdef __cplusplus
40 }
41 #endif
42