Nuvoton
/
NuMaker-mbed-emWin-example
NuMaker emWin HMI
Embed:
(wiki syntax)
Show/hide line numbers
GUIDRV_S1D13781.h
00001 /********************************************************************* 00002 * SEGGER Software GmbH * 00003 * Solutions for real time microcontroller applications * 00004 ********************************************************************** 00005 * * 00006 * (c) 1996 - 2018 SEGGER Microcontroller GmbH * 00007 * * 00008 * Internet: www.segger.com Support: support@segger.com * 00009 * * 00010 ********************************************************************** 00011 00012 ** emWin V5.48 - 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 by SEGGER Software GmbH to Nuvoton Technology Corporationat the address: No. 4, Creation Rd. III, Hsinchu Science Park, Taiwan 00019 for the purposes of creating libraries for its 00020 Arm Cortex-M and Arm9 32-bit microcontrollers, commercialized and distributed by Nuvoton Technology Corporation 00021 under the terms and conditions of an End User 00022 License Agreement supplied with the libraries. 00023 Full source code is available at: www.segger.com 00024 00025 We appreciate your understanding and fairness. 00026 ---------------------------------------------------------------------- 00027 Licensing information 00028 Licensor: SEGGER Software GmbH 00029 Licensed to: Nuvoton Technology Corporation, No. 4, Creation Rd. III, Hsinchu Science Park, 30077 Hsinchu City, Taiwan 00030 Licensed SEGGER software: emWin 00031 License number: GUI-00735 00032 License model: emWin License Agreement, signed February 27, 2018 00033 Licensed platform: Cortex-M and ARM9 32-bit series microcontroller designed and manufactured by or for Nuvoton Technology Corporation 00034 ---------------------------------------------------------------------- 00035 Support and Update Agreement (SUA) 00036 SUA period: 2018-03-26 - 2019-03-27 00037 Contact to extend SUA: sales@segger.com 00038 ---------------------------------------------------------------------- 00039 File : GUIDRV_S1D13781.h 00040 Purpose : Interface definition for GUIDRV_S1D13781 driver 00041 ---------------------------END-OF-HEADER------------------------------ 00042 */ 00043 00044 #ifndef GUIDRV_S1D13781_H 00045 #define GUIDRV_S1D13781_H 00046 00047 #define GUIDRV_S1D13781_USE_MAIN 0 00048 #define GUIDRV_S1D13781_USE_PIP1 1 00049 #define GUIDRV_S1D13781_USE_PIP2 2 00050 00051 /********************************************************************* 00052 * 00053 * Configuration structure 00054 */ 00055 typedef struct { 00056 // 00057 // Driver specific configuration items 00058 // 00059 U32 BufferOffset; 00060 int UseLayer; 00061 int WriteBufferSize; 00062 int WaitUntilVNDP; 00063 } CONFIG_S1D13781; 00064 00065 /********************************************************************* 00066 * 00067 * Display drivers 00068 */ 00069 // 00070 // Addresses 00071 // 00072 extern const GUI_DEVICE_API GUIDRV_S1D13781_8C0_API; 00073 extern const GUI_DEVICE_API GUIDRV_S1D13781_OXY_8C0_API; 00074 extern const GUI_DEVICE_API GUIDRV_S1D13781_OSY_8C0_API; 00075 extern const GUI_DEVICE_API GUIDRV_S1D13781_OSX_8C0_API; 00076 00077 extern const GUI_DEVICE_API GUIDRV_S1D13781_16C0_API; 00078 extern const GUI_DEVICE_API GUIDRV_S1D13781_OXY_16C0_API; 00079 extern const GUI_DEVICE_API GUIDRV_S1D13781_OSY_16C0_API; 00080 extern const GUI_DEVICE_API GUIDRV_S1D13781_OSX_16C0_API; 00081 00082 // 00083 // Macros to be used in configuration files 00084 // 00085 #if defined(WIN32) && !defined(LCD_SIMCONTROLLER) 00086 00087 #define GUIDRV_S1D13781_8C0 &GUIDRV_Win_API 00088 #define GUIDRV_S1D13781_OXY_8C0 &GUIDRV_Win_API 00089 #define GUIDRV_S1D13781_OSY_8C0 &GUIDRV_Win_API 00090 #define GUIDRV_S1D13781_OSX_8C0 &GUIDRV_Win_API 00091 00092 #define GUIDRV_S1D13781_16C0 &GUIDRV_Win_API 00093 #define GUIDRV_S1D13781_OXY_16C0 &GUIDRV_Win_API 00094 #define GUIDRV_S1D13781_OSY_16C0 &GUIDRV_Win_API 00095 #define GUIDRV_S1D13781_OSX_16C0 &GUIDRV_Win_API 00096 00097 #else 00098 00099 #define GUIDRV_S1D13781_8C0 &GUIDRV_S1D13781_8C0_API 00100 #define GUIDRV_S1D13781_OXY_8C0 &GUIDRV_S1D13781_OXY_8C0_API 00101 #define GUIDRV_S1D13781_OSY_8C0 &GUIDRV_S1D13781_OSY_8C0_API 00102 #define GUIDRV_S1D13781_OSX_8C0 &GUIDRV_S1D13781_OSX_8C0_API 00103 00104 #define GUIDRV_S1D13781_16C0 &GUIDRV_S1D13781_16C0_API 00105 #define GUIDRV_S1D13781_OXY_16C0 &GUIDRV_S1D13781_OXY_16C0_API 00106 #define GUIDRV_S1D13781_OSY_16C0 &GUIDRV_S1D13781_OSY_16C0_API 00107 #define GUIDRV_S1D13781_OSX_16C0 &GUIDRV_S1D13781_OSX_16C0_API 00108 00109 #endif 00110 00111 /********************************************************************* 00112 * 00113 * Public routines 00114 */ 00115 #if defined(WIN32) && !defined(LCD_SIMCONTROLLER) 00116 #define GUIDRV_S1D13781_Config(pDevice, pConfig) 00117 #define GUIDRV_S1D13781_SetBusSPI(pDevice, pHW_API) 00118 #define GUIDRV_S1D13781_SetOrientation(Orientation, LayerIndex) 00119 #else 00120 void GUIDRV_S1D13781_Config (GUI_DEVICE * pDevice, CONFIG_S1D13781 * pConfig); 00121 void GUIDRV_S1D13781_SetBusSPI (GUI_DEVICE * pDevice, GUI_PORT_API * pHW_API); 00122 int GUIDRV_S1D13781_SetOrientation(int Orientation, int LayerIndex); 00123 #endif 00124 00125 #endif 00126 00127 /*************************** End of file ****************************/
Generated on Mon Mar 4 2024 07:48:13 by 1.7.2