27 void setup()
override;
bool configure_sample_rate_()
uint8_t es7210_gain_reg_value_(float mic_gain)
Convert floating point mic gain value to register value.
bool configure_i2s_format_()
float mic_gain() override
bool es7210_update_reg_bit_(uint8_t reg_addr, uint8_t update_bits, uint8_t data)
Updates an I2C registry address by modifying the current state.
void dump_config() override
bool set_mic_gain(float mic_gain) override
void set_bits_per_sample(ES7210BitsPerSample bits_per_sample)
float get_setup_priority() const override
ES7210BitsPerSample bits_per_sample_
bool configure_mic_gain_()
void set_sample_rate(uint32_t sample_rate)
This Class provides the methods to read/write bytes from/to an i2c device.
@ ES7210_BITS_PER_SAMPLE_20
@ ES7210_BITS_PER_SAMPLE_18
@ ES7210_BITS_PER_SAMPLE_16
@ ES7210_BITS_PER_SAMPLE_32
@ ES7210_BITS_PER_SAMPLE_24
const float DATA
For components that import data from directly connected sensors like DHT.
Providing packet encoding functions for exchanging data with a remote host.