aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/i2c_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/i2c_private.h')
-rw-r--r--libmaple/i2c_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmaple/i2c_private.h b/libmaple/i2c_private.h
index 4a0f01f..05a293c 100644
--- a/libmaple/i2c_private.h
+++ b/libmaple/i2c_private.h
@@ -43,4 +43,8 @@ struct i2c_dev;
void _i2c_irq_handler(struct i2c_dev *dev);
void _i2c_irq_error_handler(struct i2c_dev *dev);
+/* Auxiliary procedure for enabling an I2C peripheral; `flags' as for
+ * i2c_master_enable(). */
+void _i2c_set_ccr_trise(i2c_dev *dev, uint32 flags);
+
#endif /* _LIBMAPLE_I2C_PRIVATE_H_ */