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

📄 m500aucend.lst

📁 51单片机进行mifare1射频卡开发
💻 LST
📖 第 1 页 / 共 5 页
字号:
C51 COMPILER V7.03   M500AUCEND                                                            05/07/2004 12:23:37 PAGE 1   


C51 COMPILER V7.03, COMPILATION OF MODULE M500AUCEND
OBJECT MODULE PLACED IN G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.OBJ
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND
                    -.C DB SB OE

stmt level    source

   1          //功能比较完善了
   2          
   3          #define M500_GLOBALS
   4          
   5          #include <string.h>
   6          #include <stdio.h>
   7          #include <absacc.h>
   8          #include <intrins.h>
   9          
  10          #include "Mfreg500.h"
  11          #include "MfErrNo.h"
  12          #include "reg52.h"
  13          #include "M500AuC.h"
  14          #include "52prof.h"
*** WARNING C318 IN LINE 14 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: can't open
             - file '52prof.h'
  15          
  16          #define GetRegPage(addr)    (0x80 | (addr>>3))
  17          #define nocard                      0
  18          #define mifare1                     1
  19          #define mifarepro                   2
  20          #define mifarelight                 3
  21          #define unknowncard                 4
  22          #define NO_TIMER2           1
  23          //////////////////除射频卡的子函数////////
  24          void  del_50us()                  //延时50us子程序
  25          {
  26   1            uchar i;
*** ERROR C202 IN LINE 26 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'uchar': und
             -efined identifier
*** ERROR C141 IN LINE 26 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: syntax error
             - near 'i'
  27   1                for(i=0;i<6;i++)
*** ERROR C202 IN LINE 27 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'i': undefin
             -ed identifier
  28   1                   {;}
  29   1      }
  30          void  long_del()                  //8279长延时子程序
  31          {
  32   1            uchar i,j;
*** ERROR C202 IN LINE 32 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'uchar': und
             -efined identifier
*** ERROR C141 IN LINE 32 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: syntax error
             - near 'i'
  33   1                for(i=0;i<200;i++)
*** ERROR C202 IN LINE 33 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'i': undefin
             -ed identifier
  34   1                 {
  35   2                  for(j=0;j<255;j++)
*** ERROR C202 IN LINE 35 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'j': undefin
             -ed identifier
  36   2                 {;}
  37   2                 }
  38   1      }
C51 COMPILER V7.03   M500AUCEND                                                            05/07/2004 12:23:37 PAGE 2   

  39          void  del_8us()
  40          {
  41   1            uchar i;
*** ERROR C202 IN LINE 41 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'uchar': und
             -efined identifier
*** ERROR C141 IN LINE 41 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: syntax error
             - near 'i'
  42   1                for(i=0;i<1;i++)
*** ERROR C202 IN LINE 42 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'i': undefin
             -ed identifier
  43   1                   {;}
  44   1      }
  45          
  46          void  del_50ms()
  47          {
  48   1            uchar i,j;
*** ERROR C202 IN LINE 48 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'uchar': und
             -efined identifier
*** ERROR C141 IN LINE 48 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: syntax error
             - near 'i'
  49   1                for(i=0;i<50;i++)
*** ERROR C202 IN LINE 49 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'i': undefin
             -ed identifier
  50   1                   for(j=0;j<125;j++)
*** ERROR C202 IN LINE 50 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'j': undefin
             -ed identifier
  51   1                   {;}
  52   1      }
  53          
  54          void send(uchar sebuf)              //发送子程序
