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
19
#ifndef OPENWSN_DEFS_H
20
#define OPENWSN_DEFS_H
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
#ifdef CPU_MODEL_NRF52840XXAA
27
32
/* Taken from OpenWSN @32.768Hz */
33
#define PORT_maxTxDataPrepare (400/PORT_US_PER_TICK)
34
#define PORT_maxRxAckPrepare (400/PORT_US_PER_TICK)
35
#define PORT_maxRxDataPrepare (400/PORT_US_PER_TICK)
36
#define PORT_maxTxAckPrepare (400/PORT_US_PER_TICK)
37
/* Measured 220us */
38
#define PORT_delayTx (300/PORT_US_PER_TICK)
39
#define PORT_delayRx (150/PORT_US_PER_TICK)
40
41
#endif
42
43
#ifdef __cplusplus
44
}
45
#endif
46
47
#endif
/* OPENWSN_DEFS_H */
48
Generated on Tue Nov 24 2020 19:46:49 by
1.8.17