# RUI SPI Initialization

RUI_RETURN_STATUS rui_spi_init(RUI_SPI_ST *rui_spi);
@brief This API is used to initialize SPI.
@return RUI_RETURN_STATUS
@param RUI_SPI_ST *rui_spi: initialize parameters struct
@module RAK4400, RAK4600 and RAK5010.