micro.h

来自「开发源代码的CPU卡的COS源程序。」· C头文件 代码 · 共 81 行

H
81
字号
#ifndef MICRO__H/* ============================================================================   Project Name : jayaCard   Module Name  : proto/hal/<template>/micro.h   Version : $Id: micro.h,v 1.9 2004/01/11 09:56:33 dgil Exp $	Description: define HAL microcontroller's specificities    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   011903 dgil	wrote it from scratch   ============================================================================*/#define MICRO__H/* =========================================================================	COMPONENT (see numbering in cos/version.h)   ========================================================================= */#define COMPONENT	COMPONENT_<>/* =========================================================================	T=CL CRC-16 a byte   ========================================================================= *//* implement: #define HAL_TCL_CRC(by)	calculate the CRC of by */#define HAL_TCL_CRC(by)/* implement: #define HAL_TCL_LOCRC()	return the lobyte of the CRC */#define HAL_TCL_LOCRC()		0x00/* implement: #define HAL_TCL_HICRC()	return the hibyte of the CRC */#define HAL_TCL_HICRC()		0x00/* =========================================================================	System CRC-16 a byte   ========================================================================= *//* implement: #define HAL_CRC_COMPUTE(by)	calculate the CRC of by */#define HAL_CRC_COMPUTE(by)/* implement: #define HAL_CRC_LO()			return the lobyte of the CRC */#define HAL_CRC_LO()		0x00/* implement: #define HAL_CRC_HI()			return the hibyte of the CRC */#define HAL_CRC_HI()		0x00/* =========================================================================	Endianess   ========================================================================= *//* little_endian==x86 */#define PLATFORM_LITTLE_ENDIAN/* ========================================================================= */#endif/* defined MICRO__H */

⌨️ 快捷键说明

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