2024-07-18 11:29:28 +08:00
|
|
|
#ifndef __BUZZER_H
|
|
|
|
#define __BUZZER_H
|
|
|
|
|
|
|
|
#include "main.h"
|
|
|
|
|
2024-07-20 10:44:59 +08:00
|
|
|
extern int timed_beep_event_id;
|
|
|
|
extern int times_beep_event_id;
|
|
|
|
|
2024-07-18 11:29:28 +08:00
|
|
|
void BUZZER_Start();
|
|
|
|
void BUZZER_Stop();
|
|
|
|
|
2024-07-20 10:44:59 +08:00
|
|
|
void BUZZER_StartTimed(uint16_t time);
|
|
|
|
void BUZZER_StartNTimes(uint8_t n, uint16_t on_time, uint16_t off_time);
|
2024-07-18 11:29:28 +08:00
|
|
|
|
|
|
|
#endif
|