arduino-audio-driver
Classes | Enumerations | Variables
Audio Driver

Classes

class  AudioBoard
 Defitintion for audio board pins and an audio driver. More...
 
class  AudioDriver
 Abstract Driver API for codec chips. More...
 
class  CodecConfig
 I2S configuration and definition of input and output with default values. More...
 
class  DriverPins
 All pins for i2s, spi, i2c and other pins. More...
 
struct  I2SDefinition
 I2s interface configuration for audio codec chip. More...
 
class  NoDriverClass
 Dummy Driver which does nothing. More...
 

Enumerations

enum  input_device_t {
  ADC_INPUT_NONE = 0x00 , ADC_INPUT_LINE1 , ADC_INPUT_LINE2 , ADC_INPUT_LINE3 ,
  ADC_INPUT_ALL , ADC_INPUT_DIFFERENCE
}
 Select adc for input mic signal. If the chip only has one ADC this might provide the functionality on the channel level. More...
 
enum  output_device_t { DAC_OUTPUT_NONE = 0x00 , DAC_OUTPUT_LINE1 , DAC_OUTPUT_LINE2 , DAC_OUTPUT_ALL }
 Select individual dac for dac output. If the device has only one DAC this might provide the functionality channel level. More...
 
enum class  PinFunction {
  HEADPHONE_DETECT , AUXIN_DETECT , PA , POWER ,
  LED , KEY , SD , CODEC ,
  CODEC_ADC , LATCH , RESET , MCLK_SOURCE
}
 Pin Functions. More...
 

Variables

static AudioDriverAC101Class AudioDriverAC101
 
static AudioDriverAD1938Class AudioDriverAD1938
 
static AudioDriverCS42448Class AudioDriverCS42448
 
static AudioDriverCS43l22Class AudioDriverCS43l22
 
static AudioDriverES7210Class AudioDriverES7210
 
static AudioDriverES7243Class AudioDriverES7243
 
static AudioDriverES7243eClass AudioDriverES7243e
 
static AudioDriverES8156Class AudioDriverES8156
 
static AudioDriverES8311Class AudioDriverES8311
 
static AudioDriverES8374Class AudioDriverES8374
 
static AudioDriverES8388Class AudioDriverES8388
 
static AudioDriverLyratMiniClass AudioDriverLyratMini
 
static AudioDriverWM8960Class AudioDriverWM8960
 
static AudioDriverWM8978Class AudioDriverWM8978
 
static AudioDriverWM8994Class AudioDriverWM8994
 
static AudioBoard AudioKitAC101 {AudioDriverAC101, PinsAudioKitAC101}
 
static AudioBoard AudioKitEs8388V1 {AudioDriverES8388, PinsAudioKitEs8388v1}
 
static AudioBoard AudioKitEs8388V2 {AudioDriverES8388, PinsAudioKitEs8388v2}
 
static AudioBoard GenericCS43l22 {AudioDriverCS43l22, NoPins}
 
static AudioBoard GenericWM8960 {AudioDriverWM8960, NoPins}
 
static AudioBoard LyratMini {AudioDriverLyratMini, PinsLyratMini}
 
static AudioBoard LyratV42 {AudioDriverES8388, PinsLyrat42}
 
static AudioBoard LyratV43 {AudioDriverES8388, PinsLyrat43}
 
static AudioBoard NoBoard {NoDriver, NoPins}
 
static NoDriverClass NoDriver
 
static DriverPins NoPins
 Pins need to be set up in the sketch. More...
 
static PinsAudioKitAC101Class PinsAudioKitAC101
 
static PinsAudioKitEs8388v1Class PinsAudioKitEs8388v1
 
static PinsAudioKitEs8388v2Class PinsAudioKitEs8388v2
 
static PinsLyrat42Class PinsLyrat42
 
static PinsLyrat43Class PinsLyrat43
 
static PinsLyratMiniClass PinsLyratMini
 

Detailed Description

