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

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

?? m500a.h

?? MRF500源碼,讀寫射頻卡!快點下!!絕對精彩
?? H
?? 第 1 頁 / 共 3 頁
字號:
//   COMMENT: This functions reads out data stored in the MF RC500's EERPOM   
//	      beginning ataddress startaddr. The number of bytes to be read are  
//	      given by  the variablelength and the read out data are stored in  
//            the provided data buffer.
//
char PcdReadE2(unsigned short startaddr,  
               unsigned char length,
               unsigned char* _data);

// _____________________________________________________________________________
//
//  FUNCTION: PcdWriteE2
//        IN: startaddr     2 bytes of starting address of the E2PROM 
//            length        number of byte of data to be write
//       OUT: *_data        buffer for the write bytes 
//    RETURN: 
//   COMMENT: This function writes a given length of data bytes stored in the data  
// 	      buffer to the reader IC's EEPROM beginning at address <em>startaddr</em>. 
//
char PcdWriteE2(unsigned short startaddr,
                unsigned char length,
                unsigned char* _data);

// _____________________________________________________________________________
//
//  FUNCTION: M500PcdMfOutSelect
//        IN: type      The signal to be appear at MfOut pin 
//
//		000: Constant Low
//		001: Constant High
//		010: Modulation signal from the internal coder, Miller coded
//		011: Serial data stream, not Miller coded
//		100: Output signal of the energy carrier demodulator
//		101: Output signal of the subcarrier demodulator
//		110: RFU
//		111: RFU
//       OUT: -
//    RETURN: 
//   COMMENT: This function config the output of the MfOut pin
//                     
char M500PcdMfOutSelect(unsigned char type);
                     
// _____________________________________________________________________________
//
//  FUNCTION: M500PcdWriteRegister
//        IN: Reg      	Register address
//	      value	value to be written	 
//       OUT: -
//    RETURN: 
//   COMMENT: This function write the value to the RC500 register
//                     
char M500PcdWriteRegister(unsigned char Reg, unsigned char value);

// _____________________________________________________________________________
//
//  FUNCTION: M500PcdReadRegister
//        IN: Reg      	Register address 
//       OUT: -
//    RETURN: value	value of register
//   COMMENT: This function read the value of the RC500 register
//                     
char M500PcdReadRegister(unsigned char Reg);

// _____________________________________________________________________________
//
//  FUNCTION: M500PiccRequest
//        IN: rq_code  can take the following values
//                     ALL   Request Code 52hex is sent out to get also a 
//                           response from cards in halt state.
//                     IDLE  Request Code 26hex is sent out to get a response 
//                           only from cards that are not in halt state.
//                     Note: Future cards will work also with other request 
//                           codes.
//       OUT: atq      16 bit ATQ (answer to request). 
//                     atq[0] .. LSByte
//                     atq[1] .. MSByte
//    RETURN: 
//   COMMENT: This function accesses the reader module and activates sending the
//            REQ code to the MIFARE card. After sending the command to the card 
//            the function waits for the card's answer.
//
//            Please note, that the actual work is done by the function
//            M500PiccCommonRequest, because of the interface behaviour between
//            Mifare and ISO 14443
//
//            The Card replies the ATQ.
//
//            ATQ:
//
//                    +----+----+----+----+----+----+----+----+
//            LSByte  | b8 | b7 | b6 | b5 | b4 | b3 | b2 | b1 |
//                    +----+----+----+----+----+----+----+----+
//                    |         |    |                        |
//                    | UID size| RFU|   bit-frame anticoll   |
//                    |         |    |                        |
//                    | 00..std |    |  (if any bit set .. Y, |
//                    | 01..dbl |    |             else .. N) |
//                    | 10..tpl |    |                        |
//
//
//
//                    +----+----+----+----+----+----+----+----+
//            MSByte  | b8 | b7 | b6 | b5 | b4 | b3 | b2 | b1 |
//                    +----+----+----+----+----+----+----+----+
//                    |                                       |
//                    |                 RFU                   |
//                    |                                       |
//
char M500PiccRequest(unsigned char req_code, 
                       unsigned char *atq);
// _____________________________________________________________________________
//
//  FUNCTION: M500PiccCommonRequest
//        IN: rq_code  can take the following values
//                     ALL   Request Code 52hex is sent out to get also a 
//                           response from cards in halt state.
//                     IDLE  Request Code 26hex is sent out to get a response 
//                           only from cards that are not in halt state.
//                     Note: Future cards will work also with other request 
//                           codes.
//       OUT: atq      16 bit ATQ (answer to request). 
//                     atq[0] .. LSByte
//                     atq[1] .. MSByte
//    RETURN: 
//   COMMENT: Please note, that this function does the actual work which is 
//            described in function M500PiccRequest.
//
char M500PiccCommonRequest(unsigned char req_code, 
                             unsigned char *atq);  

// _____________________________________________________________________________
//
//  FUNCTION: M500PiccAnticoll
//        IN: bcnt       Number of snr-bits that are known (default value is 0)
//            *snr       4 bytes serial number (number of bits, which
//                       are known and indicated by "bcnt"
//       OUT: *snr       4 bytes serial number, determined by the anticollision
//                       sequence
//    RETURN: 
//   COMMENT: The actual anticollision loop is done by the function
//            "M500PiccCascAnticoll". Which is called with select_code 0x93.
//
char M500PiccAnticoll (unsigned char bcnt,
                         unsigned char *snr);

// _____________________________________________________________________________
//
//  FUNCTION: M500PiccCascAnticoll
//        IN: select_code    0x93  standard select code
//                           0x95  cascaded level 1
//                           0x97  cascaded level 2
//            bcnt       Number of snr-bits that are known (default value is 0)
//            *snr       4 bytes serial number (number of bits, which
//                       are known and indicated by "bcnt"
//       OUT: *snr       4 bytes serial number, determined by the anticollision
//                       sequence
//    RETURN: 
//   COMMENT: Corresponding to the specification in ISO 14443, this function
//            is able to handle extended serial numbers. Therefore more than
//            one select_code is possible. The function transmitts a 
//            select code and all ready tags are responding. The highest
//            serial number within all responding tags will be returned by 
//            this function.
//                     
char M500PiccCascAnticoll (unsigned char select_code,
                             unsigned char bcnt,
                             unsigned char *snr);                     

// _____________________________________________________________________________
//
//  FUNCTION: M500PiccSelect
//        IN: *snr      4 bytes serial number
//       OUT: *sak      1 byte select acknowledge
//			xxxxx1xx: Cascade bit set: UID not complete
//			xx1xx0xx: UID complete,
//				  PICC compliant with ISO/IEC 14443-4
//			xx0xx0xx: UID complete,
//				  PICC not compliant with ISO/IEC 14443-4
//    RETURN: 
//   COMMENT: The actual select procedure is done by the function
//            "M500PiccCascSelect". Which is called with select_code 0x93.
//             
char M500PiccSelect(unsigned char *snr, 
                      unsigned char *sak);

// _____________________________________________________________________________
//
//  FUNCTION: M500PiccCascSelect
//        IN: select_code 
//            *snr          4 bytes serial number
//       OUT: *sak          1 byte select acknowledge
//    RETURN: 
//   COMMENT: Selects a UID level, depending on select code.
//            Returns Select Acknowledge byte.
//
//            Corresponding to the specification in ISO 14443, this function
//            is able to handle extended serial numbers. Therefore more than
//            one select_code is possible.
//
//            Select codes:
//
//            +----+----+----+----+----+----+----+----+
//            | b8 | b7 | b6 | b5 | b4 | b3 | b2 | b1 |
//            +-|--+-|--+-|--+-|--+----+----+----+-|--+
//              |    |    |    |  |              | |
//                                |              |
//              1    0    0    1  | 001..std     | 1..bit frame anticoll
//                                | 010..double  |
//                                | 011..triple  |
//
//            SAK:
//
//            +----+----+----+----+----+----+----+----+
//            | b8 | b7 | b6 | b5 | b4 | b3 | b2 | b1 |
//            +-|--+-|--+-|--+-|--+-|--+-|--+-|--+-|--+
//              |    |    |    |    |    |    |    |
//                        |              |
//                RFU     |      RFU     |      RFU
//
//                        1              0 .. UID complete, ATS available
//                        0              0 .. UID complete, ATS not available
//                        X              1 .. UID not complete
//
char M500PiccCascSelect(unsigned char select_code, 
                            unsigned char *snr, 
                            unsigned char *sak); 

