ST7735 display driver

Driver for the ST7735 display. More...

Detailed Description

Driver for the ST7735 display.

Files

file  st7735.h
 
file  st7735_internal.h
 Device driver implementation for the st7735 display controller.
 
file  st7735_params.h
 Default configuration for st7735.
 

Data Structures

struct  st7735_t
 Device descriptor for a st7735. More...
 

Macros

#define CONFIG_ST7735_GVDD   4800
 ST7735 gvdd level. More...
 
#define CONFIG_ST7735_VCOMH   4250
 ST7735 VCOMH voltage level. More...
 
#define CONFIG_ST7735_VCOML   -2000
 ST7735 VCOML voltage level. More...
 

Variables

const lcd_driver_t lcd_st7735_driver
 LCD device operations table.
 

ILI9341 display rotation modes

#define ST7735_ROTATION_VERT   0
 Vertical mode.
 
#define ST7735_ROTATION_VERT_FLIP
 Flipped vertical. More...
 
#define ST7735_ROTATION_HORZ
 Horizontal mode. More...
 
#define ST7735_ROTATION_HORZ_FLIP
 Horizontal flipped. More...
 

Macro Definition Documentation

◆ CONFIG_ST7735_GVDD

#define CONFIG_ST7735_GVDD   4800

ST7735 gvdd level.

Default GVDD voltage of 4.8V. GVDD is reference level for the VCOM level and the grayscale voltage level. GVDD should be ≦ (AVDD - 0.5) V .

Definition at line 54 of file st7735.h.

◆ CONFIG_ST7735_VCOMH

#define CONFIG_ST7735_VCOMH   4250

ST7735 VCOMH voltage level.

Default VCOMH voltage of 4.25V. VCOMH represents the high level of VCOM AC voltage. VCOM levels needs to be adjusted to match the capacitance and performance specifications of the TFT panel to maximize contrast and minimize flickering.

Definition at line 66 of file st7735.h.

◆ CONFIG_ST7735_VCOML

#define CONFIG_ST7735_VCOML   -2000

ST7735 VCOML voltage level.

Default VCOML voltage of -2V. VCOML represents the low level of VCOM AC voltage. VCOM levels needs to be adjusted to match the capacitance and performance specifications of the TFT panel to maximize contrast and minimize flickering

Definition at line 78 of file st7735.h.

◆ ST7735_ROTATION_HORZ

#define ST7735_ROTATION_HORZ
Value:
LCD_MADCTL_MX
#define LCD_MADCTL_MV
Row column exchange.
Definition: lcd.h:65

Horizontal mode.

Definition at line 89 of file st7735.h.

◆ ST7735_ROTATION_HORZ_FLIP

#define ST7735_ROTATION_HORZ_FLIP
Value:
LCD_MADCTL_MY

Horizontal flipped.

Definition at line 91 of file st7735.h.

◆ ST7735_ROTATION_VERT_FLIP

#define ST7735_ROTATION_VERT_FLIP
Value:
LCD_MADCTL_MY
#define LCD_MADCTL_MX
Column access order.
Definition: lcd.h:64

Flipped vertical.

Definition at line 87 of file st7735.h.