Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
lcd_internal.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2018 Koen Zandberg
3
* 2021 Francisco Molina
4
*
5
* This file is subject to the terms and conditions of the GNU Lesser
6
* General Public License v2.1. See the file LICENSE in the top level
7
* directory for more details.
8
*/
9
23
#ifndef LCD_INTERNAL_H
24
#define LCD_INTERNAL_H
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
36
#define LCD_CMD_SWRESET 0x01
37
#define LCD_CMD_RDDIDIF 0x04
38
#define LCD_CMD_RDDST 0x09
39
#define LCD_CMD_SLPIN 0x10
40
#define LCD_CMD_SLPOUT 0x11
41
#define LCD_CMD_NORON 0x13
42
#define LCD_CMD_DINVOFF 0x20
43
#define LCD_CMD_DINVON 0x21
45
#define LCD_CMD_GAMSET 0x26
46
#define LCD_CMD_DISPOFF 0x28
47
#define LCD_CMD_DISPON 0x29
48
#define LCD_CMD_CASET 0x2A
49
#define LCD_CMD_PASET 0x2b
50
#define LCD_CMD_RAMWR 0x2c
51
#define LCD_CMD_RAMRD 0x2e
52
#define LCD_CMD_MADCTL 0x36
53
#define LCD_CMD_IDMOFF 0x38
54
#define LCD_CMD_IDMON 0x39
55
#define LCD_CMD_TEOFF 0x34
56
#define LCD_CMD_TEON 0x35
57
#define LCD_CMD_COLMOD 0x3A
58
#define LCD_CMD_PIXSET 0x3A
59
#define LCD_CMD_RAMWRC 0x3c
60
#define LCD_CMD_RAMRDC 0x3e
61
#define LCD_CMD_WRDISBV 0x51
62
#define LCD_CMD_WRCTRLD 0x53
63
#define LCD_CMD_RDCTRLD 0x54
64
#define LCD_CMD_FRAMECTL1 0xb1
65
#define LCD_CMD_FRAMECTL2 0xb2
66
#define LCD_CMD_FRAMECTL3 0xb3
67
#define LCD_CMD_DFUNC 0xb6
68
#define LCD_CMD_PWCTRL1 0xc0
69
#define LCD_CMD_PWCTRL2 0xc1
70
#define LCD_CMD_VMCTRL1 0xc5
71
#define LCD_CMD_VMCTRL2 0xc7
72
#define LCD_CMD_PGAMCTRL 0xe0
73
#define LCD_CMD_NGAMCTRL 0xe1
74
#define LCD_CMD_IFCTL 0xf6
77
#define LCD_PIXSET_16BIT 0x55
78
#define LCD_PIXSET_18BIT 0x66
80
#ifdef __cplusplus
81
}
82
#endif
83
84
#endif
/* LCD_INTERNAL_H */
Generated on Sat Nov 23 2024 16:31:09 by
1.9.8