sd-reader
|
Preprocessor defines to configure the FAT implementation. More...
Defines | |
#define | FAT_WRITE_SUPPORT |
Controls FAT write support. | |
#define | FAT_LFN_SUPPORT |
Controls FAT long filename (LFN) support. | |
#define | FAT_DATETIME_SUPPORT |
Controls FAT date and time support. | |
#define | FAT_FAT32_SUPPORT |
Controls FAT32 support. | |
#define | FAT_DELAY_DIRENTRY_UPDATE |
Controls updates of directory entries. | |
#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. |
Preprocessor defines to configure the FAT implementation.
#define FAT_DATETIME_SUPPORT |
Controls FAT date and time support.
Set to 1 to enable FAT date and time stamping support.
#define FAT_DELAY_DIRENTRY_UPDATE |
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.
#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.
[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_LFN_SUPPORT |
Controls FAT long filename (LFN) support.
Set to 1 to enable LFN support, set to 0 to disable it.
#define FAT_WRITE_SUPPORT |
Controls FAT write support.
Set to 1 to enable FAT write support, set to 0 to disable it.