|
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"
Include dependency graph for buzzer_arch.h:
This graph shows which files directly or indirectly include this file: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.
Definition at line 49 of file buzzer_arch.c.
References BUZZER_AF, BUZZER_GPIO, BUZZER_PIN, BUZZER_PWM_CHANNEL, buzzer_pwm_conf, BUZZER_PWMD, foo, and gpio_setup_pin_af().
Referenced by buzzer_tunes_init().
Here is the call graph for this function:
Here is the caller graph for this function: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, BUZZER_PWMD, and foo.
Referenced by buzzer_tunes_periodic(), buzzer_tunes_play(), and start_next_note().
Here is the caller graph for this function: