![]() |
GFXprim
2D bitmap graphics library with emphasis on speed and correctness
|
Driver for st7796, st7789, st7735 displays. More...
#include <stdint.h>
Go to the source code of this file.
Enumerations | |
enum | gp_display_st77xx_flags { GP_DISPLAY_ST77XX_INV = 0x01 , GP_DISPLAY_ST77XX_BGR = 0x02 , GP_DISPLAY_ST77XX_MIRROR_X = 0x04 , GP_DISPLAY_ST77XX_MIRROR_Y = 0x08 } |
Display quirks. More... | |
Functions | |
gp_backend * | gp_display_st77xx_init (uint16_t w, uint16_t h, uint16_t x_off, uint16_t y_off, unsigned int dpi, enum gp_display_st77xx_flags flags) |
Initialize st77xx display driver. | |
Driver for st7796, st7789, st7735 displays.
Definition in file gp_display_st77xx.h.
Display quirks.
Definition at line 19 of file gp_display_st77xx.h.
gp_backend * gp_display_st77xx_init | ( | uint16_t | w, |
uint16_t | h, | ||
uint16_t | x_off, | ||
uint16_t | y_off, | ||
unsigned int | dpi, | ||
enum gp_display_st77xx_flags | flags ) |
Initialize st77xx display driver.
w | A display width. |
h | A display height. |
x_off | A display x offset, some displays does not start at 0. |
y_off | A display y offset, some displays does not start at 0. |
dpi | A display DPI. |
flags | Display quirks. |