Skip to content

Struct daisy::DacHandle::Config

ClassList > daisy > DacHandle > Config

More...

  • #include <dac.h>

Public Attributes

Type Name
BitDepth bitdepth
BufferState buff_state
Channel chn
Mode mode
uint32_t target_samplerate

Detailed Description

Configuration structure for initializing the DAC structure.

Public Attributes Documentation

variable bitdepth

BitDepth daisy::DacHandle::Config::bitdepth;

variable buff_state

BufferState daisy::DacHandle::Config::buff_state;

variable chn

Channel daisy::DacHandle::Config::chn;

variable mode

Mode daisy::DacHandle::Config::mode;

variable target_samplerate

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.



The documentation for this class was generated from the following file external-docs/libDaisy/src/per/dac.h