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

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

?? m500a.h

?? Keil 51下的倒計時
?? H
?? 第 1 頁 / 共 3 頁
字號:
//            addressed with key_addr. After sending the command to the card the 
//            function waits for the card's answer.
//            This function is calling compatible (exept the serial number) with
//            older authentication functions. The keys are stored by the 
//            microcontroller, which is capable for the key management.
//
char M500PiccAuth(unsigned char auth_mode, 
                      unsigned char *snr,
                      unsigned char key_sector, 
                      unsigned char block);   
               
// _____________________________________________________________________________
//
//  FUNCTION: M500PiccAuthE2
//        IN: auth_mode PICC_AUTHENT1A or PICC_AUTHENT1B 
//                            selects master key A or master key B 
//            *snr       4 byte serial number of the card, which should be 
//                       authenticated
//            key_sector spec. the key E2PROM key number from which the data 
//                       should be taken (0..15)
//            sector    addresses the sector number on the card, which shall be
//                      authenticated. For MIFARE standard cards, addr can take 
//                      a value from 0 to 15, for other card types please refer
//                      to the according product description.
//       OUT: -
//    RETURN: 
//   COMMENT: This function authenticates one card's sector using the specified 
//            mode. After sending the command to the card the 
//            function waits for the card's answer.
//            The keys for authentication have to be stored in E2PROM in 
//            advance.
char M500PiccAuthE2( unsigned char auth_mode, 
                         unsigned char *snr,      
                         unsigned char key_sector,
                         unsigned char sector); 
                     
// _____________________________________________________________________________
//
//  FUNCTION: M500HostCodeKey
//        IN: uncoded   6 bytes master key for card authentication
//       OUT: coded     12 bytes master key for card authentication
//    RETURN: 
//   COMMENT: In order to authenticate a memory sector of a card, a 6 
//            bytes master key is necessary. This master key has to be passed
//            to the reader modul coded. The conversion between uncoded and 
//         	  coded keys is made by this function.
//                     
char M500HostCodeKey(unsigned char *uncoded, 
                         unsigned char *coded); 

// _____________________________________________________________________________
//
//  FUNCTION: M500PiccAuthKey
//        IN: auth_mode PICC_AUTHENT1A or PICC_AUTHENT1B 
//                            selects master key A or master key B 
//            *snr       4 byte serial number of the card, which should be 
//                       authenticated
//            *keys      12 bytes master key coded
//            sector    addresses the sector number on the card, which shall be
//                      authenticated. For MIFARE standard cards, addr can take 
//                      a value from 0 to 15, for other card types please refer
//                      to the according product description.
//       OUT: -
//    RETURN: 
//   COMMENT: The keys are first loaded to the reader module and used for
//            authentication of the secified sector. In order to get the 
//            required keys coded, the function M500HostCodeKey can be used.
//                     
char M500PiccAuthKey(unsigned char auth_mode,
                         unsigned char *snr,   
                         unsigned char *keys,  
                         unsigned char sector);   
                     
                        
// _____________________________________________________________________________
//
//  FUNCTION: M500PiccRead
//        IN: addr    addresses -  the block on the card from which data shall 
//                    be read. For MIFARE standard cards, addr can take a value
//                    from 0 to 63 (255 for Mifare Pro), for other card types 
//                    please refer to the according product description.
//       OUT: data    is a pointer to the 16 byte data block read from the card.
//       OUT: 
//    RETURN: 
//   COMMENT: This function reads a 16 byte block from the specified card's block 
//            address addr. After sending the command to the card the function 
//            waits for the card's answer.
//                        
char M500PiccRead(unsigned char addr,  
                  unsigned char *_data);
                 
