FAT configuration
[FAT support]

Collaboration diagram for FAT configuration:

Defines

#define FAT_WRITE_SUPPORT   SD_RAW_WRITE_SUPPORT
#define FAT_LFN_SUPPORT   1
#define FAT_DATETIME_SUPPORT   0
#define FAT_FAT32_SUPPORT   SD_RAW_SDHC
#define FAT_DELAY_DIRENTRY_UPDATE   0
#define fat_get_datetime(year, month, day, hour, min, sec)   get_datetime(year, month, day, hour, min, sec)
#define FAT_FS_COUNT   1
#define FAT_FILE_COUNT   1
#define FAT_DIR_COUNT   2

Detailed Description

Preprocessor defines to configure the FAT implementation.

Define Documentation

#define FAT_DATETIME_SUPPORT   0

Controls FAT date and time support.

Set to 1 to enable FAT date and time stamping support.

Definition at line 54 of file fat_config.h.

#define FAT_DELAY_DIRENTRY_UPDATE   0

Controls updates of directory entries.

Set to 1 to delay directory entry updates until the file is closed. This can boost performance significantly, but may cause data loss if the file is not properly closed.

Definition at line 72 of file fat_config.h.

#define FAT_DIR_COUNT   2

Maximum number of directory handles.

Definition at line 111 of file fat_config.h.

Referenced by fat_open_dir().

#define FAT_FAT32_SUPPORT   SD_RAW_SDHC

Controls FAT32 support.

Set to 1 to enable FAT32 support.

Definition at line 62 of file fat_config.h.

Referenced by fat_get_fs_free().

#define FAT_FILE_COUNT   1

Maximum number of file handles.

Definition at line 105 of file fat_config.h.

Referenced by fat_open_file().

#define FAT_FS_COUNT   1

Maximum number of filesystem handles.

Definition at line 99 of file fat_config.h.

Referenced by fat_open().

#define fat_get_datetime ( year,
month,
day,
hour,
min,
sec   )     get_datetime(year, month, day, hour, min, sec)

Determines the function used for retrieving current date and time.

Define this to the function call which shall be used to retrieve current date and time.

Note:
Used only when FAT_DATETIME_SUPPORT is 1.
Parameters:
[out] year Pointer to a uint16_t which receives the current year.
[out] month Pointer to a uint8_t which receives the current month.
[out] day Pointer to a uint8_t which receives the current day.
[out] hour Pointer to a uint8_t which receives the current hour.
[out] min Pointer to a uint8_t which receives the current minute.
[out] sec Pointer to a uint8_t which receives the current sec.

Definition at line 90 of file fat_config.h.

Referenced by fat_write_dir_entry().

#define FAT_LFN_SUPPORT   1

Controls FAT long filename (LFN) support.

Set to 1 to enable LFN support, set to 0 to disable it.

Definition at line 46 of file fat_config.h.

#define FAT_WRITE_SUPPORT   SD_RAW_WRITE_SUPPORT

Controls FAT write support.

Set to 1 to enable FAT write support, set to 0 to disable it.

Definition at line 38 of file fat_config.h.

Referenced by fat_open(), and fat_seek_file().


Generated on Tue Jul 20 09:30:59 2010 for WaspmoteAPI by  doxygen 1.5.6