1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Sensor Watch: Buzzer</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">Sensor Watch<span id="projectnumber"> 0.0.1</span>
</div>
<div id="projectbrief">A board replacement for the classic Casio F-91W wristwatch, powered by a Microchip SAM L22 microcontroller.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.3 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#typedef-members">Typedefs</a> |
<a href="#enum-members">Enumerations</a> |
<a href="#func-members">Functions</a> |
<a href="#var-members">Variables</a> </div>
<div class="headertitle"><div class="title">Buzzer</div></div>
</div><!--header-->
<div class="contents">
<p>This section covers functions related to the piezo buzzer embedded in the F-91W's back plate.
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gafa12cf05739781d774798dab6b8a3fed"><td class="memItemLeft" align="right" valign="top"><a id="gafa12cf05739781d774798dab6b8a3fed" name="gafa12cf05739781d774798dab6b8a3fed"></a>
typedef enum <a class="el" href="group__buzzer.html#ga1bb9e9b72fb691b87708ed14f79491d6">BuzzerNote</a> </td><td class="memItemRight" valign="bottom"><b>BuzzerNote</b></td></tr>
<tr class="memdesc:gafa12cf05739781d774798dab6b8a3fed"><td class="mdescLeft"> </td><td class="mdescRight">87 notes for use with watch_buzzer_play_note <br /></td></tr>
<tr class="separator:gafa12cf05739781d774798dab6b8a3fed"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga1bb9e9b72fb691b87708ed14f79491d6"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="group__buzzer.html#ga1bb9e9b72fb691b87708ed14f79491d6">BuzzerNote</a> { <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6afb838bfe650cefe4cfb356acd995a0ab">BUZZER_NOTE_A1</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6aa0d6d561d6ec68cf2fcdfc662e289d">BUZZER_NOTE_A1SHARP_B1FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a15d132d03442fb7ef68c79a2ea51a03d">BUZZER_NOTE_B1</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a42510194448233844fe941d63583e465">BUZZER_NOTE_C2</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a526a5e7540fec69ede0d7cc019b27232">BUZZER_NOTE_C2SHARP_D2FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aced82af34813168c3ba664193f6e8119">BUZZER_NOTE_D2</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6abf3f3771b6213da95cda4b304180ec9a">BUZZER_NOTE_D2SHARP_E2FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aaa310b469856dcd58e99f77986ce2b2b">BUZZER_NOTE_E2</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a9cc61d7954c7061d75bdf37ff8c752e1">BUZZER_NOTE_F2</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6abc554a8d93518ec83b4c920ccd5aa447">BUZZER_NOTE_F2SHARP_G2FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aec4bcc4bec80db3d64c3391db7edd1c3">BUZZER_NOTE_G2</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a9e8b9512cd736c66c5c1fd275fbb6e0f">BUZZER_NOTE_G2SHARP_A2FLAT</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aa65b1ecb7a62f745465dd341c35aff3e">BUZZER_NOTE_A2</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6e1c28d05df3eedfac981a2da1e49be9">BUZZER_NOTE_A2SHARP_B2FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a4da4372f5404e78b8d9efec023e3a8d6">BUZZER_NOTE_B2</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6acc53dc03a87cd2685eba65f50d78a7fb">BUZZER_NOTE_C3</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ac00de40ddb3b88af0909b3651e29fd08">BUZZER_NOTE_C3SHARP_D3FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a68efc589cfd823c2f4d5711db9940935">BUZZER_NOTE_D3</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6af1aed83c22e09ed6b24da4c1f4bac8f0">BUZZER_NOTE_D3SHARP_E3FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0b3434b807be2a43e547f5ac5abc0ad1">BUZZER_NOTE_E3</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6af540f4c703b9602b2bbcfc87b3815f30">BUZZER_NOTE_F3</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0604e943a79ddc1da00c9702fa4f424a">BUZZER_NOTE_F3SHARP_G3FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ab78e96eaf196b10ea5f673502a035dcd">BUZZER_NOTE_G3</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a23098056c21bc85f54d103d0512fcb31">BUZZER_NOTE_G3SHARP_A3FLAT</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8a6bece5281a583f2e22c14d1c8617f1">BUZZER_NOTE_A3</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a66ab13f3ca039caae7d7bc9f88466bdc">BUZZER_NOTE_A3SHARP_B3FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aee12ae9357fa73f3739053ae66291f56">BUZZER_NOTE_B3</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a9beadf96bfaed65246f61f11e44d8115">BUZZER_NOTE_C4</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a52807e5115c73087801ae19400435086">BUZZER_NOTE_C4SHARP_D4FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a5f71c43c1f4c98c385ad4571d50dca53">BUZZER_NOTE_D4</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a3e4854fa8f4113e8716e0d9fd13699a2">BUZZER_NOTE_D4SHARP_E4FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a2bf817cf9bfeb3e4735cd25e98810e6c">BUZZER_NOTE_E4</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae1909f19a0e2712081ef9869d041ef31">BUZZER_NOTE_F4</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aa7f6139d251888ec06ba41b5d0e07086">BUZZER_NOTE_F4SHARP_G4FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a18f205be114424d28e6cd009f52e3ff8">BUZZER_NOTE_G4</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6943445315c16460ad8226c337ce80b8">BUZZER_NOTE_G4SHARP_A4FLAT</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6f77c28a116f31e2c09641f9b24e26a5">BUZZER_NOTE_A4</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a93bff0ab33c2d95301fd68c5940e0e23">BUZZER_NOTE_A4SHARP_B4FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8e554627b82718d302141ff21761180a">BUZZER_NOTE_B4</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae692ccbfe3b845d6f7ef47fa00dc7fb3">BUZZER_NOTE_C5</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8f523953b899d2f0a4b238388ba24f96">BUZZER_NOTE_C5SHARP_D5FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a6c1db9b5c52360e78fcab4769fdecebd">BUZZER_NOTE_D5</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a67235ce0f70b6a19e2d2e85fa782966b">BUZZER_NOTE_D5SHARP_E5FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6abdcc76d81804c4f246cb8492f8aaf431">BUZZER_NOTE_E5</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a520b4ccbf94e5ccb1374eb8457df5f77">BUZZER_NOTE_F5</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a7642b3e8121832fbb3f63b1b9519b838">BUZZER_NOTE_F5SHARP_G5FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae68836e0be8fcad26734b9f2d9481f2e">BUZZER_NOTE_G5</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a65296207f5b7e99a41176830cc81dd8c">BUZZER_NOTE_G5SHARP_A5FLAT</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8f1785f768faf95b68603b9ad4842de7">BUZZER_NOTE_A5</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a5e22350698cb4f47b0f86985359a8c57">BUZZER_NOTE_A5SHARP_B5FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a04d424219333aa1fac0cae7de68d94d4">BUZZER_NOTE_B5</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a23be129ddebefc138f7e17d9b1a149f5">BUZZER_NOTE_C6</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a79ac8c470462646fd9abb06c21a35af2">BUZZER_NOTE_C6SHARP_D6FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0c7b8f7d40c17383206711ea62671f2f">BUZZER_NOTE_D6</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a023e51a47ee6b030ebbeeaa6d669889f">BUZZER_NOTE_D6SHARP_E6FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a24bb6ca4bccedcf1b86853730ae9815c">BUZZER_NOTE_E6</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a99351c6be75c0a687e8d9afaa6028aae">BUZZER_NOTE_F6</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a8d5e673d7246a98638d236fd0e65bdb0">BUZZER_NOTE_F6SHARP_G6FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a5d998c6bc00b76857c81c1fa19ac2bd2">BUZZER_NOTE_G6</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aff2cf4fccda5e09c77a6f1aeeee50849">BUZZER_NOTE_G6SHARP_A6FLAT</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ad65f009cb2724296dc84ded01df601db">BUZZER_NOTE_A6</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a535918417144d5def0b514e00afede5d">BUZZER_NOTE_A6SHARP_B6FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a389ae13e26d89dbe2a811deb7f58ed80">BUZZER_NOTE_B6</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a9580b4cd5f44e70b86ba49ffcd2d8569">BUZZER_NOTE_C7</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a1fb53bd8fe32b3ba14024839e6522908">BUZZER_NOTE_C7SHARP_D7FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a702f5911dc2baf7c542072abac9970f0">BUZZER_NOTE_D7</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a24d5bce8eb78d22e39c5dc4117540542">BUZZER_NOTE_D7SHARP_E7FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a2b60be48ea6333e6a8e88a2743e79392">BUZZER_NOTE_E7</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a7deb6305d4d6b565d50e3462483a4d90">BUZZER_NOTE_F7</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6af86ab662181bc5288789d6b272c07a6b">BUZZER_NOTE_F7SHARP_G7FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a66b1e9a10a75da4aa194555ac0e6ecbd">BUZZER_NOTE_G7</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6afab169ac4c7f142fdf5f96361f23579a">BUZZER_NOTE_G7SHARP_A7FLAT</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae648ffdcdca18cb0d7d11132824a07b1">BUZZER_NOTE_A7</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a7cb85b523319365d9de40a4283c72aab">BUZZER_NOTE_A7SHARP_B7FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a1e4df83378edcdacfbb177f0f9b91629">BUZZER_NOTE_B7</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a07c7bd4fc0230296cdd073af361a2e2b">BUZZER_NOTE_C8</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ac05b42c11b114f0cbe8f1e456704dc67">BUZZER_NOTE_C8SHARP_D8FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ad2d4eb2c5b96529006db88a713039894">BUZZER_NOTE_D8</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a3a80021428f24fc29b714b768e8a27e2">BUZZER_NOTE_D8SHARP_E8FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ac162a6c798724f15602aa5cd93ede615">BUZZER_NOTE_E8</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0019fe1785c3b63973ed0298d5ae4bb5">BUZZER_NOTE_F8</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ade5bb5ae6ca75a3b438b7fe70fe7d6a5">BUZZER_NOTE_F8SHARP_G8FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a5ea3a5a1985ccdf22065c4b49b9b0d5c">BUZZER_NOTE_G8</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6af85b8ab1194b403b84f7a7d99ac63436">BUZZER_NOTE_G8SHARP_A8FLAT</a>
, <br />
  <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6aa3f3f368ade28922f6e127b048586681">BUZZER_NOTE_A8</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6ae1ac67083c01b61055db1856f8dc78d6">BUZZER_NOTE_A8SHARP_B8FLAT</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a0821aede51092e8a91d0ff6079041d20">BUZZER_NOTE_B8</a>
