FAT16 configuration
[FAT16 support]

Collaboration diagram for FAT16 configuration:

Defines

#define FAT16_WRITE_SUPPORT   1
#define FAT16_DATETIME_SUPPORT   0
#define fat16_get_datetime(year, month, day, hour, min, sec)   get_datetime(year, month, day, hour, min, sec)
#define FAT16_FS_COUNT   1
#define FAT16_FILE_COUNT   1
#define FAT16_DIR_COUNT   2

Detailed Description

Preprocessor defines to configure the FAT16 implementation.

Define Documentation

#define FAT16_DATETIME_SUPPORT   0

Controls FAT16 date and time support.

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

Definition at line 47 of file fat16_config.h.

#define FAT16_DIR_COUNT   2

Maximum number of directory handles.

Definition at line 87 of file fat16_config.h.

Referenced by fat16_open_dir().

#define FAT16_FILE_COUNT   1

Maximum number of file handles.

Definition at line 81 of file fat16_config.h.

Referenced by fat16_open_file().

#define FAT16_FS_COUNT   1

Maximum number of filesystem handles.

Definition at line 75 of file fat16_config.h.

Referenced by fat16_open().

#define fat16_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 FAT16_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 65 of file fat16_config.h.

Referenced by fat16_write_dir_entry().

#define FAT16_WRITE_SUPPORT   1

Controls FAT16 write support.

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

Definition at line 39 of file fat16_config.h.

Referenced by fat16_open().


Generated on Wed Sep 17 19:31:52 2008 for mptry by  doxygen 1.5.5