AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
打开hal\_flash.h文件,接口列表如下: * 驱动程序初始化: ``` void hal_flash_init(void); ``` * FLASH 读操作: ``` int hal_flash_read(uint32_t address, uint16_t offset, uint8_t *buf, uint16_t len); ``` * FLASH 写操作: ``` int hal_flash_write(uint32_t address, uint16_t offset, const uint8_t *buf, uint16_t len); ``` * FLASH 写操作(双buffer): ``` int hal_flash_write2(uint32_t address, uint16_t offset, const uint8_t *buf1, uint16_t len1, const uint8_t *buf2, uint16_t len2); ``` * FLASH 擦除操作: ``` int hal_flash_erase(uint8_t page); ``` <br/>