甜甜过客

文章
6
资源
0
加入时间
4年0月9天

杰理之flash应用层使用API接口【篇】

函数int norflash_open(const char *name, struct device **device, void *arg);描述norflash_open函数是初始化flash硬件,在用户使用flash的API接口首先需要打开才能使用flash API(多次打开没有影响)参数name、device、arg为NULL即可。返回值0:成功 其他:失败函数int norflash_origin_read(u8 *buf, u32 offset, u32 len);描述n