X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Farm.git;a=blobdiff_plain;f=betty%2Fbetty.h;fp=betty%2Fbetty.h;h=41b3687f507b144e9c61ef215b04090bba6b289a;hp=dae3f0a31c511907f98400ce779a2d9be27bf621;hb=b4ca71fc214ba3c58cec25661ba1f81cf7b1b871;hpb=d6814c7408b23db8a441f731b44d4b638df24c64 diff --git a/betty/betty.h b/betty/betty.h index dae3f0a..41b3687 100644 --- a/betty/betty.h +++ b/betty/betty.h @@ -15,9 +15,15 @@ // processor #include "lpc2xxx.h" +// types +#include "types.h" + // api +#include "system.h" +#include "uart.h" #include "buttons.h" - +#include "spi.h" +#include "display.h" /* * defines @@ -43,15 +49,6 @@ #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 */