- ESP_OK: on success - ESP_ERR_INVALID_ARG: The input argument is invalid. Can be the following reason: - The buffer given is not DMA capable - The length of data is invalid (not larger than 0, or exceed the max transfer length) - The transaction direction is invalid - ESP_ERR_TIMEOUT: Cannot queue the data before timeout. Master is still processing previous transaction. - ESP_ERR_INVALID_STATE: Function called in invalid state. This API should be called under segment mode.
Examples
spi_slave_hd_queue_trans() is referenced by 1 libraries and example projects: