main.c
来自「其乐达(Cheertek)LCD驱动芯片(CT675)的C51源代码」· C语言 代码 · 共 52 行
C
52 行
#include "INC\SYS_DECLARE.H"
#define GLOBAL
#include "INC\SYS_GLOBAL.H"
#undef GLOBAL
#include "INC\SYS_GLOBAL.H"
#include "INC\SYS_INITIAL.H"
#include "INC\SYS_KEY.H"
#include "API\INC\API_CTRL.H"
#include "API\INC\API_EEPROM.H"
#include "API\INC\API_PANEL.H"
#include "UI\INC\UI_FLOW_CTRL.H"
void main(void)
{
SYS_Initial();
API_EEPROM_CheckVersionNo();
API_PANEL_Initial();
LED_PWR_PIN = 0;
#if(UART_DEBUG_MSG)
printf("\nSystem Firmware ver. %5d - %3d", (int)(MAIN_VERSION_NO), (int)(SUB_VERSION_NO));
printf("\nSystem Initial Finish.\n");
#endif // UART_DEBUG_MSG
while(1)
{
API_CTRL_ModeDetection();
if(gfFlowControlInitial)
{
gfFlowControlInitial = 0;
UI_FLC_Initial();
}
if(gScalerPara.fAutoBklitCtrl)
{
API_CTRL_AutoBacklightControl(1);
}
SYS_Key();
UI_FLC_PassKey(gbKeyCode);
gbKeyCode = KEY_NO_KEY;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?