CLEON  Version 1
Cloud-Offloaded GPS Receiver
sys_define.h
Go to the documentation of this file.
1 
7 #ifndef __SYS_DEFINE_H__
8 #define __SYS_DEFINE_H__
9 
10 /*----------------------------------------------------------------------------*/
11 /* User defined headers */
12 #include "sys_mcu.h"
13 #include "sys_usb.h"
14 #include "sys_gps.h"
15 #include "sys_power.h"
16 #include "sys_flash.h"
17 #include "sys_sensors.h"
18 #include "sys_mmc.h"
19 #include "sys_init.h"
20 
21 /*----------------------------------------------------------------------------*/
22 /* General definition */
23 #define _TRUE_ 1
24 #define _FALSE_ 0
25 
26 #define _SUCCESS_ 1
27 #define _FAIL_ 0
28 
29 #define _ENABLE_ 1
30 #define _DISABLE_ 0
31 
32 #define _SET_ 1
33 #define _CLEAR_ 0
34 
35 #define _HIGH_ 1
36 #define _LOW_ 0
37 
38 #define _ON_ 1
39 #define _OFF_ 0
40 
41 #define _ERROR_ 1
42 #define _OK_ 0
43 
44 #define _MASTER_ 1
45 #define _SLAVE_ 0
46 
47 #define _MSB_ 1
48 #define _LSB_ 0
49 
50 #define _MCLK_ 2
51 #define _SMCLK_ 1
52 #define _ACLK_ 0
53 
54 #endif