diff options
Diffstat (limited to 'sw/types.h')
| -rw-r--r-- | sw/types.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sw/types.h b/sw/types.h new file mode 100644 index 0000000..ba56050 --- /dev/null +++ b/sw/types.h @@ -0,0 +1,13 @@ +/* Usage: + * + * #include <stdint.h> + * #include "types.h" + */ + +typedef uint8_t U8; + +typedef struct { + U8 lo, hi; +} U16; + +void incU16(U16 *x); |