objc

Data Fields
driver_st7789_t Struct Reference

ST7789 display driver structure. More...

#include <drivers/drivers.h>

Collaboration diagram for driver_st7789_t:
Collaboration graph
[legend]

Data Fields

hw_spi_tspi
 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)
 

Detailed Description

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.


The documentation for this struct was generated from the following file: