Struct display_interface_parallel_gpio::PGPIO8BitInterface [−][src]
pub struct PGPIO8BitInterface<BUS, DC, WR> { /* fields omitted */ }
Parallel 8 Bit communication interface
This interface implements an 8-Bit “8080” style write-only display interface using any
8-bit OutputBus implementation as well as one
OutputPin
for the data/command selection and one OutputPin
for the write-enable flag.
All pins are supposed to be high-active, high for the D/C pin meaning “data” and the write-enable being pulled low before the setting of the bits and supposed to be sampled at a low to high edge.
Implementations
impl<BUS, DC, WR> PGPIO8BitInterface<BUS, DC, WR> where
BUS: OutputBus<Word = u8>,
DC: OutputPin,
WR: OutputPin,
[src]
impl<BUS, DC, WR> PGPIO8BitInterface<BUS, DC, WR> where
BUS: OutputBus<Word = u8>,
DC: OutputPin,
WR: OutputPin,
[src]Trait Implementations
impl<BUS, DC, WR> WriteOnlyDataCommand for PGPIO8BitInterface<BUS, DC, WR> where
BUS: OutputBus<Word = u8>,
DC: OutputPin,
WR: OutputPin,
[src]
impl<BUS, DC, WR> WriteOnlyDataCommand for PGPIO8BitInterface<BUS, DC, WR> where
BUS: OutputBus<Word = u8>,
DC: OutputPin,
WR: OutputPin,
[src]fn send_commands(&mut self, cmds: DataFormat<'_>) -> Result<(), DisplayError>
[src]
fn send_commands(&mut self, cmds: DataFormat<'_>) -> Result<(), DisplayError>
[src]Send a batch of commands to display
fn send_data(&mut self, buf: DataFormat<'_>) -> Result<(), DisplayError>
[src]
fn send_data(&mut self, buf: DataFormat<'_>) -> Result<(), DisplayError>
[src]Send pixel data to display
Auto Trait Implementations
impl<BUS, DC, WR> Send for PGPIO8BitInterface<BUS, DC, WR> where
BUS: Send,
DC: Send,
WR: Send,
BUS: Send,
DC: Send,
WR: Send,
impl<BUS, DC, WR> Sync for PGPIO8BitInterface<BUS, DC, WR> where
BUS: Sync,
DC: Sync,
WR: Sync,
BUS: Sync,
DC: Sync,
WR: Sync,
impl<BUS, DC, WR> Unpin for PGPIO8BitInterface<BUS, DC, WR> where
BUS: Unpin,
DC: Unpin,
WR: Unpin,
BUS: Unpin,
DC: Unpin,
WR: Unpin,