Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: MCP23009tst AT30TSE752TST MCP4728setaddrProg mbedSerialInterface_talkback2 ... more
Diff: dev_interface_def.h
- 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