sentry_gimbal_hzz/bsp/bsp_buzzer.h

12 lines
212 B
C
Raw Normal View History

2022-10-20 17:13:02 +08:00
#ifndef BSP_BUZZER_H
#define BSP_BUZZER_H
#include <stdint-gcc.h>
#include <stdint.h>
2022-10-20 17:13:02 +08:00
2022-11-13 21:46:52 +08:00
void buzzer_init();
extern void buzzer_on(uint16_t psc, uint16_t pwm, uint8_t level);
2022-10-20 17:13:02 +08:00
extern void buzzer_off(void);
#endif