mal_func.h
来自「HID-Ukey底层源码实现(st72651芯片) windows上层驱动」· C头文件 代码 · 共 43 行
H
43 行
/*-*-*-*-*-*-*-*-*-*-* (C) 2000 STMicroelectronics *-*-*-*-*-*-*-*-*-*-*-*-*-*
PROJECT : ST7265 Media Access Library
COMPILER : ST7 C
MODULE : MAL_Func.h
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"
extern void MAL_Medium_Plug(unsigned char slot);
extern void MAL_Medium_Removing(unsigned char slot);
extern void MAL_Init(void);
extern unsigned long Medium_Capacity[MAX_LUN+1]; // the last addres of the medium
#define MAL_INIT (0*3)
#define MAL_READ (1*3)
#define MAL_WRITE (2*3)
#define MAL_VERIFY (3*3)
#define MAL_FORMAT (4*3)
#define MAL_READ_CAPACITY (5*3)
#define MAL_CHECK_WP (6*3)
#define MAL_BREAK (7*3)
#define MAL_DTC_INTERRUPT (8*3)
#pragma INTO_ROM
extern const void (*MAL_DTC_Int[])();
#pragma INTO_ROM
extern const void (*MAL_Func[])();
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?