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

📄 mfm20format.c

📁 我今天开始上传5份TI、NXP、MTK的手机开发全套资料。希望对大家有很大的帮助
💻 C
字号:
#ifdef FSS_FTR#define ACCESS_RIGHTS_INTERNAL_MFM#define MFM20FORMAT_C#include "mFm.h"#undef  FILE_NUMBER#define FILE_NUMBER 20 #undef PROCEDURE_NUMBER #define PROCEDURE_NUMBER 1void mFm20_01FormatVol( void * pp_LayerContext, void * pp_Param ){   t_fs_llFormatVolume * pl_Param = (t_fs_llFormatVolume *) pp_Param;   u16 vl_FileId;    /* Get to lower layer to format the volume */    MC_MFM_LL_FORMAT ( pl_Param->p_Status );    /* If format of volume OK creates the volume root directory file,	this first file which must obligatory have a null ID */    if ( *pl_Param->p_Status == FS_OK )    {	/* Get to lower layer creates a new file */	MC_MFM_LL_CREATE_FILE ( &vl_FileId, 0, pl_Param->p_Status );  	/* If no error it is needed to verify that the file ID is null 		if not an exception is to generate */	if ( *pl_Param->p_Status == FS_OK )	{	    if ( vl_FileId != 0 ) MFM_EXCPTHANDLER( MFM_BLOCKED, MC_MFM_EXCPT_ROOT_ID_ERR);	}    }}#endif /* FSS_FTR */

⌨️ 快捷键说明

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