Skip to main content

MSS_SPI_init

Function MSS_SPI_init 

Source
pub unsafe extern "C" fn MSS_SPI_init(
    this_spi: *mut mss_spi_instance_t,
)
Expand description

MSS_SPI_init() initializes the hardware and data structures of a selected MSS SPI. MSS_SPI_init() must be called before any other MSS SPI driver function can be called.

@param this_spi this_spi is a pointer to an mss_spi_instance_t structure that identifies the MSS SPI hardware block to be operated.

@return This function does not return any value.

@example @code MSS_SPI_init(&g_mss_spi0_lo); @endcode