Function esp_idf_hal::sys::i2s_channel_disable
source ยท pub unsafe extern "C" fn i2s_channel_disable(
handle: *mut i2s_channel_obj_t,
) -> i32
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