Veethree D7 SDK
Loading...
Searching...
No Matches
vsdk::sys::buzzer_config Struct Reference

Detailed Description

The config class In case the buzzer requires customisation, period and duty cycle can be modified, as well as boosting the volume.

#include <buzzer_common.h>

Public Attributes

uint32_t period { buzzer_default_period }
 Buzzer period as per Linux PWM sysfs API (nanoseconds). Defaults to buzzer_default_period.
double duty_cycle { buzzer_default_duty_cycle }
 Buzzer period as a percentage of the period. The range is [0-1]. Defaults to buzzer_default_duty_cycle.
buzzer_boost boost { buzzer_boost::no_boost }
 Buzzer boost level. Defaults to buzzer_boost::no_boost.

Detailed Description

The config class In case the buzzer requires customisation, period and duty cycle can be modified, as well as boosting the volume.


The documentation for this struct was generated from the following file: