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

📄 prd_iso14443b_anticollision_parameters.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_ISO14443B_ANTICOLLISION_PARAMETERS.h
// Platform dev : Keil 礦ision 3 (IDE ) + Keil ARM Compiler
// Target       : LPC2129 (ARM7TDMI Core)
// Language     : C ANSI
// Revision     : 1.0
// Description  : Definition of Reader parameters.
//=============================================================================
// When		Who	Ver		What
// 06-04-24	MCY	1.1		Added #ifndef __CONFIG_DEFINES_H
//=============================================================================
#ifndef __PRD_ISO14443B_ANTICOLLISION_PARAMETERS_H__
#define __PRD_ISO14443B_ANTICOLLISION_PARAMETERS_H__


//=====================================
// PROTOCOL
//=====================================
#ifndef ISOB_PROTOCOL
#define ISOB_PROTOCOL       0x00
#endif


//=====================================
// ANTICOLLISION OPTIONS FOR PROTOCOL ISO 14443B
//=====================================
// AnticolOptions[0] : General config
// Bits b2..b0
#define ISOB0_SM1           0x00    // 1 slot (slot markers not used)
#define ISOB0_SM2           0x01    // 2 slots
#define ISOB0_SM4           0x02    // 4 slots
#define ISOB0_SM8           0x03    // 8 slots
#define ISOB0_SM16          0x04    // 16 slots

// Bits b7..b3
#define ISOB0_WUPB          0x08    // Command is WUPB
#define ISOB0_REQB          0x00    // Command is REQB
#define ISOB0_ATTRIB        0x10    // ATTRIB command is sent
#define ISOB0_HALT          0x20    // HALT command is sent



// AnticolOptions[1] : Number of retry
#define ISOB1_RESET         0x10    // Field is reset between each retry
#define ISOB1_RETRY0        0x00    // No retry after unsuccessful command
#define ISOB1_RETRY1        0x01    // 1 retry after unsuccessful command
#define ISOB1_RETRY2        0x02    // 2 retry after unsuccessful command
#define ISOB1_RETRY3        0x03    // 3 retry after unsuccessful command




// AnticolOptions[2] : AFI
#define ISOB2_AFI_ALL       0x00    // All applications targeted
#define ISOB2_AFI_TRANSPORT 0x10    // Transport applications targeted
#define ISOB2_AFI_FINANCIAL 0x20    // Financial applications targeted
#define ISOB2_AFI_ID        0x30    // Identification applications targeted
#define ISOB2_AFI_TELECOM   0x40    // Telecommunication applications targeted
#define ISOB2_AFI_MEDICAL   0x50    // Medical applications targeted
#define ISOB2_AFI_MUMEDIA   0x60    // Multimedia applications targeted
#define ISOB2_AFI_GAMING    0x70    // Gaming applications targeted
#define ISOB2_AFI_DSTORAGE  0x80    // Data storage applications targeted




#endif // __PRD_ISO14443B_ANTICOLLISION_PARAMETERS_H__

⌨️ 快捷键说明

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