📄 main.lst
字号:
C51 COMPILER V7.50 MAIN 07/06/2006 10:40:55 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE MAIN
OBJECT MODULE PLACED IN .\obj\main.obj
COMPILER INVOKED BY: D:\Keil\C51\BIN\C51.EXE main.c BROWSE DEBUG OBJECTEXTEND PRINT(.\lst\main.lst) OBJECT(.\obj\main.ob
-j)
line level source
1
2 #include "board.h"
3 #include "Ir.h"
4 #include "mcu.h"
5 #include "misc.h"
6 #include "power.h"
7 #include "debug.h"
8 #include "Isr.h"
9 #include "Global.h"
10 #include "Keypad.h"
11 #include "Gm_rwreg.h"
12 #include "Security.h"
13
14 void main(void)
15 {
16 1 #if 0
DWORD i;
BYTE count;
count = 0;
#endif
21 1 Init_MCU();
22 1 IR_Init();
23 1 gm_init();
24 1
25 1 {
26 2 Clr_gm_Standby();
27 2 ForceDelay1ms(1);
28 2 Set_PowerOnStatus();
29 2 }
30 1 //InitTotalEEPROM();
31 1 //ReadMonitorSetting();
32 1 //Init_GlobalVariables();
33 1 // Set_PowerOnFlag();//vick :save power status
34 1 //CheckFactoryKeyStatus();
35 1
36 1 //GreenLedOff();
37 1 //GreenLedOn();
38 1 #if DebugVersion
39 1 printData("the value is %d", cmd_Power_Handler);
40 1 #endif
41 1 // RedLedOn();
42 1 //Menu_InitVariable();
43 1 //hwLA7605_AFT = 0;
44 1 //Clr_PowerOnFlag();
45 1 //cmd_Power_Handler = POWER_ON_SYSTEM;
46 1
47 1
48 1
49 1 #if 0
for (i=0; i<=10000;i++)
{
if (gm_readByte()!=0x01)
{
count++;
C51 COMPILER V7.50 MAIN 07/06/2006 10:40:55 PAGE 2
}
}
printData("the value is %d", count);
#endif
59 1
60 1 while (1)
61 1 {
62 2 //printMsg("hello");
63 2 //if (Shut_Down_Count!=0)
64 2 // printData("the value of shut_down_Count is %d", Shut_Down_Count);
65 2 //printData("%d", test);
66 2 readStatusHandler();
67 2 PowerHandler();
68 2 SecurityHandler();
69 2 Key_ScanKeypad();
70 2
71 2 }
72 1 }
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 49 ----
CONSTANT SIZE = 16 ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = ---- ----
IDATA SIZE = ---- ----
BIT SIZE = ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -