CLEON
Version 1
Cloud-Offloaded GPS Receiver
Main Page
Related Pages
Data Structures
Files
File List
Globals
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
{
25
signature_u
uniSignature
;
// 4 bytes
26
version_u
uniVersion
;
// 4 bytes
27
milliseoncd_time_tick_u
uniMillisecondTimeTick
;
// 8 bytes
28
receiver_setting_s
stReceiverSetting
;
// 12 bytes
29
chunk_count_u
uniChunkCount
;
// 4 bytes
30
chunk_size_ms_u
uniChunkSizeMS
;
// 4 bytes
31
chunk_gap_ms_u
uniChunkGapMS
;
// 4 bytes
32
gps_signal_data_format_u
uniGPSSignalDataFormat
;
// 4 bytes
33
}
cleon_header_s
;
// 44 bytes
34
35
typedef
union
{
36
cleon_header_s
stCLEONHeader
;
37
unsigned
char
ucSingleBytes[44];
38
}
cleon_header_u
;
39
40
void
SYS_Init
(
void
);
41
void
SYS_InitCLEONDataStructure
(
void
);
42
43
#endif
sys
sys_init.h
Generated on Tue May 28 2013 15:17:19 for CLEON by
1.8.2