pub trait OutPort {
    type Target;

    // Required method
    fn outport(self) -> Self::Target;
}
Expand description

Convert tuple or array of pins to output port

Required Associated Types§

Required Methods§

source

fn outport(self) -> Self::Target

Implementations on Foreign Types§

source§

impl<const P: char, const N0: u8, const N1: u8> OutPort for (Pin<P, N0, Output<PushPull>>, Pin<P, N1, Output<PushPull>>)

§

type Target = OutPort2<P, N0, N1>

source§

fn outport(self) -> Self::Target

source§

impl<const P: char, const N0: u8, const N1: u8, const N2: u8> OutPort for (Pin<P, N0, Output<PushPull>>, Pin<P, N1, Output<PushPull>>, Pin<P, N2, Output<PushPull>>)

§

type Target = OutPort3<P, N0, N1, N2>

source§

fn outport(self) -> Self::Target

source§

impl<const P: char, const N0: u8, const N1: u8, const N2: u8, const N3: u8> OutPort for (Pin<P, N0, Output<PushPull>>, Pin<P, N1, Output<PushPull>>, Pin<P, N2, Output<PushPull>>, Pin<P, N3, Output<PushPull>>)

§

type Target = OutPort4<P, N0, N1, N2, N3>

source§

fn outport(self) -> Self::Target

source§

impl<const P: char, const N0: u8, const N1: u8, const N2: u8, const N3: u8, const N4: u8> OutPort for (Pin<P, N0, Output<PushPull>>, Pin<P, N1, Output<PushPull>>, Pin<P, N2, Output<PushPull>>, Pin<P, N3, Output<PushPull>>, Pin<P, N4, Output<PushPull>>)

§

type Target = OutPort5<P, N0, N1, N2, N3, N4>

source§

fn outport(self) -> Self::Target

source§

impl<const P: char, const N0: u8, const N1: u8, const N2: u8, const N3: u8, const N4: u8, const N5: u8> OutPort for (Pin<P, N0, Output<PushPull>>, Pin<P, N1, Output<PushPull>>, Pin<P, N2, Output<PushPull>>, Pin<P, N3, Output<PushPull>>, Pin<P, N4, Output<PushPull>>, Pin<P, N5, Output<PushPull>>)

§

type Target = OutPort6<P, N0, N1, N2, N3, N4, N5>

source§

fn outport(self) -> Self::Target

source§

impl<const P: char, const N0: u8, const N1: u8, const N2: u8, const N3: u8, const N4: u8, const N5: u8, const N6: u8> OutPort for (Pin<P, N0, Output<PushPull>>, Pin<P, N1, Output<PushPull>>, Pin<P, N2, Output<PushPull>>, Pin<P, N3, Output<PushPull>>, Pin<P, N4, Output<PushPull>>, Pin<P, N5, Output<PushPull>>, Pin<P, N6, Output<PushPull>>)

§

type Target = OutPort7<P, N0, N1, N2, N3, N4, N5, N6>

source§

fn outport(self) -> Self::Target

source§

impl<const P: char, const N0: u8, const N1: u8, const N2: u8, const N3: u8, const N4: u8, const N5: u8, const N6: u8, const N7: u8> OutPort for (Pin<P, N0, Output<PushPull>>, Pin<P, N1, Output<PushPull>>, Pin<P, N2, Output<PushPull>>, Pin<P, N3, Output<PushPull>>, Pin<P, N4, Output<PushPull>>, Pin<P, N5, Output<PushPull>>, Pin<P, N6, Output<PushPull>>, Pin<P, N7, Output<PushPull>>)

§

type Target = OutPort8<P, N0, N1, N2, N3, N4, N5, N6, N7>

source§

fn outport(self) -> Self::Target

source§

impl<const P: char, const SIZE: usize> OutPort for [PEPin<P, Output<PushPull>>; SIZE]

§

type Target = OutPortArray<P, SIZE>

source§

fn outport(self) -> Self::Target

Implementors§