Configuration structure for initializing the DAC structure.
#include <dac.h>
Public Attributes | |
uint32_t | target_samplerate |
Channel | chn |
Mode | mode |
BitDepth | bitdepth |
BufferState | buff_state |
BitDepth daisy::DacHandle::Config::bitdepth |
BufferState daisy::DacHandle::Config::buff_state |
Channel daisy::DacHandle::Config::chn |
Mode daisy::DacHandle::Config::mode |
uint32_t daisy::DacHandle::Config::target_samplerate |
Target Samplerate in Hz used to configure the internal timebase for DMA mode. Does nothing in POLLING mode. If the value is 0 at Init time this will default to 48000Hz otherwise the driver will attempt meet the target.