34.3.2.2 spi_m_os_deinit
Deinitialize the SPI HAL instance.
int32_t spi_m_os_deinit(
struct spi_m_os_descriptor *const spi
)
Abort transfer, disable and reset SPI, de-init software.
Parameters
- spi
-
Type: struct spi_m_os_descriptor Struct *const
Pointer to the HAL SPI instance.
Returns
Type: int32_t
Operation status.
- ERR_NONE
-
Success.
- <0
-
Error code.