projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to new wizard.
[bertos.git]
/
bertos
/
fs
/
fat.h
diff --git
a/bertos/fs/fat.h
b/bertos/fs/fat.h
index 77d046eeb9ae8aa58b6398556fccc290ea4d6f20..0dd1529f752568e36df92fedbae4a0a07cbd0853 100644
(file)
--- a/
bertos/fs/fat.h
+++ b/
bertos/fs/fat.h
@@
-32,16
+32,24
@@
*
* \brief FatFS: kfile interface for FatFS module by ChaN.
*
*
* \brief FatFS: kfile interface for FatFS module by ChaN.
*
+ * This driver needs some low level hardware access functions. An example implementation
+ * is provided in sd.h.
+ *
* \version $Id$
*
* \author Luca Ottaviano <lottaviano@develer.com>
*
* \version $Id$
*
* \author Luca Ottaviano <lottaviano@develer.com>
*
+ * $WIZ$ module_name = "fat"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_fat.h"
+ * $WIZ$ module_depends = "kfile", "ff"
+ *
*/
*/
+
#ifndef FS_FAT_H
#define FS_FAT_H
#include <kern/kfile.h>
#ifndef FS_FAT_H
#define FS_FAT_H
#include <kern/kfile.h>
-#include "fatfs/
src/
ff.h"
+#include "fatfs/ff.h"
typedef struct FatFile
{
typedef struct FatFile
{
@@
-60,6
+68,10
@@
INLINE FatFile * FATFILE_CAST(KFile *fd)
/**
* Initialize \a file and open \a file_path for reading.
/**
* Initialize \a file and open \a file_path for reading.
+ * \param file A pointer to a FatFile structure.
+ * \param file_path The file path on the filesystem.
+ * \param mode Open mode for the file.
+ * \sa ff.h for return code meaning and \a mode flags.
*/
FRESULT fatfile_open(FatFile *file, const char *file_path, BYTE mode);
*/
FRESULT fatfile_open(FatFile *file, const char *file_path, BYTE mode);