summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'watch-library/watch/watch_i2c.h')
-rw-r--r--watch-library/watch/watch_i2c.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/watch-library/watch/watch_i2c.h b/watch-library/watch/watch_i2c.h
index e944bbab..7ac05c13 100644
--- a/watch-library/watch/watch_i2c.h
+++ b/watch-library/watch/watch_i2c.h
@@ -33,6 +33,10 @@
*/
void watch_enable_i2c();
+/** @brief Disables the I2C peripheral.
+ */
+void watch_disable_i2c();
+
/** @brief Sends a series of values to a device on the I2C bus.
* @param addr The address of the device you wish to talk to.
* @param buf A series of unsigned bytes; the data you wish to transmit.