Enumeration Type Documentation

◆ input_device_t

Select adc for input mic signal. If the chip only has one ADC this might provide the functionality on the channel level.

Enumerator
ADC_INPUT_NONE 

no input

ADC_INPUT_LINE1 

mic input from adc 1

ADC_INPUT_LINE2 

mic input from adc 2

ADC_INPUT_LINE3 

mic input from adc 3

ADC_INPUT_ALL 

mic input from all adc

ADC_INPUT_DIFFERENCE 

mic input to adc difference channel

◆ output_device_t

Select individual dac for dac output. If the device has only one DAC this might provide the functionality channel level.

Enumerator
DAC_OUTPUT_NONE 

no output

DAC_OUTPUT_LINE1 

dac output signal to dac 1

DAC_OUTPUT_LINE2 

dac output signal to dac 2

DAC_OUTPUT_ALL 

dac output signal to both dacs

◆ PinFunction

enum PinFunction
strong

Pin Functions.

Enumerator
HEADPHONE_DETECT 
AUXIN_DETECT 
PA 
POWER 
LED 
KEY 
SD 
CODEC 
CODEC_ADC 
LATCH 
RESET 
MCLK_SOURCE 

Variable Documentation

◆ AudioDriverAC101

AudioDriverAC101Class AudioDriverAC101
static

◆ AudioDriverAD1938

AudioDriverAD1938Class AudioDriverAD1938
static

◆ AudioDriverCS42448

AudioDriverCS42448Class AudioDriverCS42448
static

◆ AudioDriverCS43l22

AudioDriverCS43l22Class AudioDriverCS43l22
static

◆ AudioDriverES7210

AudioDriverES7210Class AudioDriverES7210
static

◆ AudioDriverES7243

AudioDriverES7243Class AudioDriverES7243
static

◆ AudioDriverES7243e

AudioDriverES7243eClass AudioDriverES7243e
static

◆ AudioDriverES8156

AudioDriverES8156Class AudioDriverES8156
static

◆ AudioDriverES8311

AudioDriverES8311Class AudioDriverES8311
static

◆ AudioDriverES8374

AudioDriverES8374Class AudioDriverES8374
static

◆ AudioDriverES8388

AudioDriverES8388Class AudioDriverES8388
static

◆ AudioDriverLyratMini

AudioDriverLyratMiniClass AudioDriverLyratMini
static

◆ AudioDriverWM8960

AudioDriverWM8960Class AudioDriverWM8960
static

◆ AudioDriverWM8978

AudioDriverWM8978Class AudioDriverWM8978
static

◆ AudioDriverWM8994

AudioDriverWM8994Class AudioDriverWM8994
static

◆ AudioKitAC101

◆ AudioKitEs8388V1

◆ AudioKitEs8388V2

◆ GenericCS43l22

AudioBoard GenericCS43l22 {AudioDriverCS43l22, NoPins}
static

◆ GenericWM8960

AudioBoard GenericWM8960 {AudioDriverWM8960, NoPins}
static

◆ LyratMini

◆ LyratV42

◆ LyratV43

◆ NoBoard

AudioBoard NoBoard {NoDriver, NoPins}
static

◆ NoDriver

NoDriverClass NoDriver
static

◆ NoPins

DriverPins NoPins
static

Pins need to be set up in the sketch.

◆ PinsAudioKitAC101

PinsAudioKitAC101Class PinsAudioKitAC101
static

◆ PinsAudioKitEs8388v1

PinsAudioKitEs8388v1Class PinsAudioKitEs8388v1
static

◆ PinsAudioKitEs8388v2

PinsAudioKitEs8388v2Class PinsAudioKitEs8388v2
static

◆ PinsLyrat42

PinsLyrat42Class PinsLyrat42
static

◆ PinsLyrat43

PinsLyrat43Class PinsLyrat43
static

◆ PinsLyratMini

PinsLyratMiniClass PinsLyratMini
static