Initialize the SPI Slave HAL instance and hardware.
int32_t spi_s_sync_init( struct spi_s_sync_descriptor * spi, void *const hw )
Initialize SPI Slave HAL with polling mode.
Type: struct spi_s_sync_descriptor Struct *
Pointer to the SPI Slave HAL instance.
Type: void *const
Pointer to the hardware base.
Type: int32_t
Operation status.
Success.
Error.