Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
LCD_Private.h
00001 /********************************************************************* 00002 * SEGGER Microcontroller GmbH & Co. KG * 00003 * Solutions for real time microcontroller applications * 00004 ********************************************************************** 00005 * * 00006 * (c) 1996 - 2016 SEGGER Microcontroller GmbH & Co. KG * 00007 * * 00008 * Internet: www.segger.com Support: support@segger.com * 00009 * * 00010 ********************************************************************** 00011 00012 ** emWin V5.38 - Graphical user interface for embedded applications ** 00013 All Intellectual Property rights in the Software belongs to SEGGER. 00014 emWin is protected by international copyright laws. Knowledge of the 00015 source code may not be used to write a similar product. This file may 00016 only be used in accordance with the following terms: 00017 00018 The software has been licensed to NXP Semiconductors USA, Inc. whose 00019 registered office is situated at 411 E. Plumeria Drive, San Jose, 00020 CA 95134, USA solely for the purposes of creating libraries for 00021 NXPs M0, M3/M4 and ARM7/9 processor-based devices, sublicensed and 00022 distributed under the terms and conditions of the NXP End User License 00023 Agreement. 00024 Full source code is available at: www.segger.com 00025 00026 We appreciate your understanding and fairness. 00027 ---------------------------------------------------------------------- 00028 Licensing information 00029 00030 Licensor: SEGGER Microcontroller Systems LLC 00031 Licensed to: NXP Semiconductors, 1109 McKay Dr, M/S 76, San Jose, CA 95131, USA 00032 Licensed SEGGER software: emWin 00033 License number: GUI-00186 00034 License model: emWin License Agreement, dated August 20th 2011 00035 Licensed product: - 00036 Licensed platform: NXP's ARM 7/9, Cortex-M0,M3,M4 00037 Licensed number of seats: - 00038 ---------------------------------------------------------------------- 00039 File : LCD_Private.h 00040 Purpose : To be used only by the display drivers 00041 ---------------------------------------------------------------------- 00042 */ 00043 00044 #ifndef LCD_Private_H 00045 #define LCD_Private_H 00046 00047 #include "LCDConf.h" 00048 #include "LCD_Protected.h" 00049 #include "GUI.h" 00050 00051 /********************************************************************* 00052 * 00053 * API functions 00054 */ 00055 extern const struct tLCDDEV_APIList_struct * /* const */ LCD_aAPI[GUI_NUM_LAYERS]; 00056 00057 /********************************************************************* 00058 * 00059 * Support for Segment/COMLUTs 00060 */ 00061 #define LCD_TYPE_SEGTRANS U16 00062 #define LCD_TYPE_COMTRANS U16 00063 00064 #ifdef LCD_LUT_COM 00065 extern LCD_TYPE_COMTRANS LCD__aLine2Com0[LCD_YSIZE]; 00066 #endif 00067 00068 #ifdef LCD_LUT_SEG 00069 extern LCD_TYPE_COMTRANS LCD__aCol2Seg0[LCD_XSIZE]; 00070 #endif 00071 00072 /********************************************************************* 00073 * 00074 * Support for multiple display controllers 00075 */ 00076 #define DECLARE_PROTOTYPES(DISTX) \ 00077 void LCD_##DISTX##_SetPixelIndex(int x, int y, int PixelIndex); \ 00078 unsigned LCD_##DISTX##_GetPixelIndex(int x, int y); \ 00079 void LCD_##DISTX##_XorPixel (int x, int y); \ 00080 void LCD_##DISTX##_DrawHLine (int x0, int y, int x1); \ 00081 void LCD_##DISTX##_DrawVLine (int x, int y0, int y1); \ 00082 void LCD_##DISTX##_FillRect (int x0, int y0, int x1, int y1); \ 00083 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); \ 00084 void LCD_##DISTX##_SetOrg (int x, int y); \ 00085 void LCD_##DISTX##_On (void); \ 00086 void LCD_##DISTX##_Off (void); \ 00087 int LCD_##DISTX##_Init (void); \ 00088 void LCD_##DISTX##_SetLUTEntry (U8 Pos, LCD_COLOR Color); \ 00089 void * LCD_##DISTX##_GetDevFunc (int Index); \ 00090 void LCD_##DISTX##_ReInit (void) 00091 00092 DECLARE_PROTOTYPES(DIST0); 00093 DECLARE_PROTOTYPES(DIST1); 00094 DECLARE_PROTOTYPES(DIST2); 00095 DECLARE_PROTOTYPES(DIST3); 00096 00097 #endif /* Avoid multiple inclusion */ 00098 00099 /*************************** End of file ****************************/
Generated on Wed Jul 20 2022 15:03:44 by
