34.4.2.2 spi_m_sync_deinit
Deinitialize the SPI HAL instance and hardware.
void spi_m_sync_deinit(
struct spi_m_sync_descriptor * spi
)
Abort transfer, disable and reset SPI, deinit software.
Parameters
- spi
-
Type: struct spi_m_sync_descriptor Struct *
Pointer to the HAL SPI instance.
Returns
Type: void
Operation status.
- ERR_NONE
-
Success.
- <0
-
Error code.