essl_spi_wrdma_done() function
Send the ``wrdma_done`` command to the slave. Upon receiving this command, the slave will stop receiving, process the received data, and maybe prepare the next buffer to receive.
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.