EFR32 Flex Gecko 13 Software Documentation
efr32fg13-doc-5.1.2
Main Page
Modules
Files
Documentation Home
silabs.com
File List
si114x_types.h
Go to the documentation of this file.
1
/*************************************************************************/
27
#ifndef SI114X_TYPES
28
#define SI114X_TYPES
29
30
/***************************************************************************/
35
/***************************************************************************/
40
#include "stdint.h"
41
42
#ifdef __cplusplus
43
extern
"C"
{
44
#endif
45
47
typedef
signed
char
s8
;
48
typedef
signed
short
s16
;
49
typedef
signed
int
s32
;
50
typedef
unsigned
char
u8
;
51
typedef
unsigned
short
u16
;
52
typedef
unsigned
int
u32
;
53
54
typedef
signed
char
S8;
55
typedef
signed
short
S16;
56
typedef
signed
int
S32;
57
typedef
unsigned
char
U8;
58
typedef
unsigned
short
U16;
59
typedef
unsigned
int
U32;
60
61
typedef
void
* HANDLE;
62
typedef
char
* STRING;
63
typedef
s16 PT_RESULT;
64
typedef
s8 PT_BOOL;
66
67
/**************************************************************************/
90
typedef
struct
91
{
92
uint16_t
sequence
;
93
uint16_t
timestamp
;
94
uint8_t
pad
;
95
uint8_t
irqstat
;
96
uint16_t
vis
;
97
uint16_t
ir
;
98
uint16_t
ps1
;
99
uint16_t
ps2
;
100
uint16_t
ps3
;
101
uint16_t
aux
;
102
}
SI114X_IRQ_SAMPLE
;
103
105
#define code
106
#define xdata
107
108
typedef
union
uu16
109
{
110
u16
u16
;
111
s16
s16
;
112
u8 u8[2];
113
s8 s8[2];
114
} uu16;
115
116
typedef
union
uu32
117
{
118
u32
u32
;
119
s32
s32
;
120
uu16 uu16[2];
121
u16 u16[2];
122
s16 s16[2];
123
u8 u8[4];
124
s8 s8[4];
125
126
} uu32;
127
128
typedef
char
BIT;
129
130
#ifndef TRUE
131
#define TRUE 0xff
132
#endif
133
134
#ifndef FALSE
135
#define FALSE 0
136
#endif
137
138
#ifndef NULL
139
#define NULL 0
140
#endif
141
143
144
#ifdef __cplusplus
145
}
146
#endif
147
151
#endif
SI114X_IRQ_SAMPLE::irqstat
uint8_t irqstat
Definition:
si114x_types.h:95
SI114X_IRQ_SAMPLE
Si114x Sample Data Structure.
Definition:
si114x_types.h:90
SI114X_IRQ_SAMPLE::vis
uint16_t vis
Definition:
si114x_types.h:96
u16
unsigned short int u16
Definition:
bmp280.h:283
SI114X_IRQ_SAMPLE::pad
uint8_t pad
Definition:
si114x_types.h:94
SI114X_IRQ_SAMPLE::ps3
uint16_t ps3
Definition:
si114x_types.h:100
u32
unsigned int u32
Definition:
bmp280.h:284
s32
signed int s32
Definition:
bmp280.h:278
SI114X_IRQ_SAMPLE::aux
uint16_t aux
Definition:
si114x_types.h:101
SI114X_IRQ_SAMPLE::sequence
uint16_t sequence
Definition:
si114x_types.h:92
s16
signed short int s16
Definition:
bmp280.h:277
u8
unsigned char u8
Definition:
bmp280.h:282
SI114X_IRQ_SAMPLE::ir
uint16_t ir
Definition:
si114x_types.h:97
SI114X_IRQ_SAMPLE::timestamp
uint16_t timestamp
Definition:
si114x_types.h:93
SI114X_IRQ_SAMPLE::ps1
uint16_t ps1
Definition:
si114x_types.h:98
SI114X_IRQ_SAMPLE::ps2
uint16_t ps2
Definition:
si114x_types.h:99
s8
signed char s8
Definition:
bmp280.h:276
hardware
kit
common
drivers
si114x_types.h
Generated on Thu Mar 9 2017 20:41:24 for EFR32 Flex Gecko 13 Software Documentation by
1.8.10