pub unsafe extern "C" fn i2s_channel_enable(
    handle: i2s_chan_handle_t
) -> esp_err_t
Expand description

@brief Enable the i2s channel @note Only allowed to be called when the channel state is READY, (i.e., channel has been initialized, but not started) the channel will enter RUNNING state once it is enabled successfully. @note Enable the channel can start the I2S communication on hardware. It will start outputting bclk and ws signal. For mclk signal, it will start to output when initialization is finished

@param[in] handle I2S channel handler - ESP_OK Start successfully - ESP_ERR_INVALID_ARG NULL pointer - ESP_ERR_INVALID_STATE This channel has not initialized or already started