mikroSDK Reference Manual
ssd1963_cmd.h
Go to the documentation of this file.
1
/****************************************************************************
2
**
3
** Copyright (C) 2024 MikroElektronika d.o.o.
4
** Contact: https://www.mikroe.com/contact
5
**
6
** This file is part of the mikroSDK package
7
**
8
** Commercial License Usage
9
**
10
** Licensees holding valid commercial NECTO compilers AI licenses may use this
11
** file in accordance with the commercial license agreement provided with the
12
** Software or, alternatively, in accordance with the terms contained in
13
** a written agreement between you and The MikroElektronika Company.
14
** For licensing terms and conditions see
15
** https://www.mikroe.com/legal/software-license-agreement.
16
** For further information use the contact form at
17
** https://www.mikroe.com/contact.
18
**
19
**
20
** GNU Lesser General Public License Usage
21
**
22
** Alternatively, this file may be used for
23
** non-commercial projects under the terms of the GNU Lesser
24
** General Public License version 3 as published by the Free Software
25
** Foundation: https://www.gnu.org/licenses/lgpl-3.0.html.
26
**
27
** The above copyright notice and this permission notice shall be
28
** included in all copies or substantial portions of the Software.
29
**
30
** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
31
** OF MERCHANTABILITY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
32
** TO THE WARRANTIES FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
33
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
34
** DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
35
** OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
36
** OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37
**
38
****************************************************************************/
60
#ifndef SSD1963_CMD_H
61
#define SSD1963_CMD_H
62
66
#define SSD1963_CMD_NOP 0X00
67
71
#define SSD1963_CMD_SOFT_RESET 0x01
72
76
#define SSD1963_CMD_GET_POWER_MODE 0x0A
77
81
#define SSD1963_CMD_GET_ADDRESS_MODE 0x0B
82
83
// #define SSD1963_CMD_RESERVED 0X0C
84
88
#define SSD1963_CMD_GET_DISPLAY_MODE 0x0D
89
93
#define SSD1963_CMD_GET_TEAR_EFFECT_status 0x0E
94
95
//#define SSD1963_CMD_RESERVED 0X0F
96
100
#define SSD1963_CMD_ENTER_SLEEP_MODE 0x10
101
105
#define SSD1963_CMD_EXIT_SLEEP_MODE 0x11
106
110
#define SSD1963_CMD_ENTER_PARTIAL_MODE 0x12
111
115
#define SSD1963_CMD_ENTER_NORMAL_MODE 0x13
116
120
#define SSD1963_CMD_EXIT_INVERT_MODE 0x20
121
125
#define SSD1963_CMD_ENTER_INVERT_MODE 0x21
126
130
#define SSD1963_CMD_SET_GAMMA_CURVE 0x26
131
135
#define SSD1963_CMD_SET_DISPLAY_OFF 0x28
136
140
#define SSD1963_CMD_SET_DISPLAY_ON 0x29
141
145
#define SSD1963_CMD_SET_COLUMN_ADDRESS 0x2A
146
150
#define SSD1963_CMD_SET_PAGE_ADDRESS 0x2B
151
155
#define SSD1963_CMD_WRITE_MEMORY_START 0x2C
156
160
#define SSD1963_CMD_READ_MEMORY_START 0x2E
161
165
#define SSD1963_CMD_SET_PARTIAL_AREA 0x30
166
170
#define SSD1963_CMD_SET_SCROLL_AREA 0x33
171
175
#define SSD1963_CMD_SET_TEAR_OFF 0x34
176
180
#define SSD1963_CMD_SET_TEAR_ON 0x35
181
185
#define SSD1963_CMD_SET_ADDRESS_MODE 0x36
186
190
#define SSD1963_CMD_SET_SCROLL_START 0x37
191
195
#define SSD1963_CMD_EXIT_IDLE_MODE 0x38
196
200
#define SSD1963_CMD_ENTER_IDLE_MODE 0x39
201
202
// #define SSD1963_CMD_RESERVED 0X3A
203
207
#define SSD1963_CMD_WRITE_MEMORY_CONTINUE 0x3C
208
212
#define SSD1963_CMD_READ_MEMORY_CONTINUE 0x3E
213
217
#define SSD1963_CMD_SET_TEAR_SCANLINE 0x44
218
222
#define SSD1963_CMD_GET_SCANLINE 0x45
223
227
#define SSD1963_CMD_READ_DDB 0xA1
228
229
// #define SSD1963_CMD_RESERVED 0xA8
230
234
#define SSD1963_CMD_SET_LCD_MODE 0xB0
235
239
#define SSD1963_CMD_GET_LCD_MODE 0xB1
240
244
#define SSD1963_CMD_SET_HORI_PERIOD 0xB4
245
249
#define SSD1963_CMD_GET_HORI_PERIOD 0xB5
250
254
#define SSD1963_CMD_SET_VERT_PERIOD 0xB6
255
259
#define SSD1963_CMD_GET_VERT_PERIOD 0xB7
260
264
#define SSD1963_CMD_SET_GPIO_CONF 0xB8
265
269
#define SSD1963_CMD_GET_GPIO_CONF 0xB9
270
274
#define SSD1963_CMD_SET_GPIO_VALUE 0xBA
275
279
#define SSD1963_CMD_GET_GPIO_STATUS 0xBB
280
284
#define SSD1963_CMD_SET_POST_PROC 0xBC
285
289
#define SSD1963_CMD_GET_POST_PROC 0xBD
290
294
#define SSD1963_CMD_SET_PWM_CONF 0xBE
295
299
#define SSD1963_CMD_GET_PWM_CONF 0xBF
300
304
#define SSD1963_CMD_SET_LCD_GEN0 0xC0
305
309
#define SSD1963_CMD_GET_LCD_GEN0 0xC1
310
314
#define SSD1963_CMD_SET_LCD_GEN1 0xC2
315
319
#define SSD1963_CMD_GET_LCD_GEN1 0xC3
320
324
#define SSD1963_CMD_SET_LCD_GEN2 0xC4
325
329
#define SSD1963_CMD_GET_LCD_GEN2 0xC5
330
334
#define SSD1963_CMD_SET_LCD_GEN3 0xC6
335
339
#define SSD1963_CMD_GET_LCD_GEN3 0xC7
340
344
#define SSD1963_CMD_SET_GPIO0_ROP 0xC8
345
349
#define SSD1963_CMD_GET_GPIO0_ROP 0xC9
350
354
#define SSD1963_CMD_SET_GPIO1_ROP 0xCA
355
359
#define SSD1963_CMD_GET_GPIO1_ROP 0xCB
360
364
#define SSD1963_CMD_SET_GPIO2_ROP 0xCC
365
369
#define SSD1963_CMD_GET_GPIO2_ROP 0xCD
370
374
#define SSD1963_CMD_SET_GPIO3_ROP 0xCE
375
379
#define SSD1963_CMD_GET_GPIO3_ROP 0xCF
380
384
#define SSD1963_CMD_SET_DBC_CONF 0xD0
385
389
#define SSD1963_CMD_GET_DBC_CONF 0xD
390
394
#define SSD1963_CMD_SET_DBC_TH 0xD4
395
399
#define SSD1963_CMD_GET_DBC_TH 0xD5
400
404
#define SSD1963_CMD_SET_PLL 0xE0
405
409
#define SSD1963_CMD_SET_PLL_MN 0xE2
410
414
#define SSD1963_CMD_GET_PLL_MN 0xE3
415
419
#define SSD1963_CMD_GET_PLL_STATUS 0xE4
420
424
#define SSD1963_CMD_SET_DEEP_SLEEP 0xE5
425
429
#define SSD1963_CMD_SET_LSHIFT_FREQ 0xE6
430
434
#define SSD1963_CMD_GET_LSHIFT_FREQ 0xE7
435
436
// #define SSD1963_CMD_RESERVED 0xE8
437
// #define SSD1963_CMD_RESERVED 0xE9
438
442
#define SSD1963_CMD_SET_PIXEL_DATA_INTERFACE 0xF0
443
447
#define SSD1963_CMD_GET_PIXEL_DATA_INTERFACE 0xF1
448
449
// #define SSD1963_CMD_RESERVED 0xFF
450
451
// ssd1963
452
// ssd1963
453
// mwgroup
454
455
#endif
// SSD1963_CMD_H
456
// ------------------------------------------------------------------------- END