misc.h

来自「RTD2662板卡源代码」· C头文件 代码 · 共 96 行

H
96
字号
//----------------------------------------------------------------------------------------------------
// ID Code      : Misc.h No.0001
// Update Note  :
//
//----------------------------------------------------------------------------------------------------

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


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

#ifdef __MISC__

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


BYTE ucVirtualKey = 0;
BYTE ucDdcciCommandNumber = 0;
BYTE TxBUF=0;
bit bRunCommand=0;
BYTE idata ucDdcciData[4];



//--------------------------------------------------
// Function Prototypes
//--------------------------------------------------
bit CMiscScalerResetEvent(void);
//bit CMiscStableFlagPollingEvent(void);
bit CMiscHsyncTypeAutoRunFlagPollingEvent(void);
bit CMiscModeMeasurePollingEvent(void);
bit CMiscAutoMeasurePollingEvent(void);
bit CMiscApplyDoubleBufferPollingEvent(void);
bit CMiscTMDSMeasureEvent(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 CDdcciInitial(void);



#else

//--------------------------------------------------
// Extern Global Variables
//--------------------------------------------------
extern BYTE ucVirtualKey;
extern BYTE ucDdcciCommandNumber;
extern bit bRunCommand;
extern idata BYTE ucDdcciData[4];
extern BYTE TxBUF;




//--------------------------------------------------
// Extern Function Prototypes
//--------------------------------------------------
extern bit CMiscScalerResetEvent(void);
//extern bit CMiscStableFlagPollingEvent(void);
extern bit CMiscHsyncTypeAutoRunFlagPollingEvent(void);
extern bit CMiscModeMeasurePollingEvent(void);
extern bit CMiscAutoMeasurePollingEvent(void);
extern bit CMiscTMDSMeasureEvent(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 CDdcciInitial(void);



#endif

void GetVirtualKey(void);



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

⌨️ 快捷键说明

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