k210_soc::spi

Trait SPIExt

Source
pub trait SPIExt: Sized {
    // Required method
    fn constrain(self) -> SPIImpl<Self>;
}
Expand description

Extension trait that constrains SPI peripherals

Required Methods§

Source

fn constrain(self) -> SPIImpl<Self>

Constrains SPI peripheral so it plays nicely with the other abstractions

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<SPI: SPI01> SPIExt for SPI