Trait display_interface_parallel_gpio::OutputBus[][src]

pub trait OutputBus {
    type Word: Copy;
    fn set_value(&mut self, value: Self::Word) -> Result<(), DisplayError>;
}

This trait represents the data pins of a parallel bus.

See Generic8BitBus for a generic implementation.

Associated Types

type Word: Copy[src]

u8 for 8-bit busses, u16 for 16-bit busses, etc.

Loading content...

Required methods

fn set_value(&mut self, value: Self::Word) -> Result<(), DisplayError>[src]

Loading content...

Implementors

impl<P0, P1, P2, P3, P4, P5, P6, P7> OutputBus for Generic8BitBus<P0, P1, P2, P3, P4, P5, P6, P7> where
    P0: OutputPin,
    P1: OutputPin,
    P2: OutputPin,
    P3: OutputPin,
    P4: OutputPin,
    P5: OutputPin,
    P6: OutputPin,
    P7: OutputPin
[src]

type Word = u8

fn set_value(&mut self, value: Self::Word) -> Result<(), DisplayError>[src]

Loading content...