arduino-audio-driver
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations
CodecConstants.h File Reference
#include "stdint.h"

Go to the source code of this file.

Classes

struct  codec_dac_volume_config_t
 Codec dac volume configurations. More...
 
struct  es_i2s_clock_t
 i2s clock configuration structure for es8388 and es8374 More...
 

Typedefs

typedef void * audio_codec_dac_vol_offset
 

Enumerations

enum  es_lclk_div_t {
  LCLK_DIV_MIN = -1 , LCLK_DIV_128 = 0 , LCLK_DIV_192 = 1 , LCLK_DIV_256 = 2 ,
  LCLK_DIV_384 = 3 , LCLK_DIV_512 = 4 , LCLK_DIV_576 = 5 , LCLK_DIV_768 = 6 ,
  LCLK_DIV_1024 = 7 , LCLK_DIV_1152 = 8 , LCLK_DIV_1408 = 9 , LCLK_DIV_1536 = 10 ,
  LCLK_DIV_2112 = 11 , LCLK_DIV_2304 = 12 , LCLK_DIV_125 = 16 , LCLK_DIV_136 = 17 ,
  LCLK_DIV_250 = 18 , LCLK_DIV_272 = 19 , LCLK_DIV_375 = 20 , LCLK_DIV_500 = 21 ,
  LCLK_DIV_544 = 22 , LCLK_DIV_750 = 23 , LCLK_DIV_1000 = 24 , LCLK_DIV_1088 = 25 ,
  LCLK_DIV_1496 = 26 , LCLK_DIV_1500 = 27 , LCLK_DIV_MAX
}
 Clock divider values for es8388 and es8374. More...
 
enum  es_sclk_div_t {
  MCLK_DIV_MIN = -1 , MCLK_DIV_1 = 1 , MCLK_DIV_2 = 2 , MCLK_DIV_3 = 3 ,
  MCLK_DIV_4 = 4 , MCLK_DIV_6 = 5 , MCLK_DIV_8 = 6 , MCLK_DIV_9 = 7 ,
  MCLK_DIV_11 = 8 , MCLK_DIV_12 = 9 , MCLK_DIV_16 = 10 , MCLK_DIV_18 = 11 ,
  MCLK_DIV_22 = 12 , MCLK_DIV_24 = 13 , MCLK_DIV_33 = 14 , MCLK_DIV_36 = 15 ,
  MCLK_DIV_44 = 16 , MCLK_DIV_48 = 17 , MCLK_DIV_66 = 18 , MCLK_DIV_72 = 19 ,
  MCLK_DIV_5 = 20 , MCLK_DIV_10 = 21 , MCLK_DIV_15 = 22 , MCLK_DIV_17 = 23 ,
  MCLK_DIV_20 = 24 , MCLK_DIV_25 = 25 , MCLK_DIV_30 = 26 , MCLK_DIV_32 = 27 ,
  MCLK_DIV_34 = 28 , MCLK_DIV_7 = 29 , MCLK_DIV_13 = 30 , MCLK_DIV_14 = 31 ,
  MCLK_DIV_MAX
}
 Clock divider values for es8388 and es8374. More...
 

Typedef Documentation

◆ audio_codec_dac_vol_offset

Enumeration Type Documentation

◆ es_lclk_div_t

Clock divider values for es8388 and es8374.

Enumerator
LCLK_DIV_MIN 
LCLK_DIV_128 
LCLK_DIV_192 
LCLK_DIV_256 
LCLK_DIV_384 
LCLK_DIV_512 
LCLK_DIV_576 
LCLK_DIV_768 
LCLK_DIV_1024 
LCLK_DIV_1152 
LCLK_DIV_1408 
LCLK_DIV_1536 
LCLK_DIV_2112 
LCLK_DIV_2304 
LCLK_DIV_125 
LCLK_DIV_136 
LCLK_DIV_250 
LCLK_DIV_272 
LCLK_DIV_375 
LCLK_DIV_500 
LCLK_DIV_544 
LCLK_DIV_750 
LCLK_DIV_1000 
LCLK_DIV_1088 
LCLK_DIV_1496 
LCLK_DIV_1500 
LCLK_DIV_MAX 

◆ es_sclk_div_t

Clock divider values for es8388 and es8374.

Enumerator
MCLK_DIV_MIN 
MCLK_DIV_1 
MCLK_DIV_2 
MCLK_DIV_3 
MCLK_DIV_4 
MCLK_DIV_6 
MCLK_DIV_8 
MCLK_DIV_9 
MCLK_DIV_11 
MCLK_DIV_12 
MCLK_DIV_16 
MCLK_DIV_18 
MCLK_DIV_22 
MCLK_DIV_24 
MCLK_DIV_33 
MCLK_DIV_36 
MCLK_DIV_44 
MCLK_DIV_48 
MCLK_DIV_66 
MCLK_DIV_72 
MCLK_DIV_5 
MCLK_DIV_10 
MCLK_DIV_15 
MCLK_DIV_17 
MCLK_DIV_20 
MCLK_DIV_25 
MCLK_DIV_30 
MCLK_DIV_32 
MCLK_DIV_34 
MCLK_DIV_7 
MCLK_DIV_13 
MCLK_DIV_14 
MCLK_DIV_MAX