Loading...
Searching...
No Matches
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
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#ifdef CPU_MODEL_NRF52840XXAA
28/* Taken from OpenWSN @32.768Hz */
29#define PORT_maxTxDataPrepare (400/PORT_US_PER_TICK)
30#define PORT_maxRxAckPrepare (400/PORT_US_PER_TICK)
31#define PORT_maxRxDataPrepare (400/PORT_US_PER_TICK)
32#define PORT_maxTxAckPrepare (400/PORT_US_PER_TICK)
33/* Measured 220us */
34#define PORT_delayTx (300/PORT_US_PER_TICK)
35#define PORT_delayRx (150/PORT_US_PER_TICK)
37#endif
38
39#ifdef __cplusplus
40}
41#endif
42