// _____________________________________________________________________________
//
//  FUNCTION: M500PiccWrite
//        IN: addr     address -  the block on the card from which data shall 
//                     be read. For MIFARE standard cards, addr can take a 
//                     value from 0 to 63 (255 for Mifare Pro), for other card 
//                     types please refer to the according product description.
//            data     is a pointer to the 16 byte data block that shall be 
//                     written to the card.
//       OUT: -
//    RETURN: 
//   COMMENT: This function writes a 16 byte block to the specified card's block 
//            address addr. After sending the command to the card the function
//            waits for the card's answer.
//                  
char M500PiccWrite(unsigned char addr,
                       unsigned char *_data);
                  

// _____________________________________________________________________________
//
// FUNCTION: M500PiccValue
//	 IN: dd_mode	INCREMENT, DECREMENT or RESTORE
//	     addr	Block address for the command to be perform 0-63
//	     *value	4 bytes value, LSB first
//	     trans_addr Destination block address to be tranfer	
//	OUT: -
//  COMMENT:
// This function performs the INCREMENT, DECREMENT and RESTORE command. Precondition 
// for success is, that the data block is formatted as value block. 
//
// For INCREMENT and DECREMENT, the command doesn't write back the value to the memory 
// location directly, but loads the transfer buffer with the increased value,
// which could be transferred to any authenticated block by the TRANFER command.
//
// The RESTORE command loads the transfer buffer with the value stored at datablock 
// address, while the 
// given value is only a dummy value, which only have to be in valid range. 
// With a subsquent TRANSFER command a backup management for Value Blocks is 
// established.
//
// After sending the command to the card the function waits for the 
// card's answer. In case of an error <em>Mf500PiccValue()</em>
// generates a return code according to the MF RC's error flags, otherwise 
// the value is sent to the card and then it waits for a NACK. As an exception 
// in this protocol step 
// only a NACK is sent by the card in case of an error. Thus, the function 
// is successful, if a time out occurs. 
//
// After the calculation is done,  a TRANSFER is automatically
// performed to the block address trans_addr. After sending the command to
// the card the function waits for the card's answer 
// and generates a return code according to the MF RC's error flags. 
// A TRAN command is only possible directly after a RESTORE, INCREMENT or 
// DECREMENT command.
//
// The value inside a Value Block is four bytes wide and stored two times
// in normal and one time in bit-inverted manner for data security issues. 
// Additionally the initial address of the Value Block is stored two times 
// normal and two times bit-inverted. In case of a backup of a Value Block, 
// this addres contains the original address of the Value Block.
// Note: Only positive numbers are alowed for the parameter <em>value</em>.
//
char M500PiccValue(unsigned char dd_mode, 
                   unsigned char addr, 
                   unsigned char *value,
                   unsigned char trans_addr);

// _____________________________________________________________________________
//
// FUNCTION: M500PiccValueDebit
//	 IN: dd_mode	INCREMENT, DECREMENT or RESTORE
//	     addr	Block address for the command to be perform 0-63
//	     *value	4 bytes value, LSB first
//	OUT: -
//  COMMENT:
// This function executes calculations on value debit blocks with cards, that 
// support automatic transfer (MIFARE light, MIFARE PLUS, MIFARE PRO,
// MIFARE PROX, ...). 
//
// After sending the command 
// to the card the function waits for the card's answer. In case of an error 
// it generates a return code according 
// to the MF RC's error flags. 
//
char M500PiccValueDebit(unsigned char dd_mode, 
                        unsigned char addr, 
                        unsigned char *value);

// _____________________________________________________________________________
//
// FUNCTION: M500PiccExchangeBlock
//	 IN: *send_data	
//	     send_bytelen       Lenght include 2bytes CRC
//	     append_crc		1->append, 0->not append
//	     timeout		Set duration of timeout timer
//				1-> 1s
//				2-> 1.5s
//				3-> 6s
//				4-> 9.6s
//	OUT: *rec_data
//	     *rec_bytelen
//  COMMENT:
// This function exchanges data blocks between the <b>PCD</b> and <b>PICC</b>. 
//
// ATTENTION: if <em>append_crc</em> is enabled, two CRC bytes are included in 
// <em>send_bytelen</em> and <em>rec_bytelen</em>. The received CRC bytes in the
// receive buffer are always set to zero. 
//
char M500PiccExchangeBlock(unsigned char *send_data,
                           unsigned char send_bytelen,
                           unsigned char *rec_data,  
                           unsigned char *rec_bytelen,
                           unsigned char append_crc, 
                           unsigned char timeout);                  

