summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@users.noreply.github.com>2022-02-13 16:28:33 +0000
committerjoeycastillo <joeycastillo@users.noreply.github.com>2022-02-13 16:28:33 +0000
commitd821b24f90c867ced771d19fc6f971f25098138b (patch)
tree460b77158e0123797304402a1e2cba204247a493
parente2561cdff13cafa9d1bec75a4257b8c1dbeb48a6 (diff)
downloadSensor-Watch-d821b24f90c867ced771d19fc6f971f25098138b.tar.gz
Sensor-Watch-d821b24f90c867ced771d19fc6f971f25098138b.tar.bz2
Sensor-Watch-d821b24f90c867ced771d19fc6f971f25098138b.zip
deploy: df3db080219476a16e4231a03cad9e53af311fe4
-rw-r--r--group__deepsleep.html7
-rw-r--r--watch__deepsleep_8h_source.html24
2 files changed, 17 insertions, 14 deletions
diff --git a/group__deepsleep.html b/group__deepsleep.html
index bd48983d..fe727c11 100644
--- a/group__deepsleep.html
+++ b/group__deepsleep.html
@@ -178,7 +178,7 @@ Functions</h2></td></tr>
<p>enters Deep Sleep Mode by disabling all pins and peripherals except the RTC. </p>
<p >Short of BACKUP mode, this is the lowest power mode you can enter while retaining your application state (and the ability to wake with the alarm button). Just note that the display will be completely off, so you should document to the user of your application that they will need to press the alarm button to wake the device, or use a sensor board with support for an external wake pin.</p>
-<p >All notes from watch_enter_sleep_mode apply here, except for power consumption. You can estimate the power consumption of this mode to be on the order of 12 microwatts (about 4µA at 3 V). </p>
+<p >All notes from watch_enter_sleep_mode apply here, except for power consumption. You can estimate the power consumption of this mode to be on the order of 4µA at room temperature. </p>
</div>
</div>
@@ -201,7 +201,10 @@ Functions</h2></td></tr>
<p>enters Sleep Mode by disabling all pins and peripherals except the RTC and the LCD. </p>
<p >This sleep mode is not the lowest power mode available, but it has the benefit of allowing you to display a message to the user while asleep. You can also set an alarm interrupt to wake at a configfurable interval (every minute, hour or day) to update the display. You can wake from this mode by pressing the ALARM button, if you registered an extwake callback on the ALARM button. Also note that when your app wakes from this sleep mode, your app_setup method will be called again, since this function will have disabled things you set up there.</p>
<p >Note that to wake from either the ALARM button, the A2 interrupt or the A4 interrupt, you must first configure this by calling watch_register_extwake_callback.</p>
-<p >You can estimate the power consumption of this mode to be on the order of 30 microwatts (about 10 µA at 3 V). </p>
+<p >Power consumption depends on temperature, but as a rough estimate, this mode will consume:</p><ul>
+<li>6.0 ~ 7.5µA while at normal room temperatures</li>
+<li>9.5µA while worn on a wrist (temperature ≈ 31° C) </li>
+</ul>
</div>
</div>
diff --git a/watch__deepsleep_8h_source.html b/watch__deepsleep_8h_source.html
index e2b50fc2..8636c9b4 100644
--- a/watch__deepsleep_8h_source.html
+++ b/watch__deepsleep_8h_source.html
@@ -112,18 +112,18 @@ $(function() {
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="group__deepsleep.html#ga2de1f1012475654c4741f60808581196"> 106</a></span>uint32_t <a class="code hl_function" href="group__deepsleep.html#ga2de1f1012475654c4741f60808581196">watch_get_backup_data</a>(uint8_t reg);</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
-<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="group__deepsleep.html#ga9f7a625290748f0df6ba2ceb27e0d81b"> 122</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__deepsleep.html#ga9f7a625290748f0df6ba2ceb27e0d81b">watch_enter_sleep_mode</a>(<span class="keywordtype">void</span>);</div>
-<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> </div>
-<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="group__deepsleep.html#gaea469761889ff203385f3bfd88bb2451"> 134</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__deepsleep.html#gaea469761889ff203385f3bfd88bb2451">watch_enter_deep_sleep_mode</a>(<span class="keywordtype">void</span>);</div>
-<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"> 135</span> </div>
-<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="group__deepsleep.html#ga50dda38a8a83d7d957e3bb2bf13aa3ef"> 151</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__deepsleep.html#ga50dda38a8a83d7d957e3bb2bf13aa3ef">watch_enter_backup_mode</a>(<span class="keywordtype">void</span>);</div>
-<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> </div>
-<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span>__attribute__((deprecated(<span class="stringliteral">&quot;Use watch_enter_sleep_mode or watch_enter_deep_sleep_mode instead&quot;</span>)))</div>
-<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span>void watch_enter_shallow_sleep(<span class="keywordtype">bool</span> display_on);</div>
-<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> </div>
-<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span>__attribute__((deprecated(&quot;Use <a class="code hl_function" href="group__deepsleep.html#ga50dda38a8a83d7d957e3bb2bf13aa3ef">watch_enter_backup_mode</a> instead&quot;)))</div>
-<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span><span class="keywordtype">void</span> watch_enter_deep_sleep(<span class="keywordtype">void</span>);</div>
-<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span><span class="preprocessor">#endif</span></div>
+<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="group__deepsleep.html#ga9f7a625290748f0df6ba2ceb27e0d81b"> 123</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__deepsleep.html#ga9f7a625290748f0df6ba2ceb27e0d81b">watch_enter_sleep_mode</a>(<span class="keywordtype">void</span>);</div>
+<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> </div>
+<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="group__deepsleep.html#gaea469761889ff203385f3bfd88bb2451"> 135</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__deepsleep.html#gaea469761889ff203385f3bfd88bb2451">watch_enter_deep_sleep_mode</a>(<span class="keywordtype">void</span>);</div>
+<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> </div>
+<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="group__deepsleep.html#ga50dda38a8a83d7d957e3bb2bf13aa3ef"> 152</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__deepsleep.html#ga50dda38a8a83d7d957e3bb2bf13aa3ef">watch_enter_backup_mode</a>(<span class="keywordtype">void</span>);</div>
+<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> </div>
+<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span>__attribute__((deprecated(<span class="stringliteral">&quot;Use watch_enter_sleep_mode or watch_enter_deep_sleep_mode instead&quot;</span>)))</div>
+<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span>void watch_enter_shallow_sleep(<span class="keywordtype">bool</span> display_on);</div>
+<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> </div>
+<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span>__attribute__((deprecated(&quot;Use <a class="code hl_function" href="group__deepsleep.html#ga50dda38a8a83d7d957e3bb2bf13aa3ef">watch_enter_backup_mode</a> instead&quot;)))</div>
+<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span><span class="keywordtype">void</span> watch_enter_deep_sleep(<span class="keywordtype">void</span>);</div>
+<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="agroup__deepsleep_html_ga2de1f1012475654c4741f60808581196"><div class="ttname"><a href="group__deepsleep.html#ga2de1f1012475654c4741f60808581196">watch_get_backup_data</a></div><div class="ttdeci">uint32_t watch_get_backup_data(uint8_t reg)</div><div class="ttdoc">Gets 32 bits of data from the RTC's BACKUP register.</div></div>
<div class="ttc" id="agroup__deepsleep_html_ga385b36922ec76c5fe697772f97a05846"><div class="ttname"><a href="group__deepsleep.html#ga385b36922ec76c5fe697772f97a05846">watch_store_backup_data</a></div><div class="ttdeci">void watch_store_backup_data(uint32_t data, uint8_t reg)</div><div class="ttdoc">Stores data in one of the RTC's backup registers, which retain their data in BACKUP mode.</div></div>
<div class="ttc" id="agroup__deepsleep_html_ga50dda38a8a83d7d957e3bb2bf13aa3ef"><div class="ttname"><a href="group__deepsleep.html#ga50dda38a8a83d7d957e3bb2bf13aa3ef">watch_enter_backup_mode</a></div><div class="ttdeci">void watch_enter_backup_mode(void)</div><div class="ttdoc">Enters the SAM L22's lowest-power mode, BACKUP.</div></div>