fs_lbl.h

来自「UCOS操作系统的文件系统开发实例,有兴趣的可以」· C头文件 代码 · 共 52 行

H
52
字号
/************************************************************************                          Micrium, Inc.*                      949 Crestview Circle*                     Weston,  FL 33327-1848**                            uC/FS**                (c) Copyright 2002, Micrium, Inc.*                      All rights reserved.************************************************************************----------------------------------------------------------------------
File        : fs_lbl.h 
Purpose     : Header file for the file system's Logical Block Layer
----------------------------------------------------------------------
Known problems or limitations with current version
----------------------------------------------------------------------
None.
---------------------------END-OF-HEADER------------------------------
*/

#ifndef _FS_LBL_H_
#define _FS_LBL_H_

/*********************************************************************
*
*             #define constants
*
**********************************************************************
*/

#define FS_LBL_MEDIACHANGED     0x0001


/*********************************************************************
*
*             Global function prototypes
*
**********************************************************************
*/

int FS__lb_status(const FS__device_type *driver, FS_u32 id);
int FS__lb_read(const FS__device_type *driver, FS_u32 id, FS_u32 block, void *buffer);
int FS__lb_write(const FS__device_type *driver, FS_u32 id, FS_u32 block, void *buffer);
int FS__lb_ioctl(const FS__device_type *driver, FS_u32 id, FS_i32 cmd, FS_i32 aux, void *buffer);

#endif  /* _FS_LBL_H_  */


⌨️ 快捷键说明

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