mal_func.c

来自「HID-Ukey底层源码实现(st72651芯片) windows上层驱动」· C语言 代码 · 共 41 行

C
41
字号
/*-*-*-*-*-*-*-*-*-*-* (C) 2000 STMicroelectronics *-*-*-*-*-*-*-*-*-*-*-*-*-*

PROJECT  : ST7265 Media Access Library
COMPILER : ST7 C

MODULE  :  MAL_Func.c
VERSION :  V 1.0 Beta

CREATION DATE :  16/03/2001

AUTHOR : Liang Ping
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

DESCRIPTION : All functions except those with individual one

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Modification:

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#include "MConfig.h"
#include "MAL_Func.h"

unsigned long Medium_Capacity[MAX_LUN+1];	// the last addres of the medium
extern unsigned char LUN_Config;

extern void MAL_SMC_Funcs();
extern void SMC_DTC_Int();

#pragma INTO_ROM
const void (*MAL_Func[MAX_LUN+1])() = {
	MAL_SMC_Funcs,
	MAL_SMC_Funcs,
};

#pragma INTO_ROM
const void (*MAL_DTC_Int[MAX_LUN+1])() = {
	SMC_DTC_Int,
	SMC_DTC_Int,
};

⌨️ 快捷键说明

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