pub trait DisplayInterface {
    type Error;
    fn send_command(&mut self, command: u8) -> Result<(), Self::Error>;
fn send_data(&mut self, data: &[u8]) -> Result<(), Self::Error>;
fn reset<D: DelayMs<u8>>(&mut self, delay: &mut D);
fn busy_wait(&self); }
Expand description

Trait implemented by displays to provide implemenation of core functionality.

Associated Types

Required methods

Send a command to the controller.

Prefer calling execute on a Commmand over calling this directly.

Send data for a command.

Reset the controller.

Wait for the controller to indicate it is not busy.

Implementors