aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/mod/main
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-25 13:44:32 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-25 13:44:32 +0200
commitf3e72c6e339eedc4ffac3a2f32cf6cbae7305ff0 (patch)
tree1828261839f17cfc7ed9b6564039d84fd7f37949 /lib/pbdrv/mod/main
parentcf55157e92ff82b96527bbb474b3a7df6abf6ac1 (diff)
pbdrv mod main stuff (???)
Diffstat (limited to 'lib/pbdrv/mod/main')
-rw-r--r--lib/pbdrv/mod/main/pb-mod-main.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/pbdrv/mod/main/pb-mod-main.h b/lib/pbdrv/mod/main/pb-mod-main.h
new file mode 100644
index 0000000..9c69c1d
--- /dev/null
+++ b/lib/pbdrv/mod/main/pb-mod-main.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include "../../pb-types.h"
+
+typedef struct {
+ i2c_addr_t mod_addr;
+ pb_global_state_t mod_state;
+} pb_mod_main_prop_mod_t;
+
+enum {
+ PB_MOD_MAIN_PROP_MODS = 0x00, //!< structured list of connected puzzle modules
+};
+