Function esp_idf_sys::i2s_adc_enable
source ยท pub unsafe extern "C" fn i2s_adc_enable(
i2s_num: i2s_port_t,
) -> esp_err_t
Expand description
@brief Start to use I2S built-in ADC mode @note This function would acquire the lock of ADC to prevent the data getting corrupted during the I2S peripheral is being used to do fully continuous ADC sampling.
@param i2s_num i2s port index @return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error - ESP_ERR_INVALID_STATE Driver state error