Function esp_idf_sys::i2s_channel_get_info

source ·
pub unsafe extern "C" fn i2s_channel_get_info(
    handle: i2s_chan_handle_t,
    chan_info: *mut i2s_chan_info_t,
) -> esp_err_t
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