00001
00013 #ifndef __SCEPTRE_H__
00014 #define __SCEPTRE_H__
00015
00016
00018 #include <stdint.h>
00019
00020
00021 #ifndef bool_t_defined
00022 typedef enum
00023 {
00024 false = 0,
00025 true
00026 }
00027 bool_t;
00028 #define bool_t_defined 1
00029 #endif
00030
00031
00032 #ifndef NULL
00033 #define NULL ((void *)0)
00034 #endif
00035
00036 #ifndef MIN
00037 #define MIN(x,y) ((x)<(y)?(x):(y))
00038 #endif
00039
00040 #ifndef MAX
00041 #define MAX(x,y) ((x)>(y)?(x):(y))
00042 #endif
00043
00044 #ifndef sizeof_array
00045 #define sizeof_array(x) ((sizeof(x))/(sizeof(x[0])))
00046 #endif
00047
00048
00049 #include "system/lpc214x.h"
00050 #include "system/target.h"
00051 #include "system/irq.h"
00052 #include "time/timer.h"
00053 #include "time/rtc.h"
00054 #include "uart/uart.h"
00055 #include "accelerometer/accelerometer.h"
00056 #include "accelerometer/accelerometer.h"
00057 #include "bluetooth/bluetooth.h"
00058
00059
00060 #ifndef __SKIP_FATFS__
00061 #include "filesystem/fatfs/ff.h"
00062 #include "filesystem/fatfs/diskio.h"
00063 #endif // __SKIP_FATFS__
00064
00065 #include "newlib/device.h"
00066 #include "thermometer/thermometer.h"
00067 #include "usb/usb_mass_storage.h"
00068
00069
00070 #endif // __SCEPTRE_H__