⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 prd_bufferexchange.h

📁 读RF卡的源代码
💻 H
字号:
//=============================================================================
//                  Copyright (C) INSIDE Contactless 1998-2005
//
// INSIDE Contactless reserves the right to make changes, without notice,
// to any product (including application note) herein to improve
// reliability, functionality, or design. INSIDE Contactless advises its
// customers to obtain the latest version of device data sheets to verify,
// before placing orders, that the information being relied upon by the
// customer is current.
//
// INSIDE Contactless makes no warranty that the use will not infringe any
// third party patent, copyright or trademark.
//
// Information furnished by INSIDE Contactless is believed to be accurate
// and reliable. However, INSIDE Contactless does not assume any liability
// resulting from the application or use of any product described within.
//
// All rights are reserved. Reproduction in whole or in part is prohibited
// without the written consent of the copyright owner.
//
//      Bat 11a,
//      Parc Club du Golf,
//      Z.A.C. du Pichaury                      Tel :   +33 (0)4.42.39.33.00
//      13856 Aix-en-Provence Cedex 3           Fax :   +33 (0)4.42.39.63.19
//      FRANCE                                  Email : info@insidefr.com
//
//-----------------------------------------------------------------------------
// Project Code : PICOREAD_RF C LIBRARY
// Project Name : PICOREAD_RF C LIBRARY
// Module Name  : PRD_BUFFEREXCHANGE.H
// Platform dev : Keil 礦ision 3 (IDE ) + Keil ARM Compiler
// Target       : LPC2129 (ARM7TDMI Core)
// Language     : C ANSI
// Revision     : 1.1
// Description  : Low level communication protocol with Picoread RF chip
//=============================================================================
// When		Who	Ver		What
// 06-04-24	MCY	1.1		Added #ifndef __TARGET_FUNCTION_H 	
//=============================================================================
#ifndef __PRD_BUFFEREXCHANGE_H__
#define __PRD_BUFFEREXCHANGE_H__

// BUFFER EXCHANGE
#define _SENDCRC                 0x80
#define _CHECKCRC                0x40
#define _SOF_ONLY                0x20
		 

//Global variable 
extern unsigned char 	g_bRFReceiveEOFA;
extern unsigned char 	g_bRFReceiveEOFB;
extern unsigned char 	g_bDataBitsReceived;
extern unsigned char 	g_bPicoReadStatus;
extern unsigned short 	g_lDataBytesReceived;
extern unsigned char 	g_bBitsToReceive;


extern void 		    v_fnSendBuffer(unsigned char p_bParam, unsigned short p_bNbBytestoSend, unsigned char p_bNbBitstoSend,unsigned char* p_pabBuffer, StructReader* p_pStructReader);
extern unsigned char 	b_fnReceiveBuffer(unsigned char p_bParam, unsigned char* p_pabBuffer,StructReader* p_pStructReader,unsigned short* p_pwRFPicoReadByteCounter,unsigned char* p_pbRFPicoReadBitCounter,unsigned char* p_pbPicoReadStatus,unsigned char* p_pbRFReceiveEOF,unsigned char* p_pbBitsToReceive );
extern void 			v_fnTypeCHeader(unsigned char* p_abBufferToFillwithHeader);


#endif // __PRD_BUFFEREXCHANGE_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -