[−][src]Function esp_idf_sys::spi_device_polling_end
pub unsafe extern "C" fn spi_device_polling_end(
handle: spi_device_handle_t,
ticks_to_wait: TickType_t
) -> esp_err_t
@brief Poll until the polling transaction ends.
This routine will not return until the transaction to the given device has succesfully completed. The task is not blocked, but actively busy-spins for the transaction to be completed.
@param handle Device handle obtained using spi_host_add_dev @param ticks_to_wait Ticks to wait until there's a returned item; use portMAX_DELAY to never time out. @return - ESP_ERR_INVALID_ARG if parameter is invalid - ESP_ERR_TIMEOUT if the transaction cannot finish before ticks_to_wait expired - ESP_OK on success