M5Unified
|
#include <Mic_Class.hpp>
Public Attributes | |
int | pin_data_in = -1 |
i2s_data_in (for mic) More... | |
int | pin_bck = I2S_PIN_NO_CHANGE |
i2s_bclk More... | |
int | pin_mck = I2S_PIN_NO_CHANGE |
i2s_mclk More... | |
int | pin_ws = I2S_PIN_NO_CHANGE |
i2s_ws (lrck) More... | |
uint32_t | sample_rate = 16000 |
input sampling rate (Hz) More... | |
bool | stereo = false |
use stereo output More... | |
int | input_offset = 0 |
<<This value is no longer used>> More... | |
uint8_t | over_sampling = 2 |
Sampling times of obtain the average value. More... | |
uint8_t | magnification = 16 |
multiplier for input value More... | |
uint8_t | noise_filter_level = 0 |
Coefficient of the previous value, used for noise filtering. More... | |
bool | use_adc = false |
use analog input mic ( need only pin_data_in ) More... | |
size_t | dma_buf_len = 256 |
for I2S dma_buf_len More... | |
size_t | dma_buf_count = 3 |
for I2S dma_buf_count More... | |
uint8_t | task_priority = 2 |
background task priority More... | |
uint8_t | task_pinned_core = -1 |
background task pinned core More... | |
i2s_port_t | i2s_port = i2s_port_t::I2S_NUM_0 |
I2S port. More... | |
Definition at line 34 of file Mic_Class.hpp.
size_t m5::mic_config_t::dma_buf_count = 3 |
for I2S dma_buf_count
Definition at line 73 of file Mic_Class.hpp.
size_t m5::mic_config_t::dma_buf_len = 256 |
for I2S dma_buf_len
Definition at line 70 of file Mic_Class.hpp.
i2s_port_t m5::mic_config_t::i2s_port = i2s_port_t::I2S_NUM_0 |
I2S port.
Definition at line 82 of file Mic_Class.hpp.
int m5::mic_config_t::input_offset = 0 |
<<This value is no longer used>>
Definition at line 55 of file Mic_Class.hpp.
uint8_t m5::mic_config_t::magnification = 16 |
multiplier for input value
Definition at line 61 of file Mic_Class.hpp.
uint8_t m5::mic_config_t::noise_filter_level = 0 |
Coefficient of the previous value, used for noise filtering.
Definition at line 64 of file Mic_Class.hpp.
uint8_t m5::mic_config_t::over_sampling = 2 |
Sampling times of obtain the average value.
Definition at line 58 of file Mic_Class.hpp.
int m5::mic_config_t::pin_bck = I2S_PIN_NO_CHANGE |
i2s_bclk
Definition at line 40 of file Mic_Class.hpp.
int m5::mic_config_t::pin_data_in = -1 |
i2s_data_in (for mic)
Definition at line 37 of file Mic_Class.hpp.
int m5::mic_config_t::pin_mck = I2S_PIN_NO_CHANGE |
i2s_mclk
Definition at line 43 of file Mic_Class.hpp.
int m5::mic_config_t::pin_ws = I2S_PIN_NO_CHANGE |
i2s_ws (lrck)
Definition at line 46 of file Mic_Class.hpp.
uint32_t m5::mic_config_t::sample_rate = 16000 |
input sampling rate (Hz)
Definition at line 49 of file Mic_Class.hpp.
bool m5::mic_config_t::stereo = false |
use stereo output
Definition at line 52 of file Mic_Class.hpp.
uint8_t m5::mic_config_t::task_pinned_core = -1 |
background task pinned core
Definition at line 79 of file Mic_Class.hpp.
uint8_t m5::mic_config_t::task_priority = 2 |
background task priority
Definition at line 76 of file Mic_Class.hpp.
bool m5::mic_config_t::use_adc = false |
use analog input mic ( need only pin_data_in )
Definition at line 67 of file Mic_Class.hpp.