Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
25
#ifdef CPU_MODEL_NRF52840XXAA
31
/* Taken from OpenWSN @32.768Hz */
32
#define PORT_maxTxDataPrepare (400/PORT_US_PER_TICK)
33
#define PORT_maxRxAckPrepare (400/PORT_US_PER_TICK)
34
#define PORT_maxRxDataPrepare (400/PORT_US_PER_TICK)
35
#define PORT_maxTxAckPrepare (400/PORT_US_PER_TICK)
36
/* Measured 220us */
37
#define PORT_delayTx (300/PORT_US_PER_TICK)
38
#define PORT_delayRx (150/PORT_US_PER_TICK)
40
#endif
41
42
#ifdef __cplusplus
43
}
44
#endif
45
Generated on Thu Jun 26 2025 14:14:44 by
1.9.1