projects
/
my-code
/
arm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
code clean up!
[my-code/arm.git]
/
betty
/
betty.h
diff --git
a/betty/betty.h
b/betty/betty.h
index
dae3f0a
..
41b3687
100644
(file)
--- a/
betty/betty.h
+++ b/
betty/betty.h
@@
-15,9
+15,15
@@
// processor
#include "lpc2xxx.h"
// processor
#include "lpc2xxx.h"
+// types
+#include "types.h"
+
// api
// api
+#include "system.h"
+#include "uart.h"
#include "buttons.h"
#include "buttons.h"
-
+#include "spi.h"
+#include "display.h"
/*
* defines
/*
* defines
@@
-43,15
+49,6
@@
#define LCD_CMD (*((volatile unsigned char *)(BANK1)))
#define LCD_DATA (*((volatile unsigned char *)(BANK1+1)))
#define LCD_CMD (*((volatile unsigned char *)(BANK1)))
#define LCD_DATA (*((volatile unsigned char *)(BANK1+1)))
-/*
- * type definitions
- */
-
-typedef unsigned char u8;
-typedef unsigned short u16;
-typedef unsigned int u32;
-typedef unsigned long long int u64;
-
/*
* function prototypes
*/
/*
* function prototypes
*/