📄 jtzmv20.lst
字号:
C51 COMPILER V8.01 JTZMV20 09/27/2008 14:40:16 PAGE 1
C51 COMPILER V8.01, COMPILATION OF MODULE JTZMV20
OBJECT MODULE PLACED IN JTZMV20.OBJ
COMPILER INVOKED BY: d:\Keil\C51\BIN\C51.EXE JTZMV20.C ROM(SMALL) BROWSE DEBUG OBJECTEXTEND
line level source
1
2 #include <intrins.h>
3 #include <jtzmv20.h>
4 #include <hardconfig.h>
5 #include <inandout.h>
6 #include <cpudef.h>
7 FourByteStr OutStates;
8
9 void HardMainConfig()
10 {
11 1 TimerConfig();
12 1 EnableInterrupt();
13 1 StartTime1();
14 1 }
15
16 void DataConfig()
17 {
18 1 // OutStates.Dw8U[0]=0x55;
19 1 // OutStates.Dw8U[1]=0x66;
20 1 OutStates.Dw32U=0x556677;
21 1 ButtonDataConfig();
22 1 }
23 void RlyOutConfigSub()
24 {
25 1 uchar outloop;
26 1 ulong outmid=1;
27 1 bit OnOffBit;
28 1 for(outloop=0;outloop<24;outloop++)
29 1 {
30 2 if((outmid&OutStates.Dw32U)!=0)
31 2 OnOffBit=1;
32 2 else
33 2 OnOffBit=0;
34 2 RelayOut(outloop+1,OnOffBit);
35 2 outmid<<=1;
36 2 }
37 1
38 1 }
39 void ButtonDeal()
40 {
41 1 uchar ButtonValue=0;
42 1 ButtonValue=GetButton();
43 1 if(ButtonValue!=0)
44 1 {
45 2 /**/
46 2 _nop_();
47 2 }
48 1 }
49 void main()
50 {
51 1
52 1 GPIO_OUT_Config();//
53 1 HardMainConfig();
54 1 DataConfig();
55 1 RlyOutConfigSub();
C51 COMPILER V8.01 JTZMV20 09/27/2008 14:40:16 PAGE 2
56 1 UartConfig();
57 1 while(1)
58 1 {
59 2 ButtonDeal();
60 2 SetAdjLight();
61 2
62 2 }
63 1 }
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE = 134 ----
CONSTANT SIZE = ---- ----
XDATA SIZE = ---- ----
PDATA SIZE = ---- ----
DATA SIZE = 4 5
IDATA SIZE = ---- ----
BIT SIZE = ---- 1
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -