Function esp_idf_hal::sys::sdmmc_io_read_byte
source ยท pub unsafe extern "C" fn sdmmc_io_read_byte(
card: *mut sdmmc_card_t,
function: u32,
reg: u32,
out_byte: *mut u8,
) -> i32
Expand description
Read one byte from an SDIO card using IO_RW_DIRECT (CMD52)
@param card pointer to card information structure previously initialized using sdmmc_card_init @param function IO function number @param reg byte address within IO function @param[out] out_byte output, receives the value read from the card @return - ESP_OK on success - One of the error codes from SDMMC host controller