CARME-M4 BSP  V1.5

System Configurations. More...

+ Collaboration diagram for System:

Macros

#define _WORD_ACCESS   0
 The _WORD_ACCESS option is an only platform dependent option. It defines which access method is used to the word data on the FAT volume. More...
 
#define _FS_REENTRANT   1
 The _FS_REENTRANT option switches the re-entrancy (thread safe) of the FatFs module. More...
 
#define _FS_TIMEOUT   1000
 Timeout period in unit of time ticks.
 
#define _SYNC_t   void *
 O/S dependent type of sync object. e.g. HANDLE, OS_EVENT*, ID and etc..
 
#define _FS_LOCK   8
 To enable file lock control feature, set _FS_LOCK to 1 or greater. The value defines how many files can be opened simultaneously. More...
 

Detailed Description

System Configurations.

Note
A header file that defines sync object types on the O/S, such as windows.h, ucos_ii.h and semphr.h, must be included prior to ff.h.

Macro Definition Documentation

#define _FS_LOCK   8

To enable file lock control feature, set _FS_LOCK to 1 or greater. The value defines how many files can be opened simultaneously.

Value:

  • 0: Disable
  • >=1: Enable

Definition at line 389 of file ffconf.h.

#define _FS_REENTRANT   1

The _FS_REENTRANT option switches the re-entrancy (thread safe) of the FatFs module.

Value:

Definition at line 368 of file ffconf.h.

#define _WORD_ACCESS   0

The _WORD_ACCESS option is an only platform dependent option. It defines which access method is used to the word data on the FAT volume.

Value:

  • 0: Byte-by-byte access. Always compatible with all platforms.
  • 1: Word access. Do not choose this unless under both the following conditions.
Note
  • Byte order on the memory is little-endian.
  • Address miss-aligned word access is always allowed for all instructions.
If it is the case, _WORD_ACCESS can also be set to 1 to improve performance and reduce code size.

Definition at line 356 of file ffconf.h.