⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.lst

📁 mifarea卡程序mifarea卡程序mifarea卡程序
💻 LST
字号:
C51 COMPILER V8.00   MAIN                                                                  04/23/2009 15:56:13 PAGE 1   


C51 COMPILER V8.00, COMPILATION OF MODULE MAIN
OBJECT MODULE PLACED IN .\out_sst89e564\main.obj
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE source\main.c LARGE BROWSE ORDER NOAREGS DEBUG OBJECTEXTEND PRINT(.\main.ls
                    -t) OBJECT(.\out_sst89e564\main.obj)

line level    source

   1          /*Fstk.C*//*Fstk's C file*/
   2          /* last update: 2007-05-01 */
   3          
   4          #include "includes.h"
   5          
   6          
   7          void main(void)
   8          {
   9   1          // initializations
  10   1          // system timer
  11   1          InitTimer(SYSCLOCK);
  12   1          
  13   1          // serial port
  14   1          ComOpen(SYSCLOCK, 9600);
  15   1          ComSetTimeOut(500, 500);
  16   1          
  17   1          // init and read parameters
  18   1          ParaInit();
  19   1          
  20   1          // initialize touch card
  21   1          TcInit();
  22   1          
  23   1          // M1 rf card 
  24   1          M1Init();
  25   1          
  26   1          // init reader
  27   1          SysInit();
  28   1          
  29   1          // enable watch dog
  30   1          //EnableWDT(255-15);
  31   1          
  32   1          // ready for running!
  33   1          led(0xff);
  34   1          delay(100);
  35   1          led(0);
  36   1          // led1(50);
  37   1          beep(3, 10);
  38   1          
  39   1          // main loop
  40   1          while(1)
  41   1          {
  42   2              // idle();
  43   2      
  44   2              //ResetWDT();
  45   2              
  46   2              // check host command and excute it.
  47   2              Command();
  48   2              
  49   2              // check if a card is inserted to the card slot and if I have sent a
  50   2              // notice to host but the host give no response, I will send the 
  51   2              // notice once every second untill I get a response or a command for 
  52   2              // card slot.
  53   2              CardSlot();
  54   2              
C51 COMPILER V8.00   MAIN                                                                  04/23/2009 15:56:13 PAGE 2   

  55   2              // check if a rf card is arrived and if I have sent a notice to host
  56   2              // but the host give no response, I will send the notice once every
  57   2              // second untill I get a response or a command for rf card.
  58   2              M1Card();
  59   2          }
  60   1      }
  61              
  62          


MODULE INFORMATION:   STATIC OVERLAYABLE
   CODE SIZE        =     90    ----
   CONSTANT SIZE    =   ----    ----
   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 + -