wimbeaumont Project / DevInterfaces

Dependents:   MCP23009tst AT30TSE752TST MCP4728setaddrProg mbedSerialInterface_talkback2 ... more

Revision:
7:b091a268b726
Parent:
5:b5c9eb2330dc
diff -r 93106e899445 -r b091a268b726 dev_interface_def.h
--- a/dev_interface_def.h	Mon Feb 19 15:25:23 2018 +0000
+++ b/dev_interface_def.h	Tue Sep 10 11:20:07 2019 +0000
@@ -1,6 +1,6 @@
 #ifndef device_interface_def_H
 #define device_interface_def_H
-
+#include <stdint.h>
 
 #define DEV_INTERFACE_DEF_VER "0.4"
 
@@ -8,13 +8,12 @@
     v 0.1  
     v 0.2   20170111 added int16_t  and uint16_t   added DEV_INTERFACE_DEF_VER
     v 0.4   20170111 added int8_t
+    v 0.5   20190909 added stdint.h , define the uxx  accordingly 
+                        removed uintx_t and uint8_t as these are definined in stdint.hardresume
 */
 
-typedef unsigned int  u32;
-typedef unsigned short int  u16;
-typedef unsigned short int  uint16_t;
-typedef signed char int8_t ;
-typedef short int  int16_t;
-typedef unsigned char u8;
-typedef unsigned char uint8_t;
+typedef uint32_t u32;
+typedef uint16_t u16;
+typedef uint8_t  u8;
+
 #endif
\ No newline at end of file