亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? rdio.lst

?? 一個射頻卡開發板 iso4443規范 學習智能卡的好資料
?? LST
?? 第 1 頁 / 共 4 頁
字號:
C51 COMPILER V7.20   RDIO                                                                  12/08/2004 10:59:27 PAGE 1   


C51 COMPILER V7.20, COMPILATION OF MODULE RDIO
OBJECT MODULE PLACED IN RDIO.OBJ
COMPILER INVOKED BY: C:\winXP\keil\C51\BIN\C51.EXE RDIO.C LARGE WARNINGLEVEL(0) BROWSE INCDIR(D:\UsefulDocument\Mifare\M
                    -F RC500\MFRC500 Demo Reader\RC500\For Test) DEBUG OBJECTEXTEND CODE LISTINCLUDE SYMBOLS

line level    source

   1          ///////////////////////////////////////////////////////////////////////////////
   2          //    Copyright (c), Philips Semiconductors Gratkorn
   3          //
   4          //                  (C)PHILIPS Electronics N.V.2000
   5          //       All rights are reserved. Reproduction in whole or in part is 
   6          //      prohibited without the written consent of the copyright owner.
   7          //  Philips reserves the right to make changes without notice at any time.
   8          // Philips makes no warranty, expressed, implied or statutory, including but
   9          // not limited to any implied warranty of merchantibility or fitness for any
  10          //particular purpose, or that the use will not infringe any third party patent,
  11          // copyright or trademark. Philips must not be liable for any loss or damage
  12          //                          arising from its use.
  13          ///////////////////////////////////////////////////////////////////////////////
  14          #include <rdio.h>
   1      =1  ///////////////////////////////////////////////////////////////////////////////
   2      =1  //    Copyright (c), Philips Semiconductors Gratkorn
   3      =1  //
   4      =1  //                  (C)PHILIPS Electronics N.V.2000
   5      =1  //       All rights are reserved. Reproduction in whole or in part is 
   6      =1  //      prohibited without the written consent of the copyright owner.
   7      =1  //  Philips reserves the right to make changes without notice at any time.
   8      =1  // Philips makes no warranty, expressed, implied or statutory, including but
   9      =1  // not limited to any implied warranty of merchantibility or fitness for any
  10      =1  //particular purpose, or that the use will not infringe any third party patent,
  11      =1  // copyright or trademark. Philips must not be liable for any loss or damage
  12      =1  //                          arising from its use.
  13      =1  ///////////////////////////////////////////////////////////////////////////////
  14      =1  //
  15      =1  // Projekt         : M500
  16      =1  // Files           : RdIO.h RdIO.c
  17      =1  // Created         : 01.03.00
  18      =1  // COMMENT         : Reader IO routines
  19      =1  //================== M O D I F I C A T I O N S ================================
  20      =1  // Date   : 01.03.00           User   : HB
  21      =1  // Comment:     File created
  22      =1  ///////////////////////////////////////////////////////////////////////////////
  23      =1  #ifndef RDIO_H
  24      =1  #define RDIO_H
  25      =1  
  26      =1  // _____________________________________________________________________________
  27      =1  //
  28      =1  //  FUNCTION: OpenIO
  29      =1  //        IN: -
  30      =1  //       OUT: -
  31      =1  //    RETURN: 0     no error occured
  32      =1  //            != 0  error opening IO
  33      =1  //   COMMENT: open and initialise communication channel to the reader module
  34      =1  //
  35      =1  char OpenIO(void);
  36      =1  
  37      =1  // _____________________________________________________________________________
  38      =1  //
  39      =1  //  FUNCTION: WriteIO
  40      =1  //        IN: address   register address in the reader module address space
