Select one of the symbols to view example projects that use it.
 
Outline
#define __ILI9325_H
#include "../Common/lcd.h"
#define ILI9325_ID
#define ILI9325_LCD_PIXEL_WIDTH
#define ILI9325_LCD_PIXEL_HEIGHT
#define LCD_REG_0
#define LCD_REG_1
#define LCD_REG_2
#define LCD_REG_3
#define LCD_REG_4
#define LCD_REG_5
#define LCD_REG_6
#define LCD_REG_7
#define LCD_REG_8
#define LCD_REG_9
#define LCD_REG_10
#define LCD_REG_12
#define LCD_REG_13
#define LCD_REG_14
#define LCD_REG_15
#define LCD_REG_16
#define LCD_REG_17
#define LCD_REG_18
#define LCD_REG_19
#define LCD_REG_20
#define LCD_REG_21
#define LCD_REG_22
#define LCD_REG_23
#define LCD_REG_24
#define LCD_REG_25
#define LCD_REG_26
#define LCD_REG_27
#define LCD_REG_28
#define LCD_REG_29
#define LCD_REG_30
#define LCD_REG_31
#define LCD_REG_32
#define LCD_REG_33
#define LCD_REG_34
#define LCD_REG_36
#define LCD_REG_37
#define LCD_REG_40
#define LCD_REG_41
#define LCD_REG_43
#define LCD_REG_45
#define LCD_REG_48
#define LCD_REG_49
#define LCD_REG_50
#define LCD_REG_51
#define LCD_REG_52
#define LCD_REG_53
#define LCD_REG_54
#define LCD_REG_55
#define LCD_REG_56
#define LCD_REG_57
#define LCD_REG_58
#define LCD_REG_59
#define LCD_REG_60
#define LCD_REG_61
#define LCD_REG_62
#define LCD_REG_63
#define LCD_REG_64
#define LCD_REG_65
#define LCD_REG_66
#define LCD_REG_67
#define LCD_REG_68
#define LCD_REG_69
#define LCD_REG_70
#define LCD_REG_71
#define LCD_REG_72
#define LCD_REG_73
#define LCD_REG_74
#define LCD_REG_75
#define LCD_REG_76
#define LCD_REG_77
#define LCD_REG_78
#define LCD_REG_79
#define LCD_REG_80
#define LCD_REG_81
#define LCD_REG_82
#define LCD_REG_83
#define LCD_REG_96
#define LCD_REG_97
#define LCD_REG_106
#define LCD_REG_118
#define LCD_REG_128
#define LCD_REG_129
#define LCD_REG_130
#define LCD_REG_131
#define LCD_REG_132
#define LCD_REG_133
#define LCD_REG_134
#define LCD_REG_135
#define LCD_REG_136
#define LCD_REG_137
#define LCD_REG_139
#define LCD_REG_140
#define LCD_REG_141
#define LCD_REG_143
#define LCD_REG_144
#define LCD_REG_145
#define LCD_REG_146
#define LCD_REG_147
#define LCD_REG_148
#define LCD_REG_149
#define LCD_REG_150
#define LCD_REG_151
#define LCD_REG_152
#define LCD_REG_153
#define LCD_REG_154
#define LCD_REG_157
#define LCD_REG_192
#define LCD_REG_193
#define LCD_REG_229
ili9325_Init();
ili9325_ReadID();
ili9325_WriteReg(uint8_t, uint16_t);
ili9325_ReadReg(uint8_t);
ili9325_DisplayOn();
ili9325_DisplayOff();
ili9325_SetCursor(uint16_t, uint16_t);
ili9325_WritePixel(uint16_t, uint16_t, uint16_t);
ili9325_ReadPixel(uint16_t, uint16_t);
ili9325_DrawHLine(uint16_t, uint16_t, uint16_t, uint16_t);
ili9325_DrawVLine(uint16_t, uint16_t, uint16_t, uint16_t);
ili9325_DrawBitmap(uint16_t, uint16_t, uint8_t *);
ili9325_DrawRGBImage(uint16_t, uint16_t, uint16_t, uint16_t, uint8_t *);
ili9325_SetDisplayWindow(uint16_t, uint16_t, uint16_t, uint16_t);
ili9325_GetLcdPixelWidth();
ili9325_GetLcdPixelHeight();
ili9325_drv;
LCD_IO_Init();
LCD_IO_WriteMultipleData(uint8_t *, uint32_t);
LCD_IO_WriteReg(uint8_t);
LCD_IO_ReadData(uint16_t);
Files
loading...
SourceVuSTM32 Libraries and Samplesili9325ili9325.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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @file ili9325.h * @author MCD Application Team * @version V1.2.3 * @date 04-May-2016 * @brief This file contains all the functions prototypes for the ili9325.c * driver. ****************************************************************************** * @attention * * Copyright (c) 2016 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 __ILI9325_H #define __ILI9325_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "../Common/lcd.h" /** @addtogroup BSP * @{ *//* ... */ /** @addtogroup Components * @{ *//* ... */ /** @addtogroup ili9325 * @{ *//* ... */ /** @defgroup ILI9325_Exported_Types * @{ *//* ... */ /** * @} *//* ... */ /** @defgroup ILI9325_Exported_Constants * @{ *//* ... */ /** * @brief ILI9325 ID *//* ... */ #define ILI9325_ID 0x9325 /** * @brief ILI9325 Size *//* ... */ #define ILI9325_LCD_PIXEL_WIDTH ((uint16_t)320) #define ILI9325_LCD_PIXEL_HEIGHT ((uint16_t)240) /** * @brief ILI9325 Registers *//* ... */ #define LCD_REG_0 0x00 #define LCD_REG_1 0x01 #define LCD_REG_2 0x02 #define LCD_REG_3 0x03 #define LCD_REG_4 0x04 #define LCD_REG_5 0x05 #define LCD_REG_6 0x06 #define LCD_REG_7 0x07 #define LCD_REG_8 0x08 #define LCD_REG_9 0x09 #define LCD_REG_10 0x0A #define LCD_REG_12 0x0C #define LCD_REG_13 0x0D #define LCD_REG_14 0x0E #define LCD_REG_15 0x0F #define LCD_REG_16 0x10 #define LCD_REG_17 0x11 #define LCD_REG_18 0x12 #define LCD_REG_19 0x13 #define LCD_REG_20 0x14 #define LCD_REG_21 0x15 #define LCD_REG_22 0x16 #define LCD_REG_23 0x17 #define LCD_REG_24 0x18 #define LCD_REG_25 0x19 #define LCD_REG_26 0x1A #define LCD_REG_27 0x1B #define LCD_REG_28 0x1C #define LCD_REG_29 0x1D #define LCD_REG_30 0x1E #define LCD_REG_31 0x1F #define LCD_REG_32 0x20 #define LCD_REG_33 0x21 #define LCD_REG_34 0x22 #define LCD_REG_36 0x24 #define LCD_REG_37 0x25 #define LCD_REG_40 0x28 #define LCD_REG_41 0x29 #define LCD_REG_43 0x2B #define LCD_REG_45 0x2D #define LCD_REG_48 0x30 #define LCD_REG_49 0x31 #define LCD_REG_50 0x32 #define LCD_REG_51 0x33 #define LCD_REG_52 0x34 #define LCD_REG_53 0x35 #define LCD_REG_54 0x36 #define LCD_REG_55 0x37 #define LCD_REG_56 0x38 #define LCD_REG_57 0x39 #define LCD_REG_58 0x3A #define LCD_REG_59 0x3B #define LCD_REG_60 0x3C #define LCD_REG_61 0x3D #define LCD_REG_62 0x3E #define LCD_REG_63 0x3F #define LCD_REG_64 0x40 #define LCD_REG_65 0x41 #define LCD_REG_66 0x42 #define LCD_REG_67 0x43 #define LCD_REG_68 0x44 #define LCD_REG_69 0x45 #define LCD_REG_70 0x46 #define LCD_REG_71 0x47 #define LCD_REG_72 0x48 #define LCD_REG_73 0x49 #define LCD_REG_74 0x4A #define LCD_REG_75 0x4B #define LCD_REG_76 0x4C #define LCD_REG_77 0x4D #define LCD_REG_78 0x4E #define LCD_REG_79 0x4F #define LCD_REG_80 0x50 #define LCD_REG_81 0x51 #define LCD_REG_82 0x52 #define LCD_REG_83 0x53 #define LCD_REG_96 0x60 #define LCD_REG_97 0x61 #define LCD_REG_106 0x6A #define LCD_REG_118 0x76 #define LCD_REG_128 0x80 #define LCD_REG_129 0x81 #define LCD_REG_130 0x82 #define LCD_REG_131 0x83 #define LCD_REG_132 0x84 #define LCD_REG_133 0x85 #define LCD_REG_134 0x86 #define LCD_REG_135 0x87 #define LCD_REG_136 0x88 #define LCD_REG_137 0x89 #define LCD_REG_139 0x8B #define LCD_REG_140 0x8C #define LCD_REG_141 0x8D #define LCD_REG_143 0x8F #define LCD_REG_144 0x90 #define LCD_REG_145 0x91 #define LCD_REG_146 0x92 #define LCD_REG_147 0x93 #define LCD_REG_148 0x94 #define LCD_REG_149 0x95 #define LCD_REG_150 0x96 #define LCD_REG_151 0x97 #define LCD_REG_152 0x98 #define LCD_REG_153 0x99 #define LCD_REG_154 0x9A #define LCD_REG_157 0x9D #define LCD_REG_192 0xC0 #define LCD_REG_193 0xC1 #define LCD_REG_229 0xE5 112 defines/** * @} *//* ... */ /** @defgroup ILI9325_Exported_Functions * @{ *//* ... */ void ili9325_Init(void); uint16_t ili9325_ReadID(void); void ili9325_WriteReg(uint8_t LCDReg, uint16_t LCDRegValue); uint16_t ili9325_ReadReg(uint8_t LCDReg); void ili9325_DisplayOn(void); void ili9325_DisplayOff(void); void ili9325_SetCursor(uint16_t Xpos, uint16_t Ypos); void ili9325_WritePixel(uint16_t Xpos, uint16_t Ypos, uint16_t RGBCode); uint16_t ili9325_ReadPixel(uint16_t Xpos, uint16_t Ypos); void ili9325_DrawHLine(uint16_t RGBCode, uint16_t Xpos, uint16_t Ypos, uint16_t Length); void ili9325_DrawVLine(uint16_t RGBCode, uint16_t Xpos, uint16_t Ypos, uint16_t Length); void ili9325_DrawBitmap(uint16_t Xpos, uint16_t Ypos, uint8_t *pbmp); void ili9325_DrawRGBImage(uint16_t Xpos, uint16_t Ypos, uint16_t Xsize, uint16_t Ysize, uint8_t *pdata); void ili9325_SetDisplayWindow(uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height); uint16_t ili9325_GetLcdPixelWidth(void); uint16_t ili9325_GetLcdPixelHeight(void); /* LCD driver structure */ extern LCD_DrvTypeDef ili9325_drv; /* LCD IO functions */ void LCD_IO_Init(void); void LCD_IO_WriteMultipleData(uint8_t *pData, uint32_t Size); void LCD_IO_WriteReg(uint8_t Reg); uint16_t LCD_IO_ReadData(uint16_t Reg); /** * @} *//* ... */ #ifdef __cplusplus }extern "C" { ... } #endif /* ... */ #endif /* __ILI9325_H */ /** * @} *//* ... */ /** * @} *//* ... */ /** * @} *//* ... */
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.