Function esp_idf_svc::sys::sdmmc_io_write_bytes

source ยท
pub unsafe extern "C" fn sdmmc_io_write_bytes(
    card: *mut sdmmc_card_t,
    function: u32,
    addr: u32,
    src: *const c_void,
    size: usize,
) -> i32
Expand description

Write multiple bytes to an SDIO card using IO_RW_EXTENDED (CMD53)

This function performs write operation using CMD53 in byte mode. For block mode, see sdmmc_io_write_blocks.

@param card pointer to card information structure previously initialized using sdmmc_card_init @param function IO function number @param addr byte address within IO function where writing starts @param src data to be written @param size number of bytes to write @return - ESP_OK on success - ESP_ERR_INVALID_SIZE if size exceeds 512 bytes - One of the error codes from SDMMC host controller