Trait SpiExt

Source
pub trait SpiExt<SPI>: Sized {
    // Required method
    fn spi<PINS, T>(
        self,
        pins: PINS,
        mode: Mode,
        freq: T,
        rcc: &mut Rcc,
    ) -> Spi<SPI, PINS>
       where PINS: Pins<SPI>,
             T: Into<Hertz>;
}

Required Methods§

Source

fn spi<PINS, T>( self, pins: PINS, mode: Mode, freq: T, rcc: &mut Rcc, ) -> Spi<SPI, PINS>
where PINS: Pins<SPI>, T: Into<Hertz>,

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§