打开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/>
- 框架介绍
- Main 函数
- HAL 函数接口说明
- hal_system.h
- hal_systick.h
- hal_idt.h
- hal_ioctl.h
- hal_flash.h
- hal_lpm.h
- hal_rtc.h
- hal_iwdg.h
- hal_uart.h
- hal_i2c.h
- hal_led.h
- hal_button.h
- hal_vht2x.h
- hal_lcd.h
- Services 函数接口说明
- svc_system.h
- svc_database.h
- svc_hid.h
- svc_msg.h
- svc_humiture.h
- svc_log.h
- Tasks 说明
- task_system.c
- task_example.c
- Libs 函数接口说明
- mathlib.h
- json.h
- atcmd.h
- atcmd_proxy.h
- libwifi.h
- libs1.h