1 Star 0 Fork 0

vsf-linux / xfel

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
spinor.h 493 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef __SPINOR_H__
#define __SPINOR_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <fel.h>
int spinor_detect(struct xfel_ctx_t * ctx, char * name, uint64_t * capacity);
int spinor_erase(struct xfel_ctx_t * ctx, uint64_t addr, uint64_t len);
int spinor_read(struct xfel_ctx_t * ctx, uint64_t addr, void * buf, uint64_t len);
int spinor_write(struct xfel_ctx_t * ctx, uint64_t addr, void * buf, uint64_t len);
#ifdef __cplusplus
}
#endif
#endif /* __SPINOR_H__ */
1
https://gitee.com/vsf-linux/xfel.git
git@gitee.com:vsf-linux/xfel.git
vsf-linux
xfel
xfel
master

搜索帮助