diff options
author | joeycastillo <joeycastillo@users.noreply.github.com> | 2021-12-21 16:06:31 +0000 |
---|---|---|
committer | joeycastillo <joeycastillo@users.noreply.github.com> | 2021-12-21 16:06:31 +0000 |
commit | 57a9736ad0dd6d45a9a311a2ee44952bd220b851 (patch) | |
tree | 6d40c7c098784898333252d3f3fc5d609b7dfebd /watch_8h.html | |
parent | 46c14a44e8e889bbdd317895492b70b179070441 (diff) | |
download | Sensor-Watch-57a9736ad0dd6d45a9a311a2ee44952bd220b851.tar.gz Sensor-Watch-57a9736ad0dd6d45a9a311a2ee44952bd220b851.tar.bz2 Sensor-Watch-57a9736ad0dd6d45a9a311a2ee44952bd220b851.zip |
deploy: 4862472d1d8b9ea0bb8888965500f7372b4c5bfe
Diffstat (limited to 'watch_8h.html')
-rw-r--r-- | watch_8h.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/watch_8h.html b/watch_8h.html index 5a00d3b0..947cc85a 100644 --- a/watch_8h.html +++ b/watch_8h.html @@ -96,6 +96,9 @@ Functions</h2></td></tr> <tr class="memitem:a16023aa6b668de61af59b40b2bee5d1d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="watch_8h.html#a16023aa6b668de61af59b40b2bee5d1d">watch_is_battery_low</a> (void)</td></tr> <tr class="memdesc:a16023aa6b668de61af59b40b2bee5d1d"><td class="mdescLeft"> </td><td class="mdescRight">Returns true when the battery voltage dips below 2.5V. <a href="watch_8h.html#a16023aa6b668de61af59b40b2bee5d1d">More...</a><br /></td></tr> <tr class="separator:a16023aa6b668de61af59b40b2bee5d1d"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a6df21baf06b4a5392d95dd3cdde75d94"><td class="memItemLeft" align="right" valign="top">bool </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"> </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="separator:a6df21baf06b4a5392d95dd3cdde75d94"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a id="a16023aa6b668de61af59b40b2bee5d1d"></a> @@ -119,6 +122,27 @@ Functions</h2></td></tr> </div> </div> +<a id="a6df21baf06b4a5392d95dd3cdde75d94"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a6df21baf06b4a5392d95dd3cdde75d94">◆ </a></span>watch_is_buzzer_or_led_enabled()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">bool watch_is_buzzer_or_led_enabled </td> + <td>(</td> + <td class="paramtype">void </td> + <td class="paramname"></td><td>)</td> + <td></td> + </tr> + </table> +</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> + +</div> +</div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> |