CARME-M4 BSP  V1.5
Functions and Buffer

Functions and Buffer Configurations. More...

+ Collaboration diagram for Functions and Buffer:

Macros

#define _FS_TINY   0
 When _FS_TINY is set to 1, FatFs uses the sector buffer in the file system object instead of the sector buffer in the individual file object for file data transfer. This reduces memory consumption 512 bytes each file object. More...
 
#define _FS_READONLY   0
 Setting _FS_READONLY to 1 defines read only configuration. This removes writing functions, f_write(), f_sync(), f_unlink(), f_mkdir(), f_chmod(), f_rename(), f_truncate() and useless f_getfree(). More...
 
#define _FS_MINIMIZE   0
 The _FS_MINIMIZE option defines minimization level to remove API functions. More...
 
#define _USE_STRFUNC   1
 To enable string functions, set _USE_STRFUNC to 1 or 2. More...
 
#define _USE_MKFS   1
 To enable f_mkfs() function, set _USE_MKFS to 1 and set _FS_READONLY to 0. More...
 
#define _USE_FASTSEEK   0
 To enable fast seek feature, set _USE_FASTSEEK to 1. More...
 
#define _USE_LABEL   0
 To enable volume label functions, set _USE_LABEL to 1. More...
 
#define _USE_FORWARD   0
 To enable f_forward() function, set _USE_FORWARD to 1 and set _FS_TINY to 1. More...
 

Detailed Description

Functions and Buffer Configurations.

Macro Definition Documentation

#define _FS_MINIMIZE   0

The _FS_MINIMIZE option defines minimization level to remove API functions.

Value:

Definition at line 88 of file ffconf.h.

#define _FS_READONLY   0

Setting _FS_READONLY to 1 defines read only configuration. This removes writing functions, f_write(), f_sync(), f_unlink(), f_mkdir(), f_chmod(), f_rename(), f_truncate() and useless f_getfree().

Value:

  • 0: Read/Write
  • 1: Read only

Definition at line 74 of file ffconf.h.

#define _FS_TINY   0

When _FS_TINY is set to 1, FatFs uses the sector buffer in the file system object instead of the sector buffer in the individual file object for file data transfer. This reduces memory consumption 512 bytes each file object.

Value:

  • 0: Normal
  • 1: Tiny

Definition at line 62 of file ffconf.h.

#define _USE_FASTSEEK   0

To enable fast seek feature, set _USE_FASTSEEK to 1.

Value:

  • 0: Disable
  • 1: Enable

Definition at line 117 of file ffconf.h.

#define _USE_FORWARD   0

To enable f_forward() function, set _USE_FORWARD to 1 and set _FS_TINY to 1.

Value:

  • 0: Disable
  • 1: Enable

Definition at line 136 of file ffconf.h.

#define _USE_LABEL   0

To enable volume label functions, set _USE_LABEL to 1.

Value:

  • 0: Disable
  • 1: Enable

Definition at line 126 of file ffconf.h.

#define _USE_MKFS   1

To enable f_mkfs() function, set _USE_MKFS to 1 and set _FS_READONLY to 0.

Value:

  • 0: Disable
  • 1: Enable

Definition at line 108 of file ffconf.h.

#define _USE_STRFUNC   1

To enable string functions, set _USE_STRFUNC to 1 or 2.

Value:

  • 0: Disable
  • 1: Enable
  • 2: Enable

Definition at line 98 of file ffconf.h.