2015-04-08 00:31:19 +08:00
|
|
|
/*
|
|
|
|
* Yann Sionneau <ys@m-labs.hk>, 2015
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __FLASH_STORAGE_H
|
|
|
|
#define __FLASH_STORAGE_H
|
|
|
|
|
2015-04-28 13:01:54 +08:00
|
|
|
void fs_erase(void);
|
2015-04-27 17:48:31 +08:00
|
|
|
void fs_write(char *key, void *buffer, unsigned int buflen);
|
|
|
|
unsigned int fs_read(char *key, void *buffer, unsigned int buflen, unsigned int *remain);
|
2015-04-08 00:31:19 +08:00
|
|
|
|
|
|
|
#endif /* __FLASH_STORAGE_H */
|