Pins

Trait Pins 

Source
pub trait Pins<SPI> {
    // Required methods
    fn setup(&self);
    fn release(self) -> Self;
}

Required Methods§

Source

fn setup(&self)

Source

fn release(self) -> Self

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.

Implementations on Foreign Types§

Source§

impl<SPI, SCK, MISO, MOSI> Pins<SPI> for (SCK, MISO, MOSI)
where SCK: PinSck<SPI>, MISO: PinMiso<SPI>, MOSI: PinMosi<SPI>,

Source§

fn setup(&self)

Source§

fn release(self) -> Self

Implementors§