summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_i2c.h
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-09-18 12:57:21 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-09-18 14:50:20 -0400
commit5ff4a88374986f3e74dd17f2c17b8532c88debb1 (patch)
tree9fe6ce15403b5c53b1c7b3605067628799681b0a /watch-library/watch/watch_i2c.h
parentd97e74058f8b6a1c69d1da1c08176cb52ab2db24 (diff)
downloadSensor-Watch-5ff4a88374986f3e74dd17f2c17b8532c88debb1.tar.gz
Sensor-Watch-5ff4a88374986f3e74dd17f2c17b8532c88debb1.tar.bz2
Sensor-Watch-5ff4a88374986f3e74dd17f2c17b8532c88debb1.zip
add a new deep sleep mode alongside backup 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.