Initialize the SPI HAL instance and hardware for callback mode.
int32_t spi_m_async_init( struct spi_m_async_descriptor * spi, void *const hw )
Initialize SPI HAL with interrupt mode (uses callbacks).
Type: struct spi_m_async_descriptor Struct *
Pointer to the HAL SPI instance.
Type: void *const
Pointer to the hardware base.
Type: int32_t
Operation status.
Success.
Error, initialized.