Function esp_idf_svc::hal::sys::i2s_channel_get_info
source · pub unsafe extern "C" fn i2s_channel_get_info(
handle: *mut i2s_channel_obj_t,
chan_info: *mut i2s_chan_info_t,
) -> i32
Expand description
@brief Get I2S channel information
@param[in] handle I2S channel handler @param[out] chan_info I2S channel basic information @return - ESP_OK Get I2S channel information success - ESP_ERR_NOT_FOUND The input handle doesn’t match any registered I2S channels, it may not an I2S channel handle or not available any more - ESP_ERR_INVALID_ARG The input handle or chan_info pointer is NULL