Skip to content

daisy::DacHandle::Config

More...

#include <dac.h>

Public Attributes

Name
uint32_t target_samplerate
Channel chn
Mode mode
BitDepth bitdepth
BufferState buff_state

Detailed Description

struct daisy::DacHandle::Config;

Configuration structure for initializing the DAC structure.

Public Attributes Documentation

variable target_samplerate

uint32_t 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.

variable chn

Channel chn;

variable mode

Mode mode;

variable bitdepth

BitDepth bitdepth;

variable buff_state

BufferState buff_state;

Updated on 2024-01-03 at 19:41:01 +0000