es7210_new_codec() function
Create new ES7210 device handle.
Arguments
i2c_conf
Config for I2C used by ES7210
handle_out
New ES7210 device handle
Return value
- ESP_OK Device handle creation success. - ESP_ERR_INVALID_ARG Invalid device handle or argument. - ESP_ERR_NO_MEM Memory allocation failed.