fs_port_fatfs.h
bool_t fsDirExists(const char_t *path)
Check whether a directory exists.
Definition: fs_port_fatfs.c:667
error_t fsReadDir(FsDir *dir, FsDirEntry *dirEntry)
Read an entry from the specified directory stream.
Definition: fs_port_fatfs.c:859
error_t fsReadFile(FsFile *file, void *data, size_t size, size_t *length)
Read data from the specified file.
Definition: fs_port_fatfs.c:590
error_t fsRenameFile(const char_t *oldPath, const char_t *newPath)
Rename the specified file.
Definition: fs_port_fatfs.c:325
error_t fsWriteFile(FsFile *file, void *data, size_t length)
Write data to the specified file.
Definition: fs_port_fatfs.c:539
error_t fsGetFileSize(const char_t *path, uint32_t *size)
Retrieve the size of the specified file.
Definition: fs_port_fatfs.c:204
error_t fsSeekFile(FsFile *file, int_t offset, uint_t origin)
Move to specified position in file.
Definition: fs_port_fatfs.c:483
FsFile * fsOpenFile(const char_t *path, uint_t mode)
Open the specified file for reading or writing.
Definition: fs_port_fatfs.c:413
error_t fsGetFileStat(const char_t *path, FsFileStat *fileStat)
Retrieve the attributes of the specified file.
Definition: fs_port_fatfs.c:256
RTOS abstraction layer.