34.3.2.3 spi_m_os_enable
Enable SPI.
int32_t spi_m_os_enable(
struct spi_m_os_descriptor *const spi
)
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.