Function esp_idf_sys::sdmmc_host_io_int_wait

source ยท
pub unsafe extern "C" fn sdmmc_host_io_int_wait(
    slot: c_int,
    timeout_ticks: TickType_t,
) -> esp_err_t
Expand description

@brief Block until an SDIO interrupt is received, or timeout occurs @param slot slot number (SDMMC_HOST_SLOT_0 or SDMMC_HOST_SLOT_1) @param timeout_ticks number of RTOS ticks to wait for the interrupt @return

  • ESP_OK on success (interrupt received)
  • ESP_ERR_TIMEOUT if the interrupt did not occur within timeout_ticks