pub fn nina_spi_master(
    clocks: &mut GenericClockController,
    baud: impl Into<Hertz>,
    sercom2: SERCOM2,
    pm: &mut PM,
    sck: impl Into<NinaSck>,
    mosi: impl Into<NinaMosi>,
    miso: impl Into<NinaMiso>
) -> NinaSpi
Expand description

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