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

Create a new SPI interface to communicate with the display driver. spi is the SPI master device, and dc is the GPIO output pin connected to the D/C pin of the SSD1322.

Trait Implementations

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.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.