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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? lcd.h

?? 立宇泰44B0所有測(cè)試源代碼
?? H
字號(hào):
/***********************************************************************************************************                                                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 */




?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合久久综合网97色综合| 亚洲图片另类小说| 91精品国产高清一区二区三区| 色综合久久久久网| 91福利在线导航| 在线观看视频一区| 欧美视频一区二区三区四区 | 欧美肥妇bbw| 欧美日韩一二区| 欧美高清精品3d| 日韩精品一区二区三区四区视频| 精品久久久久久久久久久久久久久| 欧美一区二区三区四区高清| 欧美一级生活片| 久久精品一区蜜桃臀影院| 亚洲国产成人在线| 亚洲免费av观看| 亚洲444eee在线观看| 奇米888四色在线精品| 国产曰批免费观看久久久| 成人激情校园春色| 欧美影院精品一区| 日韩欧美国产综合在线一区二区三区| 日韩精品一区二区三区在线观看 | 亚洲伊人伊色伊影伊综合网 | 欧美体内she精高潮| 5566中文字幕一区二区电影| 日韩一级欧美一级| 欧美国产在线观看| 亚洲一区二区黄色| 国产乱子伦一区二区三区国色天香| 成人一区二区视频| 欧美天天综合网| 久久久午夜精品| 亚洲黄色片在线观看| 日本午夜精品视频在线观看 | 精品福利二区三区| 国产精品美女久久久久久久久久久 | 亚欧色一区w666天堂| 久久99热这里只有精品| 99精品视频一区| 日韩一区二区免费视频| 国产精品你懂的| 日韩成人免费在线| 高清久久久久久| 欧美理论在线播放| 久久精品日产第一区二区三区高清版| 亚洲欧美一区二区三区极速播放| 美女尤物国产一区| 99精品国产热久久91蜜凸| 日韩一区二区影院| 亚洲视频在线一区二区| 麻豆精品视频在线| 色狠狠色噜噜噜综合网| 精品盗摄一区二区三区| 亚洲资源中文字幕| 福利一区在线观看| 91精品国产入口| 中文字幕一区二区三区不卡| 蜜桃av噜噜一区二区三区小说| 91网站在线播放| 亚洲精品一区在线观看| 亚洲成人综合网站| 99久久综合国产精品| 精品国产乱码久久久久久蜜臀| 精品在线你懂的| 91国偷自产一区二区开放时间 | 激情综合网av| 欧美日韩久久久| 18涩涩午夜精品.www| 久久aⅴ国产欧美74aaa| 欧美日韩视频一区二区| 欧美国产精品劲爆| 久久国产免费看| 欧美裸体bbwbbwbbw| 自拍偷在线精品自拍偷无码专区| 麻豆成人av在线| 欧美军同video69gay| 亚洲私人黄色宅男| 高清久久久久久| 精品国产髙清在线看国产毛片| 亚洲福利视频一区| 色婷婷久久久亚洲一区二区三区 | 天天综合网天天综合色| 97精品超碰一区二区三区| 国产午夜三级一区二区三| 美美哒免费高清在线观看视频一区二区| 91久久久免费一区二区| 国产精品久久久久久久午夜片 | 99综合影院在线| 国产精品欧美极品| 高清不卡在线观看| 国产亚洲短视频| 国产成人精品亚洲777人妖| ww亚洲ww在线观看国产| 久久疯狂做爰流白浆xx| 欧美不卡在线视频| 久久精工是国产品牌吗| 亚洲精品一区二区三区影院 | 91麻豆精品91久久久久同性| 香蕉久久一区二区不卡无毒影院| 欧美伊人精品成人久久综合97 | 丁香婷婷综合色啪| 国产欧美日韩在线观看| 大陆成人av片| 亚洲欧洲www| 色婷婷久久综合| 亚洲国产一区视频| 欧美电影在哪看比较好| 日本不卡一区二区三区 | 日韩高清不卡在线| 884aa四虎影成人精品一区| 日本美女一区二区| 337p日本欧洲亚洲大胆色噜噜| 狠狠色综合色综合网络| 久久麻豆一区二区| 成人av电影在线网| 一区二区三区中文在线| 欧美主播一区二区三区| 日本免费在线视频不卡一不卡二 | 午夜精品福利一区二区蜜股av| 欧美偷拍一区二区| 老汉av免费一区二区三区| 精品美女一区二区| 成人网男人的天堂| 亚洲三级小视频| 欧美日韩你懂的| 精品亚洲免费视频| 中文字幕精品—区二区四季| 日本高清无吗v一区| 日本vs亚洲vs韩国一区三区二区| 久久亚洲二区三区| 91在线精品一区二区| 亚洲成a人片在线不卡一二三区| 欧美成人女星排名| 91亚洲永久精品| 日本在线不卡一区| 国产精品精品国产色婷婷| 欧美视频在线一区| 国产一区二区女| 亚洲一区在线观看免费观看电影高清| 欧美一区二区三区喷汁尤物| 国产成人高清视频| 亚洲成人精品影院| 国产清纯白嫩初高生在线观看91| 在线观看免费视频综合| 精品一区二区免费在线观看| 亚洲欧洲三级电影| 欧美不卡激情三级在线观看| 成人午夜免费av| 日韩不卡在线观看日韩不卡视频| 亚洲国产成人午夜在线一区| 欧美肥妇bbw| 91麻豆国产福利在线观看| 美腿丝袜亚洲综合| 一区二区三区四区在线播放| 久久综合九色综合欧美就去吻 | 91精选在线观看| 波多野结衣一区二区三区 | 777a∨成人精品桃花网| 成人av电影在线网| 极品少妇一区二区| 亚洲一区二区三区不卡国产欧美| 久久久91精品国产一区二区精品 | 玉足女爽爽91| 久久精品一区二区三区av| 欧美日韩国产美女| 成人av资源网站| 国产麻豆视频一区二区| 视频一区二区欧美| 亚洲激情中文1区| 日本一区二区三区国色天香 | 最新国产精品久久精品| 欧美成人video| 欧美日韩国产天堂| 91在线视频播放| 国产ts人妖一区二区| 久久99国产精品尤物| 婷婷激情综合网| 一区二区视频在线看| 国产精品蜜臀av| 欧美高清在线视频| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 91麻豆swag| 成人美女视频在线观看| 加勒比av一区二区| 人禽交欧美网站| 亚洲电影视频在线| 亚洲在线视频一区| 亚洲激情图片一区| 亚洲色图欧洲色图| 亚洲欧美日韩在线播放| 国产精品久久久久婷婷二区次| 久久久99精品免费观看不卡| 2023国产一二三区日本精品2022| 日韩视频在线永久播放| 91精品国产91久久久久久最新毛片| 欧美视频一区二区| 欧美精品日韩综合在线| 欧美日韩一区在线观看|