|
arduino-audio-driver
|
Enumerations | |
| enum | channels_t { CHANNELS2 = 2 , CHANNELS4 = 4 , CHANNELS8 = 8 , CHANNELS16 = 16 } |
| Number of audio channels. More... | |
| enum | codec_mode_t { CODEC_MODE_MIN = -1 , CODEC_MODE_NONE = 0x00 , CODEC_MODE_ENCODE = 0x01 , CODEC_MODE_DECODE = 0x02 , CODEC_MODE_BOTH = 0x03 , CODEC_MODE_LINE_IN = 0x04 , CODEC_MODE_MAX } |
| Selects which codec path(s) are active. More... | |
| enum | es_mic_gain_t { MIC_GAIN_MIN = -1 , MIC_GAIN_0DB = 0 , MIC_GAIN_3DB = 3 , MIC_GAIN_6DB = 6 , MIC_GAIN_9DB = 9 , MIC_GAIN_12DB = 12 , MIC_GAIN_15DB = 15 , MIC_GAIN_18DB = 18 , MIC_GAIN_21DB = 21 , MIC_GAIN_24DB = 24 , MIC_GAIN_MAX } |
| Microphone pre-amplifier gain. More... | |
| enum | i2s_format_t { I2S_NORMAL = 0 , I2S_LEFT = 1 , I2S_RIGHT = 2 , I2S_DSP = 3 } |
| I2S data format for the audio codec. More... | |
| enum | i2s_master_slave_t { MODE_SLAVE = 0x00 , MODE_MASTER = 0x01 } |
| I2S operating mode for the audio codec. Note: if the microcontroller is master, the codec must be slave. More... | |
| enum class | PinLogic { InputActiveHigh , InputActiveLow , InputActiveTouch , Input , Output , Inactive , OutputActiveLow } |
| Describes the electrical role and active level of a GPIO pin. More... | |
| enum | sample_bits_t { BIT_LENGTH_MIN = -1 , BIT_LENGTH_16BITS = 0x03 , BIT_LENGTH_18BITS = 0x02 , BIT_LENGTH_20BITS = 0x01 , BIT_LENGTH_24BITS = 0x00 , BIT_LENGTH_32BITS = 0x04 , BIT_LENGTH_MAX } |
| Number of bits per I2S sample. More... | |
| enum | samplerate_t { RATE_8K = 0 , RATE_11K , RATE_16K , RATE_22K , RATE_24K , RATE_32K , RATE_44K , RATE_48K , RATE_64K , RATE_88K , RATE_96K , RATE_128K , RATE_176K , RATE_192K } |
| I2S sample rate in samples per second. More... | |
| enum | signal_t { SIGNAL_DIGITAL , SIGNAL_AMALOG , SIGNAL_PDM , SIGNAL_TDM } |
| Signal type carried over the audio interface. More... | |
| enum channels_t |
| enum codec_mode_t |
| enum es_mic_gain_t |
| enum i2s_format_t |
| enum i2s_master_slave_t |
|
strong |
Describes the electrical role and active level of a GPIO pin.
| Enumerator | |
|---|---|
| InputActiveHigh | |
| InputActiveLow | |
| InputActiveTouch | |
| Input | |
| Output | |
| Inactive | |
| OutputActiveLow | |
| enum sample_bits_t |
| enum samplerate_t |
I2S sample rate in samples per second.
| enum signal_t |