|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
What ra8_fs_stat() read out of a directory entry. More...
#include <ra8_fs_types.h>
Data Fields | |
| uint64_t | size_bytes |
| File length in bytes; 0 for a directory. | |
| uint32_t | first_cluster |
| Head of the entry's cluster chain (0 if empty). | |
| ra8_fs_timestamp_t | created |
| Creation timestamp, or invalid for the root. | |
| ra8_fs_timestamp_t | modified |
| Last-modified timestamp. | |
| ra8_fs_timestamp_t | accessed |
| Last-accessed timestamp (date-only on FAT). | |
| uint8_t | attr |
| The entry's own FAT attribute byte. | |
| bool | is_directory |
| true => the ATTR_DIRECTORY bit is set. | |
What ra8_fs_stat() read out of a directory entry.
The on-disk facts about one name, reported without opening it. That distinction is the point of the struct: a directory has no file handle to open and a metadata query must not consume one of the four file slots, so everything here comes from the directory entry itself.
Definition at line 396 of file ra8_fs_types.h.
| ra8_fs_timestamp_t ra8_fs_stat_t::accessed |
Last-accessed timestamp (date-only on FAT).
Definition at line 401 of file ra8_fs_types.h.
Referenced by internal_stat_exfat_times(), internal_stat_fat_times(), and ra8_io_vfs_stat().
| uint8_t ra8_fs_stat_t::attr |
The entry's own FAT attribute byte.
Definition at line 402 of file ra8_fs_types.h.
Referenced by internal_entry_to_stat(), internal_stat_exfat(), internal_stat_root(), internal_stub_stat(), and ra8_io_vfs_stat().
| ra8_fs_timestamp_t ra8_fs_stat_t::created |
Creation timestamp, or invalid for the root.
Definition at line 399 of file ra8_fs_types.h.
Referenced by internal_stat_exfat_times(), internal_stat_fat_times(), and ra8_io_vfs_stat().
| uint32_t ra8_fs_stat_t::first_cluster |
Head of the entry's cluster chain (0 if empty).
Definition at line 398 of file ra8_fs_types.h.
Referenced by internal_entry_to_stat(), internal_stat_exfat(), and internal_stat_root().
| bool ra8_fs_stat_t::is_directory |
true => the ATTR_DIRECTORY bit is set.
Definition at line 403 of file ra8_fs_types.h.
Referenced by internal_entry_to_stat(), internal_stat_exfat(), internal_stat_root(), internal_stub_stat(), and ra8_io_vfs_stat().
| ra8_fs_timestamp_t ra8_fs_stat_t::modified |
Last-modified timestamp.
Definition at line 400 of file ra8_fs_types.h.
Referenced by internal_stat_exfat_times(), internal_stat_fat_times(), and ra8_io_vfs_stat().
| uint64_t ra8_fs_stat_t::size_bytes |
File length in bytes; 0 for a directory.
Definition at line 397 of file ra8_fs_types.h.
Referenced by internal_entry_to_stat(), internal_stat_exfat(), internal_stat_root(), internal_stub_stat(), and ra8_io_vfs_stat().