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

📄 utillcd.h.svn-base

📁 多个厂家的LCD 驱动程序
💻 SVN-BASE
字号:

#ifndef __UTIL_LCD_H
    #define __UTIL_LCD_H

//#include "typedef.h"
#include "iMagicApi.h"

#define LCM_INTERFACE_MPU_TYPE          0
#define LCM_INTERFACE_VIDEO_TYPE        1

//#define LCM_WRITE_ADR                   (*((volatile U16 *) 0xbfc00000))
//#define LCM_WRITE_DAT                   (*((volatile U16 *) 0xbfc00002))
#define LCM_WRITE_ADR                   IMAGIC_HIU_ADR
#define LCM_WRITE_DAT                   IMAGIC_HIU_DAT

BOOL UtilDualPanelSupport(void);
//void UtilActiveDisplaySet(ST_IDU_REP  *pstDisplay);
//ST_IDU_REP* UtilActiveDisplayGet();
void UtilMainPanelSingleFrmTx(U32 bufferAddr);
void UtilSubPanelSingleFrmTx(U32 bufferAddr);

//IDUErr IDUNewIduPriModule(ST_IDU_REP *);
//IDUErr IDUNewIduSubModule(ST_IDU_REP *);

U16 GetPrimaryPanelWidth();
U16 GetPrimaryPanelHeight();
U16 GetSecondaryPanelWidth();
U16 GetSecondaryPanelHeight();
U08 GetPrimaryPanelInterfaceType();
U08 GetSecondaryPanelInterfaceType();
void SelectPrimaryLCM();
void SelectSecondaryLCM();
void DisplayInit();


//void LCMCommandWrite(U16 cmd);
//void LCMParameterWrite(U16 para);

//#define IDUMPUWriteCommand      LCMCommandWrite
//#define IDUMPUWriteParameter    LCMParameterWrite

#endif  // __UTILLCD_H

⌨️ 快捷键说明

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