Graphics framework for GR-PEACH. When you use this program, we judge you have agreed to the following contents. https://developer.mbed.org/teams/Renesas/wiki/About-LICENSE
Dependents: ImageZoomInout_Sample ImageRotaion_Sample ImageScroll_Sample GR-PEACH_LCD_4_3inch_Save_to_USB ... more
ncg_defs.h
00001 /****************************************************************************** 00002 * Copyright(c) 2010-2012 Renesas Electronics Corporation. All rights reserved. 00003 * 00004 * brief : NCG Type Definitions. 00005 * 00006 * author : Renesas Electronics Corporation 00007 * 00008 * history: 2010.10.08 00009 * - Created the initial code. 00010 * 2011.03.04 00011 * - Added the type of NCGfp. 00012 * 2012.08.22 00013 * - Updated coding format. 00014 * 2012.11.14 00015 * - Added the definition for Multi-Display. 00016 * NCGDU_CH1 00017 * NCGDU_CH2 00018 * - Modified the type of NCGISRfp to NCGDUISRfp and NCGVGISRfp. 00019 * 00020 *******************************************************************************/ 00021 00022 #ifndef NCG_DEFS_H 00023 #define NCG_DEFS_H 00024 00025 #ifdef __cplusplus 00026 extern "C" { 00027 #endif 00028 00029 00030 #ifdef __cplusplus 00031 #define NCG_NULL 0 00032 #else 00033 #define NCG_NULL ((void *)0) 00034 #endif 00035 00036 #define NCG_FALSE 0 00037 #define NCG_TRUE 1 00038 00039 #define NCG_UINT32_MAX (0xffffffffU) 00040 00041 #define NCG_TIMEOUT_INFINITE NCG_UINT32_MAX 00042 #define NCG_INVALID_TLSINDEX NCG_UINT32_MAX 00043 00044 /* Display chanel */ 00045 #define NCGDU_CH1 (0x00000001U) 00046 #define NCGDU_CH2 (0x00000002U) 00047 00048 00049 #if !defined(NCG_UNREFERENCED_PARAMETER) 00050 #define NCG_UNREFERENCED_PARAMETER R_UNREFERENCED_VARIABLE 00051 #endif 00052 00053 /* 00054 * Error codes 00055 */ 00056 00057 #define NCG_FIRST_ERROR (-255) 00058 enum 00059 { 00060 NCG_no_err = 0, 00061 NCG_err_unknown = NCG_FIRST_ERROR, 00062 NCG_err_not_implemented = NCG_FIRST_ERROR+ 1, 00063 NCG_err_bad_parameter = NCG_FIRST_ERROR+ 2, 00064 NCG_err_no_host_mem = NCG_FIRST_ERROR+ 3, 00065 NCG_err_lost_host_mem = NCG_FIRST_ERROR+ 4, 00066 NCG_err_no_frame_mem = NCG_FIRST_ERROR+ 5, 00067 NCG_err_lost_frame_mem = NCG_FIRST_ERROR+ 6, 00068 NCG_err_already_created = NCG_FIRST_ERROR+ 7, 00069 NCG_err_isr_management_failed = NCG_FIRST_ERROR+ 8, 00070 NCG_err_wait_timeout = NCG_FIRST_ERROR+ 9, 00071 NCG_err_device_in_use = NCG_FIRST_ERROR+10, 00072 NCG_err_not_found = NCG_FIRST_ERROR+11, 00073 NCG_err_invalid_handle = NCG_FIRST_ERROR+12, 00074 NCG_err_resource_exceeded = NCG_FIRST_ERROR+13, 00075 NCG_last_err = NCG_FIRST_ERROR+14, 00076 }; 00077 00078 00079 /* 00080 * NCG data type definitions 00081 */ 00082 00083 typedef void NCGvoid; 00084 typedef unsigned int NCGenum; 00085 typedef unsigned int NCGboolean; 00086 typedef unsigned int NCGbitfield; 00087 00088 typedef char NCGchar; 00089 typedef signed char NCGint8; 00090 typedef short NCGint16; 00091 typedef int NCGint32; 00092 typedef long long NCGint64; 00093 typedef unsigned char NCGuint8; 00094 typedef unsigned short NCGuint16; 00095 typedef unsigned int NCGuint32; 00096 typedef unsigned long long NCGuint64; 00097 typedef float NCGfloat32; 00098 typedef double NCGfloat64; 00099 00100 typedef int NCGsizei; 00101 typedef float NCGclampf; 00102 typedef long NCGfixed; 00103 00104 typedef NCGuint32 (*NCGDUISRfp)(NCGbitfield uiDisplay); 00105 typedef NCGuint32 (*NCGVGISRfp)(void); 00106 typedef NCGvoid (*NCGfp)(NCGvoid *); 00107 00108 00109 #ifdef __cplusplus 00110 } 00111 #endif 00112 00113 #endif /* NCG_DEFS_H */
Generated on Tue Jul 12 2022 11:15:02 by 1.7.2