You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
565 B
26 lines
565 B
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include "aproject_config/config.h"
|
|
#include "znordic.h"
|
|
|
|
typedef enum {
|
|
kBoardBeepEffect_none = 0,
|
|
// 响一声
|
|
kBoardBeepEffect_oneShortBeep,
|
|
// 响一声长鸣
|
|
kBoardBeepEffect_oneShortLongBeep,
|
|
// 响三声
|
|
kBoardBeepEffect_threeShortBeep,
|
|
// 持续短鸣报警
|
|
kBoardBeepEffect_continuousShortBeep,
|
|
} BoardBeepEffect_t;
|
|
|
|
void BoardBeepCtrl_init(void);
|
|
void BoardBeepCtrl_load();
|
|
void BoardBeepCtrl_unload();
|
|
|
|
void BoardBeepCtrl_set(uint8_t beep);
|
|
void BoardBeepCtrl_setEffect(BoardBeepEffect_t effect);
|