2022-10-20 17:13:02 +08:00
|
|
|
#ifndef BSP_BUZZER_H
|
|
|
|
#define BSP_BUZZER_H
|
|
|
|
|
2022-11-19 15:40:38 +08:00
|
|
|
#include <stdint-gcc.h>
|
2022-10-20 17:13:02 +08:00
|
|
|
|
2022-11-13 21:46:52 +08:00
|
|
|
void buzzer_init();
|
2022-11-19 15:43:57 +08:00
|
|
|
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
|