[−][src]Trait ssd1675::interface::DisplayInterface
Trait implemented by displays to provide implemenation of core functionality.
Associated Types
type Error
Required methods
fn send_command(&mut self, command: u8) -> Result<(), Self::Error>
Send a command to the controller.
Prefer calling execute
on a Commmand over calling this
directly.
fn send_data(&mut self, data: &[u8]) -> Result<(), Self::Error>
Send data for a command.
fn reset<D: DelayMs<u8>>(&mut self, delay: &mut D)
Reset the controller.
fn busy_wait(&self)
Wait for the controller to indicate it is not busy.
Implementors
impl<SPI, CS, BUSY, DC, RESET> DisplayInterface for Interface<SPI, CS, BUSY, DC, RESET> where
SPI: Write<u8>,
CS: OutputPin,
CS::Error: Debug,
BUSY: InputPin,
DC: OutputPin,
DC::Error: Debug,
RESET: OutputPin,
RESET::Error: Debug,
[src]
SPI: Write<u8>,
CS: OutputPin,
CS::Error: Debug,
BUSY: InputPin,
DC: OutputPin,
DC::Error: Debug,
RESET: OutputPin,
RESET::Error: Debug,