// _____________________________________________________________________________
//
//  FUNCTION: MfPiccAuth
//        IN: auth_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.
//            *snr       4 byte serial number of the card, which should be 
//                       authenticated
//            key_sector spec. the key RAM address from which the data should be
//                      taken (0..15)
//            block     addresses the block address on the card, which shall be
//                      authenticated. For MIFARE standard cards, addr can take 
//                      a value from 0 to 63, for other card types please refer
//                      to the according product description.
//       OUT: -
//    RETURN: 
//   COMMENT: This function authenticates one card's sector (according to the 
//            block address addr) using the specified mode and master key, 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品中文字幕欧美| 粉嫩蜜臀av国产精品网站| 欧美三级日韩在线| 秋霞午夜鲁丝一区二区老狼| 久久久久久久久久久久久久久99 | 欧美不卡一区二区三区四区| 成人不卡免费av| 美腿丝袜一区二区三区| 亚洲欧洲av另类| 欧美一区二区三区色| 99视频在线观看一区三区| 精品一区二区精品| 日韩成人精品在线| 国产精品美女久久久久aⅴ | 国产suv精品一区二区三区| 无吗不卡中文字幕| 亚洲色图欧美偷拍| 成人a区在线观看| 日本欧美一区二区三区乱码| 一区二区三区**美女毛片| 国产东北露脸精品视频| 国内精品久久久久影院薰衣草| 偷窥少妇高潮呻吟av久久免费 | 亚洲欧美自拍偷拍| 国产精品久久精品日日| 99re成人精品视频| www.日韩在线| 色婷婷av一区二区三区gif| av中文字幕亚洲| 91丨九色porny丨蝌蚪| 色婷婷亚洲精品| 91精品国产欧美一区二区18 | 26uuu国产在线精品一区二区| 欧美一区二区三区色| 欧美电影在哪看比较好| 日韩免费在线观看| 久久久久久久综合| 中文字幕在线一区免费| 亚洲尤物视频在线| 久久精品国内一区二区三区| 国产剧情一区在线| 色综合久久中文综合久久牛| 欧美精品aⅴ在线视频| 亚洲精品一区二区三区四区高清| 国产人久久人人人人爽| 亚洲国产精品一区二区www在线| 紧缚奴在线一区二区三区| 91在线国产观看| 欧美刺激午夜性久久久久久久| 国产精品福利一区| 国产在线精品一区二区夜色 | 成人国产精品免费网站| 欧美一级xxx| 亚洲韩国一区二区三区| bt7086福利一区国产| 精品成人一区二区| 婷婷综合五月天| 亚洲欧美一区二区三区久本道91| 水野朝阳av一区二区三区| 综合久久综合久久| 国产精品一级黄| 26uuu精品一区二区| 波多野结衣的一区二区三区| 久久在线免费观看| 日本不卡1234视频| 久久精品亚洲精品国产欧美 | 一区二区三区在线免费播放 | 99精品欧美一区二区三区综合在线| 精品国产乱码久久久久久老虎| 美国十次综合导航| 欧美巨大另类极品videosbest | 欧美自拍偷拍一区| 国产精品第四页| av网站一区二区三区| 一区二区三区免费看视频| 91国产成人在线| 日韩成人午夜精品| 日韩一区二区三| 懂色av中文一区二区三区| 亚洲精品欧美二区三区中文字幕| 欧美亚洲动漫精品| 精品亚洲国内自在自线福利| 欧美国产一区二区| 高清在线不卡av| 亚洲自拍偷拍网站| 欧美精品九九99久久| 久久99热国产| 亚洲精品高清在线观看| 日韩欧美一级片| 91福利视频在线| 大胆亚洲人体视频| 五月综合激情网| 国产精品日产欧美久久久久| 日韩一区二区三| 亚洲妇熟xx妇色黄| 久久综合九色综合欧美就去吻 | 99精品国产91久久久久久| 99久久国产综合精品色伊| 精品少妇一区二区三区日产乱码| 毛片基地黄久久久久久天堂| 亚洲最大的成人av| 亚洲国产成人在线| 国产欧美一区二区精品久导航| 精品福利一二区| 69p69国产精品| 精品日产卡一卡二卡麻豆| 99久久99久久精品国产片果冻| 美女精品一区二区| 日本欧美一区二区| 一区二区三区欧美在线观看| 国产亚洲精品久| 久久久久一区二区三区四区| 国产最新精品免费| 2019国产精品| 欧美一区二区日韩| 欧美日韩亚洲综合在线| 91一区二区三区在线观看| 国产伦精品一区二区三区免费 | 亚洲精品成人少妇| 亚洲精品第1页| 日本强好片久久久久久aaa| 美女视频黄 久久| 成人综合婷婷国产精品久久 | 精品国产一区二区三区忘忧草| 久久综合九色欧美综合狠狠| 欧美一级高清大全免费观看| 日韩视频123| 日本一区二区三区视频视频| 一区二区三区加勒比av| 免费人成在线不卡| av电影天堂一区二区在线| 一区二区三区四区不卡视频| 老司机免费视频一区二区三区| 国产综合久久久久久久久久久久| 91麻豆123| 久久久久久黄色| 午夜亚洲福利老司机| 91免费视频观看| 老司机一区二区| 欧美性色欧美a在线播放| 精品国产一区二区三区av性色| 欧美性三三影院| 国产三级精品视频| 久久99精品国产91久久来源| 在线视频国产一区| 亚洲三级电影网站| 国产综合色产在线精品| 久久视频一区二区| 日韩中文字幕1| 884aa四虎影成人精品一区| 一区二区三区在线观看欧美| 国产精品久久久久久久久快鸭| 日韩欧美一级精品久久| 日韩电影在线观看电影| 国产成人精品免费| 久久久精品人体av艺术| 99精品视频在线观看| 日韩一区二区三区视频在线| 91在线云播放| 91在线观看美女| 国产一区二区三区免费播放| 青椒成人免费视频| 久久久激情视频| 91色综合久久久久婷婷| 免费高清在线一区| 精品久久人人做人人爽| www.亚洲色图| 国产精品午夜春色av| 91在线观看一区二区| 天堂精品中文字幕在线| 久久综合色播五月| 欧美日韩国产精品成人| 激情综合网最新| 亚洲国产视频在线| 国产欧美一区二区三区沐欲| 3d成人h动漫网站入口| 成人美女视频在线看| 国产一区二区不卡在线| 日韩精品电影在线观看| 一区二区高清在线| 国产偷v国产偷v亚洲高清| 久久蜜臀中文字幕| 亚洲图片欧美激情| 亚洲一区二区黄色| 亚洲午夜在线视频| 亚洲妇女屁股眼交7| 亚洲午夜久久久久久久久电影院| 91丨九色丨尤物| 91精品婷婷国产综合久久竹菊| 日韩视频中午一区| 久久久一区二区三区捆绑**| 奇米一区二区三区av| 日韩高清一级片| 国产一区二区精品久久| 99精品视频一区二区| 日本国产一区二区| 欧美一级搡bbbb搡bbbb| 国产欧美一区二区三区沐欲| 亚洲123区在线观看| 久久99精品国产.久久久久|