完成flash读写以及测试

This commit is contained in:
forbelief 2016-04-22 16:13:24 +08:00
parent 168e97ebe8
commit 07f28f3331
9 changed files with 114 additions and 89 deletions

View 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 */