Pins

Trait Pins 

Source
pub trait Pins {
    type SdPins;

    const BUSWIDTH: Buswidth;

    // Required method
    fn convert(self) -> Self::SdPins;
}

Required Associated Constants§

Required Associated Types§

Required Methods§

Source

fn convert(self) -> Self::SdPins

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<CLK, CMD, D0> Pins for (CLK, CMD, D0)
where CLK: Into<Ck>, CMD: Into<Cmd>, D0: Into<D0>,

Source§

const BUSWIDTH: Buswidth = Buswidth::Buswidth1

Source§

type SdPins = (Ck, Cmd, D0)

Source§

fn convert(self) -> Self::SdPins

Source§

impl<CLK, CMD, D0, D1, D2, D3> Pins for (CLK, CMD, D0, D1, D2, D3)
where CLK: Into<Ck>, CMD: Into<Cmd>, D0: Into<D0>, D1: Into<D1>, D2: Into<D2>, D3: Into<D3>,

Source§

const BUSWIDTH: Buswidth = Buswidth::Buswidth4

Source§

type SdPins = (Ck, Cmd, D0, D1, D2, D3)

Source§

fn convert(self) -> Self::SdPins

Source§

impl<CLK, CMD, D0, D1, D2, D3, D4, D5, D6, D7> Pins for (CLK, CMD, D0, D1, D2, D3, D4, D5, D6, D7)
where CLK: Into<Ck>, CMD: Into<Cmd>, D0: Into<D0>, D1: Into<D1>, D2: Into<D2>, D3: Into<D3>, D4: Into<D4>, D5: Into<D5>, D6: Into<D6>, D7: Into<D7>,

Source§

const BUSWIDTH: Buswidth = Buswidth::Buswidth8

Source§

type SdPins = (Ck, Cmd, D0, D1, D2, D3, D4, D5, D6, D7)

Source§

fn convert(self) -> Self::SdPins

Implementors§