[][src]Trait hub75::Outputs

pub trait Outputs {
    type R1: OutputPin;
    type G1: OutputPin;
    type B1: OutputPin;
    type R2: OutputPin;
    type G2: OutputPin;
    type B2: OutputPin;
    type A: OutputPin;
    type B: OutputPin;
    type C: OutputPin;
    type D: OutputPin;
    type CLK: OutputPin;
    type LAT: OutputPin;
    type OE: OutputPin;
    fn r1(&mut self) -> &mut Self::R1;
fn g1(&mut self) -> &mut Self::G1;
fn b1(&mut self) -> &mut Self::B1;
fn r2(&mut self) -> &mut Self::R2;
fn g2(&mut self) -> &mut Self::G2;
fn b2(&mut self) -> &mut Self::B2;
fn a(&mut self) -> &mut Self::A;
fn b(&mut self) -> &mut Self::B;
fn c(&mut self) -> &mut Self::C;
fn d(&mut self) -> &mut Self::D;
fn clk(&mut self) -> &mut Self::CLK;
fn lat(&mut self) -> &mut Self::LAT;
fn oe(&mut self) -> &mut Self::OE; }

A trait, so that it's easier to reason about the pins Implemented for a tuple (r1, g1, b1, r2, g2, b2, a, b, c, d, clk, lat, oe) with every element implementing OutputPin

Associated Types

Loading content...

Required methods

fn r1(&mut self) -> &mut Self::R1

fn g1(&mut self) -> &mut Self::G1

fn b1(&mut self) -> &mut Self::B1

fn r2(&mut self) -> &mut Self::R2

fn g2(&mut self) -> &mut Self::G2

fn b2(&mut self) -> &mut Self::B2

fn a(&mut self) -> &mut Self::A

fn b(&mut self) -> &mut Self::B

fn c(&mut self) -> &mut Self::C

fn d(&mut self) -> &mut Self::D

fn clk(&mut self) -> &mut Self::CLK

fn lat(&mut self) -> &mut Self::LAT

fn oe(&mut self) -> &mut Self::OE

Loading content...

Implementors

impl<R1: OutputPin, G1: OutputPin, B1: OutputPin, R2: OutputPin, G2: OutputPin, B2: OutputPin, A: OutputPin, B: OutputPin, C: OutputPin, D: OutputPin, CLK: OutputPin, LAT: OutputPin, OE: OutputPin> Outputs for (R1, G1, B1, R2, G2, B2, A, B, C, D, CLK, LAT, OE)[src]

type R1 = R1

type G1 = G1

type B1 = B1

type R2 = R2

type G2 = G2

type B2 = B2

type A = A

type B = B

type C = C

type D = D

type CLK = CLK

type LAT = LAT

type OE = OE

Loading content...