Expand description

This crate provides a generic ddisplay driver to connect to TFT displays that implement the MIPI DSI. Currently only supports SPI with DC pin setups via the display_interface

An optional batching of draws is supported via the batch feature (default on)

Example

// create a DisplayInterface from SPI and DC pin, with no manual CS control
let di = SPIInterfaceNoCS::new(spi, dc);
// create the ILI9486 display driver from the display interface and RST pin
let mut display = Display::ili9486(di, rst);
// clear the display to black
display.clear(Rgb666::BLACK)?;

Modules

Structs

Display driver to connect to TFT displays.

Options for displays used on initialization

The NoPin struct is here as a dummy implementation of the OutputPin trait to handle the case when devices do not have a RST Pin and remove the need for the user to use a real Pin as a fake one in this case.

Enums

Defines expected color component ordering, RGB or BGR

An error holding its source (pins or SPI)

Display orientation.

Tearing effect output setting.