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

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

?? m500a.h

?? 一個射頻卡開發板 iso4443規范 學習智能卡的好資料
?? H
?? 第 1 頁 / 共 3 頁
字號:
///////////////////////////////////////////////////////////////////////////////
//    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: 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩欧美视频在线| 久久久亚洲午夜电影| 国产亚洲午夜高清国产拍精品| 一区二区三区在线观看视频| 91小视频在线| 国产精品大尺度| 在线免费视频一区二区| 亚洲婷婷综合久久一本伊一区| www.一区二区| 亚洲色图视频网| 国产亚洲欧美一级| 91麻豆国产福利精品| 亚洲欧美另类久久久精品2019| 一本大道综合伊人精品热热| 亚洲免费在线观看| 欧美精品第1页| 国产剧情一区在线| 亚洲精品伦理在线| 欧美一区二区大片| 国产成人综合在线播放| 亚洲女人****多毛耸耸8| 欧美日韩国产系列| 欧美一区二区三区色| 高清成人在线观看| 午夜精品影院在线观看| 欧美电视剧在线观看完整版| 国产白丝网站精品污在线入口| 中文字幕一区二区三区av| 日韩精品自拍偷拍| 欧美体内she精视频| 色哟哟一区二区在线观看| 国产高清不卡一区| 日本不卡高清视频| 午夜国产精品一区| 亚洲人成精品久久久久久 | 久久综合一区二区| 欧美日免费三级在线| 99精品视频中文字幕| 99在线精品免费| 成人三级伦理片| 激情欧美一区二区| 精品亚洲aⅴ乱码一区二区三区| 亚洲综合视频网| 五月婷婷欧美视频| 亚洲一区二区3| 一区二区三区日韩| 亚洲一区二区三区四区五区黄| 亚洲黄色片在线观看| 午夜精品爽啪视频| 激情综合色综合久久综合| 精品一区二区免费| 亚洲成年人影院| 婷婷激情综合网| 蓝色福利精品导航| 卡一卡二国产精品| 免费日韩伦理电影| 精品一区二区三区日韩| 蜜桃视频在线观看一区二区| 日韩精品一卡二卡三卡四卡无卡| 国产精品盗摄一区二区三区| 亚洲综合av网| 亚洲成人www| 蜜桃视频一区二区三区在线观看| 99久久精品免费观看| 日本伦理一区二区| 欧美区一区二区三区| 久久久久国产精品免费免费搜索| 久久精品一区二区三区av| 亚洲欧洲精品成人久久奇米网| 亚洲精品视频在线| 蜜桃久久久久久| www.欧美.com| 精品国产一区二区三区不卡 | 精品国产一区久久| 国产精品色哟哟| 亚洲午夜一区二区| 国产成人综合视频| 日韩欧美亚洲一区二区| 亚洲一区二区美女| 国产一区二区三区精品视频| 欧美日韩综合色| 国产精品视频yy9299一区| 偷拍日韩校园综合在线| 成人伦理片在线| 久久久九九九九| 奇米四色…亚洲| 91麻豆123| 国产精品成人一区二区三区夜夜夜| 青青草国产成人99久久| 这里是久久伊人| 亚洲国产成人av| 欧洲亚洲国产日韩| 亚洲aⅴ怡春院| 日韩一区二区视频| 青青草97国产精品免费观看 | 日韩三级免费观看| 婷婷中文字幕综合| 欧美日韩免费视频| 日本伊人色综合网| 国产日产欧美一区二区视频| 丁香激情综合五月| 国产精品福利电影一区二区三区四区| 国产91露脸合集magnet| 亚洲素人一区二区| 91精品国产综合久久福利软件| 亚洲国产精品久久久男人的天堂| 欧美日韩成人一区| 国产成人免费xxxxxxxx| 中文字幕综合网| 日韩欧美一区在线| 成人激情视频网站| 婷婷亚洲久悠悠色悠在线播放| 久久综合中文字幕| 欧美日韩一本到| 国产一区999| 亚洲va国产天堂va久久en| 日韩免费观看高清完整版 | 91久久精品一区二区| 精彩视频一区二区| 一区二区欧美精品| 国产日韩欧美一区二区三区乱码 | 久久综合狠狠综合久久综合88| av在线不卡观看免费观看| 三级成人在线视频| 亚洲综合在线免费观看| 国产精品美女一区二区三区 | 一区二区三区在线免费播放| 中文字幕一区二区在线观看| 91精品国产欧美一区二区| 日本电影欧美片| 色哦色哦哦色天天综合| av不卡在线观看| 国产传媒日韩欧美成人| 韩国一区二区三区| 91在线云播放| 国产精品亚洲一区二区三区在线| 亚洲成年人网站在线观看| 亚洲不卡在线观看| 亚洲精品videosex极品| 精品无码三级在线观看视频| 奇米777欧美一区二区| 日韩国产在线观看一区| 日韩在线一区二区| 久久电影网站中文字幕| 成人免费视频视频| 国v精品久久久网| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 欧美日韩国产免费| 日韩一区二区高清| 亚洲国产精品高清| 亚洲日本丝袜连裤袜办公室| 亚洲一区在线观看网站| 天使萌一区二区三区免费观看| 亚洲午夜久久久久中文字幕久| 亚洲欧洲三级电影| 五月婷婷久久综合| 国产·精品毛片| 91麻豆精品国产91久久久久久 | 中文一区二区在线观看 | 狠狠网亚洲精品| 91日韩在线专区| 日韩免费高清电影| 亚洲一区在线播放| 国产在线日韩欧美| 欧美精品xxxxbbbb| 国产精品免费人成网站| 精品一区二区三区在线观看国产 | 欧美xxxxx牲另类人与| 精品国产制服丝袜高跟| 亚洲综合色丁香婷婷六月图片| 日韩av一二三| 欧美亚洲综合一区| 亚洲欧美在线观看| 成人黄色电影在线| 久久久www成人免费毛片麻豆| 一区二区免费视频| 91免费国产在线| 中文字幕在线不卡一区| 国产精品一区一区三区| 日韩欧美电影在线| 国产在线精品一区在线观看麻豆| 久久这里都是精品| 黄色精品一二区| 国产三级一区二区三区| 午夜精品福利久久久| 91免费看片在线观看| 亚洲精品videosex极品| 欧美高清视频不卡网| 亚洲成人资源在线| 91丨porny丨中文| 久久精品视频在线看| 国产精品77777| 国产精品天干天干在线综合| 91论坛在线播放| 亚洲va国产天堂va久久en| 精品国产乱码久久久久久闺蜜| 精品中文av资源站在线观看| 亚洲国产激情av| 欧美日韩一区二区三区免费看| 一区二区三区美女|