misc.h

来自「很难得的最好的rtd3523系列原厂源码LCD驱动开发」· C头文件 代码 · 共 81 行

H
81
字号
//----------------------------------------------------------------------------------------------------
// ID Code      : Misc.h No.0000
// Update Note  : 
//
//----------------------------------------------------------------------------------------------------

//--------------------------------------------------
// Definitions of
//--------------------------------------------------

#define LED_MSG_RED				0
#define LED_MSG_GREEN			1
#define LED_MSG_YELLOW			2
#define LED_MSG_BLACK			3
#define LED_MSG_FLASH_RED		4
#define LED_MSG_FLASH_GREEN		5
#define LED_MSG_FLASH_YELLOW	6


//----------------------------------------------------------------------------------------------------

#ifdef __MISC__

//--------------------------------------------------
// Global Variables
//--------------------------------------------------


//--------------------------------------------------
// Function Prototypes
//--------------------------------------------------
bit CMiscStableFlagPollingEvent(void);
bit CMiscModeMeasurePollingEvent(void);
bit CMiscAutoMeasurePollingEvent(void);
bit CMiscApplyDoubleBufferPollingEvent(void);
bit CMiscTMDSMeasureEvent(void);
bit CMiscTMDSCRCEvent(void);
void CMiscEnableDoubleBuffer(void);
void CMiscDisableDoubleBuffer(void);
void CMiscApplyDoubleBuffer(void);
void CMiscClearStatusRegister(void);
void CMiscSetPinShare(void);
void CMiscKingmice(void);
void CMiscIspack(void);
void CMiscIspDebugProc(void);

void LED_Message(unsigned char msg);				// EVAN 050512
void NullFunction(void);			//by zhang_dc
#else

//--------------------------------------------------
// Extern Global Variables
//--------------------------------------------------


//--------------------------------------------------
// Extern Function Prototypes
//--------------------------------------------------
extern bit CMiscStableFlagPollingEvent(void);
extern bit CMiscModeMeasurePollingEvent(void);
extern bit CMiscAutoMeasurePollingEvent(void);
extern bit CMiscTMDSMeasureEvent(void);
extern bit CMiscTMDSCRCEvent(void);
extern void CMiscEnableDoubleBuffer(void);
extern void CMiscDisableDoubleBuffer(void);
extern void CMiscApplyDoubleBuffer(void);
extern void CMiscClearStatusRegister(void);
extern void CMiscSetPinShare(void);
extern void CMiscIspDebugProc(void);

extern void LED_Message(unsigned char msg);				// EVAN 050512

extern void NullFunction(void);		//by zhang_dc


#endif


//----------------------------------------------------------------------------------------------------

⌨️ 快捷键说明

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