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.h File Reference</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');
@@ -102,19 +102,19 @@ $(function() {
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a6df21baf06b4a5392d95dd3cdde75d94"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="watch_8h.html#a6df21baf06b4a5392d95dd3cdde75d94">watch_is_buzzer_or_led_enabled</a> (void)</td></tr>
<tr class="memdesc:a6df21baf06b4a5392d95dd3cdde75d94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if either the buzzer or the LED driver is enabled. <a href="watch_8h.html#a6df21baf06b4a5392d95dd3cdde75d94">More...</a><br /></td></tr>
<tr class="memitem:a6df21baf06b4a5392d95dd3cdde75d94" id="r_a6df21baf06b4a5392d95dd3cdde75d94"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="watch_8h.html#a6df21baf06b4a5392d95dd3cdde75d94">watch_is_buzzer_or_led_enabled</a> (void)</td></tr>
<tr class="memdesc:a6df21baf06b4a5392d95dd3cdde75d94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if either the buzzer or the LED driver is enabled. <br /></td></tr>
<tr class="separator:a6df21baf06b4a5392d95dd3cdde75d94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1324426e2c366033abbb1b2e78b61305"><td class="memItemLeft" align="right" valign="top"><a id="a1324426e2c366033abbb1b2e78b61305" name="a1324426e2c366033abbb1b2e78b61305"></a>
<tr class="memitem:a1324426e2c366033abbb1b2e78b61305" id="r_a1324426e2c366033abbb1b2e78b61305"><td class="memItemLeft" align="right" valign="top"><a id="a1324426e2c366033abbb1b2e78b61305" name="a1324426e2c366033abbb1b2e78b61305"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>watch_is_usb_enabled</b> (void)</td></tr>
<tr class="memdesc:a1324426e2c366033abbb1b2e78b61305"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if USB is enabled. <br /></td></tr>
<tr class="separator:a1324426e2c366033abbb1b2e78b61305"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b79c545e0876aefdbd405d469ce27f4"><td class="memItemLeft" align="right" valign="top"><a id="a4b79c545e0876aefdbd405d469ce27f4" name="a4b79c545e0876aefdbd405d469ce27f4"></a>
<tr class="memitem:a4b79c545e0876aefdbd405d469ce27f4" id="r_a4b79c545e0876aefdbd405d469ce27f4"><td class="memItemLeft" align="right" valign="top"><a id="a4b79c545e0876aefdbd405d469ce27f4" name="a4b79c545e0876aefdbd405d469ce27f4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>watch_reset_to_bootloader</b> (void)</td></tr>
<tr class="memdesc:a4b79c545e0876aefdbd405d469ce27f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets in the UF2 bootloader mode. <br /></td></tr>
<tr class="separator:a4b79c545e0876aefdbd405d469ce27f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0c5d610f8b61891a7cf5fca2671b6f9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="watch_8h.html#aa0c5d610f8b61891a7cf5fca2671b6f9">read</a> (int file, char *ptr, int len)</td></tr>
<tr class="memdesc:aa0c5d610f8b61891a7cf5fca2671b6f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads up to len bytes from the USB serial. <a href="watch_8h.html#aa0c5d610f8b61891a7cf5fca2671b6f9">More...</a><br /></td></tr>
<tr class="memitem:aa0c5d610f8b61891a7cf5fca2671b6f9" id="r_aa0c5d610f8b61891a7cf5fca2671b6f9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="watch_8h.html#aa0c5d610f8b61891a7cf5fca2671b6f9">read</a> (int file, char *ptr, int len)</td></tr>
<tr class="memdesc:aa0c5d610f8b61891a7cf5fca2671b6f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads up to len bytes from the USB serial. <br /></td></tr>
<tr class="separator:aa0c5d610f8b61891a7cf5fca2671b6f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
@@ -180,14 +180,14 @@ void&#160;</td><td class="memItemRight" valign="bottom"><b>watch_reset_to_bootlo
</div><div class="memdoc">
<p>Returns true if either the buzzer or the LED driver is enabled. </p>
<p >Both the buzzer and the LED use the TCC peripheral to drive their behavior. This function returns true if that peripheral is enabled. You can use this function to determine whether you need to call the watch_disable_leds or or watch_enable_buzzer functions before using these peripherals. </p>
<p>Both the buzzer and the LED use the TCC peripheral to drive their behavior. This function returns true if that peripheral is enabled. You can use this function to determine whether you need to call the watch_disable_leds or or watch_enable_buzzer functions before using these peripherals. </p>
</div>
</div>
</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>