diff options
Diffstat (limited to 'watch__buzzer_8h_source.html')
-rw-r--r-- | watch__buzzer_8h_source.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/watch__buzzer_8h_source.html b/watch__buzzer_8h_source.html index 5032c384..4c42966a 100644 --- a/watch__buzzer_8h_source.html +++ b/watch__buzzer_8h_source.html @@ -211,11 +211,21 @@ $(function() { <div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> </div> <div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span><span class="keyword">extern</span> <span class="keyword">const</span> uint16_t <a class="code hl_variable" href="group__buzzer.html#ga747b4014093d6a71b6d8fba2db41696b">NotePeriods</a>[108];</div> <div class="line"><a id="l00162" name="l00162"></a><span class="lineno"> 162</span> </div> -<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span><span class="preprocessor">#endif</span></div> +<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"><a class="line" href="group__buzzer.html#ga73713e47359708ef8eae50e8a505bf4b"> 176</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__buzzer.html#ga73713e47359708ef8eae50e8a505bf4b">watch_buzzer_play_sequence</a>(int8_t *note_sequence, <span class="keywordtype">void</span> (*callback_on_end)(<span class="keywordtype">void</span>));</div> +<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> </div> +<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"><a class="line" href="group__buzzer.html#ga73e7868fa41359376c9c4f9fd33aed7a"> 180</a></span><span class="keywordtype">void</span> <a class="code hl_function" href="group__buzzer.html#ga73e7868fa41359376c9c4f9fd33aed7a">watch_buzzer_abort_sequence</a>(<span class="keywordtype">void</span>);</div> +<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> </div> +<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span><span class="preprocessor">#ifndef __EMSCRIPTEN__</span></div> +<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span><span class="keywordtype">void</span> TC3_Handler(<span class="keywordtype">void</span>);</div> +<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span><span class="preprocessor">#endif</span></div> +<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> </div> +<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span><span class="preprocessor">#endif</span></div> <div class="ttc" id="agroup__buzzer_html_ga1b6ece8107c1f2bedf80d5584d204b80"><div class="ttname"><a href="group__buzzer.html#ga1b6ece8107c1f2bedf80d5584d204b80">watch_buzzer_play_note</a></div><div class="ttdeci">void watch_buzzer_play_note(BuzzerNote note, uint16_t duration_ms)</div><div class="ttdoc">Plays the given note for a set duration.</div></div> <div class="ttc" id="agroup__buzzer_html_ga1bb9e9b72fb691b87708ed14f79491d6"><div class="ttname"><a href="group__buzzer.html#ga1bb9e9b72fb691b87708ed14f79491d6">BuzzerNote</a></div><div class="ttdeci">BuzzerNote</div><div class="ttdoc">87 notes for use with watch_buzzer_play_note</div><div class="ttdef"><b>Definition:</b> watch_buzzer.h:61</div></div> <div class="ttc" id="agroup__buzzer_html_ga24cef76bc304371e7914c7c5bb579f93"><div class="ttname"><a href="group__buzzer.html#ga24cef76bc304371e7914c7c5bb579f93">watch_disable_buzzer</a></div><div class="ttdeci">void watch_disable_buzzer(void)</div><div class="ttdoc">Disables the TCC peripheral that drives the buzzer.</div></div> <div class="ttc" id="agroup__buzzer_html_ga6a2d48712d70aff4a1ab463afe6fdd98"><div class="ttname"><a href="group__buzzer.html#ga6a2d48712d70aff4a1ab463afe6fdd98">watch_set_buzzer_on</a></div><div class="ttdeci">void watch_set_buzzer_on(void)</div><div class="ttdoc">Turns the buzzer output on. It will emit a continuous sound at the given frequency.</div></div> +<div class="ttc" id="agroup__buzzer_html_ga73713e47359708ef8eae50e8a505bf4b"><div class="ttname"><a href="group__buzzer.html#ga73713e47359708ef8eae50e8a505bf4b">watch_buzzer_play_sequence</a></div><div class="ttdeci">void watch_buzzer_play_sequence(int8_t *note_sequence, void(*callback_on_end)(void))</div><div class="ttdoc">Plays the given sequence of notes in a non-blocking way.</div></div> +<div class="ttc" id="agroup__buzzer_html_ga73e7868fa41359376c9c4f9fd33aed7a"><div class="ttname"><a href="group__buzzer.html#ga73e7868fa41359376c9c4f9fd33aed7a">watch_buzzer_abort_sequence</a></div><div class="ttdeci">void watch_buzzer_abort_sequence(void)</div><div class="ttdoc">Aborts a playing sequence.</div></div> <div class="ttc" id="agroup__buzzer_html_ga747b4014093d6a71b6d8fba2db41696b"><div class="ttname"><a href="group__buzzer.html#ga747b4014093d6a71b6d8fba2db41696b">NotePeriods</a></div><div class="ttdeci">const uint16_t NotePeriods[108]</div><div class="ttdoc">An array of periods for all the notes on a piano, corresponding to the names in BuzzerNote.</div><div class="ttdef"><b>Definition:</b> watch_private_buzzer.c:28</div></div> <div class="ttc" id="agroup__buzzer_html_ga77f213418f48937de73bfe7ac5fc58c9"><div class="ttname"><a href="group__buzzer.html#ga77f213418f48937de73bfe7ac5fc58c9">watch_set_buzzer_period</a></div><div class="ttdeci">void watch_set_buzzer_period(uint32_t period)</div><div class="ttdoc">Sets the period of the buzzer.</div></div> <div class="ttc" id="agroup__buzzer_html_ga803568f5bc5f6b77ea9efa5299c6d9f4"><div class="ttname"><a href="group__buzzer.html#ga803568f5bc5f6b77ea9efa5299c6d9f4">watch_set_buzzer_off</a></div><div class="ttdeci">void watch_set_buzzer_off(void)</div><div class="ttdoc">Turns the buzzer output off.</div></div> |