pub struct SPIInterface<SPI, DC, CS> { /* private fields */ }
Expand description

SPI display interface.

This combines the SPI peripheral and a data/command as well as a chip-select pin

Implementations

Create new SPI interface for communication with a display driver

Consume the display interface and return the underlying peripherial driver and GPIO pins used by it

Trait Implementations

Send a batch of commands to display
Send pixel data to display

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.