📄 fs_dev.h
字号:
/************************************************************************ Micrium, Inc.* 949 Crestview Circle* Weston, FL 33327-1848** uC/FS** (c) Copyright 2002, Micrium, Inc.* All rights reserved.************************************************************************----------------------------------------------------------------------
File : fs_dev.h
Purpose : Define structures for Device Drivers
----------------------------------------------------------------------
Known problems or limitations with current version
----------------------------------------------------------------------
None.
---------------------------END-OF-HEADER------------------------------
*/
#ifndef _FS_DEV_H_
#define _FS_DEV_H_
/*********************************************************************
*
* Global data types
*
**********************************************************************
*/
typedef struct {
FS_FARCHARPTR name;
int (*dev_status)(FS_u32 id);
int (*dev_read)(FS_u32 id, FS_u32 block, void *buffer);
int (*dev_write)(FS_u32 id, FS_u32 block, void *buffer);
int (*dev_ioctl)(FS_u32 id, FS_i32 cmd, FS_i32 aux, void *buffer);
} FS__device_type;
#endif /* _FS_DEV_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -