Car/Peripheral/Inc/buzzer.h
2024-07-20 10:44:59 +08:00

16 lines
285 B
C

#ifndef __BUZZER_H
#define __BUZZER_H
#include "main.h"
extern int timed_beep_event_id;
extern int times_beep_event_id;
void BUZZER_Start();
void BUZZER_Stop();
void BUZZER_StartTimed(uint16_t time);
void BUZZER_StartNTimes(uint8_t n, uint16_t on_time, uint16_t off_time);
#endif