Function esp_idf_sys::i2s_stop

source ·
pub unsafe extern "C" fn i2s_stop(i2s_num: i2s_port_t) -> esp_err_t
Expand description

@brief Stop I2S driver

There is no need to call i2s_stop() before calling i2s_driver_uninstall().

Disables I2S TX/RX, until i2s_start() is called.

@param i2s_num I2S port number

@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error