NXP
/
rt1050_emwin_gui_demo
RT1050 GUI demo using emWin library
Embed:
(wiki syntax)
Show/hide line numbers
Global.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 : Global.h 00040 Purpose : Global types 00041 In case your application already has a Global.h, you should 00042 merge the files. In order to use Segger code, the types 00043 U8, U16, U32, I8, I16, I32 need to be defined in Global.h; 00044 additional definitions do not hurt. 00045 Revision: $Rev: 6050 $ 00046 ---------------------------END-OF-HEADER------------------------------ 00047 */ 00048 00049 #ifndef GLOBAL_H // Guard against multiple inclusion 00050 #define GLOBAL_H 00051 00052 #define U8 unsigned char 00053 #define I8 signed char 00054 #define U16 unsigned short 00055 #define I16 signed short 00056 #ifdef __x86_64__ 00057 #define U32 unsigned 00058 #define I32 int 00059 #else 00060 #define U32 unsigned long 00061 #define I32 signed long 00062 #endif 00063 00064 #ifdef _WIN32 00065 // 00066 // Microsoft VC6 compiler related 00067 // 00068 #ifdef __MINGW32__ 00069 #define U64 unsigned long long 00070 #define I64 long long 00071 #else 00072 #define U64 unsigned __int64 00073 #define U128 unsigned __int128 00074 #define I64 __int64 00075 #define I128 __int128 00076 #if _MSC_VER <= 1200 00077 #define U64_C(x) x##UI64 00078 #else 00079 #define U64_C(x) x##ULL 00080 #endif 00081 #endif 00082 #else 00083 // 00084 // C99 compliant compiler 00085 // 00086 #define U64 unsigned long long 00087 #define I64 signed long long 00088 #define U64_C(x) x##ULL 00089 #endif 00090 00091 #endif // Avoid multiple inclusion 00092 00093 /*************************** End of file ****************************/
Generated on Tue Jul 12 2022 19:43:35 by 1.7.2