Function esp_idf_sys::sdio_slave_recv_load_buf

source ยท
pub unsafe extern "C" fn sdio_slave_recv_load_buf(
    handle: sdio_slave_buf_handle_t,
) -> esp_err_t
Expand description

Load buffer to the queue waiting to receive data. The driver takes ownership of the buffer until the buffer is returned by sdio_slave_send_get_finished after the transaction is finished.

@param handle Handle to the buffer ready to receive data.

@return - ESP_ERR_INVALID_ARG if invalid handle or the buffer is already in the queue. Only after the buffer is returened by sdio_slave_recv can you load it again. - ESP_OK if success