ST7789 display driver structure. More...
#include <drivers/drivers.h>

Data Fields | |
| hw_spi_t * | spi |
| Pointer to the SPI interface (NULL for parallel) | |
| hw_gpio_t | dc |
| Data/Command pin. | |
| hw_gpio_t | reset |
| Reset pin (optional, can be invalid) | |
| hw_gpio_t | backlight |
| Backlight pin (optional, can be invalid) | |
| uint16_t | width |
| Display width in pixels. | |
| uint16_t | height |
| Display height in pixels. | |
| driver_st7789_rotation_t | rotation |
| Display rotation. | |
| driver_st7789_interface_t | interface |
| Interface type (SPI/Parallel) | |
| bool | round |
| Round display flag. | |
| uint8_t | backlight_brightness |
| Current backlight brightness (0-255) | |
ST7789 display driver structure.
This structure contains the configuration and state information for a ST7789 TFT LCD display controller instance. The ST7789 supports both SPI and parallel interfaces with 16-bit color depth.
Definition at line 59 of file drivers_st7789.h.