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:

  1. SPI interface for writing controller’s register
  2. 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
  3. 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§

Ili9163
Structure implements communication with ILI9163 LCD driver to enable most common graphical display functionalities
RGB

Enums§

Dimension
Enum is used to define dimensions of written bitmap
IliErrorType
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.
PixelFormat
Enum represents the way how Red, Green and Blue colors are mapped by ILI controller from received raw data.

Type Aliases§

IliResult