Function metro_m0::flash_spi_master
source · pub fn flash_spi_master(
clocks: &mut GenericClockController,
sercom5: SERCOM5,
pm: &mut PM,
sclk: impl Into<FlashSclk>,
mosi: impl Into<FlashMosi>,
miso: impl Into<FlashMiso>,
cs: impl Into<FlashCs>
) -> FlashSpi
Expand description
Convenience for accessing the on-board SPI Flash device. This powers up SERCOM5 and configures it for use as an SPI Master.