Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
23
extern
"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
51
int
st7789_init
(
lcd_t
*dev,
const
lcd_params_t
*params);
52
53
#ifdef __cplusplus
54
}
55
#endif
st7789_init
int st7789_init(lcd_t *dev, const lcd_params_t *params)
ST7789 controller specific initialization part.
st77xx_internal.h
Internal definitions that are common for all ST77xx controllers.
lcd_params_t
Device initialization parameters.
Definition
lcd.h:112
lcd_t
Device descriptor for a lcd.
Definition
lcd.h:175
Generated on Wed Apr 15 2026 11:03:04 by
1.13.2