Module ssd1322::interface [−][src]
Expand description
This module provides shims for the embedded-hal
hardware corresponding to the SSD1322’s
supported electrical/bus interfaces. It is a shim between embedded-hal
implementations and
the display driver’s command layer.
Modules
The SPI interface supports the “4-wire” interface of the driver, such that each word on the
SPI bus is 8 bits. The “3-wire” mode is not supported, as it replaces the D/C GPIO with a
9th bit on each SPI word, and embedded-hal
SPI traits do not currently support
non-byte-aligned SPI word lengths.
Traits
An interface for the SSD1322 implements this trait, which provides the basic operations for sending pre-encoded commands and data to the chip via the interface.