arduino-audio-driver
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations
TLV320DAC310x.h File Reference

Header only C++ driver for the Texas Instruments TLV320DAC3100 / TLV320DAC3101 audio DAC. More...

#include <cstddef>
#include <math.h>
#include "Codecs/ZephyrDriverCommon.h"

Go to the source code of this file.

Classes

class  TLV320DAC310x
 Header only C++ driver for the TLV320DAC3100 / TLV320DAC3101 audio DAC. More...
 

Namespaces

namespace  audio_driver
 Namespace for audio driver components.
 

Typedefs

using TLV320DAC3100 = TLV320DAC310x
 

Enumerations

enum class  TLV320DAC310xCmVoltage { V1P35 = 0 , V1P5 = 1 , V1P65 = 2 , V1P8 = 3 }
 Headphone driver common mode voltage. More...
 
enum class  TLV320DAC310xFormat { I2S = 0 , DSP = 1 , RJF = 2 , LJF = 3 }
 Digital audio interface format. More...
 
enum class  TLV320DAC310xOsrMultiple { Multiple8 = 8 , Multiple4 = 4 , Multiple2 = 2 }
 OSR multiple, determined from the PCM sample rate. More...
 
enum class  TLV320DAC310xOutputMode { Headphone , LineOut , Auto }
 HP output driver impedance / bias mode (Page 1 / Register 44 D2-D1) More...
 
enum class  TLV320DAC310xProcBlock { DecimationA = 25 , DecimationB = 10 , DecimationC = 18 }
 Processing block / decimation filter selection (see codec_configure_filters) More...
 
enum class  TLV320DAC310xWordLength { Bits16 = 0 , Bits20 = 1 , Bits24 = 2 , Bits32 = 3 }
 Word length of the digital audio interface. More...
 

Detailed Description

Header only C++ driver for the Texas Instruments TLV320DAC3100 / TLV320DAC3101 audio DAC.

Ported from the Zephyr RTOS driver (drivers/audio/tlv320dac310x.c / tlv320dac310x.h, Copyright (c) 2019 Intel Corporation, Apache-2.0).