Function esp_idf_sys::i2s_channel_disable
source ยท pub unsafe extern "C" fn i2s_channel_disable(
handle: i2s_chan_handle_t,
) -> esp_err_t
Expand description
@brief Disable the I2S channel @note Only allowed to be called when the channel state is RUNNING, (i.e., channel has been started) the channel will enter READY state once it is disabled successfully. @note Disable the channel can stop the I2S communication on hardware. It will stop BCLK and WS signal but not MCLK signal
@param[in] handle I2S channel handler @return - ESP_OK Stop successfully - ESP_ERR_INVALID_ARG NULL pointer - ESP_ERR_INVALID_STATE This channel has not stated