libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
daisy::DacHandle::Config Struct Reference

Detailed Description

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
 

Member Data Documentation

◆ bitdepth

BitDepth daisy::DacHandle::Config::bitdepth

◆ buff_state

BufferState daisy::DacHandle::Config::buff_state

◆ chn

Channel daisy::DacHandle::Config::chn

◆ mode

Mode daisy::DacHandle::Config::mode

◆ 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 struct was generated from the following file: