📄 paypass_ttal1_protocol.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 ISO15693-3 READER
// Project Name : APPLICATION NOTE
// Module Name : TTAL1_Protocol.h
// Platform dev : Keil 礦ision 3 (IDE ) + Keil ARM Compiler
// Target : LPC2129 (ARM7TDMI Core)
// Language : C ANSI
// Revision : 1.0
// Description : Definition of Protocol Between Host and Arm7.
//=============================================================================
// When Who Ver What
// 06-04-24 MCY 1.1 Creation
//=============================================================================
#ifndef __TTAL1_PROTOCOL_H__
#define __TTAL1_PROTOCOL_H__
//==============================================================
// TINY PROTOCOL HOST-PCB FOR PRE TERMINAL TYPE APPROVAL LEVEL 1
//==============================================================
// Command send from Host to PCB
#define PTTAL1_CMD_VERSION 'V' // [V]ersion PCB will echo its version.
#define PTTAL1_CMD_HELP 'I' // [I]nfo PCB will echo the List off Command
// Command send from Host to PCB in L1-Analog mode
#define PTTAL1_CMD_CARRIER_ON 'O' // Carrier [O]n 'C'
#define PTTAL1_CMD_CARRIER_OFF 'F' // carrier O[F]f 'F'
#define PTTAL1_CMD_POLLING 'P' // [P]olling 'P'
#define PTTAL1_CMD_RESET 'R' // [R]eset 'R'
#define PTTAL1_CMD_WUPA 'A' // WUP[A] 'W'
#define PTTAL1_CMD_WUPB 'B' // WUP[B] 'B'
#define PTTAL1_CMD_HLTA 'H' // [H]LTA 'H'
#define PTTAL1_CMD_HLTB 'J' // HLTB (J is near H)'J'
#define PTTAL1_CMD_WUPA_RATS 'S' // WUPA_RAT[S] 'R'
#define PTTAL1_CMD_WUPB_ATTRIB 'T' // WUPB_A[T]Trib 'T'
#define PTTAL1_CMD_ABORT 'X' // ABORT CURRENT COMMAND (Polling) 'X'
// Command send from Host to PCB in L1-Digital
#define PTTAL1_CMD_LOOPBACK 'L' // [L]oopBack 'L'
#define PTTAL1_CMD_FULLANTICOLLISION 'C' // [F]ull Anti[C]ollision 'F'
#define PTTAL1_CMD_WUPA_TRANSPARENT 'a' // WUP[a]in Transparent Mode 'a'
#define PTTAL1_CMD_WUPB_TRANSPARENT 'b' // WUP[b]in Transparent Mode 'b'
// Command for MX Studio
#define PTTAL1_CMD_MX_POLLING_ACTIVATE 0x80
#define PTTAL1_CMD_MX_CONNECT 0x00
//Command sent to display and modifu the page 6 configuation of PicoRead
#define PTTAL1_CMD_DISPLAY_P6 'Y' // Displa[Y] the values of P6 'Y'
#define PTTAL1_CMD_MODIFY_P6_A 'M' // Send the new values of P6 ISOA 'M'
#define PTTAL1_CMD_MODIFY_P6_B 'N' // Send the new values of P6 ISOB 'N'
// Answer form PCB to Host
#define PTTAL1_CMD_ECHO 'E' // PCB ask the Host to echo next characteres till '\0'
#define PTTAL1_CMD_DONE 'D' // PCB notify Host of Command Done
#define PTTAL1_CMD_UNKNOWN 'U' // PCB notify Host of Unknown Command
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -