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.
|
Raw device file system.
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 4473 2012-08-20 15:12:45Z haraldkipp $
*