buzzer.h 295 B

1234567891011121314
  1. #ifndef BUZZER_H_
  2. #define BUZZER_H_
  3. #include <stdint.h>
  4. void buzzer_init(const uint32_t frequency);
  5. uint32_t modify_frequency(int amount);
  6. uint32_t reset_frequency();
  7. void set_frequency(const uint32_t freq);
  8. void buzzer_pause();
  9. void buzzer_reset();
  10. void buzzer_resume();
  11. #endif // BUZZER_H_