ESPHome 2026.11.0b6
Loading...
Searching...
No Matches
esphome::es8388 Namespace Reference

Data Structures

class  ES8388
 

Enumerations

enum  DacOutputLine : uint8_t { DAC_OUTPUT_LINE1 , DAC_OUTPUT_LINE2 , DAC_OUTPUT_BOTH }
 
enum  AdcInputMicLine : uint8_t { ADC_INPUT_MIC_LINE1 , ADC_INPUT_MIC_LINE2 , ADC_INPUT_MIC_DIFFERENCE }
 
enum  ES8388MicGain : uint8_t {
  ES8388_MIC_GAIN_0DB = 0x00 , ES8388_MIC_GAIN_3DB = 0x11 , ES8388_MIC_GAIN_6DB = 0x22 , ES8388_MIC_GAIN_9DB = 0x33 ,
  ES8388_MIC_GAIN_12DB = 0x44 , ES8388_MIC_GAIN_15DB = 0x55 , ES8388_MIC_GAIN_18DB = 0x66 , ES8388_MIC_GAIN_21DB = 0x77 ,
  ES8388_MIC_GAIN_24DB = 0x88
}
 ADC PGA gain (reg 0x09): the same 3 dB step in both channel nibbles. More...
 

Functions

 ESPHOME_LOG_TAG (TAG, "es8388")
 

Enumeration Type Documentation

◆ AdcInputMicLine

Enumerator
ADC_INPUT_MIC_LINE1 
ADC_INPUT_MIC_LINE2 
ADC_INPUT_MIC_DIFFERENCE 

Definition at line 22 of file es8388.h.

◆ DacOutputLine

Enumerator
DAC_OUTPUT_LINE1 
DAC_OUTPUT_LINE2 
DAC_OUTPUT_BOTH 

Definition at line 16 of file es8388.h.

◆ ES8388MicGain

ADC PGA gain (reg 0x09): the same 3 dB step in both channel nibbles.

Enumerator
ES8388_MIC_GAIN_0DB 
ES8388_MIC_GAIN_3DB 
ES8388_MIC_GAIN_6DB 
ES8388_MIC_GAIN_9DB 
ES8388_MIC_GAIN_12DB 
ES8388_MIC_GAIN_15DB 
ES8388_MIC_GAIN_18DB 
ES8388_MIC_GAIN_21DB 
ES8388_MIC_GAIN_24DB 

Definition at line 29 of file es8388.h.

Function Documentation

◆ ESPHOME_LOG_TAG()

esphome::es8388::ESPHOME_LOG_TAG ( TAG ,
"es8388"  )