*
* \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>
#define FS_FAT_H
#include <kern/kfile.h>
-#include "fatfs/src/ff.h"
+#include "fatfs/ff.h"
typedef struct FatFile
{
/**
* 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);