flash MTD 层 描述符 更多...
#include <mtd_dev.h>
成员变量 | |
VOID * | priv |
UINT32 | type |
UINT64 | size |
UINT32 | eraseSize |
4K, 跟PAGE_CACHE_SIZE对应 更多... | |
int(* | erase )(struct MtdDev *mtd, UINT64 start, UINT64 len, UINT64 *failAddr) |
擦除flash操作 更多... | |
int(* | read )(struct MtdDev *mtd, UINT64 start, UINT64 len, const char *buf) |
读操作 更多... | |
int(* | write )(struct MtdDev *mtd, UINT64 start, UINT64 len, const char *buf) |
写操作 更多... | |