aboutsummaryrefslogtreecommitdiff
path: root/lib/pbdrv/drv/rp2040/pb-mod.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pbdrv/drv/rp2040/pb-mod.h')
-rw-r--r--lib/pbdrv/drv/rp2040/pb-mod.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/pbdrv/drv/rp2040/pb-mod.h b/lib/pbdrv/drv/rp2040/pb-mod.h
new file mode 100644
index 0000000..96edc70
--- /dev/null
+++ b/lib/pbdrv/drv/rp2040/pb-mod.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * \ingroup pb_drv_rp2040
+ * \brief Puzzle bus driver setup
+ *
+ * This function must be called from a setup/init function to initialize the
+ * I2C peripherals used by this driver.
+ */
+void pb_setup();
+
+#ifdef __cplusplus
+}
+#endif
+
+#include "../../pb-mod.h"
+