Loading...
Searching...
No Matches
st7789_internal.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2018 Koen Zandberg
3 * SPDX-FileCopyrightText: 2023 Gunar Schorcht
4 * SPDX-License-Identifier: LGPL-2.1-only
5 */
6
7#pragma once
8
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#include "st77xx_internal.h"
27
34#define LCD_CMD_RAMWRC 0x3c
35#define LCD_CMD_RAMRDC 0x3e
36#define LCD_CMD_PORCTRL 0xb2
37#define LCD_CMD_GCTRL 0xb7
38#define LCD_CMD_VCOMS 0xbb
39#define LCD_CMD_LCMCTRL 0xc0
40#define LCD_CMD_VDVVRHEN 0xc2
41#define LCD_CMD_VRHS 0xc3
42#define LCD_CMD_VDVS 0xc4
43#define LCD_CMD_VCMOFSET 0xc4
44#define LCD_CMD_FRCTRL2 0xc6
45#define LCD_CMD_PWCTRL1X 0xd0
47
51int st7789_init(lcd_t *dev, const lcd_params_t *params);
52
53#ifdef __cplusplus
54}
55#endif
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.
Definition lcd.h:112
Device descriptor for a lcd.
Definition lcd.h:175