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

2 years ago
1 year ago
2 years ago
  1. #pragma once
  2. #include <stdbool.h>
  3. #include <stdint.h>
  4. #include "aproject_config/config.h"
  5. #include "znordic.h"
  6. typedef enum {
  7. kBoardBeepEffect_none = 0,
  8. // ��һ��
  9. kBoardBeepEffect_oneShortBeep,
  10. // ��һ������
  11. kBoardBeepEffect_oneShortLongBeep,
  12. // ������
  13. kBoardBeepEffect_threeShortBeep,
  14. // ������������
  15. kBoardBeepEffect_continuousShortBeep,
  16. } BoardBeepEffect_t;
  17. void BoardBeepCtrl_init(void);
  18. void BoardBeepCtrl_load();
  19. void BoardBeepCtrl_unload();
  20. void BoardBeepCtrl_set(uint8_t beep);
  21. void BoardBeepCtrl_setEffect(BoardBeepEffect_t effect);