Trait ssd1322::interface::DisplayInterface [−][src]
pub trait DisplayInterface { type Error; fn send_command(&mut self, cmd: u8) -> Result<(), Self::Error>; fn send_data(&mut self, buf: &[u8]) -> Result<(), Self::Error>; fn send_data_async(&mut self, word: u8) -> Result<(), Self::Error>; }
Expand description
An interface for the SSD1322 implements this trait, which provides the basic operations for sending pre-encoded commands and data to the chip via the interface.