LCD-ESP32-Driver 1.0
Project includes component for controlling LCD displays. Currently supports only one LCD controller - SSD1283A but it may change in the future.
|
Structure containing function interface to implement by specific LCD controller. More...
#include <lcd_low.h>
Data Fields | |
LCD_error_t(* | Init )(LCD_handle_t base) |
LCD_error_t(* | DisplayOn )(LCD_handle_t base) |
LCD_error_t(* | DisplayOff )(LCD_handle_t base) |
LCD_error_t(* | DrawRect )(LCD_handle_t base, const uint16_t x, const uint16_t y, const uint16_t width, const uint16_t height, const uint16_t color) |
LCD_error_t(* | DrawImage )(LCD_handle_t base, const uint16_t x, const uint16_t y, const LCD_image_t *image) |
LCD_error_t(* | DrawText )(LCD_handle_t base, uint16_t x, uint16_t y, const char *text, const int16_t letterSpacing, const int16_t lineSpacing, const LCD_font_t *font, const uint16_t fontColor, const uint16_t bgrColor) |
LCD_error_t(* | ClearScreen )(LCD_handle_t base, const uint16_t color) |
LCD_error_t(* | Destroy )(LCD_handle_t base) |
Structure containing function interface to implement by specific LCD controller.
LCD_error_t(* ClearScreen) (LCD_handle_t base, const uint16_t color) |
Pointer to function which clears all LCD screen in specific color using selected driver instance
LCD_error_t(* Destroy) (LCD_handle_t base) |
Pointer to function which destroys selected driver instance
LCD_error_t(* DisplayOff) (LCD_handle_t base) |
Pointer to function which turns off LCD display using selected driver instance
LCD_error_t(* DisplayOn) (LCD_handle_t base) |
Pointer to function which turns on LCD display using selected driver instance
LCD_error_t(* DrawImage) (LCD_handle_t base, const uint16_t x, const uint16_t y, const LCD_image_t *image) |
Pointer to function which draws image on the LCD screen in specific position using selected driver instance
LCD_error_t(* DrawRect) (LCD_handle_t base, const uint16_t x, const uint16_t y, const uint16_t width, const uint16_t height, const uint16_t color) |
Pointer to function which draws rectangle on the LCD screen in specific position and color using selected driver instance
LCD_error_t(* DrawText) (LCD_handle_t base, uint16_t x, uint16_t y, const char *text, const int16_t letterSpacing, const int16_t lineSpacing, const LCD_font_t *font, const uint16_t fontColor, const uint16_t bgrColor) |
Pointer to function which draws text on the LCD screen in specific position, font and colors (of the font and its background) with defined letter and line spacing using selected driver instance
LCD_error_t(* Init) (LCD_handle_t base) |
Pointer to function which initializes selected LCD driver instance