Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
sbl::control::input::GateConfig Struct Reference

GateInput construction settings. More...

Detailed Description

GateInput construction settings.

Definition at line 26 of file gate_input.hpp.

#include <gate_input.hpp>

Public Attributes

uint16_t threshold_high = 40000
 
uint16_t threshold_low = 20000
 

Member Data Documentation

◆ threshold_high

uint16_t sbl::control::input::GateConfig::threshold_high = 40000

ADC value at or above which the gate turns on (about 2 V of a 3.3 V, 16-bit span)

Definition at line 28 of file gate_input.hpp.

◆ threshold_low

uint16_t sbl::control::input::GateConfig::threshold_low = 20000

ADC value below which the gate turns off; keep it below threshold_high

Definition at line 30 of file gate_input.hpp.


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