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.
typedef.h@2:360f136fabaa, 2013-09-16 (annotated)
- Committer:
- akouz
- Date:
- Mon Sep 16 11:40:39 2013 +0000
- Revision:
- 2:360f136fabaa
"HelloWorld" on top of an simple cooperative operating system COOS
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| akouz | 2:360f136fabaa | 1 | #ifndef __TYPEDEF_H |
| akouz | 2:360f136fabaa | 2 | #define __TYPEDEF_H |
| akouz | 2:360f136fabaa | 3 | |
| akouz | 2:360f136fabaa | 4 | //########################################################## |
| akouz | 2:360f136fabaa | 5 | // def & enum |
| akouz | 2:360f136fabaa | 6 | //########################################################## |
| akouz | 2:360f136fabaa | 7 | enum { |
| akouz | 2:360f136fabaa | 8 | OK = 0, |
| akouz | 2:360f136fabaa | 9 | ERR = 0xEE, |
| akouz | 2:360f136fabaa | 10 | |
| akouz | 2:360f136fabaa | 11 | INVALID = 0, |
| akouz | 2:360f136fabaa | 12 | VALID = 1, |
| akouz | 2:360f136fabaa | 13 | |
| akouz | 2:360f136fabaa | 14 | OFF = 0, |
| akouz | 2:360f136fabaa | 15 | ON = 1 |
| akouz | 2:360f136fabaa | 16 | }; |
| akouz | 2:360f136fabaa | 17 | |
| akouz | 2:360f136fabaa | 18 | //########################################################## |
| akouz | 2:360f136fabaa | 19 | // typedef |
| akouz | 2:360f136fabaa | 20 | //########################################################## |
| akouz | 2:360f136fabaa | 21 | typedef unsigned char uchar; |
| akouz | 2:360f136fabaa | 22 | typedef signed char schar; |
| akouz | 2:360f136fabaa | 23 | typedef unsigned int uint; |
| akouz | 2:360f136fabaa | 24 | typedef signed long slong; |
| akouz | 2:360f136fabaa | 25 | typedef unsigned long ulong; |
| akouz | 2:360f136fabaa | 26 | |
| akouz | 2:360f136fabaa | 27 | |
| akouz | 2:360f136fabaa | 28 | #endif /* __TYPEDEF_H */ |