Read multiple bytes from an SDIO card using IO_RW_EXTENDED (CMD53) This function performs read operation using CMD53 in byte mode. For block mode, see sdmmc_io_read_blocks. By default OP Code is set (incrementing address). To send CMD53 without this bit, OR the argument `addr` with `SDMMC_IO_FIXED_ADDR`.
pointer to card information structure previously initialized using sdmmc_card_init
function
IO function number
addr
byte address within IO function where reading starts
dst
buffer which receives the data read from card. Aligned to 4 byte boundary unless `SDMMC_HOST_FLAG_ALLOC_ALIGNED_BUF` flag is set when calling `sdmmc_card_init`. The flag is mandatory when the buffer is behind the cache.
size
number of bytes to read, 1 to 512.
Return value
- ESP_OK on success - ESP_ERR_INVALID_SIZE if size exceeds 512 bytes - One of the error codes from SDMMC host controller
Related Functions
Found 90 other functions taking a sdmmc_card_t
argument:
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. By default OP Code is set (incrementing address). To send CMD53 without this bit, OR the argument `addr` with `SDMMC_IO_FIXED_ADDR`.
Read blocks of data from an SDIO card using IO_RW_EXTENDED (CMD53) This function performs read operation using CMD53 in block mode. For byte mode, see sdmmc_io_read_bytes. By default OP Code is set (incrementing address). To send CMD53 without this bit, OR the argument `addr` with `SDMMC_IO_FIXED_ADDR`.
Write blocks of data to an SDIO card using IO_RW_EXTENDED (CMD53) This function performs write operation using CMD53 in block mode. For byte mode, see sdmmc_io_write_bytes. By default OP Code is set (incrementing address). To send CMD53 without this bit, OR the argument `addr` with `SDMMC_IO_FIXED_ADDR`.
Block until an SDIO interrupt is received Slave uses D1 line to signal interrupt condition to the host. This function can be used to wait for the interrupt.
Get the data of CIS region of an SDIO card. You may provide a buffer not sufficient to store all the CIS data. In this case, this function stores as much data into your buffer as possible. Also, this function will try to get and return the size required for you.