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

📄 paypass_init.c

📁 读RF卡的源代码
💻 C
字号:
//=============================================================================
//                  Copyright (C) INSIDE Technologies 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 : PAYPASS TTAL1
// Project Name : PAYPASS TTAL1
// Module Name  : PayPAss_Init.c
// Platform dev : Keil 礦ision 3 (IDE ) + Keil ARM Compiler
// Target       : LPC2103 (ARM7TDMI Core)
// Language     : C ANSI
// Revision     : 1.0
// Description  : PicoRead Configuration functions for PayPass according to the DEVICE
//=============================================================================
// When		Who	Ver		What
// 06-09-12	FPK	1.0		creation
//=============================================================================


#include "PayPass_Main_Defines.h"
#include "PayPass_Init.h"

unsigned char   g_bProtocol;


//------------------------------------------------------------------------
// Function : v_fnPayPassInit()
//------------------------------------------------------------------------
// Description : Main code for the stand alone application
//
// IN       :   - none -
// OUT      :   - none -
// RETURN   :   - none -
//
// Notes    :   You can modify default configuration here
//
//
//------------------------------------------------------------------------

#if((defined TERMINAL_I3070) || (defined DEVICE_INSIDE_LPC-P2103_DEVBRD))

void v_fnPayPassInit(void)
{
	v_fnInitRegsAndPorts();
	
	g_bRFReceiveEOFA=0;
	g_bRFReceiveEOFB=1;
	g_bBitsToReceive=0;
   
	// Initialize IO mode and state, peripherals and ports configuration

	
	// DEFAULT READER PAGE 6 CONFIGURATION for 14443-A Protocol (COULD BE MODIFIED)
	// Refer to 揚RD_PicoReadRF_Pages_Parameters.h

⌨️ 快捷键说明

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