essl_sdio_read_reg() function
Read general purpose R/W registers (8-bit) of an ESSL SDIO slave.
Arguments
arg
Context of the component.
add
Address of register to read. Valid address: 0-27, 32-63 (28-31 reserved, return interrupt bits on read).
wait_ms
Time to wait before timeout, in ms.
Return value
- ESP_OK Success - ESP_ERR_INVALID_ARG Address not valid. - One of the error codes from SDMMC host controller