Struct ssd1322::interface::spi::SpiInterface [−][src]
pub struct SpiInterface<SPI, DC> { /* fields omitted */ }
Expand description
A configured DisplayInterface
for controlling an SSD1322 via 4-wire SPI.
Implementations
Trait Implementations
impl<SPI, DC> DisplayInterface for SpiInterface<SPI, DC> where
SPI: FullDuplex<u8>,
DC: OutputPin,
impl<SPI, DC> DisplayInterface for SpiInterface<SPI, DC> where
SPI: FullDuplex<u8>,
DC: OutputPin,
Send a command word to the display’s command register. Synchronous.
Send a sequence of data words to the display from a buffer. Synchronous.
Send a data word to the display asynchronously, using nb
style non-blocking send. If
the hardware FIFO is full, returns WouldBlock
which means the word was not accepted
and should be retried later.