essl_spi_rddma_seg() function
Read one data segment from the slave through its DMA.
Arguments
spi
SPI device handle representing the slave
out_data
Buffer to hold the received data. strongly suggested to be in the DRAM and aligned to 4
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 read long buffer, call :cpp:func:`essl_spi_rddma` instead.