Perform the SPI data transfer (TX and RX) with the DMA.
int32_t spi_m_dma_transfer( struct spi_m_dma_descriptor * spi, uint8_t const * txbuf, uint8_t *const rxbuf, const uint16_t length )
Type: struct spi_m_dma_descriptor Struct *
Pointer to the HAL SPI instance.
Type: uint8_t const *
Pointer to the transfer information.
Type: uint8_t *const
Pointer to the receiver information.
Type: const uint16_t
SPI transfer data length.
Type: int32_t
Operation status.
Success.
Busy.