[−][src]Function feather_m4::spi_master
pub fn spi_master<F: Into<Hertz>>(
clocks: &mut GenericClockController,
bus_speed: F,
sercom1: SERCOM1,
mclk: &mut MCLK,
sck: Pa17<Input<Floating>>,
mosi: Pb23<Input<Floating>>,
miso: Pb22<Input<Floating>>,
port: &mut Port
) -> SPIMaster1
Convenience for setting up the labelled SPI peripheral. This powers up SERCOM1 and configures it for use as an SPI Master in SPI Mode 0.