aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/i2c.h
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2012-02-24 17:14:50 -0800
committerPiotr Esden-Tempski2012-02-24 17:14:50 -0800
commit2b3f07ee08c722f28cbf480dbcc5276707f78ec4 (patch)
treecb880905323f0db331c467c02885ac68648f3d72 /include/libopencm3/stm32/i2c.h
parentcbef43ddd830bd3292b05d12fe4a3f7e6c0b7a17 (diff)
Added reset function to i2c convenience functions.
Diffstat (limited to 'include/libopencm3/stm32/i2c.h')
-rw-r--r--include/libopencm3/stm32/i2c.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/i2c.h b/include/libopencm3/stm32/i2c.h
index 1cb9a14..cd25243 100644
--- a/include/libopencm3/stm32/i2c.h
+++ b/include/libopencm3/stm32/i2c.h
@@ -316,6 +316,7 @@
/* --- I2C funtion prototypes----------------------------------------------- */
+void i2c_reset(u32 i2c);
void i2c_peripheral_enable(u32 i2c);
void i2c_peripheral_disable(u32 i2c);
void i2c_send_start(u32 i2c);