summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-08-08 15:14:36 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-08-08 15:14:36 -0400
commitca96db1ef5729b8b14d5964acbf5eed7b34e1b29 (patch)
treec3e0ab27650cdaaa9bc8d992c511719142bcc678
parentac7807d9f562925402a6ae40ecc9d2d3b074dcb8 (diff)
downloadSensor-Watch-ca96db1ef5729b8b14d5964acbf5eed7b34e1b29.tar.gz
Sensor-Watch-ca96db1ef5729b8b14d5964acbf5eed7b34e1b29.tar.bz2
Sensor-Watch-ca96db1ef5729b8b14d5964acbf5eed7b34e1b29.zip
add link to errata
-rw-r--r--watch-library/watch/watch.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/watch-library/watch/watch.h b/watch-library/watch/watch.h
index 2c3f9fad..43f582a3 100644
--- a/watch-library/watch/watch.h
+++ b/watch-library/watch/watch.h
@@ -428,12 +428,13 @@ uint32_t watch_get_backup_data(uint8_t reg);
* Waking from backup is effectively like waking from reset, except that your @ref
* app_wake_from_deep_sleep function will be called.
* @warning In initial testing, it seems like the ALARM_BTN pin (PA02 RTC/IN2) cannot wake the device
- from deep sleep mode. There is an errata note (Reference: 15010, linked) that says that
- due to a silicon bug, PB01 cannot be used as RTC/IN2. It seems though that this bug may
- also affect PA02. As a result — and I'm very bummed about this — you cannot use deep sleep
- mode unless you set up an external wake interrupt using a device on the nine-pin connector
- (i.e. an accelerometer with an interrupt pin). Otherwise your only option for waking will
- be to unscrew the watch case and press the reset button on the back of the board.
+ * from deep sleep mode. There is an errata note (Reference: 15010, linked) that says that
+ * due to a silicon bug, PB01 cannot be used as RTC/IN2. It seems though that this bug may
+ * also affect PA02. As a result — and I'm very bummed about this — you cannot use deep sleep
+ * mode unless you set up an external wake interrupt using a device on the nine-pin connector
+ * (i.e. an accelerometer with an interrupt pin). Otherwise your only option for waking will
+ * be to unscrew the watch case and press the reset button on the back of the board.
+ * http://ww1.microchip.com/downloads/en/DeviceDoc/SAM_L22_Family_Errata_DS80000782B.pdf
*/
void watch_enter_deep_sleep();
/// @}