- 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: Master is still processing previous transaction. There is no available transaction for slave to load - ESP_ERR_INVALID_STATE: Function called in invalid state. This API should be called under append mode.
Notes
In this mode, user transaction descriptors will be appended to the DMA and the DMA will keep processing the data without stopping
Examples
spi_slave_hd_append_trans() is referenced by 1 libraries and example projects: