Hanna
Sourcecode Batteriemanagementsystem |
SD-Card Reader Bibliothek von Roland Riegel. Mehr ...
gehe zum Quellcode dieser Datei
Datenstrukturen | |
struct | fat_dir_entry_struct |
Makrodefinitionen | |
#define | FAT_ATTRIB_ARCHIVE (1 << 5) |
#define | FAT_ATTRIB_DIR (1 << 4) |
#define | FAT_ATTRIB_HIDDEN (1 << 1) |
#define | FAT_ATTRIB_READONLY (1 << 0) |
#define | FAT_ATTRIB_SYSTEM (1 << 2) |
#define | FAT_ATTRIB_VOLUME (1 << 3) |
#define | fat_delete_dir fat_delete_file |
#define | fat_move_dir fat_move_file |
#define | FAT_SEEK_CUR 1 |
#define | FAT_SEEK_END 2 |
#define | FAT_SEEK_SET 0 |
Funktionen | |
void | fat_close (struct fat_fs_struct *fs) |
void | fat_close_dir (struct fat_dir_struct *dd) |
void | fat_close_file (struct fat_file_struct *fd) |
uint8_t | fat_create_dir (struct fat_dir_struct *parent, const char *dir, struct fat_dir_entry_struct *dir_entry) |
uint8_t | fat_create_file (struct fat_dir_struct *parent, const char *file, struct fat_dir_entry_struct *dir_entry) |
uint8_t | fat_delete_file (struct fat_fs_struct *fs, struct fat_dir_entry_struct *dir_entry) |
uint8_t | fat_get_dir_entry_of_path (struct fat_fs_struct *fs, const char *path, struct fat_dir_entry_struct *dir_entry) |
void | fat_get_file_modification_date (const struct fat_dir_entry_struct *dir_entry, uint16_t *year, uint8_t *month, uint8_t *day) |
void | fat_get_file_modification_time (const struct fat_dir_entry_struct *dir_entry, uint8_t *hour, uint8_t *min, uint8_t *sec) |
offset_t | fat_get_fs_free (const struct fat_fs_struct *fs) |
offset_t | fat_get_fs_size (const struct fat_fs_struct *fs) |
uint8_t | fat_move_file (struct fat_fs_struct *fs, struct fat_dir_entry_struct *dir_entry, struct fat_dir_struct *parent_new, const char *file_new) |
struct fat_fs_struct * | fat_open (struct partition_struct *partition) |
struct fat_dir_struct * | fat_open_dir (struct fat_fs_struct *fs, const struct fat_dir_entry_struct *dir_entry) |
struct fat_file_struct * | fat_open_file (struct fat_fs_struct *fs, const struct fat_dir_entry_struct *dir_entry) |
uint8_t | fat_read_dir (struct fat_dir_struct *dd, struct fat_dir_entry_struct *dir_entry) |
intptr_t | fat_read_file (struct fat_file_struct *fd, uint8_t *buffer, uintptr_t buffer_len) |
uint8_t | fat_reset_dir (struct fat_dir_struct *dd) |
uint8_t | fat_resize_file (struct fat_file_struct *fd, uint32_t size) |
uint8_t | fat_seek_file (struct fat_file_struct *fd, int32_t *offset, uint8_t whence) |
intptr_t | fat_write_file (struct fat_file_struct *fd, const uint8_t *buffer, uintptr_t buffer_len) |
SD-Card Reader Bibliothek von Roland Riegel.
$Revision: 438 $ $Date: 2016-04-01 11:19:51 +0200 (Fri, 01 Apr 2016) $
FAT header (license: GPLv2 or LGPLv2.1)
Definiert in Datei fat.h.