Wed, 10 Jun 2020 09:43:51 +0200
SDK settings to reduce bin size. Some log messages to debug level. Added KWH usage registration. Added equipment power usage for HLT and MLT. Equipment database upgraded to version 2, expandable. Fixed some screen errors during temperature mash steps.
0 | 1 | #ifndef _TASK_SOUND_H |
2 | #define _TASK_SOUND_H | |
3 | ||
4 | /** | |
5 | * @file task_sound.h | |
4 | 6 | * @brief BrewBoard Sound driver. Uses a simple piezo buzzer. |
0 | 7 | */ |
8 | ||
1
ad2c8b13eb88
Updated lots of doxygen comments
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
9 | /** |
ad2c8b13eb88
Updated lots of doxygen comments
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
10 | * @brief Sound prompt types |
ad2c8b13eb88
Updated lots of doxygen comments
Michiel Broek <mbroek@mbse.eu>
parents:
0
diff
changeset
|
11 | */ |
0 | 12 | typedef enum { |
13 | SOUND_StartUp = 0, ///< Startup sound. | |
14 | SOUND_Prompt, ///< Prompt sound | |
15 | SOUND_TempReached, ///< Temperature Reached | |
16 | SOUND_TimeOut, ///< Time out. | |
17 | SOUND_AddHop, ///< Add hop sound | |
18 | SOUND_End, ///< End sound | |
19 | SOUND_Warn, ///< Warning sound | |
20 | } SOUND_TYPE; | |
21 | ||
22 | /** | |
23 | * @brief Play sound | |
24 | * @param id Sound ID | |
25 | */ | |
26 | void SoundPlay(int id); | |
27 | ||
28 | /** | |
29 | * @brief FreeRTOS sound task. | |
30 | */ | |
31 | void task_sound(void *); | |
32 | ||
33 | ||
34 | #endif |