完成flash读写以及测试
This commit is contained in:
parent
168e97ebe8
commit
07f28f3331
9 changed files with 114 additions and 89 deletions
26
plan_manage_main/src/app/include/pm_flash.h
Normal file
26
plan_manage_main/src/app/include/pm_flash.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* pm_flash.h - flash应用模块
|
||||
*/
|
||||
|
||||
#ifndef PM_FLASH_H
|
||||
#define PM_FLASH_H
|
||||
|
||||
|
||||
|
||||
void pm_flash_init(void);
|
||||
|
||||
|
||||
|
||||
void flash_write(uint8_t *saddr, uint16_t nbyte);
|
||||
|
||||
|
||||
void flash_read(uint8_t *daddr, uint8_t nbyte);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* PM_FLASH_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue