diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-08-16 12:19:09 -0230 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-08-16 12:19:09 -0230 |
| commit | 4a99ede565fa61005f2a6202669adaa87a8ce0ee (patch) | |
| tree | 472d4e45858d50b4f719591dc3666b5fdc129549 /sw/types.h | |
| parent | 31f8d3b1edbe9dd965dba663e40c62c336fe7ca9 (diff) | |
| download | can-gauge-interface-4a99ede565fa61005f2a6202669adaa87a8ce0ee.zip | |
spi and eeprom modules
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); |