Trait display_interface::WriteOnlyDataCommand[][src]

pub trait WriteOnlyDataCommand {
    fn send_commands(&mut self, cmd: DataFormat<'_>) -> Result<(), DisplayError>;
fn send_data(&mut self, buf: DataFormat<'_>) -> Result<(), DisplayError>; }

This trait implements a write-only interface for a display which has separate data and command modes. It is the responsibility of implementations to activate the correct mode in their implementation when corresponding method is called.

Required methods

fn send_commands(&mut self, cmd: DataFormat<'_>) -> Result<(), DisplayError>[src]

Send a batch of commands to display

fn send_data(&mut self, buf: DataFormat<'_>) -> Result<(), DisplayError>[src]

Send pixel data to display

Loading content...

Implementors

Loading content...