4#include "buzzer_impl_interface.h"
5#include "vsdk_config.h"
22struct buzzer_impl :
public buzzer_impl_interface {
45 std::map<buzzer_boost, gpiod::line> _booster_lines;
46 gpiod::line _booster_enable;
Include this file to your file so you have access to fmtlib header-only implementation.
Any entities that belong to the system library.
buzzer_boost
Define how loud the buzzer will be, the default value is the quietest no_boost while boost5 is the lo...
Definition buzzer_common.h:14
The config class In case the buzzer requires customisation, period and duty cycle can be modified,...
Definition buzzer_common.h:36
void buzzer_enable(bool enable, const buzzer_config &cfg) override
Enable or disable the buzzer by taking a custom buzzer setup. See buzzer_config.
void enable_boost(bool enable) override
Enable or disable boost.
void set_boost_level(buzzer_boost level) override
Set the boost level.