|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Identifies the directory a lookup/scan should operate in. More...
#include <ra8_fs_fat_types_internal.h>
Data Fields | |
| uint8_t | is_root |
| 1 => the volume root; 0 => the subdirectory at cluster. | |
| uint32_t | cluster |
| First cluster of the subdirectory (ignored when root). | |
Identifies the directory a lookup/scan should operate in.
Either the volume root (is_root != 0) or a subdirectory rooted at a first cluster. This is what generalises the root-only directory primitives to nested paths: the root walker already handles both the FAT12/16 fixed-root region and a FAT32 root cluster chain, and a subdirectory is simply that same cluster-chain case starting at an arbitrary cluster.
Definition at line 508 of file ra8_fs_fat_types_internal.h.
| uint32_t dir_loc_t::cluster |
First cluster of the subdirectory (ignored when root).
Definition at line 510 of file ra8_fs_fat_types_internal.h.
Referenced by internal_enter_subdir(), internal_fat_mkdir(), internal_fat_push(), internal_fat_tree(), internal_rename_prepare(), priv_dir_walk_init_loc(), and priv_resolve_dir().
| uint8_t dir_loc_t::is_root |
1 => the volume root; 0 => the subdirectory at cluster.
Definition at line 509 of file ra8_fs_fat_types_internal.h.
Referenced by internal_dir_grow(), internal_enter_subdir(), internal_fat_mkdir(), internal_fat_push(), internal_fat_tree(), internal_rename_prepare(), priv_dir_walk_init_loc(), and priv_resolve_dir().