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.
Diff: typedef.h
- Revision:
- 2:360f136fabaa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/typedef.h Mon Sep 16 11:40:39 2013 +0000
@@ -0,0 +1,28 @@
+#ifndef __TYPEDEF_H
+#define __TYPEDEF_H
+
+//##########################################################
+// def & enum
+//##########################################################
+enum {
+ OK = 0,
+ ERR = 0xEE,
+
+ INVALID = 0,
+ VALID = 1,
+
+ OFF = 0,
+ ON = 1
+};
+
+//##########################################################
+// typedef
+//##########################################################
+typedef unsigned char uchar;
+typedef signed char schar;
+typedef unsigned int uint;
+typedef signed long slong;
+typedef unsigned long ulong;
+
+
+#endif /* __TYPEDEF_H */