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 defition 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 channel for input mic signal. More...
 
enum  output_device_t { DAC_OUTPUT_NONE = 0x00 , DAC_OUTPUT_LINE1 , DAC_OUTPUT_LINE2 , DAC_OUTPUT_ALL }
 Select channel for dac output. More...
 
enum class  PinFunction {
  HEADPHONE_DETECT , AUXIN_DETECT , PA , POWER ,
  LED , KEY , SD , CODEC ,
  CODEC_ADC , MCLK_SOURCE
}
 Pin Functions. More...
 

Variables

static AudioDriverAC101Class AudioDriverAC101
 
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 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 channel for input mic signal.

Enumerator
ADC_INPUT_NONE 

no input

ADC_INPUT_LINE1 

mic input to adc channel 1

ADC_INPUT_LINE2 

mic input to adc channel 2

ADC_INPUT_LINE3 

mic input to adc channel 3

ADC_INPUT_ALL 

mic input to both channels of adc

ADC_INPUT_DIFFERENCE 

mic input to adc difference channel

◆ output_device_t

Select channel for dac output.

Enumerator
DAC_OUTPUT_NONE 

no output

DAC_OUTPUT_LINE1 

dac output signal to channel 1

DAC_OUTPUT_LINE2 

dac output signal to channel 2

DAC_OUTPUT_ALL 

dac output signal to both channels

◆ PinFunction

enum PinFunction
strong

Pin Functions.

Enumerator
HEADPHONE_DETECT 
AUXIN_DETECT 
PA 
POWER 
LED 
KEY 
SD 
CODEC 
CODEC_ADC 
MCLK_SOURCE 

Variable Documentation

◆ AudioDriverAC101

AudioDriverAC101Class AudioDriverAC101
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

◆ 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