|
arduino-audio-driver
|
Header-only driver class for the ES7243E ADC chip. More...
#include <ES7243E.h>
Public Member Functions | |
| ES7243E ()=default | |
| error_t | configI2S (codec_mode_t mode, I2SDefinition *iface) |
| Configure ES7243E adc mode and I2S interface. | |
| error_t | ctrlStateActive (codec_mode_t mode, bool ctrl_state_active) |
| Control ES7243E adc chip. | |
| error_t | deinit (void) |
| Deinitialize ES7243E adc chip. | |
| error_t | getVoiceVolume (int *volume) |
| Get adc gain (value of gain 0~100) | |
| error_t | init (codec_config_t *codec_cfg) |
| Initialize ES7243E adc chip. | |
| void | setAddress (int addr) |
| Defines the I2C device address. | |
| error_t | setVoiceVolume (int volume) |
| Set adc gain (value of gain 0~100) | |
| void | setWire (i2c_bus_handle_t handle) |
| Defines the I2C bus instance to be used. | |
| error_t | writeReg (uint8_t reg_add, uint8_t data) |
Protected Attributes | |
| int | i2c_addr = 0x10 |
| i2c_bus_handle_t | i2c_handle = nullptr |
Header-only driver class for the ES7243E ADC chip.
|
default |
|
inline |
Configure ES7243E adc mode and I2S interface.
|
inline |
Control ES7243E adc chip.
|
inline |
Get adc gain (value of gain 0~100)
|
inline |
Initialize ES7243E adc chip.
|
inline |
Defines the I2C device address.
|
inline |
Set adc gain (value of gain 0~100)
|
inline |
Defines the I2C bus instance to be used.
|
inline |
|
protected |
|
protected |