Function xiao_m0::spi_master

source ·
pub fn spi_master(
    clocks: &mut GenericClockController,
    baud: impl Into<Hertz>,
    sercom0: SERCOM0,
    pm: &mut PM,
    sclk: impl Into<Sclk>,
    mosi: impl Into<Mosi>,
    miso: impl Into<Miso>
) -> Spi
Expand description

Convenience for setting up the labelled SPI peripheral. This powers up SERCOM0 and configures it for use as an SPI Master in SPI Mode 0.