add a new deep sleep mode alongside backup mode

This commit is contained in:
Joey Castillo
2021-09-18 12:57:21 -04:00
parent d97e74058f
commit 5ff4a88374
7 changed files with 137 additions and 37 deletions

View File

@@ -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.