STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
LCD_Private.h
Go to the documentation of this file.
1 /*********************************************************************
2 * SEGGER Microcontroller GmbH & Co. KG *
3 * Solutions for real time microcontroller applications *
4 **********************************************************************
5 * *
6 * (c) 1996 - 2015 SEGGER Microcontroller GmbH & Co. KG *
7 * *
8 * Internet: www.segger.com Support: support@segger.com *
9 * *
10 **********************************************************************
11 
12 ** emWin V5.28 - Graphical user interface for embedded applications **
13 All Intellectual Property rights in the Software belongs to SEGGER.
14 emWin is protected by international copyright laws. Knowledge of the
15 source code may not be used to write a similar product. This file may
16 only be used in accordance with the following terms:
17 
18 The software has been licensed to STMicroelectronics International
19 N.V. a Dutch company with a Swiss branch and its headquarters in Plan-
20 les-Ouates, Geneva, 39 Chemin du Champ des Filles, Switzerland for the
21 purposes of creating libraries for ARM Cortex-M-based 32-bit microcon_
22 troller products commercialized by Licensee only, sublicensed and dis_
23 tributed under the terms and conditions of the End User License Agree_
24 ment supplied by STMicroelectronics International N.V.
25 Full source code is available at: www.segger.com
26 
27 We appreciate your understanding and fairness.
28 ----------------------------------------------------------------------
29 File : LCD_Private.h
30 Purpose : To be used only by the display drivers
31 ----------------------------------------------------------------------
32 */
33 
34 #ifndef LCD_Private_H
35 #define LCD_Private_H
36 
37 #include "LCDConf.h"
38 #include "LCD_Protected.h"
39 #include "GUI.h"
40 
41 /*********************************************************************
42 *
43 * API functions
44 */
45 extern const struct tLCDDEV_APIList_struct * /* const */ LCD_aAPI[GUI_NUM_LAYERS];
46 
47 /*********************************************************************
48 *
49 * Support for Segment/COMLUTs
50 */
51 #define LCD_TYPE_SEGTRANS U16
52 #define LCD_TYPE_COMTRANS U16
53 
54 #ifdef LCD_LUT_COM
55  extern LCD_TYPE_COMTRANS LCD__aLine2Com0[LCD_YSIZE];
56 #endif
57 
58 #ifdef LCD_LUT_SEG
59  extern LCD_TYPE_COMTRANS LCD__aCol2Seg0[LCD_XSIZE];
60 #endif
61 
62 /*********************************************************************
63 *
64 * Support for multiple display controllers
65 */
66 #define DECLARE_PROTOTYPES(DISTX) \
67  void LCD_##DISTX##_SetPixelIndex(int x, int y, int PixelIndex); \
68  unsigned LCD_##DISTX##_GetPixelIndex(int x, int y); \
69  void LCD_##DISTX##_XorPixel (int x, int y); \
70  void LCD_##DISTX##_DrawHLine (int x0, int y, int x1); \
71  void LCD_##DISTX##_DrawVLine (int x, int y0, int y1); \
72  void LCD_##DISTX##_FillRect (int x0, int y0, int x1, int y1); \
73  void LCD_##DISTX##_DrawBitmap (int x0, int y0, int xsize, int ysize, int BitsPerPixel, int BytesPerLine, const U8 * pData, int Diff, const LCD_PIXELINDEX * pTrans); \
74  void LCD_##DISTX##_SetOrg (int x, int y); \
75  void LCD_##DISTX##_On (void); \
76  void LCD_##DISTX##_Off (void); \
77  int LCD_##DISTX##_Init (void); \
78  void LCD_##DISTX##_SetLUTEntry (U8 Pos, LCD_COLOR Color); \
79  void * LCD_##DISTX##_GetDevFunc (int Index); \
80  void LCD_##DISTX##_ReInit (void)
81 
82 DECLARE_PROTOTYPES(DIST0);
83 DECLARE_PROTOTYPES(DIST1);
84 DECLARE_PROTOTYPES(DIST2);
85 DECLARE_PROTOTYPES(DIST3);
86 
87 #endif /* Avoid multiple inclusion */
88 
89 /*************************** End of file ****************************/
const struct tLCDDEV_APIList_struct * LCD_aAPI[GUI_NUM_LAYERS]
#define DECLARE_PROTOTYPES(DISTX)
Definition: LCD_Private.h:66
#define LCD_TYPE_COMTRANS
Definition: LCD_Private.h:52
#define GUI_NUM_LAYERS
Definition: GUIConf.h:41
Header for LCDConf file.