mirror of
https://github.com/goldenfishs/MRobot.git
synced 2025-04-28 23:39:55 +08:00
21 lines
620 B
C
21 lines
620 B
C
#pragma once
|
||
|
||
/* Includes ----------------------------------------------------------------- */
|
||
#include <stdint.h>
|
||
|
||
/* Exported constants ------------------------------------------------------- */
|
||
/* Exported macro ----------------------------------------------------------- */
|
||
/* Exported types ----------------------------------------------------------- */
|
||
|
||
/* Buzzer状态,设置用 */
|
||
typedef enum
|
||
{
|
||
BSP_BUZZER_ON,
|
||
BSP_BUZZER_OFF,
|
||
BSP_BUZZER_TAGGLE,
|
||
} BSP_Buzzer_Status_t;
|
||
|
||
/* Exported functions prototypes -------------------------------------------- */
|
||
|
||
int8_t BSP_Buzzer_Set(BSP_Buzzer_Status_t s);
|