Go to the source code of this file.
Defines | |
#define | SEEK_SET 0 |
#define | SEEK_CUR 1 |
#define | SEEK_END 2 |
Functions | |
NUTFILE * | RawFsFileOpen (NUTDEVICE *dev, CONST char *path, int mode, int acc) |
Open a raw file. | |
int | RawFsFileClose (NUTFILE *nfp) |
Close a raw file. | |
int | RawFsFileWrite (NUTFILE *nfp, CONST void *buffer, int len) |
Write data to a file. | |
int | RawFsFileWrite_P (NUTFILE *nfp, PGM_P buffer, int len) |
Write data from program space to a file. | |
int | RawFsFileRead (NUTFILE *nfp, void *buffer, int size) |
Read data from a file. | |
int | RawFsUnmount (NUTDEVICE *dev) |
Unmount a raw volume. | |
int | RawFsMount (NUTDEVICE *dev, NUTFILE *blkmnt, uint8_t part_type) |
Mount a raw volume. | |
Variables | |
NUTDEVICE | devRawFs0 |
Raw device file system driver information structure. |
This file system provides a single file entry only, which is mapped to the entire volume. This implies, that there is no file name and that the size of the file is fixed.
* $Id: rawfs.c 2463 2009-02-13 14:52:05Z haraldkipp $ *
Definition in file rawfs.c.