This commit is contained in:
joeycastillo
2024-02-07 19:02:57 +00:00
parent cd62140803
commit 849ae6e1c4
103 changed files with 1303 additions and 985 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Sensor Watch: watch-library/shared/watch/watch_slcd.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
@@ -30,7 +30,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
@@ -47,6 +47,11 @@ $(function() {
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
@@ -106,6 +111,7 @@ $(function() {
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include &quot;<a class="code" href="watch_8h.html">watch.h</a>&quot;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
<div class="foldopen" id="foldopen00045" data-start="{" data-end="};">
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="group__slcd.html#ga37a28bfc539ea2bb83107d59f77b20d2"> 45</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="group__slcd.html#ga37a28bfc539ea2bb83107d59f77b20d2">WatchIndicatorSegment</a> {</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a827a013c00782a143f13a4f88ce50292"> 46</a></span> <a class="code hl_enumvalue" href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a827a013c00782a143f13a4f88ce50292">WATCH_INDICATOR_SIGNAL</a> = 0, </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a44727968b16d73ca11e3d19795085ee3"> 47</a></span> <a class="code hl_enumvalue" href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a44727968b16d73ca11e3d19795085ee3">WATCH_INDICATOR_BELL</a>, </div>
@@ -113,6 +119,7 @@ $(function() {
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2aee02426fe8a094a399fe93de2f354e48"> 49</a></span> <a class="code hl_enumvalue" href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2aee02426fe8a094a399fe93de2f354e48">WATCH_INDICATOR_24H</a>, </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <a class="code hl_enumvalue" href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a98d272d879d473fb507a9fc27b6741c6">WATCH_INDICATOR_LAP</a> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a98d272d879d473fb507a9fc27b6741c6"> 51</a></span>} <a class="code hl_enumeration" href="group__slcd.html#ga37a28bfc539ea2bb83107d59f77b20d2">WatchIndicatorSegment</a>;</div>
</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="group__slcd.html#ga0bb83dc413aeb321daef90d93f258033"> 56</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__slcd.html#ga0bb83dc413aeb321daef90d93f258033">watch_enable_display</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
@@ -144,32 +151,32 @@ $(function() {
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"> 145</span> </div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"><a class="line" href="group__slcd.html#gaf2c52b4430b4e78a066b3a2b104d142a"> 149</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__slcd.html#gaf2c52b4430b4e78a066b3a2b104d142a">watch_stop_tick_animation</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="agroup__slcd_html_ga021df8bd4ab27a78a812cbb0eadd26ee"><div class="ttname"><a href="group__slcd.html#ga021df8bd4ab27a78a812cbb0eadd26ee">watch_set_colon</a></div><div class="ttdeci">void watch_set_colon(void)</div><div class="ttdoc">Turns the colon segment on.</div><div class="ttdef"><b>Definition:</b> watch_private_display.c:140</div></div>
<div class="ttc" id="agroup__slcd_html_ga021df8bd4ab27a78a812cbb0eadd26ee"><div class="ttname"><a href="group__slcd.html#ga021df8bd4ab27a78a812cbb0eadd26ee">watch_set_colon</a></div><div class="ttdeci">void watch_set_colon(void)</div><div class="ttdoc">Turns the colon segment on.</div><div class="ttdef"><b>Definition</b> watch_private_display.c:140</div></div>
<div class="ttc" id="agroup__slcd_html_ga0bb83dc413aeb321daef90d93f258033"><div class="ttname"><a href="group__slcd.html#ga0bb83dc413aeb321daef90d93f258033">watch_enable_display</a></div><div class="ttdeci">void watch_enable_display(void)</div><div class="ttdoc">Enables the Segment LCD display. Call this before attempting to set pixels or display strings.</div></div>
<div class="ttc" id="agroup__slcd_html_ga1983cf1e6a7d8feb1c7193a182ff683d"><div class="ttname"><a href="group__slcd.html#ga1983cf1e6a7d8feb1c7193a182ff683d">watch_display_string</a></div><div class="ttdeci">void watch_display_string(char *string, uint8_t position)</div><div class="ttdoc">Displays a string at the given position, starting from the top left. There are ten digits....</div><div class="ttdef"><b>Definition:</b> watch_private_display.c:126</div></div>
<div class="ttc" id="agroup__slcd_html_ga1983cf1e6a7d8feb1c7193a182ff683d"><div class="ttname"><a href="group__slcd.html#ga1983cf1e6a7d8feb1c7193a182ff683d">watch_display_string</a></div><div class="ttdeci">void watch_display_string(char *string, uint8_t position)</div><div class="ttdoc">Displays a string at the given position, starting from the top left. There are ten digits....</div><div class="ttdef"><b>Definition</b> watch_private_display.c:126</div></div>
<div class="ttc" id="agroup__slcd_html_ga3764fb499e056f9a45588268f11be8a0"><div class="ttname"><a href="group__slcd.html#ga3764fb499e056f9a45588268f11be8a0">watch_tick_animation_is_running</a></div><div class="ttdeci">bool watch_tick_animation_is_running(void)</div><div class="ttdoc">Checks if the tick animation is currently running.</div></div>
<div class="ttc" id="agroup__slcd_html_ga37a28bfc539ea2bb83107d59f77b20d2"><div class="ttname"><a href="group__slcd.html#ga37a28bfc539ea2bb83107d59f77b20d2">WatchIndicatorSegment</a></div><div class="ttdeci">WatchIndicatorSegment</div><div class="ttdoc">An enum listing the icons and indicators available on the watch.</div><div class="ttdef"><b>Definition:</b> watch_slcd.h:45</div></div>
<div class="ttc" id="agroup__slcd_html_ga37a28bfc539ea2bb83107d59f77b20d2"><div class="ttname"><a href="group__slcd.html#ga37a28bfc539ea2bb83107d59f77b20d2">WatchIndicatorSegment</a></div><div class="ttdeci">WatchIndicatorSegment</div><div class="ttdoc">An enum listing the icons and indicators available on the watch.</div><div class="ttdef"><b>Definition</b> watch_slcd.h:45</div></div>
<div class="ttc" id="agroup__slcd_html_ga47948dc2c7490b698810ef9914507e08"><div class="ttname"><a href="group__slcd.html#ga47948dc2c7490b698810ef9914507e08">watch_set_pixel</a></div><div class="ttdeci">void watch_set_pixel(uint8_t com, uint8_t seg)</div><div class="ttdoc">Sets a pixel. Use this to manually set a pixel with a given common and segment number....</div></div>
<div class="ttc" id="agroup__slcd_html_ga4bc4ab63f3214f475f71ed8c758f9782"><div class="ttname"><a href="group__slcd.html#ga4bc4ab63f3214f475f71ed8c758f9782">watch_clear_colon</a></div><div class="ttdeci">void watch_clear_colon(void)</div><div class="ttdoc">Turns the colon segment off.</div><div class="ttdef"><b>Definition:</b> watch_private_display.c:144</div></div>
<div class="ttc" id="agroup__slcd_html_ga4bc4ab63f3214f475f71ed8c758f9782"><div class="ttname"><a href="group__slcd.html#ga4bc4ab63f3214f475f71ed8c758f9782">watch_clear_colon</a></div><div class="ttdeci">void watch_clear_colon(void)</div><div class="ttdoc">Turns the colon segment off.</div><div class="ttdef"><b>Definition</b> watch_private_display.c:144</div></div>
<div class="ttc" id="agroup__slcd_html_ga4c99ffbfa68aea0dce466db6e47879a5"><div class="ttname"><a href="group__slcd.html#ga4c99ffbfa68aea0dce466db6e47879a5">watch_start_character_blink</a></div><div class="ttdeci">void watch_start_character_blink(char character, uint32_t duration)</div><div class="ttdoc">Blinks a single character in position 7. Does not affect other positions.</div></div>
<div class="ttc" id="agroup__slcd_html_ga54ee46bb4eb85e136a05af499889f50e"><div class="ttname"><a href="group__slcd.html#ga54ee46bb4eb85e136a05af499889f50e">watch_clear_indicator</a></div><div class="ttdeci">void watch_clear_indicator(WatchIndicatorSegment indicator)</div><div class="ttdoc">Clears an indicator on the LCD. Use this to turn off one of the indicator segments.</div><div class="ttdef"><b>Definition:</b> watch_private_display.c:155</div></div>
<div class="ttc" id="agroup__slcd_html_ga54ee46bb4eb85e136a05af499889f50e"><div class="ttname"><a href="group__slcd.html#ga54ee46bb4eb85e136a05af499889f50e">watch_clear_indicator</a></div><div class="ttdeci">void watch_clear_indicator(WatchIndicatorSegment indicator)</div><div class="ttdoc">Clears an indicator on the LCD. Use this to turn off one of the indicator segments.</div><div class="ttdef"><b>Definition</b> watch_private_display.c:155</div></div>
<div class="ttc" id="agroup__slcd_html_ga5d29760dd0998de98f8578ed3de5b1e5"><div class="ttname"><a href="group__slcd.html#ga5d29760dd0998de98f8578ed3de5b1e5">watch_stop_blink</a></div><div class="ttdeci">void watch_stop_blink(void)</div><div class="ttdoc">Stops and clears all blinking segments.</div></div>
<div class="ttc" id="agroup__slcd_html_ga70918c1acc2ed21512b69b83397303a4"><div class="ttname"><a href="group__slcd.html#ga70918c1acc2ed21512b69b83397303a4">watch_start_tick_animation</a></div><div class="ttdeci">void watch_start_tick_animation(uint32_t duration)</div><div class="ttdoc">Begins a two-segment &quot;tick-tock&quot; animation in position 8.</div></div>
<div class="ttc" id="agroup__slcd_html_ga9e2bb1a59c0d8b38ee7e0ebbbd05b009"><div class="ttname"><a href="group__slcd.html#ga9e2bb1a59c0d8b38ee7e0ebbbd05b009">watch_clear_all_indicators</a></div><div class="ttdeci">void watch_clear_all_indicators(void)</div><div class="ttdoc">Clears all indicator segments.</div><div class="ttdef"><b>Definition:</b> watch_private_display.c:162</div></div>
<div class="ttc" id="agroup__slcd_html_gaa6640c8b372933de978e1066aed7e7fd"><div class="ttname"><a href="group__slcd.html#gaa6640c8b372933de978e1066aed7e7fd">watch_set_indicator</a></div><div class="ttdeci">void watch_set_indicator(WatchIndicatorSegment indicator)</div><div class="ttdoc">Sets an indicator on the LCD. Use this to turn on one of the indicator segments.</div><div class="ttdef"><b>Definition:</b> watch_private_display.c:148</div></div>
<div class="ttc" id="agroup__slcd_html_ga9e2bb1a59c0d8b38ee7e0ebbbd05b009"><div class="ttname"><a href="group__slcd.html#ga9e2bb1a59c0d8b38ee7e0ebbbd05b009">watch_clear_all_indicators</a></div><div class="ttdeci">void watch_clear_all_indicators(void)</div><div class="ttdoc">Clears all indicator segments.</div><div class="ttdef"><b>Definition</b> watch_private_display.c:162</div></div>
<div class="ttc" id="agroup__slcd_html_gaa6640c8b372933de978e1066aed7e7fd"><div class="ttname"><a href="group__slcd.html#gaa6640c8b372933de978e1066aed7e7fd">watch_set_indicator</a></div><div class="ttdeci">void watch_set_indicator(WatchIndicatorSegment indicator)</div><div class="ttdoc">Sets an indicator on the LCD. Use this to turn on one of the indicator segments.</div><div class="ttdef"><b>Definition</b> watch_private_display.c:148</div></div>
<div class="ttc" id="agroup__slcd_html_gabd583acd4aa18b6377478bf95bdac9b0"><div class="ttname"><a href="group__slcd.html#gabd583acd4aa18b6377478bf95bdac9b0">watch_clear_pixel</a></div><div class="ttdeci">void watch_clear_pixel(uint8_t com, uint8_t seg)</div><div class="ttdoc">Clears a pixel. Use this to manually clear a pixel with a given common and segment number....</div></div>
<div class="ttc" id="agroup__slcd_html_gad980e302e036abd7e26813de127139a4"><div class="ttname"><a href="group__slcd.html#gad980e302e036abd7e26813de127139a4">watch_clear_display</a></div><div class="ttdeci">void watch_clear_display(void)</div><div class="ttdoc">Clears all segments of the display, including incicators and the colon.</div></div>
<div class="ttc" id="agroup__slcd_html_gaf2c52b4430b4e78a066b3a2b104d142a"><div class="ttname"><a href="group__slcd.html#gaf2c52b4430b4e78a066b3a2b104d142a">watch_stop_tick_animation</a></div><div class="ttdeci">void watch_stop_tick_animation(void)</div><div class="ttdoc">Stops the tick/tock animation and clears all animating segments.</div></div>
<div class="ttc" id="agroup__slcd_html_gga37a28bfc539ea2bb83107d59f77b20d2a0d023567f536ace6ff82e5120729090f"><div class="ttname"><a href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a0d023567f536ace6ff82e5120729090f">WATCH_INDICATOR_PM</a></div><div class="ttdeci">@ WATCH_INDICATOR_PM</div><div class="ttdoc">The PM indicator, indicating that a time is in the afternoon.</div><div class="ttdef"><b>Definition:</b> watch_slcd.h:48</div></div>
<div class="ttc" id="agroup__slcd_html_gga37a28bfc539ea2bb83107d59f77b20d2a44727968b16d73ca11e3d19795085ee3"><div class="ttname"><a href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a44727968b16d73ca11e3d19795085ee3">WATCH_INDICATOR_BELL</a></div><div class="ttdeci">@ WATCH_INDICATOR_BELL</div><div class="ttdoc">The small bell indicating that an alarm is set.</div><div class="ttdef"><b>Definition:</b> watch_slcd.h:47</div></div>
<div class="ttc" id="agroup__slcd_html_gga37a28bfc539ea2bb83107d59f77b20d2a827a013c00782a143f13a4f88ce50292"><div class="ttname"><a href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a827a013c00782a143f13a4f88ce50292">WATCH_INDICATOR_SIGNAL</a></div><div class="ttdeci">@ WATCH_INDICATOR_SIGNAL</div><div class="ttdoc">The hourly signal indicator; also useful for indicating that sensors are on.</div><div class="ttdef"><b>Definition:</b> watch_slcd.h:46</div></div>
<div class="ttc" id="agroup__slcd_html_gga37a28bfc539ea2bb83107d59f77b20d2a98d272d879d473fb507a9fc27b6741c6"><div class="ttname"><a href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a98d272d879d473fb507a9fc27b6741c6">WATCH_INDICATOR_LAP</a></div><div class="ttdeci">@ WATCH_INDICATOR_LAP</div><div class="ttdoc">The LAP indicator; the F-91W uses this in its stopwatch UI.</div><div class="ttdef"><b>Definition:</b> watch_slcd.h:50</div></div>
<div class="ttc" id="agroup__slcd_html_gga37a28bfc539ea2bb83107d59f77b20d2aee02426fe8a094a399fe93de2f354e48"><div class="ttname"><a href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2aee02426fe8a094a399fe93de2f354e48">WATCH_INDICATOR_24H</a></div><div class="ttdeci">@ WATCH_INDICATOR_24H</div><div class="ttdoc">The 24H indicator, indicating that the watch is in a 24-hour mode.</div><div class="ttdef"><b>Definition:</b> watch_slcd.h:49</div></div>
<div class="ttc" id="agroup__slcd_html_gga37a28bfc539ea2bb83107d59f77b20d2a0d023567f536ace6ff82e5120729090f"><div class="ttname"><a href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a0d023567f536ace6ff82e5120729090f">WATCH_INDICATOR_PM</a></div><div class="ttdeci">@ WATCH_INDICATOR_PM</div><div class="ttdoc">The PM indicator, indicating that a time is in the afternoon.</div><div class="ttdef"><b>Definition</b> watch_slcd.h:48</div></div>
<div class="ttc" id="agroup__slcd_html_gga37a28bfc539ea2bb83107d59f77b20d2a44727968b16d73ca11e3d19795085ee3"><div class="ttname"><a href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a44727968b16d73ca11e3d19795085ee3">WATCH_INDICATOR_BELL</a></div><div class="ttdeci">@ WATCH_INDICATOR_BELL</div><div class="ttdoc">The small bell indicating that an alarm is set.</div><div class="ttdef"><b>Definition</b> watch_slcd.h:47</div></div>
<div class="ttc" id="agroup__slcd_html_gga37a28bfc539ea2bb83107d59f77b20d2a827a013c00782a143f13a4f88ce50292"><div class="ttname"><a href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a827a013c00782a143f13a4f88ce50292">WATCH_INDICATOR_SIGNAL</a></div><div class="ttdeci">@ WATCH_INDICATOR_SIGNAL</div><div class="ttdoc">The hourly signal indicator; also useful for indicating that sensors are on.</div><div class="ttdef"><b>Definition</b> watch_slcd.h:46</div></div>
<div class="ttc" id="agroup__slcd_html_gga37a28bfc539ea2bb83107d59f77b20d2a98d272d879d473fb507a9fc27b6741c6"><div class="ttname"><a href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2a98d272d879d473fb507a9fc27b6741c6">WATCH_INDICATOR_LAP</a></div><div class="ttdeci">@ WATCH_INDICATOR_LAP</div><div class="ttdoc">The LAP indicator; the F-91W uses this in its stopwatch UI.</div><div class="ttdef"><b>Definition</b> watch_slcd.h:50</div></div>
<div class="ttc" id="agroup__slcd_html_gga37a28bfc539ea2bb83107d59f77b20d2aee02426fe8a094a399fe93de2f354e48"><div class="ttname"><a href="group__slcd.html#gga37a28bfc539ea2bb83107d59f77b20d2aee02426fe8a094a399fe93de2f354e48">WATCH_INDICATOR_24H</a></div><div class="ttdeci">@ WATCH_INDICATOR_24H</div><div class="ttdoc">The 24H indicator, indicating that the watch is in a 24-hour mode.</div><div class="ttdef"><b>Definition</b> watch_slcd.h:49</div></div>
<div class="ttc" id="awatch_8h_html"><div class="ttname"><a href="watch_8h.html">watch.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>