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

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? m500a.h

?? Keil 51下的倒計(jì)時(shí)
?? H
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
///////////////////////////////////////////////////////////////////////////////
//    Copyright (c), Philips Semiconductors Gratkorn
//
//                     (C)PHILIPS Electronics N.V. 2000
//       All rights are reserved. Reproduction in whole or in part is 
//      prohibited without the written consent of the copyright owner.
//  Philips reserves the right to make changes without notice at any time.
// Philips makes no warranty, expressed, implied or statutory, including but
// not limited to any implied warranty of merchantibility or fitness for any
//particular purpose, or that the use will not infringe any third party patent,
// copyright or trademark. Philips must not be liable for any loss or damage
//                          arising from its use.
///////////////////////////////////////////////////////////////////////////////
//
// Projekt         : M500
// Files           : M500A.h M500A.c
// Created         : 01.04.00
//
// COMMENT: 
//	         This header file can be used either for a uC environment or for 
//           Win32 DLL. Therefore the header MfOsDefs.h is included. Depending 
//           on the environment different definitions are used for "FCT_PREF". 
//           For the microcontroller system, all functions have the return type
//          "char". For the Win32 DLL the return types are changed to "long". 
//           Further more the DLL functions need to be exported, so the 
//           corresponding declarations are made. 
// MODIFICATIONS:
// 01.04.00  HB  first issue
///////////////////////////////////////////////////////////////////////////////
#ifndef M500A_H
#define M500A_H

