15 lines
295 B
C
15 lines
295 B
C
#ifndef BUZZER_H_
|
|
#define BUZZER_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
void buzzer_init(const uint32_t frequency);
|
|
uint32_t modify_frequency(int amount);
|
|
uint32_t reset_frequency();
|
|
void set_frequency(const uint32_t freq);
|
|
void buzzer_pause();
|
|
void buzzer_reset();
|
|
void buzzer_resume();
|
|
|
|
#endif // BUZZER_H_
|