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

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

?? pcdutils.h

?? RC500的mifare卡開發備用程序及電路
?? H
字號:
 ///////////////////////////////////////////////////////////////////////////////
//    Copyright (c), Philips Semiconductors Gratkorn
//
//                     (C)PHILIPS Electronics N.V. 2000
//                        All rights are reserved. 
//  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.
///////////////////////////////////////////////////////////////////////////////

#ifndef PCDUTILS_H
#define PCDUTILS_H

#include <MfErrno.h>

#ifdef __cplusplus
extern "C"
{
#endif

/// maximal transfer buffer size between PCD and PICC
#define MAX_RF_BUF_SIZE       256

/*
* The communication channel between PCD and PICC needs some RAM
* space for intermediate data storage. This space is also the 
* limitation for the maximum data stream length for a single transaction.
*
* Because of the communication structure between PCD and PICC the same
* buffer can be used for transmitting and receiving.
*
*/
extern volatile unsigned char RxTxBuffer[MAX_RF_BUF_SIZE];

/* 
* Data, which have to be passed between ISR and other functions are
* colleted within one structure. 
*/ 

#define ResetInfo(info)    \
            info.cmd            = 0; \
            info.status         = MI_OK;\
            info.irqSource      = 0; \
            info.nBytesSent     = 0; \
            info.nBytesToSend   = 0; \
            info.nBytesReceived = 0; \
            info.nBitsReceived  = 0; \
            info.collPos        = 0; 

/// struct definition for a communication channel between function and ISR
typedef struct 
         {
            unsigned char  cmd;           //!< command code 
            char           status;        //!< communication status
            unsigned char  nBytesSent;    //!< how many bytes already sent
            unsigned char  nBytesToSend;  //!< how many bytes to send
            unsigned char  nBytesReceived;//!< how many bytes received
            unsigned short nBitsReceived; //!< how many bits received
            unsigned char  irqSource;     //!< which interrupts have occured
            unsigned char  collPos;       /*!< at which position occured a
                                          collision*/
         } MfCmdInfo;

//! Communication Structure
extern volatile MfCmdInfo     MInfo;                  


/*
FIFO length of the reader IC
*/
extern unsigned char MFIFOLength;


extern volatile unsigned char *MSndBuffer;
// receive buffer for general use
extern volatile unsigned char *MRcvBuffer;


/*
* This function is a central routine in the communication chain between
* PCD and PICC. 
*/ 
void SingleResponseIsr(void);

/*
* This function provides the central interface to the reader module.
* Depending on the "cmd"-value, all necessary interrupts are enabled
* and the communication is started. While the processing is done by
* the reader module, this function waits for its completion.
*
* It's notable, that the data in the <em>send byte stream</em> is written 
* to the FIFO of the reader module by the ISR itself. Immediate after 
* enabling the interrupts, the LoAlert interrupt is activated.
*
* The ISR writes the data to the FIFO. This function is not directly involved
* in writing or fetching data from FIFO, all work is done by the 
* corresponding ISR.After command completion, the error status is evaluated and 
* returned to the calling function.
*/ 
char PcdSingleResponseCmd(unsigned char cmd,
                volatile unsigned char* send, 
                volatile unsigned char* rcv,
                volatile MfCmdInfo *info);

/*
* This function sets a RF communication time out value. Every communication 
* between the reader IC and the card  is guarded by a  timeout value. 
*
* The timeout value is measured between the last bit sent to the tag and the 
* first bit received from the tag. 
*/
void PcdSetTmo(unsigned char tmoLength);

/*              
* This function performs a read - modify - write sequence
* on the specified register. All bits with a 1 in the mask
* are set - all other bits keep their original value.
*/
void SetBitMask(unsigned char reg,unsigned char mask);

/*              
* This function performs a read - modify - write sequence
* on the specified register. All bits with a 1 in the mask
* are cleared - all other bits keep their original value.
*/
void ClearBitMask(unsigned char reg,unsigned char mask);

/*              
* This function erases  all remaining data in the MF RC 500's FIFO .
* Before writing new data or starting a new command, all remaining data 
* from former  commands should be deleted.
*/
void FlushFIFO(void);


#ifdef __cplusplus
}
#endif

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产乱子轮精品视频| av在线不卡免费看| 91色视频在线| 欧美一区二区三区视频在线观看| 国产日本亚洲高清| 亚洲第一狼人社区| 99精品国产热久久91蜜凸| 日韩一区二区在线看| 亚洲最新视频在线观看| 粉嫩av一区二区三区| **欧美大码日韩| 国内精品视频666| 日韩视频中午一区| 午夜影院在线观看欧美| 欧美日韩一区二区三区高清| 亚洲欧洲中文日韩久久av乱码| 国产电影精品久久禁18| 精品国产免费久久| 蜜桃传媒麻豆第一区在线观看| 欧美中文一区二区三区| 国产精品福利一区二区三区| 国产馆精品极品| 久久毛片高清国产| 韩国视频一区二区| 久久九九99视频| 国产毛片精品视频| 国产亚洲精品超碰| 精品一区二区三区影院在线午夜| 欧美日韩一二三区| 亚洲成人综合网站| 欧美日韩五月天| 日韩精品久久久久久| 欧美高清www午色夜在线视频| 日日夜夜免费精品视频| 欧美人狂配大交3d怪物一区| 性欧美大战久久久久久久久| 3d成人h动漫网站入口| 免费日本视频一区| 精品日韩成人av| 国产一区激情在线| 国产精品人成在线观看免费 | 国产色产综合色产在线视频| 久久精品国内一区二区三区| 日韩欧美的一区二区| 欧美精品黑人性xxxx| 日韩激情av在线| 久久影院电视剧免费观看| 国产一区视频网站| 国产精品久久久久久一区二区三区 | 国产999精品久久久久久| 国产精品久久久久天堂| 欧美色爱综合网| 美女爽到高潮91| 国产欧美一区二区精品性| 91老司机福利 在线| 三级一区在线视频先锋 | 日韩一区二区在线观看视频| 精品影视av免费| 国产精品乱人伦| 欧美久久久久免费| 成人视屏免费看| 一区二区三区免费看视频| 欧美一区二区三区喷汁尤物| 成人综合在线网站| 水野朝阳av一区二区三区| 久久久精品日韩欧美| 欧美视频一二三区| 国产精品一区二区三区网站| 亚洲伦在线观看| 精品女同一区二区| 欧美性做爰猛烈叫床潮| 国产裸体歌舞团一区二区| 亚洲午夜成aⅴ人片| 久久久一区二区| 欧美一区二区三区播放老司机| 成人性生交大片免费看中文| 午夜精品福利久久久| 亚洲图片另类小说| 久久久亚洲精华液精华液精华液| 欧美色手机在线观看| av电影天堂一区二区在线| 久久精品久久久精品美女| 亚洲一区二区偷拍精品| 中文字幕av免费专区久久| 欧美xxxxxxxx| 欧美二区三区91| 国产精品毛片高清在线完整版| 欧美高清dvd| 日本久久电影网| 99精品国产热久久91蜜凸| 国产高清不卡一区| 狠狠色狠狠色综合系列| 天天综合天天做天天综合| 亚洲免费观看高清| 国产精品狼人久久影院观看方式| 精品久久国产97色综合| 日韩一区二区在线看| 欧美日本在线播放| 欧美日本在线一区| 欧美精品第1页| 欧美三级乱人伦电影| 日本乱人伦一区| 91日韩一区二区三区| 成人黄色综合网站| 成人免费毛片片v| 成人午夜电影小说| 成人高清免费观看| 99精品国产热久久91蜜凸| 99麻豆久久久国产精品免费优播| 东方欧美亚洲色图在线| 国产高清视频一区| av激情成人网| 在线一区二区三区四区五区| 91视频你懂的| 在线视频欧美精品| 欧美精品久久99久久在免费线 | 日本亚洲电影天堂| 日本不卡一区二区三区| 美女尤物国产一区| 国产乱码精品一区二区三区忘忧草| 久久精品国产网站| 国产成人午夜电影网| 99在线精品视频| 日本道精品一区二区三区| 欧美日本韩国一区二区三区视频| 欧美精品 国产精品| xfplay精品久久| 国产精品动漫网站| 香蕉影视欧美成人| 国内不卡的二区三区中文字幕| 丰满放荡岳乱妇91ww| 91一区一区三区| 欧美一区二区三区白人| 国产亚洲污的网站| 亚洲综合免费观看高清在线观看| 亚洲免费观看在线观看| 日韩专区欧美专区| 国产成人免费网站| 欧美日韩综合在线免费观看| 欧美一卡二卡三卡| 国产精品午夜在线| 性做久久久久久久免费看| 国产麻豆午夜三级精品| 色拍拍在线精品视频8848| 欧美一级xxx| 一区二区中文字幕在线| 天堂一区二区在线免费观看| 国产精品影视天天线| 欧美伊人久久久久久午夜久久久久| 日韩欧美中文一区二区| 国产欧美一区二区三区在线看蜜臀 | 99久久国产综合色|国产精品| 欧美色视频在线观看| 国产婷婷色一区二区三区在线| 亚洲女同一区二区| 久久99精品国产91久久来源| 久久综合成人精品亚洲另类欧美 | 国产精品色哟哟网站| 亚洲成a人片在线不卡一二三区| 久久99热狠狠色一区二区| 91丨国产丨九色丨pron| 精品国产污污免费网站入口 | 日韩一本二本av| 亚洲天堂免费看| 国产综合色产在线精品| 欧美三级欧美一级| 亚洲色图制服诱惑| 国产制服丝袜一区| 欧美美女喷水视频| 亚洲女与黑人做爰| 成人激情文学综合网| 精品成人在线观看| 视频一区国产视频| 欧美影视一区在线| 中文字幕一区免费在线观看| 韩国欧美国产一区| 日韩欧美成人一区| 日韩精品久久久久久| 欧美三级在线播放| 亚洲毛片av在线| www.亚洲在线| 国产欧美一区视频| 国产激情精品久久久第一区二区| 日韩一区国产二区欧美三区| 一区二区三区蜜桃| 色婷婷精品大在线视频| 国产精品你懂的| 国产91精品在线观看| 国产日韩一级二级三级| 激情五月婷婷综合网| 日韩一区国产二区欧美三区| 午夜精品久久久久久| 欧美日韩卡一卡二| 亚洲国产另类av| 欧美精品vⅰdeose4hd| 偷拍一区二区三区| 日韩亚洲欧美高清| 精品一区二区三区在线观看| 日韩美女视频一区二区在线观看| 免费三级欧美电影|