📄 main.c
字号:
//----------------------------------------------------------------------------------------------------
// Copyright of Realtek SemiConductor Corp.
// Model : RTD ad board test
// Version : V1.00 (07.24.2006)
//
//----------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------------
// ID Code : Main.c No.0001
// Update Note :
//
//----------------------------------------------------------------------------------------------------
#define __MAIN__
#include "Header\Include.h"
//--------------------------------------------------
// Main Process
//--------------------------------------------------
void main(void)
{
bit bTmp = 0;
// Initial MCU
CMcuInitial();
// Initial key scan status
CKeyInitial();
// Initial CScaler
CScalerInitial();
LED_ON();
while(_TRUE)
{
CKeyHandler();
COsdHandler();
//CScalerInitial();
//RESEVER FUNC
if(bTmp)
NotUseFunc(); //mask
}
}
//--------------------------------------------------
//--------------------------------------------------
void NotUseFunc()
{
CTimerDelayXms(0);
CKeyHandler();
COsdHandler();
CScalerInitial();
CTimerDecreaseTimerCnt();
CKeyScanReady();
CKeyScanReadyTimerEvent();
CTimerReactiveTimerEvent(0,0);
COsdEventMsgProc();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -