Function esp_idf_sys::sdio_slave_transmit

source ยท
pub unsafe extern "C" fn sdio_slave_transmit(
    addr: *mut u8,
    len: usize,
) -> esp_err_t
Expand description

Start a new sending transfer, and wait for it (blocked) to be finished.

@param addr Start address of the buffer to send @param len Length of buffer to send.

@return - ESP_ERR_INVALID_ARG if the length of descriptor is not greater than 0. - ESP_ERR_TIMEOUT if the queue is full or host do not start a transfer before timeout. - ESP_OK if success.