Loading...
Searching...
No Matches
st7789_internal.h File Reference

Specific internal definitions for the ST7789 controller variant. More...

Detailed Description

Specific internal definitions for the ST7789 controller variant.

Author
Koen Zandberg koen@.nosp@m.berg.nosp@m.zand..nosp@m.net
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file st7789_internal.h.

#include "st77xx_internal.h"
+ Include dependency graph for st7789_internal.h:

Go to the source code of this file.

Functions

int st7789_init (lcd_t *dev, const lcd_params_t *params)
 ST7789 controller specific initialization part.
 

LCD ST7789 commands

LCD commands extension available for ST7789 LCD controllers

#define LCD_CMD_RAMWRC   0x3c
 Memory Write Continue.
 
#define LCD_CMD_RAMRDC   0x3e
 Memory Read Continue.
 
#define LCD_CMD_PORCTRL   0xb2
 Porch Control.
 
#define LCD_CMD_GCTRL   0xb7
 Gate Control.
 
#define LCD_CMD_VCOMS   0xbb
 VCOM Setting.
 
#define LCD_CMD_LCMCTRL   0xc0
 LCM Control.
 
#define LCD_CMD_VDVVRHEN   0xc2
 VDV and VRH Command Enable.
 
#define LCD_CMD_VRHS   0xc3
 VRH Set.
 
#define LCD_CMD_VDVS   0xc4
 VDV Set.
 
#define LCD_CMD_VCMOFSET   0xc4
 VCOM Offset Set.
 
#define LCD_CMD_FRCTRL2   0xc6
 Frame Rate Control in Normal Mode.
 
#define LCD_CMD_PWCTRL1X   0xd0
 Power Control 1.
 

Macro Definition Documentation

◆ LCD_CMD_FRCTRL2

#define LCD_CMD_FRCTRL2   0xc6

Frame Rate Control in Normal Mode.

Definition at line 48 of file st7789_internal.h.

◆ LCD_CMD_GCTRL

#define LCD_CMD_GCTRL   0xb7

Gate Control.

Definition at line 41 of file st7789_internal.h.

◆ LCD_CMD_LCMCTRL

#define LCD_CMD_LCMCTRL   0xc0

LCM Control.

Definition at line 43 of file st7789_internal.h.

◆ LCD_CMD_PORCTRL

#define LCD_CMD_PORCTRL   0xb2

Porch Control.

Definition at line 40 of file st7789_internal.h.

◆ LCD_CMD_PWCTRL1X

#define LCD_CMD_PWCTRL1X   0xd0

Power Control 1.

Definition at line 49 of file st7789_internal.h.

◆ LCD_CMD_RAMRDC

#define LCD_CMD_RAMRDC   0x3e

Memory Read Continue.

Definition at line 39 of file st7789_internal.h.

◆ LCD_CMD_RAMWRC

#define LCD_CMD_RAMWRC   0x3c

Memory Write Continue.

Definition at line 38 of file st7789_internal.h.

◆ LCD_CMD_VCMOFSET

#define LCD_CMD_VCMOFSET   0xc4

VCOM Offset Set.

Definition at line 47 of file st7789_internal.h.

◆ LCD_CMD_VCOMS

#define LCD_CMD_VCOMS   0xbb

VCOM Setting.

Definition at line 42 of file st7789_internal.h.

◆ LCD_CMD_VDVS

#define LCD_CMD_VDVS   0xc4

VDV Set.

Definition at line 46 of file st7789_internal.h.

◆ LCD_CMD_VDVVRHEN

#define LCD_CMD_VDVVRHEN   0xc2

VDV and VRH Command Enable.

Definition at line 44 of file st7789_internal.h.

◆ LCD_CMD_VRHS

#define LCD_CMD_VRHS   0xc3

VRH Set.

Definition at line 45 of file st7789_internal.h.