, <a class="el" href="group__buzzer.html#gga1bb9e9b72fb691b87708ed14f79491d6a38cc9db9a774f5e8f78b26a95f9020ad">BUZZER_NOTE_REST</a>
<br />
}</td></tr>
<tr class="memdesc:ga1bb9e9b72fb691b87708ed14f79491d6"><td class="mdescLeft"> </td><td class="mdescRight">87 notes for use with watch_buzzer_play_note <a href="group__buzzer.html#ga1bb9e9b72fb691b87708ed14f79491d6">More...</a><br /></td></tr>
<tr class="separator:ga1bb9e9b72fb691b87708ed14f79491d6"><td class="memSeparator" colspan="2"> </td></tr>
</table><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:ga84d2f603c4f87f2199ebc102439fb204"><td class="memItemLeft" align="right" valign="top"><a id="ga84d2f603c4f87f2199ebc102439fb204" name="ga84d2f603c4f87f2199ebc102439fb204"></a>
void </td><td class="memItemRight" valign="bottom"><b>watch_enable_buzzer</b> (void)</td></tr>
<tr class="memdesc:ga84d2f603c4f87f2199ebc102439fb204"><td class="mdescLeft"> </td><td class="mdescRight">Enables the TCC peripheral, which drives the buzzer. <br /></td></tr>
<tr class="separator:ga84d2f603c4f87f2199ebc102439fb204"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga77f213418f48937de73bfe7ac5fc58c9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__buzzer.html#ga77f213418f48937de73bfe7ac5fc58c9">watch_set_buzzer_period</a> (uint32_t period)</td></tr>
<tr class="memdesc:ga77f213418f48937de73bfe7ac5fc58c9"><td class="mdescLeft"> </td><td class="mdescRight">Sets the period of the buzzer. <a href="group__buzzer.html#ga77f213418f48937de73bfe7ac5fc58c9">More...</a><br /></td></tr>
<tr class="separator:ga77f213418f48937de73bfe7ac5fc58c9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga24cef76bc304371e7914c7c5bb579f93"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__buzzer.html#ga24cef76bc304371e7914c7c5bb579f93">watch_disable_buzzer</a> (void)</td></tr>
<tr class="memdesc:ga24cef76bc304371e7914c7c5bb579f93"><td class="mdescLeft"> </td><td class="mdescRight">Disables the TCC peripheral that drives the buzzer. <a href="group__buzzer.html#ga24cef76bc304371e7914c7c5bb579f93">More...</a><br /></td></tr>
<tr class="separator:ga24cef76bc304371e7914c7c5bb579f93"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga6a2d48712d70aff4a1ab463afe6fdd98"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__buzzer.html#ga6a2d48712d70aff4a1ab463afe6fdd98">watch_set_buzzer_on</a> (void)</td></tr>
<tr class="memdesc:ga6a2d48712d70aff4a1ab463afe6fdd98"><td class="mdescLeft"> </td><td class="mdescRight">Turns the buzzer output on. It will emit a continuous sound at the given frequency. <a href="group__buzzer.html#ga6a2d48712d70aff4a1ab463afe6fdd98">More...</a><br /></td></tr>
<tr class="separator:ga6a2d48712d70aff4a1ab463afe6fdd98"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga803568f5bc5f6b77ea9efa5299c6d9f4"><td class="memItemLeft" align="right" valign="top"><a id="ga803568f5bc5f6b77ea9efa5299c6d9f4" name="ga803568f5bc5f6b77ea9efa5299c6d9f4"></a>
void </td><td class="memItemRight" valign="bottom"><b>watch_set_buzzer_off</b> (void)</td></tr>
<tr class="memdesc:ga803568f5bc5f6b77ea9efa5299c6d9f4"><td class="mdescLeft"> </td><td class="mdescRight">Turns the buzzer output off. <br /></td></tr>
<tr class="separator:ga803568f5bc5f6b77ea9efa5299c6d9f4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga1b6ece8107c1f2bedf80d5584d204b80"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__buzzer.html#ga1b6ece8107c1f2bedf80d5584d204b80">watch_buzzer_play_note</a> (<a class="el" href="group__buzzer.html#ga1bb9e9b72fb691b87708ed14f79491d6">BuzzerNote</a> note, uint16_t duration_ms)</td></tr>
<tr class="memdesc:ga1b6ece8107c1f2bedf80d5584d204b80"><td class="mdescLeft"> </td><td class="mdescRight">Plays the given note for a set duration. <a href="group__buzzer.html#ga1b6ece8107c1f2bedf80d5584d204b80">More...</a><br /></td></tr>
<tr class="separator:ga1b6ece8107c1f2bedf80d5584d204b80"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga747b4014093d6a71b6d8fba2db41696b"><td class="memItemLeft" align="right" valign="top"><a id="ga747b4014093d6a71b6d8fba2db41696b" name="ga747b4014093d6a71b6d8fba2db41696b"></a>
const uint16_t </td><td class="memItemRight" valign="bottom"><b>NotePeriods</b> [108]</td></tr>
<tr class="memdesc:ga747b4014093d6a71b6d8fba2db41696b"><td class="mdescLeft"> </td><td class="mdescRight">An array of periods for all the notes on a piano, corresponding to the names in BuzzerNote. <br /></td></tr>
<tr class="separator:ga747b4014093d6a71b6d8fba2db41696b"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p >This section covers functions related to the piezo buzzer embedded in the F-91W's back plate. </p>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ga1bb9e9b72fb691b87708ed14f79491d6" name="ga1bb9e9b72fb691b87708ed14f79491d6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1bb9e9b72fb691b87708ed14f79491d6">◆ </a></span>BuzzerNote</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="group__buzzer.html#ga1bb9e9b72fb691b87708ed14f79491d6">BuzzerNote</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>87 notes for use with watch_buzzer_play_note </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6afb838bfe650cefe4cfb356acd995a0ab" name="gga1bb9e9b72fb691b87708ed14f79491d6afb838bfe650cefe4cfb356acd995a0ab"></a>BUZZER_NOTE_A1 </td><td class="fielddoc"><p >55.00 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a6aa0d6d561d6ec68cf2fcdfc662e289d" name="gga1bb9e9b72fb691b87708ed14f79491d6a6aa0d6d561d6ec68cf2fcdfc662e289d"></a>BUZZER_NOTE_A1SHARP_B1FLAT </td><td class="fielddoc"><p >58.27 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a15d132d03442fb7ef68c79a2ea51a03d" name="gga1bb9e9b72fb691b87708ed14f79491d6a15d132d03442fb7ef68c79a2ea51a03d"></a>BUZZER_NOTE_B1 </td><td class="fielddoc"><p >61.74 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a42510194448233844fe941d63583e465" name="gga1bb9e9b72fb691b87708ed14f79491d6a42510194448233844fe941d63583e465"></a>BUZZER_NOTE_C2 </td><td class="fielddoc"><p >65.41 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a526a5e7540fec69ede0d7cc019b27232" name="gga1bb9e9b72fb691b87708ed14f79491d6a526a5e7540fec69ede0d7cc019b27232"></a>BUZZER_NOTE_C2SHARP_D2FLAT </td><td class="fielddoc"><p >69.30 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6aced82af34813168c3ba664193f6e8119" name="gga1bb9e9b72fb691b87708ed14f79491d6aced82af34813168c3ba664193f6e8119"></a>BUZZER_NOTE_D2 </td><td class="fielddoc"><p >73.42 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6abf3f3771b6213da95cda4b304180ec9a" name="gga1bb9e9b72fb691b87708ed14f79491d6abf3f3771b6213da95cda4b304180ec9a"></a>BUZZER_NOTE_D2SHARP_E2FLAT </td><td class="fielddoc"><p >77.78 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6aaa310b469856dcd58e99f77986ce2b2b" name="gga1bb9e9b72fb691b87708ed14f79491d6aaa310b469856dcd58e99f77986ce2b2b"></a>BUZZER_NOTE_E2 </td><td class="fielddoc"><p >82.41 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a9cc61d7954c7061d75bdf37ff8c752e1" name="gga1bb9e9b72fb691b87708ed14f79491d6a9cc61d7954c7061d75bdf37ff8c752e1"></a>BUZZER_NOTE_F2 </td><td class="fielddoc"><p >87.31 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6abc554a8d93518ec83b4c920ccd5aa447" name="gga1bb9e9b72fb691b87708ed14f79491d6abc554a8d93518ec83b4c920ccd5aa447"></a>BUZZER_NOTE_F2SHARP_G2FLAT </td><td class="fielddoc"><p >92.50 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6aec4bcc4bec80db3d64c3391db7edd1c3" name="gga1bb9e9b72fb691b87708ed14f79491d6aec4bcc4bec80db3d64c3391db7edd1c3"></a>BUZZER_NOTE_G2 </td><td class="fielddoc"><p >98.00 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a9e8b9512cd736c66c5c1fd275fbb6e0f" name="gga1bb9e9b72fb691b87708ed14f79491d6a9e8b9512cd736c66c5c1fd275fbb6e0f"></a>BUZZER_NOTE_G2SHARP_A2FLAT </td><td class="fielddoc"><p >103.83 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6aa65b1ecb7a62f745465dd341c35aff3e" name="gga1bb9e9b72fb691b87708ed14f79491d6aa65b1ecb7a62f745465dd341c35aff3e"></a>BUZZER_NOTE_A2 </td><td class="fielddoc"><p >110.00 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a6e1c28d05df3eedfac981a2da1e49be9" name="gga1bb9e9b72fb691b87708ed14f79491d6a6e1c28d05df3eedfac981a2da1e49be9"></a>BUZZER_NOTE_A2SHARP_B2FLAT </td><td class="fielddoc"><p >116.54 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a4da4372f5404e78b8d9efec023e3a8d6" name="gga1bb9e9b72fb691b87708ed14f79491d6a4da4372f5404e78b8d9efec023e3a8d6"></a>BUZZER_NOTE_B2 </td><td class="fielddoc"><p >123.47 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6acc53dc03a87cd2685eba65f50d78a7fb" name="gga1bb9e9b72fb691b87708ed14f79491d6acc53dc03a87cd2685eba65f50d78a7fb"></a>BUZZER_NOTE_C3 </td><td class="fielddoc"><p >130.81 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6ac00de40ddb3b88af0909b3651e29fd08" name="gga1bb9e9b72fb691b87708ed14f79491d6ac00de40ddb3b88af0909b3651e29fd08"></a>BUZZER_NOTE_C3SHARP_D3FLAT </td><td class="fielddoc"><p >138.59 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a68efc589cfd823c2f4d5711db9940935" name="gga1bb9e9b72fb691b87708ed14f79491d6a68efc589cfd823c2f4d5711db9940935"></a>BUZZER_NOTE_D3 </td><td class="fielddoc"><p >146.83 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6af1aed83c22e09ed6b24da4c1f4bac8f0" name="gga1bb9e9b72fb691b87708ed14f79491d6af1aed83c22e09ed6b24da4c1f4bac8f0"></a>BUZZER_NOTE_D3SHARP_E3FLAT </td><td class="fielddoc"><p >155.56 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a0b3434b807be2a43e547f5ac5abc0ad1" name="gga1bb9e9b72fb691b87708ed14f79491d6a0b3434b807be2a43e547f5ac5abc0ad1"></a>BUZZER_NOTE_E3 </td><td class="fielddoc"><p >164.81 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6af540f4c703b9602b2bbcfc87b3815f30" name="gga1bb9e9b72fb691b87708ed14f79491d6af540f4c703b9602b2bbcfc87b3815f30"></a>BUZZER_NOTE_F3 </td><td class="fielddoc"><p >174.61 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a0604e943a79ddc1da00c9702fa4f424a" name="gga1bb9e9b72fb691b87708ed14f79491d6a0604e943a79ddc1da00c9702fa4f424a"></a>BUZZER_NOTE_F3SHARP_G3FLAT </td><td class="fielddoc"><p >185.00 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6ab78e96eaf196b10ea5f673502a035dcd" name="gga1bb9e9b72fb691b87708ed14f79491d6ab78e96eaf196b10ea5f673502a035dcd"></a>BUZZER_NOTE_G3 </td><td class="fielddoc"><p >196.00 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a23098056c21bc85f54d103d0512fcb31" name="gga1bb9e9b72fb691b87708ed14f79491d6a23098056c21bc85f54d103d0512fcb31"></a>BUZZER_NOTE_G3SHARP_A3FLAT </td><td class="fielddoc"><p >207.65 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a8a6bece5281a583f2e22c14d1c8617f1" name="gga1bb9e9b72fb691b87708ed14f79491d6a8a6bece5281a583f2e22c14d1c8617f1"></a>BUZZER_NOTE_A3 </td><td class="fielddoc"><p >220.00 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a66ab13f3ca039caae7d7bc9f88466bdc" name="gga1bb9e9b72fb691b87708ed14f79491d6a66ab13f3ca039caae7d7bc9f88466bdc"></a>BUZZER_NOTE_A3SHARP_B3FLAT </td><td class="fielddoc"><p >233.08 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6aee12ae9357fa73f3739053ae66291f56" name="gga1bb9e9b72fb691b87708ed14f79491d6aee12ae9357fa73f3739053ae66291f56"></a>BUZZER_NOTE_B3 </td><td class="fielddoc"><p >246.94 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a9beadf96bfaed65246f61f11e44d8115" name="gga1bb9e9b72fb691b87708ed14f79491d6a9beadf96bfaed65246f61f11e44d8115"></a>BUZZER_NOTE_C4 </td><td class="fielddoc"><p >261.63 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a52807e5115c73087801ae19400435086" name="gga1bb9e9b72fb691b87708ed14f79491d6a52807e5115c73087801ae19400435086"></a>BUZZER_NOTE_C4SHARP_D4FLAT </td><td class="fielddoc"><p >277.18 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a5f71c43c1f4c98c385ad4571d50dca53" name="gga1bb9e9b72fb691b87708ed14f79491d6a5f71c43c1f4c98c385ad4571d50dca53"></a>BUZZER_NOTE_D4 </td><td class="fielddoc"><p >293.66 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a3e4854fa8f4113e8716e0d9fd13699a2" name="gga1bb9e9b72fb691b87708ed14f79491d6a3e4854fa8f4113e8716e0d9fd13699a2"></a>BUZZER_NOTE_D4SHARP_E4FLAT </td><td class="fielddoc"><p >311.13 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a2bf817cf9bfeb3e4735cd25e98810e6c" name="gga1bb9e9b72fb691b87708ed14f79491d6a2bf817cf9bfeb3e4735cd25e98810e6c"></a>BUZZER_NOTE_E4 </td><td class="fielddoc"><p >329.63 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6ae1909f19a0e2712081ef9869d041ef31" name="gga1bb9e9b72fb691b87708ed14f79491d6ae1909f19a0e2712081ef9869d041ef31"></a>BUZZER_NOTE_F4 </td><td class="fielddoc"><p >349.23 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6aa7f6139d251888ec06ba41b5d0e07086" name="gga1bb9e9b72fb691b87708ed14f79491d6aa7f6139d251888ec06ba41b5d0e07086"></a>BUZZER_NOTE_F4SHARP_G4FLAT </td><td class="fielddoc"><p >369.99 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a18f205be114424d28e6cd009f52e3ff8" name="gga1bb9e9b72fb691b87708ed14f79491d6a18f205be114424d28e6cd009f52e3ff8"></a>BUZZER_NOTE_G4 </td><td class="fielddoc"><p >392.00 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a6943445315c16460ad8226c337ce80b8" name="gga1bb9e9b72fb691b87708ed14f79491d6a6943445315c16460ad8226c337ce80b8"></a>BUZZER_NOTE_G4SHARP_A4FLAT </td><td class="fielddoc"><p >415.30 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a6f77c28a116f31e2c09641f9b24e26a5" name="gga1bb9e9b72fb691b87708ed14f79491d6a6f77c28a116f31e2c09641f9b24e26a5"></a>BUZZER_NOTE_A4 </td><td class="fielddoc"><p >440.00 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a93bff0ab33c2d95301fd68c5940e0e23" name="gga1bb9e9b72fb691b87708ed14f79491d6a93bff0ab33c2d95301fd68c5940e0e23"></a>BUZZER_NOTE_A4SHARP_B4FLAT </td><td class="fielddoc"><p >466.16 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a8e554627b82718d302141ff21761180a" name="gga1bb9e9b72fb691b87708ed14f79491d6a8e554627b82718d302141ff21761180a"></a>BUZZER_NOTE_B4 </td><td class="fielddoc"><p >493.88 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6ae692ccbfe3b845d6f7ef47fa00dc7fb3" name="gga1bb9e9b72fb691b87708ed14f79491d6ae692ccbfe3b845d6f7ef47fa00dc7fb3"></a>BUZZER_NOTE_C5 </td><td class="fielddoc"><p >523.25 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a8f523953b899d2f0a4b238388ba24f96" name="gga1bb9e9b72fb691b87708ed14f79491d6a8f523953b899d2f0a4b238388ba24f96"></a>BUZZER_NOTE_C5SHARP_D5FLAT </td><td class="fielddoc"><p >554.37 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a6c1db9b5c52360e78fcab4769fdecebd" name="gga1bb9e9b72fb691b87708ed14f79491d6a6c1db9b5c52360e78fcab4769fdecebd"></a>BUZZER_NOTE_D5 </td><td class="fielddoc"><p >587.33 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a67235ce0f70b6a19e2d2e85fa782966b" name="gga1bb9e9b72fb691b87708ed14f79491d6a67235ce0f70b6a19e2d2e85fa782966b"></a>BUZZER_NOTE_D5SHARP_E5FLAT </td><td class="fielddoc"><p >622.25 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6abdcc76d81804c4f246cb8492f8aaf431" name="gga1bb9e9b72fb691b87708ed14f79491d6abdcc76d81804c4f246cb8492f8aaf431"></a>BUZZER_NOTE_E5 </td><td class="fielddoc"><p >659.25 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a520b4ccbf94e5ccb1374eb8457df5f77" name="gga1bb9e9b72fb691b87708ed14f79491d6a520b4ccbf94e5ccb1374eb8457df5f77"></a>BUZZER_NOTE_F5 </td><td class="fielddoc"><p >698.46 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a7642b3e8121832fbb3f63b1b9519b838" name="gga1bb9e9b72fb691b87708ed14f79491d6a7642b3e8121832fbb3f63b1b9519b838"></a>BUZZER_NOTE_F5SHARP_G5FLAT </td><td class="fielddoc"><p >739.99 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6ae68836e0be8fcad26734b9f2d9481f2e" name="gga1bb9e9b72fb691b87708ed14f79491d6ae68836e0be8fcad26734b9f2d9481f2e"></a>BUZZER_NOTE_G5 </td><td class="fielddoc"><p >783.99 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a65296207f5b7e99a41176830cc81dd8c" name="gga1bb9e9b72fb691b87708ed14f79491d6a65296207f5b7e99a41176830cc81dd8c"></a>BUZZER_NOTE_G5SHARP_A5FLAT </td><td class="fielddoc"><p >830.61 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a8f1785f768faf95b68603b9ad4842de7" name="gga1bb9e9b72fb691b87708ed14f79491d6a8f1785f768faf95b68603b9ad4842de7"></a>BUZZER_NOTE_A5 </td><td class="fielddoc"><p >880.00 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a5e22350698cb4f47b0f86985359a8c57" name="gga1bb9e9b72fb691b87708ed14f79491d6a5e22350698cb4f47b0f86985359a8c57"></a>BUZZER_NOTE_A5SHARP_B5FLAT </td><td class="fielddoc"><p >932.33 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a04d424219333aa1fac0cae7de68d94d4" name="gga1bb9e9b72fb691b87708ed14f79491d6a04d424219333aa1fac0cae7de68d94d4"></a>BUZZER_NOTE_B5 </td><td class="fielddoc"><p >987.77 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a23be129ddebefc138f7e17d9b1a149f5" name="gga1bb9e9b72fb691b87708ed14f79491d6a23be129ddebefc138f7e17d9b1a149f5"></a>BUZZER_NOTE_C6 </td><td class="fielddoc"><p >1046.50 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a79ac8c470462646fd9abb06c21a35af2" name="gga1bb9e9b72fb691b87708ed14f79491d6a79ac8c470462646fd9abb06c21a35af2"></a>BUZZER_NOTE_C6SHARP_D6FLAT </td><td class="fielddoc"><p >1108.73 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a0c7b8f7d40c17383206711ea62671f2f" name="gga1bb9e9b72fb691b87708ed14f79491d6a0c7b8f7d40c17383206711ea62671f2f"></a>BUZZER_NOTE_D6 </td><td class="fielddoc"><p >1174.66 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a023e51a47ee6b030ebbeeaa6d669889f" name="gga1bb9e9b72fb691b87708ed14f79491d6a023e51a47ee6b030ebbeeaa6d669889f"></a>BUZZER_NOTE_D6SHARP_E6FLAT </td><td class="fielddoc"><p >1244.51 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a24bb6ca4bccedcf1b86853730ae9815c" name="gga1bb9e9b72fb691b87708ed14f79491d6a24bb6ca4bccedcf1b86853730ae9815c"></a>BUZZER_NOTE_E6 </td><td class="fielddoc"><p >1318.51 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a99351c6be75c0a687e8d9afaa6028aae" name="gga1bb9e9b72fb691b87708ed14f79491d6a99351c6be75c0a687e8d9afaa6028aae"></a>BUZZER_NOTE_F6 </td><td class="fielddoc"><p >1396.91 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a8d5e673d7246a98638d236fd0e65bdb0" name="gga1bb9e9b72fb691b87708ed14f79491d6a8d5e673d7246a98638d236fd0e65bdb0"></a>BUZZER_NOTE_F6SHARP_G6FLAT </td><td class="fielddoc"><p >1479.98 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a5d998c6bc00b76857c81c1fa19ac2bd2" name="gga1bb9e9b72fb691b87708ed14f79491d6a5d998c6bc00b76857c81c1fa19ac2bd2"></a>BUZZER_NOTE_G6 </td><td class="fielddoc"><p >1567.98 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6aff2cf4fccda5e09c77a6f1aeeee50849" name="gga1bb9e9b72fb691b87708ed14f79491d6aff2cf4fccda5e09c77a6f1aeeee50849"></a>BUZZER_NOTE_G6SHARP_A6FLAT </td><td class="fielddoc"><p >1661.22 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6ad65f009cb2724296dc84ded01df601db" name="gga1bb9e9b72fb691b87708ed14f79491d6ad65f009cb2724296dc84ded01df601db"></a>BUZZER_NOTE_A6 </td><td class="fielddoc"><p >1760.00 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a535918417144d5def0b514e00afede5d" name="gga1bb9e9b72fb691b87708ed14f79491d6a535918417144d5def0b514e00afede5d"></a>BUZZER_NOTE_A6SHARP_B6FLAT </td><td class="fielddoc"><p >1864.66 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a389ae13e26d89dbe2a811deb7f58ed80" name="gga1bb9e9b72fb691b87708ed14f79491d6a389ae13e26d89dbe2a811deb7f58ed80"></a>BUZZER_NOTE_B6 </td><td class="fielddoc"><p >1975.53 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a9580b4cd5f44e70b86ba49ffcd2d8569" name="gga1bb9e9b72fb691b87708ed14f79491d6a9580b4cd5f44e70b86ba49ffcd2d8569"></a>BUZZER_NOTE_C7 </td><td class="fielddoc"><p >2093.00 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a1fb53bd8fe32b3ba14024839e6522908" name="gga1bb9e9b72fb691b87708ed14f79491d6a1fb53bd8fe32b3ba14024839e6522908"></a>BUZZER_NOTE_C7SHARP_D7FLAT </td><td class="fielddoc"><p >2217.46 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a702f5911dc2baf7c542072abac9970f0" name="gga1bb9e9b72fb691b87708ed14f79491d6a702f5911dc2baf7c542072abac9970f0"></a>BUZZER_NOTE_D7 </td><td class="fielddoc"><p >2349.32 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a24d5bce8eb78d22e39c5dc4117540542" name="gga1bb9e9b72fb691b87708ed14f79491d6a24d5bce8eb78d22e39c5dc4117540542"></a>BUZZER_NOTE_D7SHARP_E7FLAT </td><td class="fielddoc"><p >2489.02 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a2b60be48ea6333e6a8e88a2743e79392" name="gga1bb9e9b72fb691b87708ed14f79491d6a2b60be48ea6333e6a8e88a2743e79392"></a>BUZZER_NOTE_E7 </td><td class="fielddoc"><p >2637.02 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a7deb6305d4d6b565d50e3462483a4d90" name="gga1bb9e9b72fb691b87708ed14f79491d6a7deb6305d4d6b565d50e3462483a4d90"></a>BUZZER_NOTE_F7 </td><td class="fielddoc"><p >2793.83 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6af86ab662181bc5288789d6b272c07a6b" name="gga1bb9e9b72fb691b87708ed14f79491d6af86ab662181bc5288789d6b272c07a6b"></a>BUZZER_NOTE_F7SHARP_G7FLAT </td><td class="fielddoc"><p >2959.96 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a66b1e9a10a75da4aa194555ac0e6ecbd" name="gga1bb9e9b72fb691b87708ed14f79491d6a66b1e9a10a75da4aa194555ac0e6ecbd"></a>BUZZER_NOTE_G7 </td><td class="fielddoc"><p >3135.96 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6afab169ac4c7f142fdf5f96361f23579a" name="gga1bb9e9b72fb691b87708ed14f79491d6afab169ac4c7f142fdf5f96361f23579a"></a>BUZZER_NOTE_G7SHARP_A7FLAT </td><td class="fielddoc"><p >3322.44 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6ae648ffdcdca18cb0d7d11132824a07b1" name="gga1bb9e9b72fb691b87708ed14f79491d6ae648ffdcdca18cb0d7d11132824a07b1"></a>BUZZER_NOTE_A7 </td><td class="fielddoc"><p >3520.00 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a7cb85b523319365d9de40a4283c72aab" name="gga1bb9e9b72fb691b87708ed14f79491d6a7cb85b523319365d9de40a4283c72aab"></a>BUZZER_NOTE_A7SHARP_B7FLAT </td><td class="fielddoc"><p >3729.31 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a1e4df83378edcdacfbb177f0f9b91629" name="gga1bb9e9b72fb691b87708ed14f79491d6a1e4df83378edcdacfbb177f0f9b91629"></a>BUZZER_NOTE_B7 </td><td class="fielddoc"><p >3951.07 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a07c7bd4fc0230296cdd073af361a2e2b" name="gga1bb9e9b72fb691b87708ed14f79491d6a07c7bd4fc0230296cdd073af361a2e2b"></a>BUZZER_NOTE_C8 </td><td class="fielddoc"><p >4186.01 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6ac05b42c11b114f0cbe8f1e456704dc67" name="gga1bb9e9b72fb691b87708ed14f79491d6ac05b42c11b114f0cbe8f1e456704dc67"></a>BUZZER_NOTE_C8SHARP_D8FLAT </td><td class="fielddoc"><p >4434.92 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6ad2d4eb2c5b96529006db88a713039894" name="gga1bb9e9b72fb691b87708ed14f79491d6ad2d4eb2c5b96529006db88a713039894"></a>BUZZER_NOTE_D8 </td><td class="fielddoc"><p >4698.63 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a3a80021428f24fc29b714b768e8a27e2" name="gga1bb9e9b72fb691b87708ed14f79491d6a3a80021428f24fc29b714b768e8a27e2"></a>BUZZER_NOTE_D8SHARP_E8FLAT </td><td class="fielddoc"><p >4978.03 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6ac162a6c798724f15602aa5cd93ede615" name="gga1bb9e9b72fb691b87708ed14f79491d6ac162a6c798724f15602aa5cd93ede615"></a>BUZZER_NOTE_E8 </td><td class="fielddoc"><p >5274.04 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a0019fe1785c3b63973ed0298d5ae4bb5" name="gga1bb9e9b72fb691b87708ed14f79491d6a0019fe1785c3b63973ed0298d5ae4bb5"></a>BUZZER_NOTE_F8 </td><td class="fielddoc"><p >5587.65 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6ade5bb5ae6ca75a3b438b7fe70fe7d6a5" name="gga1bb9e9b72fb691b87708ed14f79491d6ade5bb5ae6ca75a3b438b7fe70fe7d6a5"></a>BUZZER_NOTE_F8SHARP_G8FLAT </td><td class="fielddoc"><p >5919.91 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a5ea3a5a1985ccdf22065c4b49b9b0d5c" name="gga1bb9e9b72fb691b87708ed14f79491d6a5ea3a5a1985ccdf22065c4b49b9b0d5c"></a>BUZZER_NOTE_G8 </td><td class="fielddoc"><p >6271.93 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6af85b8ab1194b403b84f7a7d99ac63436" name="gga1bb9e9b72fb691b87708ed14f79491d6af85b8ab1194b403b84f7a7d99ac63436"></a>BUZZER_NOTE_G8SHARP_A8FLAT </td><td class="fielddoc"><p >6644.88 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6aa3f3f368ade28922f6e127b048586681" name="gga1bb9e9b72fb691b87708ed14f79491d6aa3f3f368ade28922f6e127b048586681"></a>BUZZER_NOTE_A8 </td><td class="fielddoc"><p >7040.00 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6ae1ac67083c01b61055db1856f8dc78d6" name="gga1bb9e9b72fb691b87708ed14f79491d6ae1ac67083c01b61055db1856f8dc78d6"></a>BUZZER_NOTE_A8SHARP_B8FLAT </td><td class="fielddoc"><p >7458.62 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a0821aede51092e8a91d0ff6079041d20" name="gga1bb9e9b72fb691b87708ed14f79491d6a0821aede51092e8a91d0ff6079041d20"></a>BUZZER_NOTE_B8 </td><td class="fielddoc"><p >7902.13 Hz </p>
</td></tr>
<tr><td class="fieldname"><a id="gga1bb9e9b72fb691b87708ed14f79491d6a38cc9db9a774f5e8f78b26a95f9020ad" name="gga1bb9e9b72fb691b87708ed14f79491d6a38cc9db9a774f5e8f78b26a95f9020ad"></a>BUZZER_NOTE_REST </td><td class="fielddoc"><p >no sound </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga1b6ece8107c1f2bedf80d5584d204b80" name="ga1b6ece8107c1f2bedf80d5584d204b80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1b6ece8107c1f2bedf80d5584d204b80">◆ </a></span>watch_buzzer_play_note()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void watch_buzzer_play_note </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__buzzer.html#ga1bb9e9b72fb691b87708ed14f79491d6">BuzzerNote</a> </td>
<td class="paramname"><em>note</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint16_t </td>
<td class="paramname"><em>duration_ms</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Plays the given note for a set duration. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">note</td><td>The note you wish to play, or BUZZER_NOTE_REST to disable output for the given duration. </td></tr>
<tr><td class="paramname">duration_ms</td><td>The duration of the note. </td></tr>
</table>
</dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Note that this will block your UI for the duration of the note's play time, and it will after this call, the buzzer period will be set to the period of this note. </dd></dl>
</div>
</div>
<a id="ga24cef76bc304371e7914c7c5bb579f93" name="ga24cef76bc304371e7914c7c5bb579f93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga24cef76bc304371e7914c7c5bb579f93">◆ </a></span>watch_disable_buzzer()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void watch_disable_buzzer </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Disables the TCC peripheral that drives the buzzer. </p>
<dl class="section note"><dt>Note</dt><dd>If you are using PWM to set custom LED colors, this method will also disable the LED PWM driver, since the buzzer and LED both make use of the same peripheral to drive their PWM behavior. </dd></dl>
</div>
</div>
<a id="ga6a2d48712d70aff4a1ab463afe6fdd98" name="ga6a2d48712d70aff4a1ab463afe6fdd98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6a2d48712d70aff4a1ab463afe6fdd98">◆ </a></span>watch_set_buzzer_on()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void watch_set_buzzer_on </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Turns the buzzer output on. It will emit a continuous sound at the given frequency. </p>
<dl class="section note"><dt>Note</dt><dd>The TCC peripheral that drives the buzzer does not run in standby mode; if you wish for buzzer output to continue, you should prevent your app from going to sleep. </dd></dl>
</div>
</div>
<a id="ga77f213418f48937de73bfe7ac5fc58c9" name="ga77f213418f48937de73bfe7ac5fc58c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga77f213418f48937de73bfe7ac5fc58c9">◆ </a></span>watch_set_buzzer_period()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void watch_set_buzzer_period </td>
<td>(</td>
<td class="paramtype">uint32_t </td>
<td class="paramname"><em>period</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the period of the buzzer. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">period</td><td>The period of a single cycle for the TCC peripheral. You can determine the period for a desired frequency with the following formula: period = 1000000 / freq </td></tr>
</table>
</dd>
</dl>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
|