fork

Dependencies:   mbed

Fork of LG by igor Apu

Revision:
55:f5115c2193d5
Parent:
0:8ad47e2b6f00
Child:
57:6c968a11dce3
--- a/uart_m.h	Fri Feb 12 04:20:22 2016 +0000
+++ b/uart_m.h	Sun Feb 14 06:46:40 2016 +0000
@@ -18,12 +18,13 @@
 #define PortDirEUART3 LPC_GPIO0->FIODIR
 #define PinEUART3 		1UL << 24
 
-
-
-
-
-
-
+//Use typedef instead of separate data
+#define IOBufferSize 		1024
+typedef struct _IOCyclicBuffer {
+	char buffer[IOBufferSize];
+	int start; //first byte position
+	int end;   //last byte position
+} IOCyclicBuffer;
 
 
 void UART0_Init (void);