FAT configuration
[FAT support]


Detailed Description

Preprocessor defines to configure the FAT implementation.


Defines

#define FAT_WRITE_SUPPORT
 Controls FAT write support.
#define FAT_DATETIME_SUPPORT
 Controls FAT date and time support.
#define FAT_FAT32_SUPPORT
 Controls FAT32 support.
#define fat_get_datetime(year, month, day, hour, min, sec)
 Determines the function used for retrieving current date and time.
#define FAT_FS_COUNT
 Maximum number of filesystem handles.
#define FAT_FILE_COUNT
 Maximum number of file handles.
#define FAT_DIR_COUNT
 Maximum number of directory handles.


Define Documentation

#define FAT_DATETIME_SUPPORT

Controls FAT date and time support.

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

#define FAT_FAT32_SUPPORT

Controls FAT32 support.

Set to 1 to enable FAT32 support.

#define fat_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.

#define FAT_WRITE_SUPPORT

Controls FAT write support.

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


Generated on Fri Nov 21 09:17:15 2008 for sd-reader by  doxygen 1.5.6