📄 mal_func.h
字号:
/*-*-*-*-*-*-*-*-*-*-* (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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -