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

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

?? lcd.h

?? 我收集開發板上的提供的能跑的源代碼 是44b0的
?? 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.H
Purpose     : 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 the
emWin layers on top of that. Since "C" does not provide data types of
fixed length which are identical on all platforms, this is done here.
For most 16/32 controllers, the settings will work fine. However, if
you have similar defines in other sections of your program, you might
want 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 required
in the Simulation. This is why we ignore the target settings for data
types and use the correct settings for the simulation.
(U32 could be defined as long, which would yield a 64 bit type on
the 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 do
not have to be implemented in the driver. This way the driver can be
enhanced in the future without affecting the driver interface,
keeping older drivers compatible.
More DevCaps can always be added in the future, as older drivers
are guaranteed to return 0 for all unimplemented features or queries.

The values below define the legal parameters to the LCD_GetDeviceCaps
and 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;
#endif

void 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);
#endif

LCD_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;
#endif

LCD_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 driver
as 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一区二区三区免费野_久草精品视频
亚洲精品乱码久久久久久久久 | 精品在线播放免费| 欧美激情综合网| 在线播放91灌醉迷j高跟美女 | 1000部国产精品成人观看| 欧美一区二区精品| 51精品秘密在线观看| 国产清纯白嫩初高生在线观看91| 日韩精品一区二区三区视频在线观看 | 日韩制服丝袜先锋影音| 国产精品欧美综合在线| 亚洲国产精品成人久久综合一区| 午夜视黄欧洲亚洲| 日韩av网站在线观看| 奇米影视7777精品一区二区| 蜜桃传媒麻豆第一区在线观看| 免费av成人在线| 欧美主播一区二区三区| 色先锋资源久久综合| 91福利在线观看| 日韩一区二区三区免费观看| 国产日本欧洲亚洲| 韩国一区二区在线观看| 床上的激情91.| 99精品热视频| 欧美日韩一区二区三区不卡 | 久久综合五月天婷婷伊人| 久久精品一区二区| 亚洲美女屁股眼交| 午夜欧美视频在线观看| 91免费观看在线| 欧美大片在线观看一区二区| 日韩精品一区第一页| 欧美精品久久天天躁| 亚洲一区免费视频| 日日夜夜一区二区| 欧美一区二区三区四区五区| 三级成人在线视频| 欧美xxxx老人做受| 一区二区三区 在线观看视频| 免费观看30秒视频久久| 日韩一区二区电影网| 国模冰冰炮一区二区| 国产夜色精品一区二区av| 国产成a人亚洲| 欧美一区二区三区四区久久| 视频在线观看一区二区三区| 制服丝袜亚洲色图| 狠狠v欧美v日韩v亚洲ⅴ| 日本一区免费视频| 99国产精品国产精品毛片| 亚洲精品日韩综合观看成人91| 在线观看不卡视频| 久久精品国产**网站演员| 在线观看www91| 久热成人在线视频| 国产女人aaa级久久久级| 欧亚一区二区三区| 久久激情五月激情| 1000精品久久久久久久久| 欧美日韩国产一级| 亚洲小少妇裸体bbw| 91在线porny国产在线看| 亚洲一区免费视频| 久久亚洲综合色一区二区三区| 国产成人在线视频网址| 精品国产一区a| 开心九九激情九九欧美日韩精美视频电影| 欧美一区二区福利视频| 成人在线一区二区三区| 午夜久久福利影院| 国产精品欧美久久久久一区二区| 91福利精品第一导航| 韩国午夜理伦三级不卡影院| 日韩毛片视频在线看| 国产成人免费视频一区| 亚洲一区二区欧美| 欧美激情一区二区三区不卡 | 美国av一区二区| 中文字幕一区二区在线播放| 欧美日韩精品二区第二页| 国产成人aaaa| 久久国产精品区| 夜夜夜精品看看| 日本一区二区三区四区在线视频| 欧美日韩另类国产亚洲欧美一级| 国产乱子伦一区二区三区国色天香| 一本久道中文字幕精品亚洲嫩| 免费成人av在线播放| 亚洲永久精品国产| 中文字幕一区二区三中文字幕| 精品国产a毛片| 欧美二区三区的天堂| 99精品欧美一区二区三区小说 | 老司机免费视频一区二区| 亚洲6080在线| 精品国内二区三区| 欧美色老头old∨ideo| 91色porny| 91香蕉国产在线观看软件| 国产精品一区二区你懂的| 精一区二区三区| 蜜臀久久99精品久久久画质超高清| 亚洲一区二区三区视频在线| 樱桃视频在线观看一区| 亚洲私人黄色宅男| 中文字幕一区三区| 国产精品欧美经典| 国产精品久久久爽爽爽麻豆色哟哟 | 欧美日韩电影在线播放| 一本久久综合亚洲鲁鲁五月天 | 日韩欧美综合在线| 91精品国产综合久久久久| 欧美夫妻性生活| 欧美一级黄色录像| 日韩美女在线视频| 欧美videos中文字幕| 精品国产一区二区三区久久影院| 欧美一区二区福利视频| 日韩欧美一级二级三级| 欧美va日韩va| 国产亚洲精品免费| 国产精品久久久久永久免费观看 | 国产精品99久| 成人精品小蝌蚪| 99国产麻豆精品| 日本高清成人免费播放| 欧美日韩和欧美的一区二区| 欧美丰满美乳xxx高潮www| 欧美一区二区免费| 久久久国产精品午夜一区ai换脸| 日本道免费精品一区二区三区| 色激情天天射综合网| 欧美伊人久久久久久久久影院 | 日韩欧美高清dvd碟片| 欧美大片拔萝卜| 日本一区二区在线不卡| 亚洲精品国产成人久久av盗摄| 亚洲国产综合人成综合网站| 青青草精品视频| 国产成人精品免费在线| 在线免费亚洲电影| 日韩欧美国产不卡| 亚洲人亚洲人成电影网站色| 亚洲sss视频在线视频| 国产一区二区三区最好精华液| 成人黄色国产精品网站大全在线免费观看| 日本三级韩国三级欧美三级| 国产一区二区三区美女| 97精品超碰一区二区三区| 欧美日韩免费一区二区三区视频| 精品国产亚洲在线| 亚洲蜜臀av乱码久久精品| 九九在线精品视频| 91麻豆免费观看| 久久综合九色综合久久久精品综合| 中文字幕中文在线不卡住| 天天综合色天天综合色h| 国产精品一区二区黑丝| 91国偷自产一区二区开放时间| 日韩一区二区三区视频在线观看| 亚洲欧美综合在线精品| 麻豆一区二区三区| 色偷偷88欧美精品久久久| 精品国产伦理网| 亚洲国产精品尤物yw在线观看| 国产成人综合视频| 欧美一级欧美三级| 亚洲一区二区三区在线看| 国产精华液一区二区三区| 欧美日韩精品是欧美日韩精品| 国产精品对白交换视频| 寂寞少妇一区二区三区| 欧美性受xxxx黑人xyx| 国产精品萝li| 国内精品久久久久影院薰衣草| 欧美日韩mp4| 亚洲精品视频一区二区| 不卡的电影网站| 国产日韩欧美不卡在线| 九九视频精品免费| 日韩久久久精品| 肉色丝袜一区二区| 精品视频在线免费观看| 亚洲精品成人悠悠色影视| 成人综合婷婷国产精品久久免费| 欧美成人官网二区| 日本欧美韩国一区三区| 欧美性猛交一区二区三区精品| 最新不卡av在线| voyeur盗摄精品| 色综合天天综合| 欧美一区二视频| 午夜精品爽啪视频| 欧美这里有精品| 一区二区三区日韩在线观看| 色拍拍在线精品视频8848| 国产精品麻豆视频| 色综合网色综合| 亚洲精品久久嫩草网站秘色|