summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/i2c.h')
-rw-r--r--stmhal/i2c.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/stmhal/i2c.h b/stmhal/i2c.h
new file mode 100644
index 0000000000..32cba42595
--- /dev/null
+++ b/stmhal/i2c.h
@@ -0,0 +1,6 @@
+extern I2C_HandleTypeDef I2cHandle_X;
+extern I2C_HandleTypeDef I2cHandle_Y;
+extern const mp_obj_type_t pyb_i2c_type;
+
+void i2c_init(void);
+void i2c_start(I2C_HandleTypeDef *i2c_handle);