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

📄 micro.h

📁 这是用VB6.0写的一个通用的CPU卡操作程序,支持PC/SC接口 安装任何一个PC/SC驱动的IC读写器后,都可以使用此程序进行CPU卡的测试
💻 H
字号:
#ifndef MICRO__H/* ============================================================================   Project Name : jayaCard   Module Name  : proto/hal/sdcc/micro.h   Version : $Id: micro.h,v 1.4 2004/01/11 09:56:32 dgil Exp $    The Original Code is jayaCard code.    The Initial Developer of the Original Code is Gilles Dumortier.	Portions created by the Initial Developer are Copyright (C) 2002-2004 the    Initial Developer. All Rights Reserved.    Contributor(s):    This program is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 2 of the License, or    (at your option) any later version.    This program is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with this program; see http://www.gnu.org/licenses/gpl.html   History Rev	Description   062403 dgil	wrote it from scratch   ============================================================================*/#define MICRO__H/* =========================================================================	COMPONENT (see numbering in cos/version.h)   ========================================================================= */#define COMPONENT	COMPONENT_SDCC/* =========================================================================	System CRC-16 a byte   ========================================================================= *//* implement: #define HAL_CRC_COMPUTE(by)	calculate the CRC of by */void __simu_calculate_crc(jbyte by);#define HAL_CRC_COMPUTE(by)		__simu_calculate_crc(by)/* implement: #define HAL_CRC_LO()			return the lobyte of the CRC */jbyte __simu_crc_lo(void);#define HAL_CRC_LO()			__simu_crc_lo()/* implement: #define HAL_CRC_HI()			return the hibyte of the CRC */jbyte __simu_crc_hi(void);#define HAL_CRC_HI()			__simu_crc_hi()/* =========================================================================	T=CL CRC-16 a byte   ========================================================================= *//* implement: #define HAL_TCL_CRC(by)	calculate the CRC of by */void __simu_calculate_crc(jbyte by);#define HAL_TCL_CRC(by)		__simu_calculate_crc(by)/* implement: #define HAL_TCL_LOCRC()	return the lobyte of the CRC */jbyte __simu_tcl_locrc(void);#define HAL_TCL_LOCRC()		__simu_tcl_locrc()/* implement: #define HAL_TCL_HICRC()	return the hibyte of the CRC */jbyte __simu_tcl_hicrc(void);#define HAL_TCL_HICRC()		__simu_tcl_hicrc()/* =========================================================================	Endianess   ========================================================================= *//* little_endian==x86 */#define PLATFORM_BIG_ENDIAN/* ========================================================================= */#endif/* defined MICRO__H */

⌨️ 快捷键说明

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