34.5.4.4 spi_s_async_disable
Disable SPI and abort any pending transfer in progress and flush buffers.
void spi_s_async_disable(
struct spi_s_async_descriptor * spi
)
Disable SPI and flush buffers. If there is pending transfer, the complete callback is invoked with SPI_ERR_ABORT status.
Parameters
- spi
-
Type: struct spi_s_async_descriptor Struct *
Pointer to the SPI Slave HAL instance.
Returns
Type: void