CLEON  Version 1
Cloud-Offloaded GPS Receiver
sys_init.h
Go to the documentation of this file.
1 
7 #ifndef __SYS_INIT_H__
8 #define __SYS_INIT_H__
9 
10 #define SIZE_OF_HEADER_IN_BYTE 44
11 #define SIZE_OF_GPS_SIGANL_IN_BYTE 8184
12 #define SIZE_OF_SENSOR_DATA_IN_BYTE 8
13 
14 typedef union{
15  unsigned char ucSingleByte[4]; // 4 bytes
16  unsigned long ulOriginalVar; // 4 bytes
17 }signature_u; // 4 bytes
18 
19 typedef union{
20  unsigned char ucSingleByte[4]; // 4 bytes
21  unsigned long ulOriginalVar; // 4 bytes
22 }version_u; // 4 bytes
23 
24 typedef struct{
26  version_u uniVersion; // 4 bytes
33 }cleon_header_s;// 44 bytes
34 
35 typedef union{
37  unsigned char ucSingleBytes[44];
39 
40 void SYS_Init(void);
42 
43 #endif