4 #define e_SOUND_MODE_NULL 0xFF
5 typedef enum : uint8_t {
12 #define e_SOUND_MODE_DEFAULT e_SOUND_MODE_LOUD
14 typedef enum : uint8_t {
15 e_SOUND_TYPE_ButtonEcho,
16 e_SOUND_TYPE_EncoderEcho,
17 e_SOUND_TYPE_StandardPrompt,
18 e_SOUND_TYPE_StandardConfirm,
19 e_SOUND_TYPE_StandardWarning,
20 e_SOUND_TYPE_StandardAlert,
21 e_SOUND_TYPE_EncoderMove,
22 e_SOUND_TYPE_BlindAlert
25 typedef enum : uint8_t {
28 e_SOUND_CLASS_Confirm,
29 e_SOUND_CLASS_Warning,
33 extern eSOUND_MODE eSoundMode;
36 extern void Sound_Init(
void);
37 extern void Sound_CycleState(
void);
38 extern void Sound_MakeSound(eSOUND_TYPE eSoundType);
39 extern void Sound_MakeCustom(uint16_t ms,uint16_t tone_ ,
bool critical);
40 void sound_wait_for_user();
41 void sound_wait_for_user_reset();