From ed394ab71f6f612b27ef8dd30c5559ebd6c1527e Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Wed, 11 Jan 2023 20:26:52 +0000 Subject: deploy: 47812f462d275ff62e3796d4064cdac66772f6c9 --- watch__buzzer_8h_source.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'watch__buzzer_8h_source.html') 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() {
159
161extern const uint16_t NotePeriods[108];
162
-
164#endif
+
176void watch_buzzer_play_sequence(int8_t *note_sequence, void (*callback_on_end)(void));
+
177
+
180void watch_buzzer_abort_sequence(void);
+
181
+
182#ifndef __EMSCRIPTEN__
+
183void TC3_Handler(void);
+
184#endif
+
185
+
187#endif
void watch_buzzer_play_note(BuzzerNote note, uint16_t duration_ms)
Plays the given note for a set duration.
BuzzerNote
87 notes for use with watch_buzzer_play_note
Definition: watch_buzzer.h:61
void watch_disable_buzzer(void)
Disables the TCC peripheral that drives the buzzer.
void watch_set_buzzer_on(void)
Turns the buzzer output on. It will emit a continuous sound at the given frequency.
+
void watch_buzzer_play_sequence(int8_t *note_sequence, void(*callback_on_end)(void))
Plays the given sequence of notes in a non-blocking way.
+
void watch_buzzer_abort_sequence(void)
Aborts a playing sequence.
const uint16_t NotePeriods[108]
An array of periods for all the notes on a piano, corresponding to the names in BuzzerNote.
Definition: watch_private_buzzer.c:28
void watch_set_buzzer_period(uint32_t period)
Sets the period of the buzzer.
void watch_set_buzzer_off(void)
Turns the buzzer output off.
-- cgit v1.2.3