sdio_slave_wait_int() function
Wait for general purpose interrupt from host.
Arguments
pos
Interrupt source number to wait for. is set.
wait
Time to wait before interrupt triggered.
Return value
ESP_OK if success, ESP_ERR_TIMEOUT if timeout.
Notes
this clears the interrupt at the same time.