aboutsummaryrefslogtreecommitdiffstats
path: root/fw/types.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-10-04 16:53:10 -0400
committerSam Anthony <sam@samanthony.xyz>2025-10-04 16:53:10 -0400
commit6c2055af79f8bae9123c18a0ac29a4582eaa90f4 (patch)
tree3e87750ce631924609a3a7e7573aa16d0856be49 /fw/types.h
parentb352376c93fbf38afcabb5da733df17dd924db30 (diff)
downloadcan-gauge-interface-6c2055af79f8bae9123c18a0ac29a4582eaa90f4.zip
CAN filter- and mask-setting functions
Diffstat (limited to 'fw/types.h')
-rw-r--r--fw/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fw/types.h b/fw/types.h
index 392c7cf..ccdf0ae 100644
--- a/fw/types.h
+++ b/fw/types.h
@@ -18,6 +18,9 @@ typedef struct {
U8 hi, lo;
} U16;
+// Little-endian 32-bit unsigned integer.
+typedef U8 U32[4];
+
// *a = *a+b
void addU16(U16 *a, U8 b);