#ifdef __cplusplus
extern "C"
{
#endif

// General Include File for serveral defines concerning conditional library
// compilation and microcontroller usage
//#include <MfOsDefs.h>


// P I C C - C O M M A N D S
// commands which are handled by the tag
// Each tag command is written to the reader IC and transfered via RF
#define PICC_REQSTD        0x26			// request idle
#define PICC_REQALL        0x52			// request all
#define PICC_ANTICOLL1     0x93			// anticollision level 1
#define PICC_ANTICOLL2     0x95			// anticollision level 2
#define PICC_ANTICOLL3     0x97			// anticollision level 3
#define PICC_AUTHENT1A     0x60			// authentication step 1
#define PICC_AUTHENT1B     0x61			// authentication step 2
#define PICC_READ          0x30			// read block
#define PICC_WRITE         0xA0			// write block
#define PICC_DECREMENT     0xC0         	// decrement value
#define PICC_INCREMENT     0xC1         	// increment value
#define PICC_RESTORE       0xC2         	// restore command code
#define PICC_TRANSFER      0xB0         	// transfer command code
#define PICC_HALT          0x50			// halt

// Mifare Error Codes
// Each function returns a status value, which corresponds to the
// mifare error codes. 
#define MI_OK                           0
#define MI_CHK_OK                       0
#define MI_CRC_ZERO                     0

#define MI_CRC_NOTZERO                  1

#define MI_NOTAGERR                     (-1)
#define MI_CHK_FAILED                   (-1)
#define MI_CRCERR                       (-2)
#define MI_CHK_COMPERR                  (-2)
#define MI_EMPTY                        (-3)
#define MI_AUTHERR                      (-4)
#define MI_PARITYERR                    (-5)
#define MI_CODEERR                      (-6)

#define MI_SERNRERR                     (-8)
#define MI_KEYERR                       (-9)
#define MI_NOTAUTHERR                   (-10)
#define MI_BITCOUNTERR                  (-11)
#define MI_BYTECOUNTERR                 (-12)
#define MI_IDLE                         (-13)
#define MI_TRANSERR                     (-14)
#define MI_WRITEERR                     (-15)
#define MI_INCRERR                      (-16)
#define MI_DECRERR                      (-17)
#define MI_READERR                      (-18)
#define MI_OVFLERR                      (-19)
#define MI_POLLING                      (-20)
#define MI_FRAMINGERR                   (-21)
#define MI_ACCESSERR                    (-22)
#define MI_UNKNOWN_COMMAND              (-23)
#define MI_COLLERR                      (-24)
#define MI_RESETERR                     (-25)
#define MI_INITERR                      (-25)
#define MI_INTERFACEERR                 (-26)
#define MI_ACCESSTIMEOUT                (-27)
#define MI_NOBITWISEANTICOLL            (-28)
#define MI_QUIT                         (-30)

#define MI_RECBUF_OVERFLOW              (-50) 
#define MI_SENDBYTENR                   (-51)
	
#define MI_SENDBUF_OVERFLOW             (-53)
#define MI_BAUDRATE_NOT_SUPPORTED       (-54)
#define MI_SAME_BAUDRATE_REQUIRED       (-55)

#define MI_WRONG_PARAMETER_VALUE        (-60)

#define MI_BREAK                        (-99)
#define MI_NY_IMPLEMENTED               (-100)
#define MI_NO_MFRC                      (-101)
#define MI_MFRC_NOTAUTH                 (-102)
#define MI_WRONG_DES_MODE               (-103)
#define MI_HOST_AUTH_FAILED             (-104)

#define MI_WRONG_LOAD_MODE              (-106)
#define MI_WRONG_DESKEY                 (-107)
#define MI_MKLOAD_FAILED                (-108)
#define MI_FIFOERR                      (-109)
#define MI_WRONG_ADDR                   (-110)
#define MI_DESKEYLOAD_FAILED            (-111)

#define MI_WRONG_SEL_CNT                (-114)

#define MI_WRONG_TEST_MODE              (-117)
#define MI_TEST_FAILED                  (-118)
#define MI_TOC_ERROR                    (-119)
#define MI_COMM_ABORT                   (-120)
#define MI_INVALID_BASE                 (-121)
#define MI_MFRC_RESET                   (-122)
#define MI_WRONG_VALUE                  (-123)
#define MI_VALERR                       (-124)

// _____________________________________________________________________________
//
//  FUNCTION: M500PcdReset
//        IN: -
//       OUT: -
//    RETURN: MI_OK
//            MI_RESETERR
//            MI_INTERFACEERR
//   COMMENT: This function initiates a reset of the reader IC. Note, that
//            the reset pin of the reader has to be connected to the 
//            expected port pin of the microcontroller.
//
char M500PcdReset(void);

// _____________________________________________________________________________
//
//  FUNCTION: M500PcdConfig
//        IN: -
//       OUT: -
//    RETURN: MI_OK
//            MI_RESETERR
//            MI_INTERFACEERR
//   COMMENT: Configuration of the reader IC. This function has to be called
//            before the first data is written to the reader. A reset 
//            is initiated and several registers are set.
//
char M500PcdConfig(void);

// _____________________________________________________________________________
//
//  FUNCTION: M500PcdInOutSlaveConfig
//        IN: -
//       OUT: -
//    RETURN: MI_OK
//            MI_UNKNOWN_COMMAND
//            MI_ACCESSTIMEOUT
//   COMMENT: The reader IC is able to communicate with another reader IC
//            via the digital "mifare in" and "mifare out" interface. Therefore
//            one reader acts as a master and sends commands via "mifare out".
//            The other reader ic acts as a slave and receives data via
//            "mifare in" interface. The slave module can not be initialised
//            by the microcontroller because only the "mifare in/out"
//            interface is connected.For this reason, the slave module has 
//            to be initialised once. For that the appropriate parameter 
//            settings are written to 
//            the E2PROM. After POR (power on reset) the IC reads these settings
//            and initialises automatically as slave.
//
char M500PcdInOutSlaveConfig(void);

// _____________________________________________________________________________
//
//  FUNCTION: M500PcdInOutMasterConfig
//        IN: -
//       OUT: -
//    RETURN: MI_OK
//   COMMENT: Corresponding to the slave configuration routine. This function
//            initialises the master reader IC. The function is additional
//            to the standard configuration "M500PcdConfig".
//
char M500PcdInOutMasterConfig(void);

// _____________________________________________________________________________
//
//  FUNCTION: MfPcdLoadMk
//        IN: kl_mode     PICC_AUTHENT1A or PICC_AUTHENT1B 
//                              selects master key A or master key B 
//                        KS0, KS1, KS2 selects one of the three master key sets.
//            key_addr    spec. the key RAM address to which the data shall be 
//                        written (0..15)
//            mk          pointer to a 6 byte authentication key
//       OUT: -
//    RETURN: MI_OK
//   COMMENT: In order to be "calling compatibel" to former libraries, this 
//            function enables to store all keys in the microcontroller.
//            When calling the authentication function "M500PiccAuth", 
//            these keys can be used.
//            Note: This concept supports backward compatibility for the 
//            application software, but does not fulfill the same security 
//            level because keys are in this case stored autside the secure key 
//            memory of the MF RC500.
//
char M500PcdLoadMk(unsigned char  kl_mode, 
                   unsigned char  key_addr, 
                   unsigned char  *mk);
 
// _____________________________________________________________________________
//
//  FUNCTION: M500PcdLoadKeyE2
//        IN: key_type      PICC_AUTHENT1A or PICC_AUTHENT1B 
//            sector        key sector number, on which the key should be stored
//                          values from 0 to 15 are valid
//            uncoded_keys  6 bytes key 
//       OUT: -
//    RETURN: 
//   COMMENT: This function stores the keys in the reader internal E2PROM.
//            These keys are available for the function M500PiccAuthE2.
//                     
char M500PcdLoadKeyE2(unsigned char key_type,
                      unsigned char sector,
                      unsigned char *uncoded_keys); 

// _____________________________________________________________________________
//
//  FUNCTION: PcdReadE2
//        IN: startaddr     2 bytes of starting address of the E2PROM 
//            length        number of byte of data to be read
//       OUT: *_data        buffer for the read bytes 
//    RETURN: 

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区欧美日韩| 国产一区在线视频| 成人午夜在线播放| 欧美精品一区视频| 久久国产精品一区二区| 欧美一区二区三区播放老司机| 亚洲你懂的在线视频| 成人精品免费视频| **性色生活片久久毛片| 一本色道综合亚洲| 亚洲精品欧美专区| 日本高清不卡在线观看| 一区二区在线观看不卡| 日本韩国精品一区二区在线观看| ww亚洲ww在线观看国产| 国产精品一区二区你懂的| 91精品国产色综合久久不卡电影| 日韩av成人高清| 99热精品一区二区| 亚洲综合视频在线观看| 欧美日韩国产经典色站一区二区三区| 亚洲高清免费视频| 欧美日本视频在线| 免费日本视频一区| 国产无人区一区二区三区| 国产一区二区三区国产| 亚洲国产精品黑人久久久| 99麻豆久久久国产精品免费优播| 亚洲人成网站在线| 欧美二区乱c少妇| 美女看a上一区| 国产日产亚洲精品系列| 一本一道久久a久久精品| 亚洲va天堂va国产va久| 久久先锋影音av| 99国产精品久久久久久久久久| 亚洲制服丝袜一区| 欧美mv日韩mv亚洲| 狠狠色伊人亚洲综合成人| 日本一区二区三区四区在线视频| 91黄色在线观看| 美国毛片一区二区三区| 亚洲女厕所小便bbb| 国产三级欧美三级日产三级99 | 色婷婷精品久久二区二区蜜臂av| 日韩av在线发布| 亚洲伊人色欲综合网| 国产精品蜜臀av| 精品国产一二三| 欧美老年两性高潮| 色欧美片视频在线观看在线视频| 国产伦精品一区二区三区免费 | av电影在线观看一区| 久久精品99久久久| 五月天久久比比资源色| 亚洲你懂的在线视频| 欧美国产精品劲爆| 久久一区二区视频| 日韩视频免费观看高清完整版| 欧美日韩一区二区三区在线看 | 欧美亚洲动漫制服丝袜| 成人短视频下载| 粉嫩av亚洲一区二区图片| 久久99久久99| 蜜桃视频在线一区| 亚洲成在人线在线播放| 亚洲线精品一区二区三区八戒| 亚洲色图欧美在线| 一色桃子久久精品亚洲| 欧美国产视频在线| 国产欧美精品一区| 国产精品人成在线观看免费| 久久精品亚洲乱码伦伦中文| 精品伦理精品一区| 欧美大黄免费观看| 欧美大白屁股肥臀xxxxxx| 日韩视频在线一区二区| 精品毛片乱码1区2区3区| 26uuu另类欧美| 久久综合久久综合久久综合| wwww国产精品欧美| 国产色产综合产在线视频| 国产精品全国免费观看高清| 国产精品麻豆99久久久久久| 亚洲欧洲美洲综合色网| 亚洲精品成人精品456| 亚洲欧美日本韩国| 亚洲成人福利片| 免费视频一区二区| 国产精品一区二区不卡| 国产91富婆露脸刺激对白| 99久久婷婷国产| 91黄视频在线| 日韩欧美国产一区二区在线播放 | 精品婷婷伊人一区三区三| 欧美区视频在线观看| 日韩视频一区二区三区在线播放| 欧美大片在线观看| 国产精品午夜久久| 亚洲狠狠丁香婷婷综合久久久| 午夜精品久久久久久久久久 | 91亚洲男人天堂| 欧美日韩国产一二三| 欧美不卡一区二区三区四区| 国产农村妇女毛片精品久久麻豆| 一区二区三区在线视频免费观看| 日韩高清一区在线| 成人黄页在线观看| 在线播放欧美女士性生活| 久久久久国产精品麻豆ai换脸| 综合电影一区二区三区| 日韩激情视频在线观看| 成人中文字幕合集| 欧美色图第一页| 久久综合久久鬼色| 亚洲美女一区二区三区| 美女在线观看视频一区二区| 国产99久久久久| 欧美日韩aaaaaa| 亚洲欧洲日韩女同| 久久99精品久久只有精品| 91性感美女视频| 欧美精品一区二区在线观看| 一区2区3区在线看| 成人自拍视频在线观看| 欧美一级高清片| 亚洲精品成人天堂一二三| 国产精品白丝jk黑袜喷水| 欧美性猛片xxxx免费看久爱| 久久精品一区蜜桃臀影院| 亚洲电影欧美电影有声小说| 成人av电影在线| 久久这里只有精品首页| 日本一区中文字幕| 99久久er热在这里只有精品66| 日韩亚洲欧美在线| 亚洲国产精品麻豆| 欧美日精品一区视频| 国产清纯白嫩初高生在线观看91 | 国产精品国产三级国产有无不卡| 天天av天天翘天天综合网色鬼国产 | 粉嫩绯色av一区二区在线观看| 91精品在线一区二区| 一个色综合网站| 成人午夜激情在线| 久久综合中文字幕| 久草在线在线精品观看| 在线不卡一区二区| 午夜成人免费视频| 色婷婷亚洲综合| ...中文天堂在线一区| 成人激情午夜影院| 中文字幕精品一区二区三区精品| 九一久久久久久| 精品日产卡一卡二卡麻豆| 日本视频在线一区| 在线电影国产精品| 五月婷婷色综合| 欧美区视频在线观看| 亚洲va欧美va人人爽| 欧美性色黄大片| 亚洲第一成年网| 5858s免费视频成人| 午夜精品福利一区二区三区av | 国产主播一区二区三区| 欧美刺激脚交jootjob| 老司机午夜精品| 精品国产精品一区二区夜夜嗨| 美国av一区二区| 欧美xxxxx牲另类人与| 久久成人免费网站| 久久久久高清精品| 成人激情综合网站| 亚洲精品日韩一| 欧美日免费三级在线| 日本视频一区二区三区| 精品欧美一区二区久久| 寂寞少妇一区二区三区| 国产婷婷色一区二区三区四区| 大桥未久av一区二区三区中文| 日韩一区欧美小说| 在线视频你懂得一区| 午夜激情久久久| 久久综合给合久久狠狠狠97色69| 国产成人免费在线观看| 国产精品久久久久7777按摩| 色网站国产精品| 日日夜夜免费精品视频| ww亚洲ww在线观看国产| 成人精品免费看| 亚洲一二三四区不卡| 日韩片之四级片| 不卡视频免费播放| 粉嫩aⅴ一区二区三区四区| 中文字幕高清不卡| 欧美午夜精品一区| 久久99久久精品| 18欧美乱大交hd1984| 欧美日韩国产123区| 精品无码三级在线观看视频|