[−][src]Function feather_m0::spi_master
pub fn spi_master<F: Into<Hertz>>(
clocks: &mut GenericClockController,
bus_speed: F,
sercom4: SERCOM4,
pm: &mut PM,
sck: Pb11<Input<Floating>>,
mosi: Pb10<Input<Floating>>,
miso: Pa12<Input<Floating>>,
port: &mut Port
) -> SPIMaster4
Convenience for setting up the labelled SPI peripheral. This powers up SERCOM4 and configures it for use as an SPI Master in SPI Mode 0.