mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-05 09:46:36 +08:00
14 lines
353 B
C
14 lines
353 B
C
/*
|
|
* Yann Sionneau <ys@m-labs.hk>, 2015
|
|
*/
|
|
|
|
#ifndef __FLASH_STORAGE_H
|
|
#define __FLASH_STORAGE_H
|
|
|
|
void fs_remove(const char *key);
|
|
void fs_erase(void);
|
|
int fs_write(const char *key, const void *buffer, unsigned int buflen);
|
|
unsigned int fs_read(const char *key, void *buffer, unsigned int buflen, unsigned int *remain);
|
|
|
|
#endif /* __FLASH_STORAGE_H */
|