nt35510
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#define __NT35510_H
Includes
#include <stdint.h>
#define __weak
#define NT35510_ORIENTATION_PORTRAIT
#define NT35510_ORIENTATION_LANDSCAPE
#define NT35510_FORMAT_RGB888
#define NT35510_FORMAT_RBG565
#define NT35510_480X800_WIDTH
#define NT35510_480X800_HEIGHT
#define NT35510_800X480_WIDTH
#define NT35510_800X480_HEIGHT
#define NT35510_480X800_HSYNC
#define NT35510_480X800_HBP
#define NT35510_480X800_HFP
#define NT35510_480X800_VSYNC
#define NT35510_480X800_VBP
#define NT35510_480X800_VFP
#define NT35510_800X480_HSYNC
#define NT35510_800X480_HBP
#define NT35510_800X480_HFP
#define NT35510_800X480_VSYNC
#define NT35510_800X480_VBP
#define NT35510_800X480_VFP
#define NT35510_CMD_NOP
#define NT35510_CMD_SWRESET
#define NT35510_CMD_RDDID
#define NT35510_CMD_RDNUMED
#define NT35510_CMD_RDDPM
#define NT35510_CMD_RDDMADCTL
#define NT35510_CMD_RDDCOLMOD
#define NT35510_CMD_RDDIM
#define NT35510_CMD_RDDSM
#define NT35510_CMD_RDDSDR
#define NT35510_CMD_SLPIN
#define NT35510_CMD_SLPOUT
#define NT35510_CMD_PTLON
#define NT35510_CMD_NORON
#define NT35510_CMD_INVOFF
#define NT35510_CMD_INVON
#define NT35510_CMD_ALLPOFF
#define NT35510_CMD_ALLPON
#define NT35510_CMD_GAMSET
#define NT35510_CMD_DISPOFF
#define NT35510_CMD_DISPON
#define NT35510_CMD_CASET
#define NT35510_CMD_RASET
#define NT35510_CMD_RAMWR
#define NT35510_CMD_RAMRD
#define NT35510_CMD_PLTAR
#define NT35510_CMD_TOPC
#define NT35510_CMD_TEOFF
#define NT35510_CMD_TEEON
#define NT35510_CMD_MADCTL
#define NT35510_CMD_IDMOFF
#define NT35510_CMD_IDMON
#define NT35510_CMD_COLMOD
#define NT35510_CMD_RAMWRC
#define NT35510_CMD_RAMRDC
#define NT35510_CMD_STESL
#define NT35510_CMD_GSL
#define NT35510_CMD_DSTBON
#define NT35510_CMD_WRPFD
#define NT35510_CMD_WRDISBV
#define NT35510_CMD_RDDISBV
#define NT35510_CMD_WRCTRLD
#define NT35510_CMD_RDCTRLD
#define NT35510_CMD_WRCABC
#define NT35510_CMD_RDCABC
#define NT35510_CMD_WRHYSTE
#define NT35510_CMD_WRGAMMSET
#define NT35510_CMD_RDFSVM
#define NT35510_CMD_RDFSVL
#define NT35510_CMD_RDMFFSVM
#define NT35510_CMD_RDMFFSVL
#define NT35510_CMD_WRCABCMB
#define NT35510_CMD_RDCABCMB
#define NT35510_CMD_WRLSCC
#define NT35510_CMD_RDLSCCM
#define NT35510_CMD_RDLSCCL
#define NT35510_CMD_RDBWLB
#define NT35510_CMD_RDBKX
#define NT35510_CMD_RDBKY
#define NT35510_CMD_RDWX
#define NT35510_CMD_RDWY
#define NT35510_CMD_RDRGLB
#define NT35510_CMD_RDRX
#define NT35510_CMD_RDRY
#define NT35510_CMD_RDGX
#define NT35510_CMD_RDGY
#define NT35510_CMD_RDBALB
#define NT35510_CMD_RDBX
#define NT35510_CMD_RDBY
#define NT35510_CMD_RDAX
#define NT35510_CMD_RDAY
#define NT35510_CMD_RDDDBS
#define NT35510_CMD_RDDDBC
#define NT35510_CMD_RDDCS
#define NT35510_CMD_RDCCS
#define NT35510_CMD_RDID1
#define NT35510_CMD_RDID2
#define NT35510_CMD_RDID3
#define NT35510_TEEON_TELOM_VBLANKING_INFO_ONLY
#define NT35510_TEEON_TELOM_VBLANKING_AND_HBLANKING_INFO
#define NT35510_MADCTR_MODE_PORTRAIT
#define NT35510_MADCTR_MODE_LANDSCAPE
#define NT35510_COLMOD_RGB565
#define NT35510_COLMOD_RGB888
#define NT35510_480X800_FREQUENCY_DIVIDER
Exported macro
DSI_IO_WriteCmd(uint32_t, uint8_t *);
NT35510_Init(uint32_t, uint32_t);
NT35510_DeInit();
NT35510_IO_Delay(uint32_t);
Files
loading...
SourceVu
STM32 Libraries and Samples
nt35510
nt35510.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
/**
******************************************************************************
* @file nt35510.h
* @author MCD Application Team
* @brief This file contains all the constants parameters for the NT35510
* which is the LCD Driver for Frida Techshine 3K138 (WVGA)
* DSI LCD Display.
******************************************************************************
* @attention
*
* Copyright (c) 2020 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* ... */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef
__NT35510_H
#define
__NT35510_H
#ifdef
__cplusplus
extern
"C"
{
#endif
/* Includes ------------------------------------------------------------------*/
#include
<
stdint.h>
/** @addtogroup BSP
* @{
*/
/* ... */
/** @addtogroup Components
* @{
*/
/* ... */
/** @addtogroup nt35510
* @{
*/
/* ... */
/** @addtogroup NT35510_Exported_Variables
* @{
*/
/* ... */
#if
defined
(
__GNUC__
)
#ifndef
__weak
#define
__weak
__attribute__
(
(
weak
)
)
#endif
/* __weak */
/* ... */
#endif
/* __GNUC__ */
/**
* @brief LCD_OrientationTypeDef
* Possible values of Display Orientation
*/
/* ... */
#define
NT35510_ORIENTATION_PORTRAIT
(
(
uint32_t
)
0x00
)
/* Portrait orientation choice of LCD screen */
#define
NT35510_ORIENTATION_LANDSCAPE
(
(
uint32_t
)
0x01
)
/* Landscape orientation choice of LCD screen */
/**
* @brief Possible values of
* pixel data format (ie color coding) transmitted on DSI Data lane in DSI packets
*/
/* ... */
#define
NT35510_FORMAT_RGB888
(
(
uint32_t
)
0x00
)
/* Pixel format chosen is RGB888 : 24 bpp */
#define
NT35510_FORMAT_RBG565
(
(
uint32_t
)
0x02
)
/* Pixel format chosen is RGB565 : 16 bpp */
/**
* @brief nt35510_480x800 Size
*/
/* ... */
/* Width and Height in Portrait mode */
#define
NT35510_480X800_WIDTH
(
(
uint16_t
)
480
)
/* LCD PIXEL WIDTH */
#define
NT35510_480X800_HEIGHT
(
(
uint16_t
)
800
)
/* LCD PIXEL HEIGHT */
/* Width and Height in Landscape mode */
#define
NT35510_800X480_WIDTH
(
(
uint16_t
)
800
)
/* LCD PIXEL WIDTH */
#define
NT35510_800X480_HEIGHT
(
(
uint16_t
)
480
)
/* LCD PIXEL HEIGHT */
/**
* @brief NT35510_480X800 Timing parameters for Portrait orientation mode
*/
/* ... */
#define
NT35510_480X800_HSYNC
(
(
uint16_t
)
2
)
/* Horizontal synchronization */
#define
NT35510_480X800_HBP
(
(
uint16_t
)
34
)
/* Horizontal back porch */
#define
NT35510_480X800_HFP
(
(
uint16_t
)
34
)
/* Horizontal front porch */
#define
NT35510_480X800_VSYNC
(
(
uint16_t
)
120
)
/* Vertical synchronization */
#define
NT35510_480X800_VBP
(
(
uint16_t
)
150
)
/* Vertical back porch */
#define
NT35510_480X800_VFP
(
(
uint16_t
)
150
)
/* Vertical front porch */
/**
* @brief NT35510_800X480 Timing parameters for Landscape orientation mode
* Same values as for Portrait mode in fact.
*/
/* ... */
#define
NT35510_800X480_HSYNC
NT35510_480X800_VSYNC
/* Horizontal synchronization */
#define
NT35510_800X480_HBP
NT35510_480X800_VBP
/* Horizontal back porch */
#define
NT35510_800X480_HFP
NT35510_480X800_VFP
/* Horizontal front porch */
#define
NT35510_800X480_VSYNC
NT35510_480X800_HSYNC
/* Vertical synchronization */
#define
NT35510_800X480_VBP
NT35510_480X800_HBP
/* Vertical back porch */
#define
NT35510_800X480_VFP
NT35510_480X800_HFP
/* Vertical front porch */
/* List of NT35510 used commands */
/* Detailed in NT35510 Data Sheet v0.80 */
/* Version of 10/28/2011 */
/* Command, NumberOfArguments */
#define
NT35510_CMD_NOP
0x00
/* NOP */
#define
NT35510_CMD_SWRESET
0x01
/* SW reset */
#define
NT35510_CMD_RDDID
0x04
/* Read display ID */
#define
NT35510_CMD_RDNUMED
0x05
/* Read number of errors on DSI */
#define
NT35510_CMD_RDDPM
0x0A
/* Read display power mode */
#define
NT35510_CMD_RDDMADCTL
0x0B
/* Read display MADCTL */
#define
NT35510_CMD_RDDCOLMOD
0x0C
/* Read display pixel format */
#define
NT35510_CMD_RDDIM
0x0D
/* Read display image mode */
#define
NT35510_CMD_RDDSM
0x0E
/* Read display signal mode */
#define
NT35510_CMD_RDDSDR
0x0F
/* Read display self-diagnostics result */
#define
NT35510_CMD_SLPIN
0x10
/* Sleep in */
#define
NT35510_CMD_SLPOUT
0x11
/* Sleep out */
#define
NT35510_CMD_PTLON
0x12
/* Partial mode on */
#define
NT35510_CMD_NORON
0x13
/* Normal display mode on */
#define
NT35510_CMD_INVOFF
0x20
/* Display inversion off */
#define
NT35510_CMD_INVON
0x21
/* Display inversion on */
#define
NT35510_CMD_ALLPOFF
0x22
/* All pixel off */
#define
NT35510_CMD_ALLPON
0x23
/* All pixel on */
#define
NT35510_CMD_GAMSET
0x26
/* Gamma set */
#define
NT35510_CMD_DISPOFF
0x28
/* Display off */
#define
NT35510_CMD_DISPON
0x29
/* Display on */
#define
NT35510_CMD_CASET
0x2A
/* Column address set */
#define
NT35510_CMD_RASET
0x2B
/* Row address set */
#define
NT35510_CMD_RAMWR
0x2C
/* Memory write */
#define
NT35510_CMD_RAMRD
0x2E
/* Memory read */
#define
NT35510_CMD_PLTAR
0x30
/* Partial area */
#define
NT35510_CMD_TOPC
0x32
/* Turn On Peripheral Command */
#define
NT35510_CMD_TEOFF
0x34
/* Tearing effect line off */
#define
NT35510_CMD_TEEON
0x35
/* Tearing effect line on */
#define
NT35510_CMD_MADCTL
0x36
/* Memory data access control */
#define
NT35510_CMD_IDMOFF
0x38
/* Idle mode off */
#define
NT35510_CMD_IDMON
0x39
/* Idle mode on */
#define
NT35510_CMD_COLMOD
0x3A
/* Interface pixel format */
#define
NT35510_CMD_RAMWRC
0x3C
/* Memory write continue */
#define
NT35510_CMD_RAMRDC
0x3E
/* Memory read continue */
#define
NT35510_CMD_STESL
0x44
/* Set tearing effect scan line */
#define
NT35510_CMD_GSL
0x45
/* Get scan line */
#define
NT35510_CMD_DSTBON
0x4F
/* Deep standby mode on */
#define
NT35510_CMD_WRPFD
0x50
/* Write profile value for display */
#define
NT35510_CMD_WRDISBV
0x51
/* Write display brightness */
#define
NT35510_CMD_RDDISBV
0x52
/* Read display brightness */
#define
NT35510_CMD_WRCTRLD
0x53
/* Write CTRL display */
#define
NT35510_CMD_RDCTRLD
0x54
/* Read CTRL display value */
#define
NT35510_CMD_WRCABC
0x55
/* Write content adaptative brightness control */
#define
NT35510_CMD_RDCABC
0x56
/* Read content adaptive brightness control */
#define
NT35510_CMD_WRHYSTE
0x57
/* Write hysteresis */
#define
NT35510_CMD_WRGAMMSET
0x58
/* Write gamme setting */
#define
NT35510_CMD_RDFSVM
0x5A
/* Read FS value MSBs */
#define
NT35510_CMD_RDFSVL
0x5B
/* Read FS value LSBs */
#define
NT35510_CMD_RDMFFSVM
0x5C
/* Read median filter FS value MSBs */
#define
NT35510_CMD_RDMFFSVL
0x5D
/* Read median filter FS value LSBs */
#define
NT35510_CMD_WRCABCMB
0x5E
/* Write CABC minimum brightness */
#define
NT35510_CMD_RDCABCMB
0x5F
/* Read CABC minimum brightness */
#define
NT35510_CMD_WRLSCC
0x65
/* Write light sensor compensation coefficient value */
#define
NT35510_CMD_RDLSCCM
0x66
/* Read light sensor compensation coefficient value MSBs */
#define
NT35510_CMD_RDLSCCL
0x67
/* Read light sensor compensation coefficient value LSBs */
#define
NT35510_CMD_RDBWLB
0x70
/* Read black/white low bits */
#define
NT35510_CMD_RDBKX
0x71
/* Read Bkx */
#define
NT35510_CMD_RDBKY
0x72
/* Read Bky */
#define
NT35510_CMD_RDWX
0x73
/* Read Wx */
#define
NT35510_CMD_RDWY
0x74
/* Read Wy */
#define
NT35510_CMD_RDRGLB
0x75
/* Read red/green low bits */
#define
NT35510_CMD_RDRX
0x76
/* Read Rx */
#define
NT35510_CMD_RDRY
0x77
/* Read Ry */
#define
NT35510_CMD_RDGX
0x78
/* Read Gx */
#define
NT35510_CMD_RDGY
0x79
/* Read Gy */
#define
NT35510_CMD_RDBALB
0x7A
/* Read blue/acolor low bits */
#define
NT35510_CMD_RDBX
0x7B
/* Read Bx */
#define
NT35510_CMD_RDBY
0x7C
/* Read By */
#define
NT35510_CMD_RDAX
0x7D
/* Read Ax */
#define
NT35510_CMD_RDAY
0x7E
/* Read Ay */
#define
NT35510_CMD_RDDDBS
0xA1
/* Read DDB start */
#define
NT35510_CMD_RDDDBC
0xA8
/* Read DDB continue */
#define
NT35510_CMD_RDDCS
0xAA
/* Read first checksum */
#define
NT35510_CMD_RDCCS
0xAF
/* Read continue checksum */
#define
NT35510_CMD_RDID1
0xDA
/* Read ID1 value */
#define
NT35510_CMD_RDID2
0xDB
/* Read ID2 value */
#define
NT35510_CMD_RDID3
0xDC
/* Read ID3 value */
/* Parameter TELOM : Tearing Effect Line Output Mode : possible values */
#define
NT35510_TEEON_TELOM_VBLANKING_INFO_ONLY
0x00
#define
NT35510_TEEON_TELOM_VBLANKING_AND_HBLANKING_INFO
0x01
/* Possible used values of MADCTR */
#define
NT35510_MADCTR_MODE_PORTRAIT
0x00
#define
NT35510_MADCTR_MODE_LANDSCAPE
0x60
/* MY = 0, MX = 1, MV = 1, ML = 0, RGB = 0 */
/* Possible values of COLMOD parameter corresponding to used pixel formats */
#define
NT35510_COLMOD_RGB565
0x55
#define
NT35510_COLMOD_RGB888
0x77
/**
* @brief NT35510_480X800 frequency divider
*/
/* ... */
#define
NT35510_480X800_FREQUENCY_DIVIDER
2
/* LCD Frequency divider */
105 defines
/**
* @}
*/
/* ... */
Includes
/* Exported macro ------------------------------------------------------------*/
/** @defgroup NT35510_Exported_Macros NT35510 Exported Macros
* @{
*/
/* ... */
/**
* @}
*/
/* ... */
Exported macro
/* Exported functions --------------------------------------------------------*/
/** @addtogroup NT35510_Exported_Functions
* @{
*/
/* ... */
void
DSI_IO_WriteCmd
(
uint32_t
NbrParams
,
uint8_t
*
pParams
)
;
uint8_t
NT35510_Init
(
uint32_t
ColorCoding
,
uint32_t
orientation
)
;
uint8_t
NT35510_DeInit
(
void
)
;
void
NT35510_IO_Delay
(
uint32_t
Delay
)
;
/**
* @}
*/
/* ... */
#ifdef
__cplusplus
}
extern "C" { ... }
#endif
/* ... */
#endif
/* __NT35510_H */
/**
* @}
*/
/* ... */
/**
* @}
*/
/* ... */
/**
* @}
*/
/* ... */
Details
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.
DSI_IO_WriteCmd()
NT35510_Init()
NT35510_IO_Delay()
NT35510_DeInit()
__weak
DSI_IO_WriteCmd()::pParams
DSI_IO_WriteCmd()::NbrParams
NT35510_FORMAT_RGB888
NT35510_FORMAT_RBG565
NT35510_CMD_DISPOFF
NT35510_ORIENTATION_LANDSCAPE
NT35510_IO_Delay()::Delay
NT35510_480X800_HSYNC
NT35510_480X800_HBP
NT35510_480X800_HFP
NT35510_480X800_VSYNC
NT35510_480X800_VBP
NT35510_480X800_VFP
NT35510_CMD_CASET
NT35510_CMD_RASET
NT35510_CMD_MADCTL
NT35510_CMD_COLMOD
NT35510_Init()::ColorCoding
NT35510_Init()::orientation
NT35510_ORIENTATION_PORTRAIT
NT35510_800X480_WIDTH
NT35510_800X480_HEIGHT
NT35510_CMD_SLPIN
NT35510_CMD_SLPOUT
NT35510_CMD_DISPON
NT35510_CMD_RAMWR
NT35510_CMD_TEEON
NT35510_CMD_WRDISBV
NT35510_CMD_WRCTRLD
NT35510_CMD_WRCABC
NT35510_CMD_WRCABCMB
NT35510_COLMOD_RGB565
NT35510_COLMOD_RGB888
__NT35510_H
NT35510_480X800_WIDTH
NT35510_480X800_HEIGHT
NT35510_800X480_HSYNC
NT35510_800X480_HBP
NT35510_800X480_HFP
NT35510_800X480_VSYNC
NT35510_800X480_VBP
NT35510_800X480_VFP
NT35510_CMD_NOP
NT35510_CMD_SWRESET
NT35510_CMD_RDDID
NT35510_CMD_RDNUMED
NT35510_CMD_RDDPM
NT35510_CMD_RDDMADCTL
NT35510_CMD_RDDCOLMOD
NT35510_CMD_RDDIM
NT35510_CMD_RDDSM
NT35510_CMD_RDDSDR
NT35510_CMD_PTLON
NT35510_CMD_NORON
NT35510_CMD_INVOFF
NT35510_CMD_INVON
NT35510_CMD_ALLPOFF
NT35510_CMD_ALLPON
NT35510_CMD_GAMSET
NT35510_CMD_RAMRD
NT35510_CMD_PLTAR
NT35510_CMD_TOPC
NT35510_CMD_TEOFF
NT35510_CMD_IDMOFF
NT35510_CMD_IDMON
NT35510_CMD_RAMWRC
NT35510_CMD_RAMRDC
NT35510_CMD_STESL
NT35510_CMD_GSL
NT35510_CMD_DSTBON
NT35510_CMD_WRPFD
NT35510_CMD_RDDISBV
NT35510_CMD_RDCTRLD
NT35510_CMD_RDCABC
NT35510_CMD_WRHYSTE
NT35510_CMD_WRGAMMSET
NT35510_CMD_RDFSVM
NT35510_CMD_RDFSVL
NT35510_CMD_RDMFFSVM
NT35510_CMD_RDMFFSVL
NT35510_CMD_RDCABCMB
NT35510_CMD_WRLSCC
NT35510_CMD_RDLSCCM
NT35510_CMD_RDLSCCL
NT35510_CMD_RDBWLB
NT35510_CMD_RDBKX
NT35510_CMD_RDBKY
NT35510_CMD_RDWX
NT35510_CMD_RDWY
NT35510_CMD_RDRGLB
NT35510_CMD_RDRX
NT35510_CMD_RDRY
NT35510_CMD_RDGX
NT35510_CMD_RDGY
NT35510_CMD_RDBALB
NT35510_CMD_RDBX
NT35510_CMD_RDBY
NT35510_CMD_RDAX
NT35510_CMD_RDAY
NT35510_CMD_RDDDBS
NT35510_CMD_RDDDBC
NT35510_CMD_RDDCS
NT35510_CMD_RDCCS
NT35510_CMD_RDID1
NT35510_CMD_RDID2
NT35510_CMD_RDID3
NT35510_TEEON_TELOM_VBLANKING_INFO_ONLY
NT35510_TEEON_TELOM_VBLANKING_AND_HBLANKING_INFO
NT35510_MADCTR_MODE_PORTRAIT
NT35510_MADCTR_MODE_LANDSCAPE
NT35510_480X800_FREQUENCY_DIVIDER