擦除
函数
int norflash_eraser_otp(void);
描述
擦除
参数
void
返回值
0:成功 其他:失败
写
函数
int norflash_write_otp(u8 *buf, int len);
描述
写
参数
buf:需要写入的数据地址
len:数据长度(注意:len<=768)
返回值
0:成功 其他:失败
读
函数
int norflash_read_otp(u8 *buf, int len);
描述
读
参数
buf:数据缓存地址
len:读取数据长度(主要:len<=768)
返回值
0:成功 其他:失败