essl_spi_rddma_done() function
Send the ``rddma_done`` command to the slave. Upon receiving this command, the slave will stop sending the current buffer even there are data unsent, and maybe prepare the next buffer to send.
Arguments
spi
SPI device handle representing the slave
flags
`SPI_TRANS_*` flags to control the transaction mode of the transaction to send.
Return value
- ESP_OK: success - or other return value from :cpp:func:`spi_device_transmit`.
Notes
This is required only when the slave is working in segment mode.