spi_s_async_flush_rx_buffer

Flush the RX ring buffer.

void spi_s_async_flush_rx_buffer(
    struct spi_s_async_descriptor * spi
)

Parameters

spi

Type: struct spi_s_async_descriptor Struct *

Pointer to the HAL SPI instance.

Returns

Type: void