亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? lcd.h

?? ucgui在ARM44B0目標板上的移植代碼支持16級灰度
?? H
字號:
/***********************************************************************************************************                                                uC/GUI*                        Universal graphic software for embedded applications**                       (c) Copyright 2002, Micrium Inc., Weston, FL*                       (c) Copyright 2002, SEGGER Microcontroller Systeme GmbH**              礐/GUI is protected by international copyright laws. Knowledge of the*              source code may not be used to write a similar product. This file may*              only be used in accordance with a license and should not be redistributed*              in any way. We appreciate your understanding and fairness.*----------------------------------------------------------------------File        : LCD.HPurpose     : Declares LCD interface functions----------------------------------------------------------------------*/#ifndef LCD_H#define LCD_H/*  ********************************************************************  *                                                                  *  *                   Basic type defines                             *  *                                                                  *  ********************************************************************The follwing are defines for types used in the LCD-driver and theemWin layers on top of that. Since "C" does not provide data types offixed length which are identical on all platforms, this is done here.For most 16/32 controllers, the settings will work fine. However, ifyou have similar defines in other sections of your program, you mightwant to change or relocate these defines, e.g. in a TYPE.H file.*/#define I8    signed char#define U8  unsigned char     /* unsigned 8  bits. */#define I16   signed short    /*   signed 16 bits. */#define U16 unsigned short    /* unsigned 16 bits. */#define I32   signed long   /*   signed 32 bits. */#define U32 unsigned long   /* unsigned 32 bits. */#define I16P I16              /*   signed 16 bits OR MORE ! */#define U16P U16              /* unsigned 16 bits OR MORE ! *//*  ********************************************************************  *                                                                  *  *               Settings for windows simulation                    *  *                                                                  *  ********************************************************************Some settings in the configuration may conflict with the values requiredin the Simulation. This is why we ignore the target settings for datatypes and use the correct settings for the simulation.(U32 could be defined as long, which would yield a 64 bit type onthe PC)*/#ifdef WIN32  #pragma warning( disable : 4244 )  // Disable warning messages in simulation  #pragma warning( disable : 4761 )  // Disable warning "integral size mismatch in argument; conversion supplied"#endif                                      /*      *************************************************************        *                                                           *        *                Constants                                  *        *                                                           *        **************************************************************/#define LCD_ERR0 (0x10)#define LCD_ERR_CONTROLLER_NOT_FOUND (LCD_ERR0+1)#define LCD_ERR_MEMORY               (LCD_ERR0+2)/*      *********************************      *                               *      *      Drawing modes            *      *                               *      **********************************/#define LCD_DRAWMODE_NORMAL (0)#define LCD_DRAWMODE_XOR    (1<<0)#define LCD_DRAWMODE_TRANS  (1<<1)#define LCD_DRAWMODE_REV    (1<<2) /*      *************************************************************        *                                                           *        *                Typedefs                                   *        *                                                           *        **************************************************************/typedef int LCD_DRAWMODE;typedef U32 LCD_COLOR; /**********************************************************     Data structures***********************************************************/typedef struct { I16P x,y; } GUI_POINT;typedef struct { I16 x0,y0,x1,y1; } LCD_RECT;/*typedef struct { GUI_POINT P0, P1; } LCD_RECT; */typedef struct {  int              NumEntries;   char             HasTrans;           const LCD_COLOR* pPalEntries; } LCD_LOGPALETTE; /* This is used for the simulation only ! */typedef struct {  int x,y;  unsigned char KeyStat;} LCD_tMouseState;/**********************************************************     Index2Color**********************************************************  This function needs to be int the public part of the software  since it is needed by the simulation. Most other driver  functions are hidden in the private header file.*/typedef LCD_COLOR    tLCDDEV_Index2Color     (int Index);#if !defined (__C51__) /* To bypass Keil-compiler bug */  tLCDDEV_Index2Color LCD_L0_Index2Color, LCD_L0_1_Index2Color;#else  LCD_COLOR    LCD_L0_Index2Color  (int Index);  LCD_COLOR    LCD_L0_1_Index2Color(int Index);#endif/*      *************************************************************        *                                                           *        *                   Defines                                 *        *                                                           *        *    for device capabilities                                *        *                                                           *        *************************************************************The following is the list of device capabilities which can, but donot have to be implemented in the driver. This way the driver can beenhanced in the future without affecting the driver interface,keeping older drivers compatible.More DevCaps can always be added in the future, as older driversare guaranteed to return 0 for all unimplemented features or queries.The values below define the legal parameters to the LCD_GetDeviceCapsand the LCD_GetpCapFunc routines.*/#define LCD_DEVCAP_NUMCOLORS    0x0     /* Quest number of colors                                           which LCD can display */#define LCD_DEVCAP_XSIZE        0x1     /* Quest horiz. res. of display */#define LCD_DEVCAP_YSIZE        0x2     /* Quest vert. res. of display */#define LCD_DEVCAP_VXSIZE       0x3     /* Quest vert. res. of virtual disp.*/#define LCD_DEVCAP_VYSIZE       0x4     /* Quest vert. res. of virtual disp.*/#define LCD_DEVCAP_XORG         0x5     /* X-origin ... usually 0 */#define LCD_DEVCAP_YORG         0x6     /* Y-origin ... usually 0 */#define LCD_DEVCAP_CONTROLLER   0x7     /* LCD Controller (Numerical) */#define LCD_DEVCAP_BITSPERPIXEL 0x8     /* Bits per pixel ... 1/2/4/8 */#define LCD_DEVCAP_NUMPAGES     0x10    /* Quest number of pages of display */#define LCD_DEVCAP_COLOR        0x1000  /* Quest Color[0]                                0x1001     Quest Color[1]                                0x1002     Quest Color[2]                                         ...                    */ /* The next 4095 entries are reserved so up to 4096 colors    can be queried          ...*/int LCD_GetXSize(void);int LCD_GetYSize(void);int LCD_GetVXSize(void);int LCD_GetVYSize(void);U32 LCD_GetNumColors(void);int LCD_GetBitsPerPixel(void);int LCD_GetFixedPalette(void);int LCD_GetXMag(void);int LCD_GetYMag(void);int LCD_GetNumDisplays(void);int LCD_GetXSize_1(void);int LCD_GetYSize_1(void);int LCD_GetVXSize_1(void);int LCD_GetVYSize_1(void);U32 LCD_GetNumColors_1(void);int LCD_GetBitsPerPixel_1(void);int LCD_GetFixedPalette_1(void);int LCD_GetXMag_1(void);int LCD_GetYMag_1(void);#define LCD_GET_XSIZE()        LCD_GetXSize()#define LCD_GET_YSIZE()        LCD_GetYSize()#define LCD_GET_VXSIZE()       LCD_GetVXSize()#define LCD_GET_VYSIZE()       LCD_GetVYSize()#define LCD_GET_NUMCOLORS()    LCD_GetNumColors()#define LCD_GET_BITSPERPIXEL() LCD_GetBitsPerPixel()/***********************************************************************      LCD_CLIP function table************************************************************************/typedef void         tLCD_HL_DrawHLine    (int x0, int y0,  int x1);typedef void         tLCD_HL_DrawPixel    (int x0, int y0);typedef struct {  tLCD_HL_DrawHLine*          pfDrawHLine;  tLCD_HL_DrawPixel*          pfDrawPixel;} tLCD_HL_APIList;#if defined (__C51__) /* To bypass Keil-compiler bug */  void LCD_DrawHLine(int x0, int y0,  int x1);  void LCD_DrawPixel(int x0, int y0);#else  tLCD_HL_DrawHLine LCD_DrawHLine;  tLCD_HL_DrawPixel LCD_DrawPixel;#endifvoid LCD_DrawVLine  (int x, int y0,  int y1);/***********************************************************************              Declarations for LCD_************************************************************************/void LCD_SetClipRectEx(const LCD_RECT* pRect);void LCD_SetClipRectMax(void);/* Get device capabilities (0 if not supported) */I32  LCD_GetDevCap(int Index);/* Initialize LCD using config-paramters */int LCD_Init(void);void LCD_SetBkColor   (LCD_COLOR Color); /* Set background color */void LCD_SetColor     (LCD_COLOR Color); /* Set foreground color */void LCD_SetPixelIndex(int x, int y, int ColorIndex);/* Palette routines (Not available on all drivers) */void LCD_InitLUT(void);/* Decompressors */typedef void tfDrawSpecialBitmap(int x0,int y0,int xsize, int ysize, const U8*pPixel, const LCD_LOGPALETTE* pLogPal, int xMag, int yMag);#if !defined (__C51__) /* To bypass Keil-compiler bug */  tfDrawSpecialBitmap LCD_DrawBitmap_RLE8, LCD_DrawBitmap_RLE4;#else  void LCD_DrawBitmap_RLE8(int x0,int y0,int xsize, int ysize, const U8*pPixel, const LCD_LOGPALETTE* pLogPal, int xMag, int yMag);  void LCD_DrawBitmap_RLE4(int x0,int y0,int xsize, int ysize, const U8*pPixel, const LCD_LOGPALETTE* pLogPal, int xMag, int yMag);#endifLCD_DRAWMODE LCD_SetDrawMode  (LCD_DRAWMODE dm);void LCD_SetColorIndex(int Index);void LCD_SetBkColorIndex(int Index);void LCD_FillRect(int x0, int y0, int x1, int y1);void LCD_DrawBitmap   (int x0, int y0,                       int xsize, int ysize,                       int xMul, int yMul,                       int BitsPerPixel,                       int BytesPerLine,                       const U8* pPixel,                       const LCD_LOGPALETTE* pLogPal);typedef void tLCD_SetPixelAA(int x, int y, U8 Intens);#if defined (__C51__)  /* To bypass Keil-compiler bug */  void tLCD_SetPixelAA(int x, int y, U8 Intens);  void LCD_SetPixelAA_NoTrans(int x, int y, U8 Intens);#else  tLCD_SetPixelAA LCD_SetPixelAA;  tLCD_SetPixelAA LCD_SetPixelAA_NoTrans;#endifLCD_COLOR LCD_AA_MixColors(LCD_COLOR Color, LCD_COLOR BkColor, U8 Intens);LCD_COLOR    LCD_GetPixelColor(int x, int y);     /* Get RGB color of pixel */unsigned int LCD_GetPixelIndex(int x, int y);int LCD_GetBkColorIndex (void);int LCD_GetColorIndex (void);/*      *************************************************************        *                                                           *        *      LCD  publics not used by GUI                         *        *                                                           *        *************************************************************  The following functions can, but do not have to be defined in the LCD driveras they are not used by the GUI level.*/#define LCD_On          LCD_L0_On#define LCD_Off         LCD_L0_Off#define LCD_ReInit      LCD_L0_ReInit#define LCD_SetLUTEntry LCD_L0_SetLUTEntry#define LCD_CC_UNLOCK (0)    /* Default mode: Cache is transparent */#define LCD_CC_LOCK   (1)    /* Cache is locked, no write operations */#define LCD_CC_FLUSH  (2)    /* Flush cache, do not change mode */U8 LCD_L0_ControlCache(U8 mode);/* Check if controller is still properly initialized */int  LCD_L0_CheckInit(void);        /* returns if init is still O.K.                                      by reading all available registers of                                      Display controller.                                      0: Init O.K.                                    */#define LCD_ControlCache LCD_L0_ControlCache/*        ******************************************        *                                        *        *        Support for paging              *        *                                        *        *******************************************/int LCD_SelPage  (int NewPage);    /* returns formerly sel. page */int LCD_ShowPage (int NewPage);    /* sets / returns visible page */int LCD_GetSelPage (void);         /* returns selected page */int LCD_GetVisPage (void);         /* returns visible page *//*      *************************************************************        *                                                           *        *      LCD  imports                                         *        *                  (for routines in LCDColor)               *        *                                                           *        **************************************************************/  int              LCD_Color2Index     (LCD_COLOR Color);LCD_COLOR        LCD_Index2Color     (int Index);/***********************************************************************       LCD_X_...************************************************************************/void LCD_X_Init(void);void LCD_X_On  (void);void LCD_X_Off (void);#endif /* LCD_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产裸拍裸体视频在线观看乱了 | 中文字幕一区二区在线播放| 欧美一级在线观看| 3d成人h动漫网站入口| 欧美日本视频在线| 欧美精品乱码久久久久久按摩| 午夜伊人狠狠久久| 一区二区成人在线| 亚洲一区二区三区四区五区黄 | 高清视频一区二区| 国产精品一区久久久久| 国产成人午夜电影网| 国产精品 欧美精品| 国产一区二区三区久久久| 国产剧情av麻豆香蕉精品| 国产69精品久久777的优势| 成熟亚洲日本毛茸茸凸凹| 国产精品羞羞答答xxdd| 福利电影一区二区| 色婷婷综合久久久中文一区二区| 国内成人免费视频| 国产剧情av麻豆香蕉精品| 成人黄色电影在线| 欧美在线你懂得| 欧美一区二区三区在线看| 久久蜜桃香蕉精品一区二区三区| 欧美午夜精品久久久久久孕妇| 成人午夜激情在线| 色哦色哦哦色天天综合| 7777精品伊人久久久大香线蕉最新版| 粗大黑人巨茎大战欧美成人| 色综合一区二区| 欧美色图免费看| 欧美变态tickle挠乳网站| 国产欧美一区二区精品秋霞影院| 91麻豆精品国产91久久久久久 | 欧美日韩一级片在线观看| 欧美日韩精品三区| 日韩欧美一级在线播放| 久久精品一区二区三区不卡牛牛| 精品国产污网站| √…a在线天堂一区| 亚洲成人免费电影| 国产成人精品亚洲午夜麻豆| 色偷偷一区二区三区| 日韩欧美专区在线| 亚洲色大成网站www久久九九| 中文文精品字幕一区二区| 一区二区在线观看av| 麻豆精品在线看| 91蜜桃网址入口| 日韩欧美亚洲国产另类| 中文字幕一区二区三区蜜月| 天堂蜜桃一区二区三区| 国产精品一区二区在线播放| 欧美日韩国产高清一区| 欧美激情资源网| 免费成人在线网站| 一本久久综合亚洲鲁鲁五月天| 色中色一区二区| 精品乱人伦小说| 亚洲国产色一区| 成人国产精品免费| 精品区一区二区| 亚洲人成亚洲人成在线观看图片| 亚洲欧美一区二区三区国产精品 | 免费成人av在线| 91色综合久久久久婷婷| 精品国产乱子伦一区| 亚洲福利视频一区| 99精品1区2区| 亚洲国产精品v| 另类综合日韩欧美亚洲| 91福利视频网站| 亚洲色图欧洲色图| 成人性生交大合| 精品国产乱码久久| 丝袜国产日韩另类美女| 欧美性淫爽ww久久久久无| 亚洲欧洲一区二区三区| 高清在线观看日韩| 久久久久久久久伊人| 麻豆一区二区在线| 欧美福利视频导航| 亚洲综合视频在线| 一本色道亚洲精品aⅴ| 国产精品久久久久久久久动漫| 亚洲成人免费视| 色94色欧美sute亚洲线路二| 欧美国产日韩一二三区| 国产精品一区一区三区| 欧美成人一区二区三区在线观看| 国产精品免费久久久久| 国产传媒日韩欧美成人| 精品国产免费久久| 捆绑调教美女网站视频一区| 欧美一级视频精品观看| 日本午夜一区二区| 欧美一区二区三区四区久久| 性欧美疯狂xxxxbbbb| 欧美精品三级在线观看| 亚洲成av人片在线| 欧美福利视频导航| 免费一级欧美片在线观看| 日韩美女视频一区二区在线观看| 亚洲日本欧美天堂| www.亚洲色图| 日韩美女久久久| 欧美综合欧美视频| 午夜精品福利视频网站| 欧美一级一区二区| 极品少妇xxxx精品少妇| 久久精品视频在线免费观看 | kk眼镜猥琐国模调教系列一区二区| 欧美在线观看禁18| 亚洲国产精品一区二区久久 | 欧美三级电影精品| 日韩在线一二三区| 日韩欧美一级二级| 国产成人夜色高潮福利影视| 久久久久国产免费免费| 成人av免费观看| 一区二区国产盗摄色噜噜| 欧美精品v国产精品v日韩精品| 亚洲欧美一区二区视频| 在线欧美日韩国产| 日本网站在线观看一区二区三区 | 色屁屁一区二区| 亚洲一二三四久久| 91精品国产欧美日韩| 韩日精品视频一区| 国产精品免费久久久久| 欧美性xxxxxx少妇| 日本一不卡视频| 国产清纯美女被跳蛋高潮一区二区久久w | 欧美美女激情18p| 麻豆91在线播放| 中文一区二区在线观看| 在线视频你懂得一区| 免费人成在线不卡| 国产精品沙发午睡系列990531| 麻豆91精品视频| 国产丝袜欧美中文另类| 91成人国产精品| 狠狠色丁香婷婷综合| 亚洲欧美一区二区三区孕妇| 欧美一区二区精美| 91在线porny国产在线看| 五月婷婷综合网| 亚洲国产成人在线| 欧美在线免费观看亚洲| 国产一区二区精品久久91| 亚洲在线一区二区三区| 精品国产91亚洲一区二区三区婷婷 | 亚洲图片有声小说| 久久精品亚洲精品国产欧美| 91成人在线免费观看| 国产一本一道久久香蕉| 夜夜揉揉日日人人青青一国产精品| 在线这里只有精品| 国产精品自在在线| 亚洲午夜久久久| 国产精品污www在线观看| 555www色欧美视频| 99精品在线免费| 国产资源在线一区| 五月激情六月综合| 亚洲人午夜精品天堂一二香蕉| 91九色02白丝porn| 国产黄色91视频| 日本午夜精品视频在线观看| 亚洲天堂2014| 欧美经典三级视频一区二区三区| 不卡一区二区在线| 九九视频精品免费| 午夜精品福利久久久| 国产精品灌醉下药二区| 欧美成人三级电影在线| 欧美主播一区二区三区| 成人app网站| 国产大陆a不卡| 韩国精品久久久| 免费美女久久99| 天天影视涩香欲综合网| 亚洲精品va在线观看| 国产精品美女久久久久高潮| 久久免费美女视频| 精品日韩一区二区| 欧美一级片在线看| 91精品国产综合久久精品图片| 国产麻豆精品久久一二三| 秋霞成人午夜伦在线观看| 亚洲国产精品影院| 亚洲图片欧美视频| 亚洲一区二区三区精品在线| 一区二区三区成人| 夜夜亚洲天天久久| 亚洲高清免费在线| 一区二区三区四区视频精品免费| 日韩精品一区二区三区老鸭窝|