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

📄 tclinit.c

📁 开发源代码的CPU卡的COS源程序。
💻 C
字号:
/* ============================================================================   Project Name : jayaCard   Module Name  : proto/bios/tcl/tclinit.c   Version : $Id: tclinit.c,v 1.15 2004/01/11 09:56:31 dgil Exp $	Description: init of TCL library    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   012603 dgil	wrote it from scratch   ============================================================================*/#include "precomp.h"/* ============================================================================	__bios_tcl_init()   ========================================================================= */void __bios_tcl_init(void){	#ifdef JAYA_TCL_WTX    if ((cfg_config_flag1&CONFIG_FLAG1_CONFIG_WTXM)==CONFIG_FLAG1_CONFIG_WTXM) {        tcl_wtxm = HAL_EEPROM_READ_BYTE(ADDR_CONFIG_WTXM);    } else {        tcl_wtxm = JAYACFG_WTXM;    }	pfn_wtx = __bios_tcl_fsm;	#endif	tcl_inproc = TCL_INPROC_NONE;	tcl_getmsg = jtrue;	tcl_apdu = 0;    #ifdef JAYACFG_CONTACTLESS_TYPEB	#ifdef JAYACFG_HLINF_FOR_TYPEB    tcl_hl_info = jfalse;	#endif    #endif}/* =========================================================================	That's all folks !   ========================================================================= */

⌨️ 快捷键说明

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