// _____________________________________________________________________________
//
//  FUNCTION: M500PiccHalt
//        IN: -
//       OUT: -
//    RETURN: -
//   COMMENT: This function sets the MIFARE card into the halt state. After 
//            sending the command to the card the function waits for a cards 
//            response. As an exception, in this protocol step no ACK is sent by
//            the card, but only a NACK in case of an error. Thus, the function 
//            is successful, if a time out occurs.
//                  
char M500PiccHalt(void);

// _____________________________________________________________________________
//
//  FUNCTION: MfPcdRfReset
//        IN: msec     Duration of RF-field off in mseconds.
//                     If parameter msec is 0 => RF OFF forever
//       OUT: -
//    GLOBAL: -
//    RETURN: 
//   COMMENT: Turns off RF-field for a certain time in mseconds. The period
//            is specified in variable 'msec'. Subsequently RF-field is
//            turned on again (after about 1 msec). If value 0 is chosen, 
//            the RF-field is simply turned off. 
//
char M500PcdRfReset(unsigned char ms);                  

void idle_request(void);

#ifdef __cplusplus
}
#endif

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲妇女屁股眼交7| 成人精品电影在线观看| |精品福利一区二区三区| 日韩久久久精品| 欧美大胆一级视频| 日韩女优av电影| www激情久久| 日本一区二区在线不卡| 国产欧美久久久精品影院| 精品国产乱码91久久久久久网站| 国产91色综合久久免费分享| 国产精品主播直播| 亚洲国产综合色| 亚洲五码中文字幕| 日本伊人色综合网| 久久国产乱子精品免费女| 国产在线播放一区三区四| 综合精品久久久| 亚洲日本在线a| 五月婷婷色综合| 五月婷婷色综合| 一区二区在线看| 首页欧美精品中文字幕| 久久99精品久久久久婷婷| 尤物在线观看一区| 婷婷综合五月天| 国产一区二区91| 91蜜桃视频在线| 日韩欧美在线影院| 中文字幕欧美激情| 亚洲成人在线免费| 国产精品91xxx| 欧美亚洲国产一区二区三区va| 成人免费高清视频| 欧美视频在线观看一区| 精品久久人人做人人爽| 亚洲欧洲精品一区二区三区| 日韩国产欧美在线视频| 成人免费精品视频| 91麻豆精品国产91久久久久久| 日本精品一级二级| 精品99999| 亚洲精品成人精品456| 美日韩黄色大片| 91香蕉视频污在线| 久久久欧美精品sm网站| 精品少妇一区二区三区免费观看| 91精品国产综合久久久久久久久久 | 成人综合婷婷国产精品久久蜜臀 | 国产无遮挡一区二区三区毛片日本| 欧美乱熟臀69xxxxxx| 亚洲国产成人在线| 久久99久久精品| 国产资源在线一区| 欧美一区二区人人喊爽| 亚洲精品少妇30p| 一区二区三区在线视频观看58 | 欧美手机在线视频| 中文字幕在线不卡国产视频| 精品亚洲porn| 丁香一区二区三区| 精品国产区一区| 免费成人在线观看视频| 欧美日韩国产电影| 日韩精品在线一区| 免费日韩伦理电影| 欧美一卡二卡三卡| 日韩av网站在线观看| 欧美日韩国产天堂| 偷窥少妇高潮呻吟av久久免费| 久久精品国内一区二区三区| 国产在线观看一区二区| a美女胸又www黄视频久久| 久久久久久久综合色一本| 亚洲欧美中日韩| 石原莉奈一区二区三区在线观看| 蜜臀av一区二区| 成人毛片老司机大片| 久久精品亚洲精品国产欧美| 亚洲欧美在线高清| 99精品国产一区二区三区不卡| 欧美日韩在线电影| 亚洲va天堂va国产va久| 国产一区二区精品久久| 国产精品网站在线| 91久久奴性调教| 亚洲va欧美va人人爽午夜| 日韩欧美一二区| 国产成人aaa| 欧美一区二区在线播放| 中文字幕一区视频| 91黄色免费网站| 男女性色大片免费观看一区二区| 不卡的av网站| 亚洲国产一区二区a毛片| 欧美另类变人与禽xxxxx| 欧美aaa在线| 欧美激情一区二区| 91成人网在线| 激情综合五月天| 中文字幕在线一区免费| 黄页视频在线91| 综合中文字幕亚洲| 欧美一级免费大片| 亚洲成年人影院| 色欲综合视频天天天| 亚洲va中文字幕| 国产精品日日摸夜夜摸av| 国产在线一区二区综合免费视频| 欧美日韩中文字幕精品| 九色综合狠狠综合久久| 欧美日韩mp4| 亚洲成人免费影院| 国产拍欧美日韩视频二区| 欧美亚洲综合色| 国产在线一区二区综合免费视频| 精品乱码亚洲一区二区不卡| 99久久国产综合精品麻豆| 美女诱惑一区二区| 精品蜜桃在线看| 91精品办公室少妇高潮对白| 国产乱人伦偷精品视频不卡| 精品卡一卡二卡三卡四在线| 在线免费观看日韩欧美| 国产精品一区久久久久| 午夜欧美大尺度福利影院在线看| 欧美探花视频资源| 国产成人免费网站| 美日韩一区二区三区| 亚洲一区二区欧美| 中文字幕一区二区日韩精品绯色| 成人黄色片在线观看| 全国精品久久少妇| 亚洲高清一区二区三区| 欧美乱妇15p| 精品一区二区精品| 亚洲成人自拍一区| 一区二区欧美国产| 亚洲欧洲另类国产综合| 国产欧美一二三区| 91日韩在线专区| 视频一区二区三区中文字幕| 欧美一区二区不卡视频| 欧美性videosxxxxx| 一本一道综合狠狠老| 亚洲v日本v欧美v久久精品| 亚洲精品中文在线| 最新不卡av在线| 一区二区三区四区不卡在线| 欧美日韩不卡在线| 欧洲一区二区三区在线| 91老师国产黑色丝袜在线| 波多野结衣在线aⅴ中文字幕不卡| 久久亚洲免费视频| 久久新电视剧免费观看| 久久久久一区二区三区四区| 精品国产制服丝袜高跟| 欧美精品一区二区三区在线播放| 床上的激情91.| 国产麻豆91精品| 国产乱色国产精品免费视频| 成人av动漫网站| 色综合久久天天综合网| 欧美午夜理伦三级在线观看| 欧美精品日日鲁夜夜添| 欧美在线|欧美| 国产精品一二一区| 国产综合成人久久大片91| 色偷偷久久一区二区三区| 日韩三级精品电影久久久| 欧美日韩国产首页| 亚洲精品国产成人久久av盗摄| 4438x亚洲最大成人网| 在线电影欧美成精品| 日韩美一区二区三区| 色婷婷综合五月| 国内精品伊人久久久久影院对白| 亚洲色图在线视频| 亚洲444eee在线观看| 久久66热re国产| 99re6这里只有精品视频在线观看 99re8在线精品视频免费播放 | 91精品国产欧美一区二区成人| 成人午夜av电影| 欧美在线免费观看视频| 日韩精品一区二区三区在线播放| 色婷婷国产精品综合在线观看| 国产一区二区网址| 97精品久久久久中文字幕| 欧美日韩第一区日日骚| 国产欧美一区二区在线| 亚洲成a人在线观看| 国产精品视频麻豆| 视频一区在线视频| 成人在线视频一区| 欧美精品 日韩| 亚洲三级视频在线观看| 国产在线精品一区二区夜色| 久久成人免费网| 色综合久久九月婷婷色综合| 久久久久久日产精品|