openwsn_defs.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 
9 #pragma once
10 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
30 /* Measured 440us + ~10% */
31 #define PORT_maxTxDataPrepare (500/PORT_US_PER_TICK)
32 /* Measured 200us + ~10% */
33 #define PORT_maxRxAckPrepare (300/PORT_US_PER_TICK)
34 /* Measured 300us + ~10% */
35 #define PORT_maxRxDataPrepare (350/PORT_US_PER_TICK)
36 /* Measured 316us + ~10% */
37 #define PORT_maxTxAckPrepare (350/PORT_US_PER_TICK)
38 /* Measured 360us with openwsn_sctimer_rtt */
39 #define PORT_delayTx (360/PORT_US_PER_TICK)
42 #ifdef __cplusplus
43 }
44 #endif
45