Crate ili9163_driver
source ·Expand description
ILI9163
This library is meant to implement basic communication with graphical LCD equipped with ILI9163 controller. For proper work setup consisting of LCD and ILI controller requires:
- SPI interface for writing controller’s register
- GPIO pins to control:
a) reset pin input
b) dcx line which tells the controller whether transfered byte is data or command
c) backlight pin to drive LCD’s LED backlight supply - delay object to ensure proper timings in no_std environment
All these interfaces are based on embedded_hal traits to make this library as flexible as possible
Structs
Structure implements communication with ILI9163 LCD driver to enable most common graphical
display functionalities
Enums
Enum is used to define dimensions of written bitmap
Enum allows to return one type independent of error reason by nesting errors coming from
SPI and GPIO traits and extends it for some custom error types needed in this library.
Enum represents the way how Red, Green and Blue colors are mapped by ILI controller from
received raw data.