From 5ff4a88374986f3e74dd17f2c17b8532c88debb1 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Sat, 18 Sep 2021 12:57:21 -0400 Subject: add a new deep sleep mode alongside backup mode --- watch-library/watch/watch_i2c.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'watch-library/watch/watch_i2c.h') 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. -- cgit v1.2.3