Function esp_idf_svc::sys::sdmmc_io_wait_int
source ยท pub unsafe extern "C" fn sdmmc_io_wait_int(
card: *mut sdmmc_card_t,
timeout_ticks: u32,
) -> i32
Expand description
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.
@param card pointer to card information structure previously initialized using sdmmc_card_init @param timeout_ticks time to wait for the interrupt, in RTOS ticks @return - ESP_OK if the interrupt is received - ESP_ERR_NOT_SUPPORTED if the host controller does not support IO interrupts - ESP_ERR_TIMEOUT if the interrupt does not happen in timeout_ticks