Disable the SPI and abort any pending transfer in progress.
void spi_m_async_disable( struct spi_m_async_descriptor * spi )
If there is any pending transfer, the complete callback is invoked with the ERR_ABORTED status.
Type: struct spi_m_async_descriptor Struct *
Pointer to the HAL SPI instance.
Type: void
Operation status.
Success.
Error code.