*** ERROR C141 IN LINE 54 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: syntax error
             - near 'sebuf', expected ')'
  55          {
  56   1            uchar i;
*** ERROR C141 IN LINE 56 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: syntax error
             - near 'i'
*** ERROR C202 IN LINE 56 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'i': undefin
             -ed identifier
  57   1                AA=sebuf;
*** ERROR C202 IN LINE 57 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'AA': undefi
             -ned identifier
  58   1                Z7289_CLK=0;
*** ERROR C202 IN LINE 58 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_CLK':
             - undefined identifier
  59   1                Z7289_CS=0;
*** ERROR C202 IN LINE 59 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_CS': 
             -undefined identifier
  60   1                del_50us();
  61   1                for(i=0;i<8;i++)
*** ERROR C202 IN LINE 61 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'i': undefin
             -ed identifier
  62   1                {
  63   2                 del_8us();
  64   2                 Z7289_DIO=high_bit;
*** ERROR C202 IN LINE 64 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_DIO':
             - undefined identifier
  65   2                 Z7289_CLK=1;
*** ERROR C202 IN LINE 65 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_CLK':
             - undefined identifier
  66   2                 del_8us();
  67   2                 AA=AA<<1;                //循环移位
*** ERROR C202 IN LINE 67 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'AA': undefi
C51 COMPILER V7.03   M500AUCEND                                                            05/07/2004 12:23:37 PAGE 3   

             -ned identifier
  68   2                 Z7289_CLK=0;
*** ERROR C202 IN LINE 68 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_CLK':
             - undefined identifier
  69   2                }
  70   1                Z7289_DIO=0;
*** ERROR C202 IN LINE 70 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_DIO':
             - undefined identifier
  71   1      }
  72          
  73          void receive()                     //接收子程序
  74          {
  75   1            uchar i;
*** ERROR C202 IN LINE 75 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'uchar': und
             -efined identifier
*** ERROR C141 IN LINE 75 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: syntax error
             - near 'i'
  76   1                Z7289_DIO=1;
*** ERROR C202 IN LINE 76 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_DIO':
             - undefined identifier
  77   1                del_50us();
  78   1                for(i=0;i<8;i++)
*** ERROR C202 IN LINE 78 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'i': undefin
             -ed identifier
  79   1                {
  80   2                 Z7289_CLK=1;
*** ERROR C202 IN LINE 80 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_CLK':
             - undefined identifier
  81   2                 del_8us();
  82   2                 AA=AA<<1;
*** ERROR C202 IN LINE 82 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'AA': undefi
             -ned identifier
  83   2                 low_bit=Z7289_DIO;          //相当于带进位的逻辑左移指令
*** ERROR C202 IN LINE 83 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'low_bit': u
             -ndefined identifier
  84   2                 Z7289_CLK=0;
*** ERROR C202 IN LINE 84 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_CLK':
             - undefined identifier
  85   2                 del_8us();
  86   2                }
  87   1                rebuf=AA;
*** ERROR C202 IN LINE 87 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'rebuf': und
             -efined identifier
  88   1                Z7289_DIO=0;
*** ERROR C202 IN LINE 88 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_DIO':
             - undefined identifier
  89   1      }
  90          
  91          void z7289_reset()                    //复位子程序
  92          {
  93   1            Z7289_KEY=1;
*** ERROR C202 IN LINE 93 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_KEY':
             - undefined identifier
  94   1            Z7289_DIO=1;
*** ERROR C202 IN LINE 94 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_DIO':
             - undefined identifier
  95   1            del_50ms();
  96   1            send(0xa4);
  97   1            Z7289_CS=1;
*** ERROR C202 IN LINE 97 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_CS': 
             -undefined identifier
  98   1            del_50ms();
C51 COMPILER V7.03   M500AUCEND                                                            05/07/2004 12:23:37 PAGE 4   

  99   1      }
 100          void ll_test()
 101          {     uchar i;
*** ERROR C202 IN LINE 101 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'uchar': un
             -defined identifier
*** ERROR C141 IN LINE 101 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: syntax erro
             -r near 'i'
 102   1            send(0x80);                //下载数据按方式0译码
 103   1            send(0xf8);
 104   1            Z7289_CS=1;
*** ERROR C202 IN LINE 104 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_CS':
             - undefined identifier
 105   1            for(i=0;i<5;i++)
*** ERROR C202 IN LINE 105 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'i': undefi
             -ned identifier
 106   1          {
 107   2            long_del();
 108   2            send(0xa1);                 //循环左移
 109   2            Z7289_CS=1;
*** ERROR C202 IN LINE 109 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_CS':
             - undefined identifier
 110   2      
 111   2           }
 112   1      }
 113          void z7289_dis(uchar *s)
*** ERROR C141 IN LINE 113 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: syntax erro
             -r near '*', expected ')'
 114          {
 115   1        uchar i;
*** ERROR C141 IN LINE 115 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: syntax erro
             -r near 'i'
*** ERROR C202 IN LINE 115 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'i': undefi
             -ned identifier
 116   1        send(0x80);                //下载数据按方式0译码
 117   1        for(i=0;i<5;i++)             //实际数据存放在
*** ERROR C202 IN LINE 117 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'i': undefi
             -ned identifier
 118   1        {
 119   2         send(i|0x80);             //发送显示地址
*** ERROR C202 IN LINE 119 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'i': undefi
             -ned identifier
 120   2         if(i==2)
*** ERROR C202 IN LINE 120 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'i': undefi
             -ned identifier
 121   2         send(*s|0xf0);    //第三位要加小数点
*** ERROR C202 IN LINE 121 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 's': undefi
             -ned identifier
 122   2         else
 123   2         send(*s&0x0f);
*** ERROR C202 IN LINE 123 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 's': undefi
             -ned identifier
 124   2         Z7289_CS=1;
*** ERROR C202 IN LINE 124 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'Z7289_CS':
             - undefined identifier
 125   2         s++;
*** ERROR C202 IN LINE 125 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 's': undefi
             -ned identifier
 126   2          //IRdStr(I24cxx,0x00,&RevBuffer[2],4);
 127   2        }
 128   1      }
 129          ///////////////////7289子函数 结束///////////
 130          /////////////////以下是2401的子函数///////////
C51 COMPILER V7.03   M500AUCEND                                                            05/07/2004 12:23:37 PAGE 5   

 131          void start_I2c()
 132          {
 133   1        SDA=1;
*** ERROR C202 IN LINE 133 OF G:\刘力政\ISREASON\整理文~1\MYDESI~1\程序\单片机\水龙头\下位机~1\M500AUCEND.C: 'SDA': unde
             -fined identifier
 134   1        wait_I2c();
 135   1        SCL=1;
 136   1        wait_I2c();
 137   1        SDA=0;
 138   1        wait_I2c();
 139   1        SCL=0;
 140   1        _nop_();
 141   1        }
 142           void stop_I2c()
 143           {
 144   1        SCL=0;
 145   1        _nop_();
 146   1        _nop_();
 147   1        SDA=0;
 148   1        wait_I2c();
 149   1        SCL=1;
 150   1        wait_I2c();
 151   1        SDA=1;
 152   1        wait_I2c();
 153   1        }
 154            void wait_I2c()
 155            {
 156   1         _nop_();
 157   1         _nop_();
 158   1         _nop_();
 159   1         _nop_();
 160   1         _nop_();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -