CLEON  Version 1
Cloud-Offloaded GPS Receiver
hal_define.h
Go to the documentation of this file.
1 
7 #ifndef __HAL_DEFINE_H__
8 #define __HAL_DEFINE_H__
9 
10 /*----------------------------------------------------------------------------*/
11 /* IAR compiler specific headers */
12 #include "intrinsics.h"
13 #include "msp430.h"
14 
15 /*----------------------------------------------------------------------------*/
16 /* Standard C headers */
17 #include <stdarg.h>
18 #include <stdlib.h>
19 #include <stdbool.h>
20 #include <stdio.h>
21 #include <math.h>
22 #include <stdint.h>
23 #include <string.h>
24 #include <ctype.h>
25 
26 /*----------------------------------------------------------------------------*/
27 /* User defined headers */
28 #include "hal_init.h"
29 #include "hal_wdt.h"
30 #include "hal_ucs.h"
31 #include "hal_uart.h"
32 #include "hal_dma.h"
33 #include "hal_rtc.h"
34 #include "hal_gpio.h"
35 #include "hal_flash.h"
36 #include "hal_timer.h"
37 #include "hal_adc.h"
38 #include "hal_spi.h"
39 #include "hal_pmm.h"
40 
41 /*----------------------------------------------------------------------------*/
42 /* Macros */
43 #define BV(bit) (1 << (bit))
44 #define st(x) do { x } while (__LINE__ == -1);
45 #define bin(a,b,c,d,e,f,g,h) ((a<<7)|(b<<6)|(c<<5)|(d<<4)|(e<<3)|(f<<2)|(g<<1)|(h<<0));
46 
47 #endif