Perform the SPI data transfer (TX and RX) asynchronously.
int32_t spi_m_async_transfer( struct spi_m_async_descriptor * spi, uint8_t const * txbuf, uint8_t *const rxbuf, const uint16_t length )
Log the TX and RX buffers and transfer them in the background. It never blocks.
Type: struct spi_m_async_descriptor Struct *
Pointer to the HAL SPI instance.
Type: uint8_t const *
Pointer to the transfer information (spi_transfer).
Type: uint8_t *const
Pointer to the receiver information (spi_receive).
Type: const uint16_t
SPI transfer data length.
Type: int32_t
Operation status.
Success.
Busy.