Hanna
Sourcecode Batteriemanagementsystem |
Makrodefinitionen | |
#define | FAT_DATETIME_SUPPORT 1 |
#define | FAT_DELAY_DIRENTRY_UPDATE 0 |
#define | FAT_DIR_COUNT 2 |
#define | FAT_FAT32_SUPPORT SD_RAW_SDHC |
#define | FAT_FILE_COUNT 1 |
#define | FAT_FS_COUNT 1 |
#define | fat_get_datetime(year, month, day, hour, min, sec) get_datetime(year, month, day, hour, min, sec) |
#define | FAT_LFN_SUPPORT 1 |
#define | FAT_WRITE_SUPPORT SD_RAW_WRITE_SUPPORT |
Preprocessor defines to configure the FAT implementation.
#define FAT_DATETIME_SUPPORT 1 |
Controls FAT date and time support.
Set to 1 to enable FAT date and time stamping support.
Definiert in Zeile 67 der Datei 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.
Definiert in Zeile 85 der Datei fat_config.h.
#define FAT_DIR_COUNT 2 |
Maximum number of directory handles.
Definiert in Zeile 124 der Datei fat_config.h.
#define FAT_FAT32_SUPPORT SD_RAW_SDHC |
Controls FAT32 support.
Set to 1 to enable FAT32 support.
Definiert in Zeile 75 der Datei fat_config.h.
#define FAT_FILE_COUNT 1 |
Maximum number of file handles.
Definiert in Zeile 118 der Datei fat_config.h.
#define FAT_FS_COUNT 1 |
Maximum number of filesystem handles.
Definiert in Zeile 112 der Datei fat_config.h.
#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.
[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. |
Definiert in Zeile 103 der Datei fat_config.h.
#define FAT_LFN_SUPPORT 1 |
Controls FAT long filename (LFN) support.
Set to 1 to enable LFN support, set to 0 to disable it.
Definiert in Zeile 59 der Datei 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.
Definiert in Zeile 51 der Datei fat_config.h.