C51 COMPILER V7.20   RDIO                                                                  12/08/2004 10:59:27 PAGE 2   

  41      =1  //            value     value, which should be written
  42      =1  //       OUT: -
  43      =1  //    RETURN: -
  44      =1  //   COMMENT: This function determines the necessary page address of the 
  45      =1  //            reader module and writes the page number to the page 
  46      =1  //            register and the value to the specified address.
  47      =1  //
  48      =1  void WriteIO(unsigned char Address, unsigned char value);
  49      =1  
  50      =1  // _____________________________________________________________________________
  51      =1  //
  52      =1  //  FUNCTION: ReadIO
  53      =1  //        IN: address  register address in the reader module address space
  54      =1  //       OUT: -
  55      =1  //    RETURN: value    value, which should be read
  56      =1  //   COMMENT: This function determines the necessary page address of the 
  57      =1  //            reader module and writes the page number to the page 
  58      =1  //            register and the value to the specified address.
  59      =1  //
  60      =1  unsigned char ReadIO(unsigned char Address);
  61      =1  
  62      =1  #ifndef SEC_NO_MICORE
  63      =1  //_____________________________________________________________________________
  64      =1  //
  65      =1  //  FUNCTION: WriteIOBlock
  66      =1  //        IN: addr_data   byte stream alternating address and data
  67      =1  //            len         number of address/data pairs
  68      =1  //       OUT: -
  69      =1  //    RETURN: 
  70      =1  //   COMMENT: This function expects a byte stream with alternating one 
  71      =1  //            address byte and the corresponding value byte.
  72      =1  //            The parameter "len" indicates the number of 
  73      =1  //            address/value pairs in the "addr_data" array.
  74      =1  //            e. g. 
  75      =1  //            addr_data = addr1,val1,addr2,val2,addr3,val3,....,addrN,valN
  76      =1  //            len = N
  77      =1  //
  78      =1  void WriteIOBlock(unsigned char *Addr_Data, unsigned short len);
  79      =1  
  80      =1  // _____________________________________________________________________________
  81      =1  //
  82      =1  //  FUNCTION: ReadIOBlock
  83      =1  //        IN: addr_data   byte stream alternating address and data
  84      =1  //            len         number of address/data pairs
  85      =1  //       OUT: addr_data   byte stream alternating address and data
  86      =1  //    RETURN: 
  87      =1  //   COMMENT: This function expects a byte stream with alternating one 
  88      =1  //            address byte followed and the corresponding value byte.
  89      =1  //            The parameter "len" indicates the number of 
  90      =1  //            address/value pairs in the "addr_data" array.
  91      =1  //            The value bytes are filled in by this function.
  92      =1  //            e. g. 
  93      =1  //            addr_data = addr1,val1,addr2,val2,addr3,val3,....,addrN,valN
  94      =1  //            len = N
  95      =1  //
  96      =1  void ReadIOBlock(unsigned char *Addr_Data, unsigned short len);
  97      =1  #endif
  98      =1  
  99      =1  // _____________________________________________________________________________
 100      =1  //
 101      =1  //  FUNCTION: CloseIO
 102      =1  //        IN: -
