Arduino LMIC
6.0.1
Arduino LoRaWAN(r) MAC in C
Loading...
Searching...
No Matches
oslmic_types.h
1
/*
2
3
Module: oslmic_types.h
4
5
Function:
6
Basic types from oslmic.h, shared by all layers.
7
8
Copyright & License:
9
See accompanying LICENSE file.
10
11
Author:
12
Terry Moore, MCCI November 2018
13
(based on oslmic.h from IBM).
14
15
*/
16
17
#ifndef _oslmic_types_h_
18
# define _oslmic_types_h_
19
20
#include <stdint.h>
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
//================================================================================
27
//================================================================================
28
// Target platform as C library
29
typedef
uint8_t bit_t;
30
typedef
uint8_t u1_t;
31
typedef
int8_t s1_t;
32
typedef
uint16_t u2_t;
33
typedef
int16_t s2_t;
34
typedef
uint32_t u4_t;
35
typedef
int32_t s4_t;
36
typedef
unsigned
int
uint;
37
typedef
const
char
* str_t;
38
39
typedef
const
u1_t* xref2cu1_t;
40
typedef
u1_t* xref2u1_t;
41
42
// the HAL needs to give us ticks, so it ought to know the right type.
43
typedef
s4_t ostime_t;
44
45
#ifdef __cplusplus
46
}
47
#endif
48
49
/* end of oslmic_types.h */
50
#endif
/* _oslmic_types_h_ */
src
lmic
oslmic_types.h
Generated on
for Arduino LMIC by
1.16.1