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

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

?? lcd.h

?? guiHelloworld arm7 實驗程序
?? 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一区二区三区免费野_久草精品视频
99在线热播精品免费| 成人精品小蝌蚪| 亚洲美女区一区| 欧美—级在线免费片| 精品国产精品一区二区夜夜嗨| 一本一道久久a久久精品综合蜜臀| 国产成人免费高清| 激情综合亚洲精品| 久久黄色级2电影| 免费在线观看视频一区| 日日夜夜免费精品| 日韩va欧美va亚洲va久久| 亚洲成年人网站在线观看| 亚洲电影一级黄| 婷婷成人综合网| 蜜桃视频在线一区| 久久99九九99精品| 国产精品亚洲成人| 成人精品在线视频观看| 成人永久aaa| 成人app下载| 99国产精品视频免费观看| 91首页免费视频| 欧美午夜精品一区二区蜜桃| 欧美美女一区二区| 欧美成人高清电影在线| 国产无人区一区二区三区| 国产精品久久久久一区二区三区共| 欧美国产日韩精品免费观看| 国产精品久久99| 一区二区三区加勒比av| 日韩一区精品视频| 国产精品自拍在线| 91丨porny丨户外露出| 欧美日产国产精品| 欧美xxxxx牲另类人与| 国产免费久久精品| 亚洲一区精品在线| 久久国产日韩欧美精品| 成人国产精品视频| 欧美欧美欧美欧美首页| wwww国产精品欧美| 亚洲黄色免费电影| 久久精品二区亚洲w码| av电影在线观看一区| 91麻豆精品国产| 日本一区二区三区高清不卡| 亚洲最大成人综合| 国产精品一区二区黑丝| 色噜噜夜夜夜综合网| 精品久久久久久综合日本欧美 | 2024国产精品| 亚洲天堂成人网| 久久精品免费看| 在线影视一区二区三区| 久久你懂得1024| 亚洲成人黄色影院| 粉嫩绯色av一区二区在线观看| 欧美调教femdomvk| 国产午夜精品在线观看| 午夜精品免费在线观看| 不卡的电影网站| 欧美精品一区二区三区在线播放| 亚洲欧美一区二区不卡| 国产精品一区二区91| 91精品国产91久久久久久一区二区| 国产精品国产自产拍高清av| 美国十次综合导航| 欧美日韩亚洲国产综合| 中文字幕制服丝袜一区二区三区| 麻豆精品在线播放| 欧美日韩精品欧美日韩精品一综合| 国产精品视频九色porn| 国内精品久久久久影院一蜜桃| 欧美日韩一区高清| 亚洲女与黑人做爰| 波多野结衣中文字幕一区二区三区 | 91国内精品野花午夜精品| 久久精品免视看| 精品影院一区二区久久久| 在线不卡中文字幕| 午夜欧美大尺度福利影院在线看| 日本高清不卡在线观看| 亚洲欧美日韩久久| 91在线视频观看| 亚洲四区在线观看| 99国产精品久久久久久久久久久| 国产欧美日韩在线| 高清在线成人网| 日本一区二区三区免费乱视频| 国产精品一区二区三区乱码| 久久综合色之久久综合| 精品午夜一区二区三区在线观看 | 精品国产一区二区三区av性色| 天天综合天天做天天综合| 欧美日韩一区二区三区四区五区| **性色生活片久久毛片| 91免费看片在线观看| 亚洲女同一区二区| 欧美在线视频日韩| 五月天网站亚洲| 日韩区在线观看| 狠狠色丁香久久婷婷综合_中| 精品99999| 成人性生交大片| 亚洲色图视频网站| 欧美性生活大片视频| 日韩国产欧美一区二区三区| 欧美成人国产一区二区| 国产成人在线视频免费播放| 日本一区二区三区dvd视频在线| 成人的网站免费观看| 一区二区三区高清| 欧美日韩国产三级| 日韩av不卡在线观看| 日韩精品一区二区三区视频| 久久机这里只有精品| 国产女人18毛片水真多成人如厕| k8久久久一区二区三区| 亚洲一区二区在线视频| 91精品婷婷国产综合久久性色| 久久精品国产一区二区三| 国产亚洲欧洲一区高清在线观看| 久久99国内精品| 亚洲免费视频中文字幕| 欧美日韩一本到| 国产成人一区二区精品非洲| 亚洲欧洲国产专区| 欧美日韩国产色站一区二区三区| 久久99最新地址| 亚洲欧美怡红院| 欧美夫妻性生活| 国产盗摄一区二区三区| 午夜久久久影院| 中文字幕不卡在线播放| 欧美三级日韩三级| 高清国产一区二区| 日韩影院精彩在线| 亚洲欧美区自拍先锋| 欧美成人bangbros| 欧美亚洲日本国产| 成人免费高清视频在线观看| 日韩和欧美一区二区三区| 国产精品欧美经典| 欧美tickle裸体挠脚心vk| 91丝袜美女网| 国产福利91精品一区二区三区| 天天影视涩香欲综合网| 亚洲天堂精品视频| 国产日韩欧美在线一区| 日韩欧美国产电影| 欧美人与性动xxxx| 91福利在线观看| 丰满放荡岳乱妇91ww| 裸体一区二区三区| 午夜天堂影视香蕉久久| 日韩久久一区二区| 国产精品久久久久久久久久免费看 | 久久久久久久久久久电影| 欧美日韩国产123区| 99re热视频这里只精品| 国产一区二区三区精品欧美日韩一区二区三区 | 久久精品国产精品亚洲综合| 亚洲超碰97人人做人人爱| 亚洲人午夜精品天堂一二香蕉| 国产午夜亚洲精品理论片色戒 | 国产精品资源在线| 另类调教123区| 三级在线观看一区二区| 亚洲国产一区二区三区| 亚洲精品国产a久久久久久| 国产精品国产三级国产aⅴ中文| 久久九九国产精品| 26uuu欧美| 国产亚洲一区二区在线观看| 久久新电视剧免费观看| 亚洲精品在线网站| 久久这里都是精品| 国产亚洲一区二区三区| 欧美激情在线免费观看| 国产精品免费丝袜| 自拍偷自拍亚洲精品播放| 国产精品毛片无遮挡高清| 中文字幕在线不卡一区| 亚洲日本中文字幕区| 亚洲一区二区高清| 婷婷综合在线观看| 乱一区二区av| 粉嫩一区二区三区在线看| www.亚洲人| 欧美综合视频在线观看| 欧美日本一区二区在线观看| 91精品国产乱码| 久久久综合精品| 国产精品色哟哟| 亚洲一区二区在线视频| 日本视频在线一区| 国产精品一区二区不卡| 97se狠狠狠综合亚洲狠狠| 欧美午夜电影网|