essl_sdio_get_packet() function
Get a packet from an ESSL SDIO slave.
Arguments
arg
Context of the component.
out_data
Data output address
size
The size of the output buffer, if the buffer is smaller than the size of data to receive from slave, the driver returns ``ESP_ERR_NOT_FINISHED``
wait_ms
Time to wait before timeout, in ms.
Return value
- ESP_OK Success, all the data are read from the slave. - ESP_ERR_NOT_FINISHED Read success, while there're data remaining. - One of the error codes from SDMMC host controller
essl_sdio_get_packet() calls 6 functions:
![]()
essl_sdio_get_packet()
essl_sdio_get_packet() reads 8 variables and writes 2 variables:
![]()
essl_sdio_get_packet()