|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Piezo buzzer tone output with a ChibiOS PWM driver. More...
#include "std.h"Go to the source code of this file.
Functions | |
| void | buzzer_arch_init (void) |
| void | buzzer_arch_tone (uint16_t freq) |
| Play a square wave at freq Hz, 0 for silence. | |
Piezo buzzer tone output with a ChibiOS PWM driver.
The board defines BUZZER_GPIO, BUZZER_PIN, BUZZER_AF, BUZZER_PWMD and BUZZER_PWM_CHANNEL.
Definition in file buzzer_arch.h.
|
extern |
Definition at line 49 of file buzzer_arch.c.
References BUZZER_AF, BUZZER_GPIO, BUZZER_PIN, BUZZER_PWM_CHANNEL, buzzer_pwm_conf, BUZZER_PWMD, and gpio_setup_pin_af().
Referenced by buzzer_tunes_init().
|
extern |
Play a square wave at freq Hz, 0 for silence.
Definition at line 57 of file buzzer_arch.c.
References BUZZER_PWM_CHANNEL, BUZZER_PWM_FREQUENCY, and BUZZER_PWMD.
Referenced by buzzer_tunes_periodic(), start_next_note(), and tune_start().