C51 COMPILER V7.20   RDIO                                                                  12/08/2004 10:59:27 PAGE 3   

 103      =1  //       OUT: -
 104      =1  //    RETURN: -
 105      =1  //   COMMENT: Closing the communication channel to the reader module
 106      =1  //
 107      =1  void CloseIO(void);
 108      =1  
 109      =1  // _____________________________________________________________________________
 110      =1  //
 111      =1  //  FUNCTION: WriteRawIO
 112      =1  //        IN: addr        address within the reader address space (0x00 to 0xFF),
 113      =1  //                        where the value should be written.
 114      =1  //            value       value, which should be written
 115      =1  //       OUT: -
 116      =1  //    RETURN: -
 117      =1  //   COMMENT: Inline code for reading one char from the reader module
 118      =1  //            The reader module is connected to a 8 bit multiplexed data address
 119      =1  //            bus, therefore the lower address byte is directly mapped to the
 120      =1  //            reader module is mapped as follows:
 121      =1  //                     uC             Reader
 122      =1  //                     AD0              A0
 123      =1  //                     AD1              A1
 124      =1  //                      .               .
 125      =1  //                     AD7              A7
 126      =1  //
 127      =1  #define WriteRawIO(addr,value)  *(GpBase + addr) = value;
 128      =1  
 129      =1  // _____________________________________________________________________________
 130      =1  //
 131      =1  //  FUNCTION: ReadRawIO
 132      =1  //        IN: addr        address within the reader address space (0x00 to 0xFF),
 133      =1  //                        which shoud be read.
 134      =1  //       OUT: -
 135      =1  //    RETURN: value of the reader module
 136      =1  //   COMMENT: Inline code for reading one char from the reader module
 137      =1  //            The reader module is connected to a 8 bit multiplexed data address
 138      =1  //            bus, therefore the lower address byte is directly mapped to the
 139      =1  //            reader module is mapped as follows:
 140      =1  //                     uC             Reader
 141      =1  //                     AD0              A0
 142      =1  //                     AD1              A1
 143      =1  //                      .               .
 144      =1  //                     AD7              A7
 145      =1  //
 146      =1  #define ReadRawIO(addr) (*(GpBase + addr))
 147      =1  
 148      =1  extern unsigned char xdata *GpBase;    // variable only for internal use
 149      =1  #endif
  15          #include <main.h>
   1      =1  /****************************************************************************
   2      =1  *                                                                           *
   3      =1  * File:         MAIN.H                                                   *
   4      =1  *                                                                           *
   5      =1  * Version:                                                                  *
   6      =1  *                                                                           *
   7      =1  * Created:      30.08.2001                                                  *
   8      =1  * Last Change:  30.08.2001                                                  *
   9      =1  *                                                                           *
  10      =1  * Author:       Chua Joo Ming                                               *
  11      =1  *                                                                           *
  12      =1  * Compiler:     KEIL C51 V4.10                                              *
  13      =1  *                                                                           *
  14      =1  * Description:  89C52RD2-Firmware for MFRC500 Demo Serial Reader            *
C51 COMPILER V7.20   RDIO                                                                  12/08/2004 10:59:27 PAGE 4   

  15      =1  *                                                                           *
  16      =1  ****************************************************************************/
  17      =1  
  18      =1  
  19      =1  #define AUTODELAY
  20      =1  
  21      =1  #ifdef __SRC
           =1  #define EXTERN
           =1 #else
  24      =1   #define EXTERN                 extern
  25      =1  #endif
  26      =1  
  27      =1  
  28      =1  // Common Defines
  29      =1  
  30      =1  #define uchar                   unsigned char
  31      =1  #define uint                    unsigned int
  32      =1  #define ulong                   unsigned long
  33      =1  
  34      =1  #define FALSE                   0
  35      =1  #define TRUE                    1
  36      =1  
  37      =1  
  38      =1  #define INFO_CNT                23
  39      =1  
  40      =1  
  41      =1  // Ports
  42      =1  
  43      =1  #define ON                      1
  44      =1  #define OFF                     0
  45      =1  
  46      =1  // Configuration for the reader timeout counter 
  47      =1  // Timer 2 (modify OSC_FREQ if another crystal frequency is used)
  48      =1  #define OSC_FREQ                22118400L
  49      =1                                  // *note: when using the 8051RD2 (in 6 clk instructiion cycle,
  50      =1                                  //        use a crystal that is half the value state in OSC_FREQ.
  51      =1                                  //        Example: for OSC_FREQ=22118400, use 11059000 crystal.
  52      =1  
  53      =1  #define BAUD_CNT                                7
  54      =1  
  55      =1  #define BAUD_115200                             256 - (OSC_FREQ/192L)/115200L   // 255
  56      =1  #define BAUD_57600                              256 - (OSC_FREQ/192L)/57600L    // 254
  57      =1  #define BAUD_38400                              256 - (OSC_FREQ/192L)/38400L    // 253
  58      =1  #define BAUD_28800                              256 - (OSC_FREQ/192L)/28800L    // 252
  59      =1  #define BAUD_19200                              256 - (OSC_FREQ/192L)/19200L    // 250
  60      =1  #define BAUD_14400                              256 - (OSC_FREQ/192L)/14400L    // 248
  61      =1  #define BAUD_9600                               256 - (OSC_FREQ/192L)/9600L     // 244
  62      =1  
  63      =1  #ifdef __SRC
           =1  uchar code BaudRateTable[BAUD_CNT] = {
           =1                                                 BAUD_115200,
           =1                                                 BAUD_57600,
           =1                                                 BAUD_38400,
           =1                                                 BAUD_28800,
           =1                                                 BAUD_19200,
           =1                                                 BAUD_14400,
           =1                                                 BAUD_9600
           =1                                       };
           =1 #else
  74      =1   extern uchar code BaudRateTable[BAUD_CNT];
  75      =1  #endif
  76      =1  
