⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lcd_phy_drv.h

📁 Actions ucOS-II mp3方案源码,可以做参考
💻 H
字号:
/*
*******************************************************************************
*                uc/gui 
*        This program demostrates how to build an AP
*
*        (c) Copyright Actions Co,Ld.                             
*
*******************************************************************************
*/   
#ifndef _LCD_PHY_DRV_H
#define _LCD_PHY_DRV_H

#define LCD_CONT_SSD1332
//#define LCD_CONT_HX8310

#define StandbyStart_def     0x01
#define StandbyExit_def      0x00
#define DrawModeH_def        0x01
#define DrawModeV_def        0x00   
#define NORTransMode_def  0 //用普通的传送模式
#define DMATransMode_def  1 //用DMA传送模式


#ifdef __IAR_SYSTEMS_ICC
//硬件设置操作类
int  LCD_P0_Init(void);
void LCD_P0_On(void);
void LCD_P0_Off(void);
void LCD_P0_Standby(unsigned char bStandby);
void LCD_P0_SetContrast(char ContrastValue);
//作图环境设置类
int LCD_P0_SetWindow(LCD_RECT *win);
void LCD_P0_SetDrawMode(unsigned char mode);
//作图操作类
void LCD_P0_SetPixelIndex(int x, int y, int ColorIndex);
void LCD_P0_XorPixel(int x, int y);
int  LCD_P0_DrawLine (int x0, int y0,  int x1, int y1,int ColorIndex);
void LCD_P0_BuffDataTrans(U8 *pData, int cnt, char mode);
void LCD_P0_FillArea(int Value,int Size);
//获取屏幕数据类
unsigned int LCD_P0_GetPixelIndex(int x, int y);
void LCD_P0_GetBuffData ( char *buff, int datacnt, char mode);
//附加功能类 
//#ifdef    LCD_GAC
void LCD_P0_DrawRect(int x0, int y0, int x1, int y1,int ColorLine,int ColorFill);
void LCD_P0_InvertRegion(LCD_RECT *invregion);
void LCD_P0_CopyRect(int x0, int y0, int x1, int y1,int newx, int newy); 
void LCD_P0_ClearRect(int x0, int y0, int x1, int y1);
//#endif
//特殊类函数(这类函数一般是为了提高速度做的一些特殊处理)
void LCD_P0_BitFill(void *buf, int cnt, int c0, int c1);
#endif//__IAR_SYSTEMS_ICC

#endif//_LCD_PHY_DRV_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -