14 lines
341 B
C
14 lines
341 B
C
|
|
#ifndef _FLASH_CONFIG_H__
|
||
|
|
#define _FLASH_CONFIG_H__
|
||
|
|
|
||
|
|
#include "drv_flash.h"
|
||
|
|
|
||
|
|
|
||
|
|
void stm_flash_init(void);
|
||
|
|
int8_t stm_flash_read(uint8_t *pbuf, uint8_t frame_type);
|
||
|
|
int8_t stm_flash_write(uint8_t *pbuf, uint16_t size, uint8_t frame_type);
|
||
|
|
|
||
|
|
extern flash_manage_t stm_flash_manage; // 声明flash管理结构体
|
||
|
|
|
||
|
|
#endif /* _FLASH_CONFIG_H__ */
|