ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
dir_loc_t Struct Reference

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).

Detailed Description

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.

Since
0.1.0

Definition at line 508 of file ra8_fs_fat_types_internal.h.

Field Documentation

◆ cluster

uint32_t dir_loc_t::cluster

◆ is_root

uint8_t dir_loc_t::is_root

The documentation for this struct was generated from the following file: