essl_spi_wrdma_seg() function
Send one data segment to the slave through its DMA.
Arguments
spi
SPI device handle representing the slave
data
Buffer for data to send, strongly suggested to be in the DRAM
seg_len
Length of this segment
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
To send long buffer, call :cpp:func:`essl_spi_wrdma` instead.