This commit is contained in:
2026-02-26 14:08:17 +01:00
parent d48bc33530
commit b8b3e6ea44
9 changed files with 362 additions and 134 deletions

View File

@@ -7,4 +7,20 @@
* @brief Initializes the filesystem by mounting it
*/
int fs_init(void);
/**
* @brief Puts the QSPI flash into deep sleep mode to save power
*/
int fs_pm_flash_suspend(void);
/**
* @brief Resumes the QSPI flash from deep sleep mode
*/
int fs_pm_flash_resume(void);
int fs_pm_open(struct fs_file_t *file, const char *path, fs_mode_t mode);
int fs_pm_close(struct fs_file_t *file);
int fs_pm_opendir(struct fs_dir_t *dirp, const char *path);
int fs_pm_closedir(struct fs_dir_t *dirp);
#endif // FS_H