23 #ifndef ST7789_INTERNAL_H
24 #define ST7789_INTERNAL_H
38 #define LCD_CMD_RAMWRC 0x3c
39 #define LCD_CMD_RAMRDC 0x3e
40 #define LCD_CMD_PORCTRL 0xb2
41 #define LCD_CMD_GCTRL 0xb7
42 #define LCD_CMD_VCOMS 0xbb
43 #define LCD_CMD_LCMCTRL 0xc0
44 #define LCD_CMD_VDVVRHEN 0xc2
45 #define LCD_CMD_VRHS 0xc3
46 #define LCD_CMD_VDVS 0xc4
47 #define LCD_CMD_VCMOFSET 0xc4
48 #define LCD_CMD_FRCTRL2 0xc6
49 #define LCD_CMD_PWCTRL1X 0xd0
int st7789_init(lcd_t *dev, const lcd_params_t *params)
ST7789 controller specific initialization part.
Internal definitions that are common for all ST77xx controllers.
Device initialization parameters.
Device descriptor for a lcd.