Loading...
Searching...
No Matches
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
19#ifndef OPENWSN_DEFS_H
20#define OPENWSN_DEFS_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
31/* Measured 800us + ~10% */
32#define PORT_maxTxDataPrepare (900/PORT_US_PER_TICK)
33/* Measured 450us + ~10% */
34#define PORT_maxRxAckPrepare (500/PORT_US_PER_TICK)
35/* Measured 500us + ~10% */
36#define PORT_maxRxDataPrepare (550/PORT_US_PER_TICK)
37/* Measured 660us + ~10% */
38#define PORT_maxTxAckPrepare (750/PORT_US_PER_TICK)
39/* Measured 650us with openwsn_sctimer_rtt */
40#define PORT_delayTx (650/PORT_US_PER_TICK)
43#ifdef __cplusplus
44}
45#endif
46
47#endif /* OPENWSN_DEFS_H */