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