From 849ae6e1c4f7aca995fa0e982d5b980ae97cb53d Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Wed, 7 Feb 2024 19:02:57 +0000 Subject: [PATCH] deploy: af18673e1aa53091880d829a6fa4d7e23a6b4381 --- annotated.html | 6 +- bdwn.png | Bin 147 -> 0 bytes classes.html | 6 +- dir_280ec1f3fe74f12cdd5c78898ed1ca3c.html | 42 ++--- dir_3351a3556ab4b770be21f3a77a6d7b80.html | 8 +- dir_f1a087a6659d970f5756e21fc1ac4961.html | 6 +- doc.png | Bin 746 -> 0 bytes doc.svg | 12 ++ docd.png | Bin 756 -> 0 bytes docd.svg | 12 ++ doxygen.css | 130 ++++++++++--- doxygen.svg | 4 +- dynsections.js | 69 +++++++ files.html | 6 +- folderclosed.png | Bin 616 -> 0 bytes folderclosed.svg | 11 ++ folderclosedd.svg | 11 ++ folderopen.png | Bin 597 -> 0 bytes folderopen.svg | 17 ++ folderopend.svg | 12 ++ globals.html | 6 +- globals_func.html | 8 +- group__adc.html | 50 ++--- group__app.html | 28 +-- group__buttons.html | 24 +-- group__buzzer.html | 220 +++++++++++----------- group__deepsleep.html | 50 ++--- group__gpio.html | 40 ++-- group__i2c.html | 40 ++-- group__led.html | 42 ++--- group__rtc.html | 56 +++--- group__slcd.html | 84 ++++----- group__spi.html | 24 +-- group__storage.html | 24 +-- group__uart.html | 20 +- group__utility.html | 68 +++---- index.html | 8 +- menudata.js | 2 +- minus.svg | 8 + minusd.svg | 8 + plus.svg | 9 + plusd.svg | 9 + search/all_1.js | 15 +- search/all_2.js | 4 +- search/all_3.js | 4 +- search/all_4.js | 5 +- search/all_5.js | 3 +- search/all_6.js | 4 +- search/all_7.js | 6 +- search/all_8.js | 4 +- search/all_9.js | 5 +- search/all_a.js | 3 +- search/all_b.js | 117 +----------- search/all_c.js | 8 + search/all_d.js | 4 + search/all_e.js | 5 + search/all_f.js | 119 ++++++++++++ search/close.svg | 19 +- search/groups_0.js | 3 +- search/groups_1.js | 2 +- search/groups_2.js | 4 +- search/groups_3.js | 4 +- search/groups_4.js | 2 +- search/groups_5.js | 4 +- search/groups_6.js | 5 +- search/groups_7.js | 5 +- search/groups_8.js | 3 +- search/groups_9.js | 4 + search/groups_a.js | 7 + search/groups_b.js | 4 + search/groups_c.js | 5 + search/mag.svg | 19 +- search/mag_d.svg | 19 +- search/mag_sel.svg | 53 +----- search/mag_seld.svg | 59 +----- search/pages_0.js | 2 +- search/pages_1.js | 4 + search/pages_2.js | 4 + search/search.js | 30 ++- search/searchdata.js | 6 +- search/variables_0.js | 2 +- structwatch__duration__t.html | 14 +- modules.html => topics.html | 12 +- unionwatch__date__time.html | 39 ++-- watch_8h.html | 20 +- watch_8h_source.html | 11 +- watch__adc_8h_source.html | 11 +- watch__app_8h_source.html | 11 +- watch__buzzer_8h_source.html | 193 ++++++++++--------- watch__deepsleep_8h_source.html | 11 +- watch__extint_8h_source.html | 15 +- watch__gpio_8h_source.html | 11 +- watch__i2c_8h_source.html | 11 +- watch__led_8h_source.html | 11 +- watch__private_8h_source.html | 11 +- watch__private__buzzer_8h_source.html | 13 +- watch__private__display_8h_source.html | 11 +- watch__rtc_8h_source.html | 15 +- watch__slcd_8h_source.html | 37 ++-- watch__spi_8h_source.html | 11 +- watch__storage_8h_source.html | 11 +- watch__uart_8h_source.html | 11 +- watch__utility_8h_source.html | 43 +++-- 103 files changed, 1303 insertions(+), 985 deletions(-) delete mode 100644 bdwn.png delete mode 100644 doc.png create mode 100644 doc.svg delete mode 100644 docd.png create mode 100644 docd.svg delete mode 100644 folderclosed.png create mode 100644 folderclosed.svg create mode 100644 folderclosedd.svg delete mode 100644 folderopen.png create mode 100644 folderopen.svg create mode 100644 folderopend.svg create mode 100644 minus.svg create mode 100644 minusd.svg create mode 100644 plus.svg create mode 100644 plusd.svg create mode 100644 search/all_c.js create mode 100644 search/all_d.js create mode 100644 search/all_e.js create mode 100644 search/all_f.js create mode 100644 search/groups_9.js create mode 100644 search/groups_a.js create mode 100644 search/groups_b.js create mode 100644 search/groups_c.js create mode 100644 search/pages_1.js create mode 100644 search/pages_2.js rename modules.html => topics.html (96%) diff --git a/annotated.html b/annotated.html index 98a5e4f5..362c1e48 100644 --- a/annotated.html +++ b/annotated.html @@ -3,7 +3,7 @@ - + Sensor Watch: Data Structures @@ -30,7 +30,7 @@ - + @@ -30,7 +30,7 @@ - + +
diff --git a/watch__adc_8h_source.html b/watch__adc_8h_source.html index 2e46cdbd..f208093c 100644 --- a/watch__adc_8h_source.html +++ b/watch__adc_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_adc.h Source File @@ -30,7 +30,7 @@ - + +
diff --git a/watch__app_8h_source.html b/watch__app_8h_source.html index 44f4cda3..17270b80 100644 --- a/watch__app_8h_source.html +++ b/watch__app_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_app.h Source File @@ -30,7 +30,7 @@ - + +
diff --git a/watch__buzzer_8h_source.html b/watch__buzzer_8h_source.html index 28a4d03f..26ac46cb 100644 --- a/watch__buzzer_8h_source.html +++ b/watch__buzzer_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_buzzer.h Source File @@ -30,7 +30,7 @@ - + +
55
58void watch_set_buzzer_off(void);
59
+
61typedef enum BuzzerNote {
@@ -206,6 +212,7 @@ $(function() { +
151
158void watch_buzzer_play_note(BuzzerNote note, uint16_t duration_ms);
159
@@ -223,108 +230,108 @@ $(function() {
187
189#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
+
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.h:29
+
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.h:29
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.
void watch_enable_buzzer(void)
Enables the TCC peripheral, which drives the buzzer.
-
@ BUZZER_NOTE_F8
5587.65 Hz
Definition: watch_buzzer.h:142
-
@ BUZZER_NOTE_D6SHARP_E6FLAT
1244.51 Hz
Definition: watch_buzzer.h:116
-
@ BUZZER_NOTE_B5
987.77 Hz
Definition: watch_buzzer.h:112
-
@ BUZZER_NOTE_F3SHARP_G3FLAT
185.00 Hz
Definition: watch_buzzer.h:83
-
@ BUZZER_NOTE_C8
4186.01 Hz
Definition: watch_buzzer.h:137
-
@ BUZZER_NOTE_B8
7902.13 Hz
Definition: watch_buzzer.h:148
-
@ BUZZER_NOTE_E3
164.81 Hz
Definition: watch_buzzer.h:81
-
@ BUZZER_NOTE_D6
1174.66 Hz
Definition: watch_buzzer.h:115
-
@ BUZZER_NOTE_B1
61.74 Hz
Definition: watch_buzzer.h:64
-
@ BUZZER_NOTE_G4
392.00 Hz
Definition: watch_buzzer.h:96
-
@ BUZZER_NOTE_B7
3951.07 Hz
Definition: watch_buzzer.h:136
-
@ BUZZER_NOTE_C7SHARP_D7FLAT
2217.46 Hz
Definition: watch_buzzer.h:126
-
@ BUZZER_NOTE_G3SHARP_A3FLAT
207.65 Hz
Definition: watch_buzzer.h:85
-
@ BUZZER_NOTE_C6
1046.50 Hz
Definition: watch_buzzer.h:113
-
@ BUZZER_NOTE_E6
1318.51 Hz
Definition: watch_buzzer.h:117
-
@ BUZZER_NOTE_D7SHARP_E7FLAT
2489.02 Hz
Definition: watch_buzzer.h:128
-
@ BUZZER_NOTE_E7
2637.02 Hz
Definition: watch_buzzer.h:129
-
@ BUZZER_NOTE_E4
329.63 Hz
Definition: watch_buzzer.h:93
-
@ BUZZER_NOTE_B6
1975.53 Hz
Definition: watch_buzzer.h:124
-
@ BUZZER_NOTE_REST
no sound
Definition: watch_buzzer.h:149
-
@ BUZZER_NOTE_D8SHARP_E8FLAT
4978.03 Hz
Definition: watch_buzzer.h:140
-
@ BUZZER_NOTE_D4SHARP_E4FLAT
311.13 Hz
Definition: watch_buzzer.h:92
-
@ BUZZER_NOTE_C2
65.41 Hz
Definition: watch_buzzer.h:65
-
@ BUZZER_NOTE_B2
123.47 Hz
Definition: watch_buzzer.h:76
-
@ BUZZER_NOTE_F5
698.46 Hz
Definition: watch_buzzer.h:106
-
@ BUZZER_NOTE_C2SHARP_D2FLAT
69.30 Hz
Definition: watch_buzzer.h:66
-
@ BUZZER_NOTE_C4SHARP_D4FLAT
277.18 Hz
Definition: watch_buzzer.h:90
-
@ BUZZER_NOTE_A6SHARP_B6FLAT
1864.66 Hz
Definition: watch_buzzer.h:123
-
@ BUZZER_NOTE_G6
1567.98 Hz
Definition: watch_buzzer.h:120
-
@ BUZZER_NOTE_A5SHARP_B5FLAT
932.33 Hz
Definition: watch_buzzer.h:111
-
@ BUZZER_NOTE_G8
6271.93 Hz
Definition: watch_buzzer.h:144
-
@ BUZZER_NOTE_D4
293.66 Hz
Definition: watch_buzzer.h:91
-
@ BUZZER_NOTE_G5SHARP_A5FLAT
830.61 Hz
Definition: watch_buzzer.h:109
-
@ BUZZER_NOTE_A3SHARP_B3FLAT
233.08 Hz
Definition: watch_buzzer.h:87
-
@ BUZZER_NOTE_G7
3135.96 Hz
Definition: watch_buzzer.h:132
-
@ BUZZER_NOTE_D5SHARP_E5FLAT
622.25 Hz
Definition: watch_buzzer.h:104
-
@ BUZZER_NOTE_D3
146.83 Hz
Definition: watch_buzzer.h:79
-
@ BUZZER_NOTE_G4SHARP_A4FLAT
415.30 Hz
Definition: watch_buzzer.h:97
-
@ BUZZER_NOTE_A1SHARP_B1FLAT
58.27 Hz
Definition: watch_buzzer.h:63
-
@ BUZZER_NOTE_D5
587.33 Hz
Definition: watch_buzzer.h:103
-
@ BUZZER_NOTE_A2SHARP_B2FLAT
116.54 Hz
Definition: watch_buzzer.h:75
-
@ BUZZER_NOTE_A4
440.00 Hz
Definition: watch_buzzer.h:98
-
@ BUZZER_NOTE_D7
2349.32 Hz
Definition: watch_buzzer.h:127
-
@ BUZZER_NOTE_F5SHARP_G5FLAT
739.99 Hz
Definition: watch_buzzer.h:107
-
@ BUZZER_NOTE_C6SHARP_D6FLAT
1108.73 Hz
Definition: watch_buzzer.h:114
-
@ BUZZER_NOTE_A7SHARP_B7FLAT
3729.31 Hz
Definition: watch_buzzer.h:135
-
@ BUZZER_NOTE_F7
2793.83 Hz
Definition: watch_buzzer.h:130
-
@ BUZZER_NOTE_A3
220.00 Hz
Definition: watch_buzzer.h:86
-
@ BUZZER_NOTE_F6SHARP_G6FLAT
1479.98 Hz
Definition: watch_buzzer.h:119
-
@ BUZZER_NOTE_B4
493.88 Hz
Definition: watch_buzzer.h:100
-
@ BUZZER_NOTE_A5
880.00 Hz
Definition: watch_buzzer.h:110
-
@ BUZZER_NOTE_C5SHARP_D5FLAT
554.37 Hz
Definition: watch_buzzer.h:102
-
@ BUZZER_NOTE_A4SHARP_B4FLAT
466.16 Hz
Definition: watch_buzzer.h:99
-
@ BUZZER_NOTE_C7
2093.00 Hz
Definition: watch_buzzer.h:125
-
@ BUZZER_NOTE_F6
1396.91 Hz
Definition: watch_buzzer.h:118
-
@ BUZZER_NOTE_C4
261.63 Hz
Definition: watch_buzzer.h:89
-
@ BUZZER_NOTE_F2
87.31 Hz
Definition: watch_buzzer.h:70
-
@ BUZZER_NOTE_G2SHARP_A2FLAT
103.83 Hz
Definition: watch_buzzer.h:73
-
@ BUZZER_NOTE_A8
7040.00 Hz
Definition: watch_buzzer.h:146
-
@ BUZZER_NOTE_A2
110.00 Hz
Definition: watch_buzzer.h:74
-
@ BUZZER_NOTE_F4SHARP_G4FLAT
369.99 Hz
Definition: watch_buzzer.h:95
-
@ BUZZER_NOTE_E2
82.41 Hz
Definition: watch_buzzer.h:69
-
@ BUZZER_NOTE_G3
196.00 Hz
Definition: watch_buzzer.h:84
-
@ BUZZER_NOTE_F2SHARP_G2FLAT
92.50 Hz
Definition: watch_buzzer.h:71
-
@ BUZZER_NOTE_E5
659.25 Hz
Definition: watch_buzzer.h:105
-
@ BUZZER_NOTE_D2SHARP_E2FLAT
77.78 Hz
Definition: watch_buzzer.h:68
-
@ BUZZER_NOTE_C3SHARP_D3FLAT
138.59 Hz
Definition: watch_buzzer.h:78
-
@ BUZZER_NOTE_C8SHARP_D8FLAT
4434.92 Hz
Definition: watch_buzzer.h:138
-
@ BUZZER_NOTE_E8
5274.04 Hz
Definition: watch_buzzer.h:141
-
@ BUZZER_NOTE_C3
130.81 Hz
Definition: watch_buzzer.h:77
-
@ BUZZER_NOTE_D2
73.42 Hz
Definition: watch_buzzer.h:67
-
@ BUZZER_NOTE_D8
4698.63 Hz
Definition: watch_buzzer.h:139
-
@ BUZZER_NOTE_A6
1760.00 Hz
Definition: watch_buzzer.h:122
-
@ BUZZER_NOTE_F8SHARP_G8FLAT
5919.91 Hz
Definition: watch_buzzer.h:143
-
@ BUZZER_NOTE_F4
349.23 Hz
Definition: watch_buzzer.h:94
-
@ BUZZER_NOTE_A8SHARP_B8FLAT
7458.62 Hz
Definition: watch_buzzer.h:147
-
@ BUZZER_NOTE_A7
3520.00 Hz
Definition: watch_buzzer.h:134
-
@ BUZZER_NOTE_G5
783.99 Hz
Definition: watch_buzzer.h:108
-
@ BUZZER_NOTE_C5
523.25 Hz
Definition: watch_buzzer.h:101
-
@ BUZZER_NOTE_G2
98.00 Hz
Definition: watch_buzzer.h:72
-
@ BUZZER_NOTE_B3
246.94 Hz
Definition: watch_buzzer.h:88
-
@ BUZZER_NOTE_D3SHARP_E3FLAT
155.56 Hz
Definition: watch_buzzer.h:80
-
@ BUZZER_NOTE_F3
174.61 Hz
Definition: watch_buzzer.h:82
-
@ BUZZER_NOTE_G8SHARP_A8FLAT
6644.88 Hz
Definition: watch_buzzer.h:145
-
@ BUZZER_NOTE_F7SHARP_G7FLAT
2959.96 Hz
Definition: watch_buzzer.h:131
-
@ BUZZER_NOTE_G7SHARP_A7FLAT
3322.44 Hz
Definition: watch_buzzer.h:133
-
@ BUZZER_NOTE_A1
55.00 Hz
Definition: watch_buzzer.h:62
-
@ BUZZER_NOTE_G6SHARP_A6FLAT
1661.22 Hz
Definition: watch_buzzer.h:121
+
@ BUZZER_NOTE_F8
5587.65 Hz
Definition watch_buzzer.h:142
+
@ BUZZER_NOTE_D6SHARP_E6FLAT
1244.51 Hz
Definition watch_buzzer.h:116
+
@ BUZZER_NOTE_B5
987.77 Hz
Definition watch_buzzer.h:112
+
@ BUZZER_NOTE_F3SHARP_G3FLAT
185.00 Hz
Definition watch_buzzer.h:83
+
@ BUZZER_NOTE_C8
4186.01 Hz
Definition watch_buzzer.h:137
+
@ BUZZER_NOTE_B8
7902.13 Hz
Definition watch_buzzer.h:148
+
@ BUZZER_NOTE_E3
164.81 Hz
Definition watch_buzzer.h:81
+
@ BUZZER_NOTE_D6
1174.66 Hz
Definition watch_buzzer.h:115
+
@ BUZZER_NOTE_B1
61.74 Hz
Definition watch_buzzer.h:64
+
@ BUZZER_NOTE_G4
392.00 Hz
Definition watch_buzzer.h:96
+
@ BUZZER_NOTE_B7
3951.07 Hz
Definition watch_buzzer.h:136
+
@ BUZZER_NOTE_C7SHARP_D7FLAT
2217.46 Hz
Definition watch_buzzer.h:126
+
@ BUZZER_NOTE_G3SHARP_A3FLAT
207.65 Hz
Definition watch_buzzer.h:85
+
@ BUZZER_NOTE_C6
1046.50 Hz
Definition watch_buzzer.h:113
+
@ BUZZER_NOTE_E6
1318.51 Hz
Definition watch_buzzer.h:117
+
@ BUZZER_NOTE_D7SHARP_E7FLAT
2489.02 Hz
Definition watch_buzzer.h:128
+
@ BUZZER_NOTE_E7
2637.02 Hz
Definition watch_buzzer.h:129
+
@ BUZZER_NOTE_E4
329.63 Hz
Definition watch_buzzer.h:93
+
@ BUZZER_NOTE_B6
1975.53 Hz
Definition watch_buzzer.h:124
+
@ BUZZER_NOTE_REST
no sound
Definition watch_buzzer.h:149
+
@ BUZZER_NOTE_D8SHARP_E8FLAT
4978.03 Hz
Definition watch_buzzer.h:140
+
@ BUZZER_NOTE_D4SHARP_E4FLAT
311.13 Hz
Definition watch_buzzer.h:92
+
@ BUZZER_NOTE_C2
65.41 Hz
Definition watch_buzzer.h:65
+
@ BUZZER_NOTE_B2
123.47 Hz
Definition watch_buzzer.h:76
+
@ BUZZER_NOTE_F5
698.46 Hz
Definition watch_buzzer.h:106
+
@ BUZZER_NOTE_C2SHARP_D2FLAT
69.30 Hz
Definition watch_buzzer.h:66
+
@ BUZZER_NOTE_C4SHARP_D4FLAT
277.18 Hz
Definition watch_buzzer.h:90
+
@ BUZZER_NOTE_A6SHARP_B6FLAT
1864.66 Hz
Definition watch_buzzer.h:123
+
@ BUZZER_NOTE_G6
1567.98 Hz
Definition watch_buzzer.h:120
+
@ BUZZER_NOTE_A5SHARP_B5FLAT
932.33 Hz
Definition watch_buzzer.h:111
+
@ BUZZER_NOTE_G8
6271.93 Hz
Definition watch_buzzer.h:144
+
@ BUZZER_NOTE_D4
293.66 Hz
Definition watch_buzzer.h:91
+
@ BUZZER_NOTE_G5SHARP_A5FLAT
830.61 Hz
Definition watch_buzzer.h:109
+
@ BUZZER_NOTE_A3SHARP_B3FLAT
233.08 Hz
Definition watch_buzzer.h:87
+
@ BUZZER_NOTE_G7
3135.96 Hz
Definition watch_buzzer.h:132
+
@ BUZZER_NOTE_D5SHARP_E5FLAT
622.25 Hz
Definition watch_buzzer.h:104
+
@ BUZZER_NOTE_D3
146.83 Hz
Definition watch_buzzer.h:79
+
@ BUZZER_NOTE_G4SHARP_A4FLAT
415.30 Hz
Definition watch_buzzer.h:97
+
@ BUZZER_NOTE_A1SHARP_B1FLAT
58.27 Hz
Definition watch_buzzer.h:63
+
@ BUZZER_NOTE_D5
587.33 Hz
Definition watch_buzzer.h:103
+
@ BUZZER_NOTE_A2SHARP_B2FLAT
116.54 Hz
Definition watch_buzzer.h:75
+
@ BUZZER_NOTE_A4
440.00 Hz
Definition watch_buzzer.h:98
+
@ BUZZER_NOTE_D7
2349.32 Hz
Definition watch_buzzer.h:127
+
@ BUZZER_NOTE_F5SHARP_G5FLAT
739.99 Hz
Definition watch_buzzer.h:107
+
@ BUZZER_NOTE_C6SHARP_D6FLAT
1108.73 Hz
Definition watch_buzzer.h:114
+
@ BUZZER_NOTE_A7SHARP_B7FLAT
3729.31 Hz
Definition watch_buzzer.h:135
+
@ BUZZER_NOTE_F7
2793.83 Hz
Definition watch_buzzer.h:130
+
@ BUZZER_NOTE_A3
220.00 Hz
Definition watch_buzzer.h:86
+
@ BUZZER_NOTE_F6SHARP_G6FLAT
1479.98 Hz
Definition watch_buzzer.h:119
+
@ BUZZER_NOTE_B4
493.88 Hz
Definition watch_buzzer.h:100
+
@ BUZZER_NOTE_A5
880.00 Hz
Definition watch_buzzer.h:110
+
@ BUZZER_NOTE_C5SHARP_D5FLAT
554.37 Hz
Definition watch_buzzer.h:102
+
@ BUZZER_NOTE_A4SHARP_B4FLAT
466.16 Hz
Definition watch_buzzer.h:99
+
@ BUZZER_NOTE_C7
2093.00 Hz
Definition watch_buzzer.h:125
+
@ BUZZER_NOTE_F6
1396.91 Hz
Definition watch_buzzer.h:118
+
@ BUZZER_NOTE_C4
261.63 Hz
Definition watch_buzzer.h:89
+
@ BUZZER_NOTE_F2
87.31 Hz
Definition watch_buzzer.h:70
+
@ BUZZER_NOTE_G2SHARP_A2FLAT
103.83 Hz
Definition watch_buzzer.h:73
+
@ BUZZER_NOTE_A8
7040.00 Hz
Definition watch_buzzer.h:146
+
@ BUZZER_NOTE_A2
110.00 Hz
Definition watch_buzzer.h:74
+
@ BUZZER_NOTE_F4SHARP_G4FLAT
369.99 Hz
Definition watch_buzzer.h:95
+
@ BUZZER_NOTE_E2
82.41 Hz
Definition watch_buzzer.h:69
+
@ BUZZER_NOTE_G3
196.00 Hz
Definition watch_buzzer.h:84
+
@ BUZZER_NOTE_F2SHARP_G2FLAT
92.50 Hz
Definition watch_buzzer.h:71
+
@ BUZZER_NOTE_E5
659.25 Hz
Definition watch_buzzer.h:105
+
@ BUZZER_NOTE_D2SHARP_E2FLAT
77.78 Hz
Definition watch_buzzer.h:68
+
@ BUZZER_NOTE_C3SHARP_D3FLAT
138.59 Hz
Definition watch_buzzer.h:78
+
@ BUZZER_NOTE_C8SHARP_D8FLAT
4434.92 Hz
Definition watch_buzzer.h:138
+
@ BUZZER_NOTE_E8
5274.04 Hz
Definition watch_buzzer.h:141
+
@ BUZZER_NOTE_C3
130.81 Hz
Definition watch_buzzer.h:77
+
@ BUZZER_NOTE_D2
73.42 Hz
Definition watch_buzzer.h:67
+
@ BUZZER_NOTE_D8
4698.63 Hz
Definition watch_buzzer.h:139
+
@ BUZZER_NOTE_A6
1760.00 Hz
Definition watch_buzzer.h:122
+
@ BUZZER_NOTE_F8SHARP_G8FLAT
5919.91 Hz
Definition watch_buzzer.h:143
+
@ BUZZER_NOTE_F4
349.23 Hz
Definition watch_buzzer.h:94
+
@ BUZZER_NOTE_A8SHARP_B8FLAT
7458.62 Hz
Definition watch_buzzer.h:147
+
@ BUZZER_NOTE_A7
3520.00 Hz
Definition watch_buzzer.h:134
+
@ BUZZER_NOTE_G5
783.99 Hz
Definition watch_buzzer.h:108
+
@ BUZZER_NOTE_C5
523.25 Hz
Definition watch_buzzer.h:101
+
@ BUZZER_NOTE_G2
98.00 Hz
Definition watch_buzzer.h:72
+
@ BUZZER_NOTE_B3
246.94 Hz
Definition watch_buzzer.h:88
+
@ BUZZER_NOTE_D3SHARP_E3FLAT
155.56 Hz
Definition watch_buzzer.h:80
+
@ BUZZER_NOTE_F3
174.61 Hz
Definition watch_buzzer.h:82
+
@ BUZZER_NOTE_G8SHARP_A8FLAT
6644.88 Hz
Definition watch_buzzer.h:145
+
@ BUZZER_NOTE_F7SHARP_G7FLAT
2959.96 Hz
Definition watch_buzzer.h:131
+
@ BUZZER_NOTE_G7SHARP_A7FLAT
3322.44 Hz
Definition watch_buzzer.h:133
+
@ BUZZER_NOTE_A1
55.00 Hz
Definition watch_buzzer.h:62
+
@ BUZZER_NOTE_G6SHARP_A6FLAT
1661.22 Hz
Definition watch_buzzer.h:121
diff --git a/watch__deepsleep_8h_source.html b/watch__deepsleep_8h_source.html index 274a4f3d..478a2ef9 100644 --- a/watch__deepsleep_8h_source.html +++ b/watch__deepsleep_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_deepsleep.h Source File @@ -30,7 +30,7 @@ - + +
diff --git a/watch__extint_8h_source.html b/watch__extint_8h_source.html index 8e61d829..1ed80904 100644 --- a/watch__extint_8h_source.html +++ b/watch__extint_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_extint.h Source File @@ -30,7 +30,7 @@ - + +
29#include "hal_ext_irq.h"
30
42
+
45 INTERRUPT_TRIGGER_NONE = 0,
46 INTERRUPT_TRIGGER_RISING,
47 INTERRUPT_TRIGGER_FALLING,
48 INTERRUPT_TRIGGER_BOTH,
+
50
52void watch_enable_external_interrupts(void);
53
@@ -121,7 +128,7 @@ $(function() {
77void watch_register_interrupt_callback(const uint8_t pin, ext_irq_cb_t callback, watch_interrupt_trigger trigger);
78
80#endif
-
watch_interrupt_trigger
An enum defining the types of interrupt trigger you wish to scan for.
Definition: watch_extint.h:44
+
watch_interrupt_trigger
An enum defining the types of interrupt trigger you wish to scan for.
Definition watch_extint.h:44
void watch_disable_external_interrupts(void)
Disables the external interrupt controller.
void watch_enable_external_interrupts(void)
Enables the external interrupt controller.
void watch_register_interrupt_callback(const uint8_t pin, ext_irq_cb_t callback, watch_interrupt_trigger trigger)
Configures an external interrupt callback on one of the external interrupt pins.
@@ -129,7 +136,7 @@ $(function() { diff --git a/watch__gpio_8h_source.html b/watch__gpio_8h_source.html index 622342fd..51012271 100644 --- a/watch__gpio_8h_source.html +++ b/watch__gpio_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_gpio.h Source File @@ -30,7 +30,7 @@ - + +
diff --git a/watch__i2c_8h_source.html b/watch__i2c_8h_source.html index 1608cb15..7aabed86 100644 --- a/watch__i2c_8h_source.html +++ b/watch__i2c_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_i2c.h Source File @@ -30,7 +30,7 @@ - + +
diff --git a/watch__led_8h_source.html b/watch__led_8h_source.html index 60c02674..ff62c0e9 100644 --- a/watch__led_8h_source.html +++ b/watch__led_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_led.h Source File @@ -30,7 +30,7 @@ - + +
diff --git a/watch__private_8h_source.html b/watch__private_8h_source.html index 337fed0a..585da300 100644 --- a/watch__private_8h_source.html +++ b/watch__private_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_private.h Source File @@ -30,7 +30,7 @@ - + +
diff --git a/watch__private__buzzer_8h_source.html b/watch__private__buzzer_8h_source.html index fde4b853..ef07379a 100644 --- a/watch__private__buzzer_8h_source.html +++ b/watch__private__buzzer_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_private_buzzer.h Source File @@ -30,7 +30,7 @@ - + +
31uint16_t sequence_length(int8_t *sequence);
32
33#endif
-
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.h:29
+
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.h:29
diff --git a/watch__private__display_8h_source.html b/watch__private__display_8h_source.html index 74b0f33e..ca9ecfc8 100644 --- a/watch__private__display_8h_source.html +++ b/watch__private__display_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_private_display.h Source File @@ -30,7 +30,7 @@ - + +
diff --git a/watch__rtc_8h_source.html b/watch__rtc_8h_source.html index e0b1606e..9d07e04d 100644 --- a/watch__rtc_8h_source.html +++ b/watch__rtc_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_rtc.h Source File @@ -30,7 +30,7 @@ - + +
41
42#define WATCH_RTC_REFERENCE_YEAR (2020)
43
+
44typedef union {
45 struct {
46 uint32_t second : 6; // 0-59
@@ -120,6 +126,7 @@ $(function() {
52 } unit;
53 uint32_t reg; // the bit-packed value as expected by the RTC peripheral's CLOCK register.
+
55
56typedef enum watch_rtc_alarm_match {
57 ALARM_MATCH_DISABLED = 0,
@@ -168,12 +175,12 @@ $(function() {
void watch_rtc_set_date_time(watch_date_time date_time)
Sets the date and time.
void watch_rtc_register_periodic_callback(ext_irq_cb_t callback, uint8_t frequency)
Registers a callback that will be called at a configurable period.
void watch_rtc_freqcorr_write(int16_t value, int16_t sign)
Adjusts frequency correction in single register write. Not waiting for syncronisation to save power -...
-
Definition: watch_rtc.h:44
+
Definition watch_rtc.h:44
diff --git a/watch__slcd_8h_source.html b/watch__slcd_8h_source.html index 2fff67af..758a07fe 100644 --- a/watch__slcd_8h_source.html +++ b/watch__slcd_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_slcd.h Source File @@ -30,7 +30,7 @@ - + +
28#include "watch.h"
29
43
+
@@ -113,6 +119,7 @@ $(function() { +
52
56void watch_enable_display(void);
57
@@ -144,32 +151,32 @@ $(function() {
145
149void watch_stop_tick_animation(void);
151#endif
-
void watch_set_colon(void)
Turns the colon segment on.
Definition: watch_private_display.c:140
+
void watch_set_colon(void)
Turns the colon segment on.
Definition watch_private_display.c:140
void watch_enable_display(void)
Enables the Segment LCD display. Call this before attempting to set pixels or display strings.
-
void watch_display_string(char *string, uint8_t position)
Displays a string at the given position, starting from the top left. There are ten digits....
Definition: watch_private_display.c:126
+
void watch_display_string(char *string, uint8_t position)
Displays a string at the given position, starting from the top left. There are ten digits....
Definition watch_private_display.c:126
bool watch_tick_animation_is_running(void)
Checks if the tick animation is currently running.
-
WatchIndicatorSegment
An enum listing the icons and indicators available on the watch.
Definition: watch_slcd.h:45
+
WatchIndicatorSegment
An enum listing the icons and indicators available on the watch.
Definition watch_slcd.h:45
void watch_set_pixel(uint8_t com, uint8_t seg)
Sets a pixel. Use this to manually set a pixel with a given common and segment number....
-
void watch_clear_colon(void)
Turns the colon segment off.
Definition: watch_private_display.c:144
+
void watch_clear_colon(void)
Turns the colon segment off.
Definition watch_private_display.c:144
void watch_start_character_blink(char character, uint32_t duration)
Blinks a single character in position 7. Does not affect other positions.
-
void watch_clear_indicator(WatchIndicatorSegment indicator)
Clears an indicator on the LCD. Use this to turn off one of the indicator segments.
Definition: watch_private_display.c:155
+
void watch_clear_indicator(WatchIndicatorSegment indicator)
Clears an indicator on the LCD. Use this to turn off one of the indicator segments.
Definition watch_private_display.c:155
void watch_stop_blink(void)
Stops and clears all blinking segments.
void watch_start_tick_animation(uint32_t duration)
Begins a two-segment "tick-tock" animation in position 8.
-
void watch_clear_all_indicators(void)
Clears all indicator segments.
Definition: watch_private_display.c:162
-
void watch_set_indicator(WatchIndicatorSegment indicator)
Sets an indicator on the LCD. Use this to turn on one of the indicator segments.
Definition: watch_private_display.c:148
+
void watch_clear_all_indicators(void)
Clears all indicator segments.
Definition watch_private_display.c:162
+
void watch_set_indicator(WatchIndicatorSegment indicator)
Sets an indicator on the LCD. Use this to turn on one of the indicator segments.
Definition watch_private_display.c:148
void watch_clear_pixel(uint8_t com, uint8_t seg)
Clears a pixel. Use this to manually clear a pixel with a given common and segment number....
void watch_clear_display(void)
Clears all segments of the display, including incicators and the colon.
void watch_stop_tick_animation(void)
Stops the tick/tock animation and clears all animating segments.
-
@ WATCH_INDICATOR_PM
The PM indicator, indicating that a time is in the afternoon.
Definition: watch_slcd.h:48
-
@ WATCH_INDICATOR_BELL
The small bell indicating that an alarm is set.
Definition: watch_slcd.h:47
-
@ WATCH_INDICATOR_SIGNAL
The hourly signal indicator; also useful for indicating that sensors are on.
Definition: watch_slcd.h:46
-
@ WATCH_INDICATOR_LAP
The LAP indicator; the F-91W uses this in its stopwatch UI.
Definition: watch_slcd.h:50
-
@ WATCH_INDICATOR_24H
The 24H indicator, indicating that the watch is in a 24-hour mode.
Definition: watch_slcd.h:49
+
@ WATCH_INDICATOR_PM
The PM indicator, indicating that a time is in the afternoon.
Definition watch_slcd.h:48
+
@ WATCH_INDICATOR_BELL
The small bell indicating that an alarm is set.
Definition watch_slcd.h:47
+
@ WATCH_INDICATOR_SIGNAL
The hourly signal indicator; also useful for indicating that sensors are on.
Definition watch_slcd.h:46
+
@ WATCH_INDICATOR_LAP
The LAP indicator; the F-91W uses this in its stopwatch UI.
Definition watch_slcd.h:50
+
@ WATCH_INDICATOR_24H
The 24H indicator, indicating that the watch is in a 24-hour mode.
Definition watch_slcd.h:49
diff --git a/watch__spi_8h_source.html b/watch__spi_8h_source.html index 0f9ed68a..47b6102c 100644 --- a/watch__spi_8h_source.html +++ b/watch__spi_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_spi.h Source File @@ -30,7 +30,7 @@ - + +
diff --git a/watch__storage_8h_source.html b/watch__storage_8h_source.html index 9aaa8a04..15b8a11e 100644 --- a/watch__storage_8h_source.html +++ b/watch__storage_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_storage.h Source File @@ -30,7 +30,7 @@ - + +
diff --git a/watch__uart_8h_source.html b/watch__uart_8h_source.html index 81745c8a..54a3e992 100644 --- a/watch__uart_8h_source.html +++ b/watch__uart_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_uart.h Source File @@ -30,7 +30,7 @@ - + +
diff --git a/watch__utility_8h_source.html b/watch__utility_8h_source.html index 273e7552..7f6f8c68 100644 --- a/watch__utility_8h_source.html +++ b/watch__utility_8h_source.html @@ -3,7 +3,7 @@ - + Sensor Watch: watch-library/shared/watch/watch_utility.h Source File @@ -30,7 +30,7 @@ - + +
34#include "watch.h"
35
40
+
41typedef struct {
42 uint8_t seconds; // 0-59
43 uint8_t minutes; // 0-59
44 uint8_t hours; // 0-23
45 uint32_t days; // 0-4294967295
+
47
52const char * watch_utility_get_weekday(watch_date_time date_time);
53
@@ -147,26 +154,26 @@ $(function() {
165uint32_t watch_utility_offset_timestamp(uint32_t now, int8_t hours, int8_t minutes, int8_t seconds);
166
167#endif
-
uint32_t watch_utility_offset_timestamp(uint32_t now, int8_t hours, int8_t minutes, int8_t seconds)
Offset a timestamp by a given amount.
Definition: watch_utility.c:311
-
uint8_t watch_utility_get_weeknumber(uint16_t year, uint8_t month, uint8_t day)
Returns a number between 1-53 representing the weeknumber according to ISO8601 : First week of the ye...
Definition: watch_utility.c:45
-
float watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance)
Returns a temperature in degrees Celsius for a given thermistor voltage divider circuit.
Definition: watch_utility.c:291
-
uint8_t watch_utility_get_iso8601_weekday_number(uint16_t year, uint8_t month, uint8_t day)
Returns a number between 1-7 representing the weekday according to ISO8601 : week starts on Monday an...
Definition: watch_utility.c:34
-
uint16_t watch_utility_days_since_new_year(uint16_t year, uint8_t month, uint8_t day)
Returns a number between 1-366 representing the elapsed days since January 1st the same year.
Definition: watch_utility.c:86
-
watch_date_time watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset)
Returns a watch_date_time struct for a given UNIX time and UTC offset.
Definition: watch_utility.c:198
-
bool watch_utility_convert_to_12_hour(watch_date_time *date_time)
Converts a watch_date_time for 12-hour display.
Definition: watch_utility.c:284
-
watch_duration_t watch_utility_seconds_to_duration(uint32_t seconds)
Converts a duration in seconds to a watch_duration_t struct.
Definition: watch_utility.c:273
-
watch_date_time watch_utility_date_time_convert_zone(watch_date_time date_time, uint32_t origin_utc_offset, uint32_t destination_utc_offset)
Converts a time from a given time zone to another time zone.
Definition: watch_utility.c:268
-
uint32_t watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset)
Returns the UNIX time (seconds since 1970) for a given date/time in UTC.
Definition: watch_utility.c:170
-
const char * watch_utility_get_weekday(watch_date_time date_time)
Returns a two-letter weekday for the given timestamp, suitable for display in positions 0-1 of the wa...
Definition: watch_utility.c:28
-
uint8_t is_leap(uint16_t year)
Returns 1 if year is leap and 0 otherwise.
Definition: watch_utility.c:80
-
uint32_t watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset)
Returns the UNIX time (seconds since 1970) for a given watch_date_time struct.
Definition: watch_utility.c:188
-
Definition: watch_utility.h:41
-
Definition: watch_rtc.h:44
+
uint32_t watch_utility_offset_timestamp(uint32_t now, int8_t hours, int8_t minutes, int8_t seconds)
Offset a timestamp by a given amount.
Definition watch_utility.c:311
+
uint8_t watch_utility_get_weeknumber(uint16_t year, uint8_t month, uint8_t day)
Returns a number between 1-53 representing the weeknumber according to ISO8601 : First week of the ye...
Definition watch_utility.c:45
+
float watch_utility_thermistor_temperature(uint16_t value, bool highside, float b_coefficient, float nominal_temperature, float nominal_resistance, float series_resistance)
Returns a temperature in degrees Celsius for a given thermistor voltage divider circuit.
Definition watch_utility.c:291
+
uint8_t watch_utility_get_iso8601_weekday_number(uint16_t year, uint8_t month, uint8_t day)
Returns a number between 1-7 representing the weekday according to ISO8601 : week starts on Monday an...
Definition watch_utility.c:34
+
uint16_t watch_utility_days_since_new_year(uint16_t year, uint8_t month, uint8_t day)
Returns a number between 1-366 representing the elapsed days since January 1st the same year.
Definition watch_utility.c:86
+
watch_date_time watch_utility_date_time_from_unix_time(uint32_t timestamp, uint32_t utc_offset)
Returns a watch_date_time struct for a given UNIX time and UTC offset.
Definition watch_utility.c:198
+
bool watch_utility_convert_to_12_hour(watch_date_time *date_time)
Converts a watch_date_time for 12-hour display.
Definition watch_utility.c:284
+
watch_duration_t watch_utility_seconds_to_duration(uint32_t seconds)
Converts a duration in seconds to a watch_duration_t struct.
Definition watch_utility.c:273
+
watch_date_time watch_utility_date_time_convert_zone(watch_date_time date_time, uint32_t origin_utc_offset, uint32_t destination_utc_offset)
Converts a time from a given time zone to another time zone.
Definition watch_utility.c:268
+
uint32_t watch_utility_convert_to_unix_time(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second, uint32_t utc_offset)
Returns the UNIX time (seconds since 1970) for a given date/time in UTC.
Definition watch_utility.c:170
+
const char * watch_utility_get_weekday(watch_date_time date_time)
Returns a two-letter weekday for the given timestamp, suitable for display in positions 0-1 of the wa...
Definition watch_utility.c:28
+
uint8_t is_leap(uint16_t year)
Returns 1 if year is leap and 0 otherwise.
Definition watch_utility.c:80
+
uint32_t watch_utility_date_time_to_unix_time(watch_date_time date_time, uint32_t utc_offset)
Returns the UNIX time (seconds since 1970) for a given watch_date_time struct.
Definition watch_utility.c:188
+
Definition watch_utility.h:41
+
Definition watch_rtc.h:44