C51 COMPILER V7.20   RDIO                                                                  12/08/2004 10:59:27 PAGE 5   

  77      =1  #ifdef __SRC
           =1  uint code CmpTable[BAUD_CNT + 1]   = {
           =1                                                 0x078,
           =1                                                 0x095,
           =1                                                 0x129,
           =1                                                 0x1BD,
           =1                                                 0x252,
           =1                                                 0x37A,
           =1                                                 0x4A3,
           =1                                                 0x6F4
           =1                                       };
           =1 #else
  89      =1   extern uint code CmpTable[BAUD_CNT + 1];
  90      =1  #endif
  91      =1  
  92      =1  // Serial Protocol
  93      =1  
  94      =1  #define SOH                     0x01    // Start of header
  95      =1  #define STX                     0x02    // Start of text
  96      =1  #define ETX                     0x03    // End of text
  97      =1  #define ENQ                     0x05    // Enquire
  98      =1  #define ACK                     0x06    // Acknowledge
  99      =1  #define DLE                     0x10    // Data link escape
 100      =1  #define NAK                     0x15    // Not acknowledge
 101      =1  
 102      =1  
 103      =1  #define MAXREPCNT               2
 104      =1  

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91国在线观看| 欧美亚洲国产怡红院影院| 99久久国产免费看| 欧美高清一级片在线| 欧美国产综合色视频| 男人操女人的视频在线观看欧美| 国产福利不卡视频| 欧美一区二区在线免费观看| 综合在线观看色| 国产精品资源网| 欧美电影免费提供在线观看| 亚洲午夜一区二区三区| jlzzjlzz欧美大全| 国产欧美综合在线观看第十页| 亚洲成人激情av| 色欲综合视频天天天| 国产性天天综合网| 精品在线播放免费| 日韩午夜精品电影| 日韩国产在线观看| 欧美日本国产视频| 亚洲午夜在线视频| 91豆麻精品91久久久久久| 亚洲欧洲精品一区二区精品久久久| 美女网站一区二区| 欧美一级在线视频| 日韩一区精品字幕| 欧美另类z0zxhd电影| 亚洲第一福利一区| 欧美午夜片在线看| 亚洲一区二区三区影院| aaa亚洲精品| 亚洲婷婷综合色高清在线| 不卡视频在线观看| 亚洲欧洲日产国码二区| 9l国产精品久久久久麻豆| 国产精品乱人伦| 成人国产电影网| 最新中文字幕一区二区三区| 不卡视频免费播放| 亚洲视频一二区| 在线亚洲一区观看| 亚洲成人中文在线| 欧美一区二区三区视频在线| 麻豆精品在线视频| 久久久亚洲精品一区二区三区 | 日韩欧美国产综合| 麻豆国产一区二区| 久久精品人人爽人人爽| 成人久久视频在线观看| 亚洲天堂福利av| 欧美日韩一级片在线观看| 视频一区欧美精品| 久久亚洲精品小早川怜子| 成人午夜伦理影院| 亚洲自拍另类综合| 欧美成人a∨高清免费观看| 国产一区二区视频在线| 中文字幕日韩一区二区| 欧洲av在线精品| 日本欧美在线看| 中文一区在线播放| 欧美三级一区二区| 激情综合网av| 亚洲欧美成人一区二区三区| 欧美日韩久久一区| 国产精品亚洲午夜一区二区三区 | 国产sm精品调教视频网站| 国产精品女人毛片| 欧美午夜精品一区二区三区| 免费成人深夜小野草| 欧美激情一区三区| 欧美欧美欧美欧美| 国产99精品国产| 亚洲成人动漫在线免费观看| 国产精品天干天干在线综合| 一本在线高清不卡dvd| 日韩av高清在线观看| 国产精品久久毛片a| 91精品久久久久久久99蜜桃| 成人小视频在线观看| 午夜精品一区二区三区三上悠亚 | 欧美日韩亚洲高清一区二区| 国产在线播精品第三| 亚洲一区二区三区在线| 国产拍欧美日韩视频二区| 91精品国产手机| 色婷婷激情综合| 国产成人免费xxxxxxxx| 亚洲成av人影院| 18涩涩午夜精品.www| 精品久久五月天| 欧美精品久久一区二区三区| av电影在线不卡| 国产剧情一区在线| 蜜桃传媒麻豆第一区在线观看| 一区二区三区四区激情| 亚洲国产精品v| 精品黑人一区二区三区久久| 欧美日韩情趣电影| 91在线国内视频| 成人一区二区三区中文字幕| 美国av一区二区| 日本成人在线不卡视频| 亚洲国产精品欧美一二99| 中文字幕永久在线不卡| 国产精品视频九色porn| 久久久久久久综合| 精品成人一区二区三区| 欧美一区二区成人6969| 欧美一区二区在线播放| 欧美日韩国产一区| 欧美视频在线播放| 欧美在线不卡一区| 欧美午夜一区二区三区| 日本二三区不卡| 色av综合在线| 欧洲一区在线电影| 色菇凉天天综合网| 欧美亚洲禁片免费| 欧美放荡的少妇| 欧美一区二区三区日韩| 91精品国产综合久久久久久漫画 | 欧美日韩精品免费| 欧美日韩不卡在线| 久久女同性恋中文字幕| 日韩欧美黄色影院| 久久这里只精品最新地址| 久久精品夜色噜噜亚洲aⅴ| 26uuu精品一区二区三区四区在线| 欧美不卡在线视频| 国产欧美日韩卡一| 中文字幕一区二区三区乱码在线| 国产精品美女久久久久aⅴ| 国产精品免费视频网站| 亚洲三级在线免费| 三级一区在线视频先锋| 久久99蜜桃精品| 成人国产在线观看| 欧美日韩一二区| 精品国产91九色蝌蚪| 国产精品久线在线观看| 一区二区三区在线免费观看| 五月婷婷另类国产| 国产精品白丝jk白祙喷水网站| 成人av一区二区三区| 在线观看免费成人| 精品久久久久久久一区二区蜜臀| 久久精品日产第一区二区三区高清版| 国产精品久久久久一区| 婷婷丁香激情综合| 国产一区二区影院| 91久久人澡人人添人人爽欧美| 8x福利精品第一导航| 国产人成一区二区三区影院| 亚洲少妇30p| 精品一区二区在线观看| 97se狠狠狠综合亚洲狠狠| 91麻豆精品91久久久久久清纯| 久久久久99精品一区| 一卡二卡三卡日韩欧美| 国产乱一区二区| 欧美午夜精品一区二区蜜桃| xvideos.蜜桃一区二区| 一区二区在线看| 国产成人午夜高潮毛片| 欧美日韩精品欧美日韩精品一 | 欧美日韩免费电影| 久久精品日韩一区二区三区| 午夜视频在线观看一区| 国产真实乱子伦精品视频| 色av成人天堂桃色av| 中文字幕二三区不卡| 蜜臀av性久久久久蜜臀aⅴ| 91亚洲国产成人精品一区二区三| 欧美一区二区三区视频| 亚洲国产精品欧美一二99| av成人免费在线观看| 国产亚洲精品aa午夜观看| 美女网站色91| 91精品国产综合久久国产大片| 亚洲欧美激情插| av成人免费在线观看| 久久精品一区八戒影视| 精品在线一区二区三区| 欧美一级欧美一级在线播放| 亚洲制服丝袜在线| 色成年激情久久综合| 亚洲人成人一区二区在线观看 | 精品蜜桃在线看| 午夜精品福利在线| 欧亚一区二区三区| 一区二区三区加勒比av| 99国产一区二区三精品乱码| 欧美国产精品劲爆| 成人动漫精品一区二区| 国产欧美日韩三区| 成人av片在线观看| 国产精品大尺度| 色综合亚洲欧洲|