NXP
/
rt1050_emwin_gui_demo
RT1050 GUI demo using emWin library
emwin/emWin_header/Global.h@0:dd702039127a, 2018-09-20 (annotated)
- Committer:
- alejandroRL
- Date:
- Thu Sep 20 19:16:34 2018 +0000
- Revision:
- 0:dd702039127a
emWin GUI Demo for RT1050
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
alejandroRL | 0:dd702039127a | 1 | /********************************************************************* |
alejandroRL | 0:dd702039127a | 2 | * SEGGER Microcontroller GmbH & Co. KG * |
alejandroRL | 0:dd702039127a | 3 | * Solutions for real time microcontroller applications * |
alejandroRL | 0:dd702039127a | 4 | ********************************************************************** |
alejandroRL | 0:dd702039127a | 5 | * * |
alejandroRL | 0:dd702039127a | 6 | * (c) 1996 - 2016 SEGGER Microcontroller GmbH & Co. KG * |
alejandroRL | 0:dd702039127a | 7 | * * |
alejandroRL | 0:dd702039127a | 8 | * Internet: www.segger.com Support: support@segger.com * |
alejandroRL | 0:dd702039127a | 9 | * * |
alejandroRL | 0:dd702039127a | 10 | ********************************************************************** |
alejandroRL | 0:dd702039127a | 11 | |
alejandroRL | 0:dd702039127a | 12 | ** emWin V5.38 - Graphical user interface for embedded applications ** |
alejandroRL | 0:dd702039127a | 13 | All Intellectual Property rights in the Software belongs to SEGGER. |
alejandroRL | 0:dd702039127a | 14 | emWin is protected by international copyright laws. Knowledge of the |
alejandroRL | 0:dd702039127a | 15 | source code may not be used to write a similar product. This file may |
alejandroRL | 0:dd702039127a | 16 | only be used in accordance with the following terms: |
alejandroRL | 0:dd702039127a | 17 | |
alejandroRL | 0:dd702039127a | 18 | The software has been licensed to NXP Semiconductors USA, Inc. whose |
alejandroRL | 0:dd702039127a | 19 | registered office is situated at 411 E. Plumeria Drive, San Jose, |
alejandroRL | 0:dd702039127a | 20 | CA 95134, USA solely for the purposes of creating libraries for |
alejandroRL | 0:dd702039127a | 21 | NXPs M0, M3/M4 and ARM7/9 processor-based devices, sublicensed and |
alejandroRL | 0:dd702039127a | 22 | distributed under the terms and conditions of the NXP End User License |
alejandroRL | 0:dd702039127a | 23 | Agreement. |
alejandroRL | 0:dd702039127a | 24 | Full source code is available at: www.segger.com |
alejandroRL | 0:dd702039127a | 25 | |
alejandroRL | 0:dd702039127a | 26 | We appreciate your understanding and fairness. |
alejandroRL | 0:dd702039127a | 27 | ---------------------------------------------------------------------- |
alejandroRL | 0:dd702039127a | 28 | Licensing information |
alejandroRL | 0:dd702039127a | 29 | |
alejandroRL | 0:dd702039127a | 30 | Licensor: SEGGER Microcontroller Systems LLC |
alejandroRL | 0:dd702039127a | 31 | Licensed to: NXP Semiconductors, 1109 McKay Dr, M/S 76, San Jose, CA 95131, USA |
alejandroRL | 0:dd702039127a | 32 | Licensed SEGGER software: emWin |
alejandroRL | 0:dd702039127a | 33 | License number: GUI-00186 |
alejandroRL | 0:dd702039127a | 34 | License model: emWin License Agreement, dated August 20th 2011 |
alejandroRL | 0:dd702039127a | 35 | Licensed product: - |
alejandroRL | 0:dd702039127a | 36 | Licensed platform: NXP's ARM 7/9, Cortex-M0,M3,M4 |
alejandroRL | 0:dd702039127a | 37 | Licensed number of seats: - |
alejandroRL | 0:dd702039127a | 38 | ---------------------------------------------------------------------- |
alejandroRL | 0:dd702039127a | 39 | File : Global.h |
alejandroRL | 0:dd702039127a | 40 | Purpose : Global types |
alejandroRL | 0:dd702039127a | 41 | In case your application already has a Global.h, you should |
alejandroRL | 0:dd702039127a | 42 | merge the files. In order to use Segger code, the types |
alejandroRL | 0:dd702039127a | 43 | U8, U16, U32, I8, I16, I32 need to be defined in Global.h; |
alejandroRL | 0:dd702039127a | 44 | additional definitions do not hurt. |
alejandroRL | 0:dd702039127a | 45 | Revision: $Rev: 6050 $ |
alejandroRL | 0:dd702039127a | 46 | ---------------------------END-OF-HEADER------------------------------ |
alejandroRL | 0:dd702039127a | 47 | */ |
alejandroRL | 0:dd702039127a | 48 | |
alejandroRL | 0:dd702039127a | 49 | #ifndef GLOBAL_H // Guard against multiple inclusion |
alejandroRL | 0:dd702039127a | 50 | #define GLOBAL_H |
alejandroRL | 0:dd702039127a | 51 | |
alejandroRL | 0:dd702039127a | 52 | #define U8 unsigned char |
alejandroRL | 0:dd702039127a | 53 | #define I8 signed char |
alejandroRL | 0:dd702039127a | 54 | #define U16 unsigned short |
alejandroRL | 0:dd702039127a | 55 | #define I16 signed short |
alejandroRL | 0:dd702039127a | 56 | #ifdef __x86_64__ |
alejandroRL | 0:dd702039127a | 57 | #define U32 unsigned |
alejandroRL | 0:dd702039127a | 58 | #define I32 int |
alejandroRL | 0:dd702039127a | 59 | #else |
alejandroRL | 0:dd702039127a | 60 | #define U32 unsigned long |
alejandroRL | 0:dd702039127a | 61 | #define I32 signed long |
alejandroRL | 0:dd702039127a | 62 | #endif |
alejandroRL | 0:dd702039127a | 63 | |
alejandroRL | 0:dd702039127a | 64 | #ifdef _WIN32 |
alejandroRL | 0:dd702039127a | 65 | // |
alejandroRL | 0:dd702039127a | 66 | // Microsoft VC6 compiler related |
alejandroRL | 0:dd702039127a | 67 | // |
alejandroRL | 0:dd702039127a | 68 | #ifdef __MINGW32__ |
alejandroRL | 0:dd702039127a | 69 | #define U64 unsigned long long |
alejandroRL | 0:dd702039127a | 70 | #define I64 long long |
alejandroRL | 0:dd702039127a | 71 | #else |
alejandroRL | 0:dd702039127a | 72 | #define U64 unsigned __int64 |
alejandroRL | 0:dd702039127a | 73 | #define U128 unsigned __int128 |
alejandroRL | 0:dd702039127a | 74 | #define I64 __int64 |
alejandroRL | 0:dd702039127a | 75 | #define I128 __int128 |
alejandroRL | 0:dd702039127a | 76 | #if _MSC_VER <= 1200 |
alejandroRL | 0:dd702039127a | 77 | #define U64_C(x) x##UI64 |
alejandroRL | 0:dd702039127a | 78 | #else |
alejandroRL | 0:dd702039127a | 79 | #define U64_C(x) x##ULL |
alejandroRL | 0:dd702039127a | 80 | #endif |
alejandroRL | 0:dd702039127a | 81 | #endif |
alejandroRL | 0:dd702039127a | 82 | #else |
alejandroRL | 0:dd702039127a | 83 | // |
alejandroRL | 0:dd702039127a | 84 | // C99 compliant compiler |
alejandroRL | 0:dd702039127a | 85 | // |
alejandroRL | 0:dd702039127a | 86 | #define U64 unsigned long long |
alejandroRL | 0:dd702039127a | 87 | #define I64 signed long long |
alejandroRL | 0:dd702039127a | 88 | #define U64_C(x) x##ULL |
alejandroRL | 0:dd702039127a | 89 | #endif |
alejandroRL | 0:dd702039127a | 90 | |
alejandroRL | 0:dd702039127a | 91 | #endif // Avoid multiple inclusion |
alejandroRL | 0:dd702039127a | 92 | |
alejandroRL | 0:dd702039127a | 93 | /*************************** End of file ****************************/ |