aboutsummaryrefslogtreecommitdiffstats
path: root/fw/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'fw/types.h')
-rw-r--r--fw/types.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/fw/types.h b/fw/types.h
new file mode 100644
index 0000000..22a651e
--- /dev/null
+++ b/fw/types.h
@@ -0,0 +1,16 @@
+/* Device: PIC16F1459
+ * Compiler: XC8 v3.00
+ *
+ * Usage:
+ *
+ * #include <stdint.h>
+ * #include "types.h"
+ */
+
+typedef uint8_t U8;
+
+typedef struct {
+ U8 lo, hi;
+} U16;
+
+void incU16(U16 *x);