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

Internal cursor used by the directory iterator. More...

#include <ra8_fs_fat_types_internal.h>

Data Fields

uint8_t is_root_fixed
 1 = FAT12/16 fixed root dir region.
uint32_t fixed_remaining
 Sectors left in fixed region.
uint32_t cluster
 Current cluster (FAT32 root case).
uint32_t sector_in_cluster
 0..SPC-1 inside cluster.
uint64_t cur_lba
 Currently loaded LBA.
uint32_t entry_idx
 Byte offset within the loaded sector.
uint32_t cluster_hops
 FAT-chain follows so far (cycle guard).

Detailed Description

Internal cursor used by the directory iterator.

Definition at line 485 of file ra8_fs_fat_types_internal.h.

Field Documentation

◆ cluster

uint32_t dir_walk_t::cluster

Current cluster (FAT32 root case).

Definition at line 488 of file ra8_fs_fat_types_internal.h.

Referenced by internal_dir_grow(), internal_dir_walk_init_root(), priv_dir_walk_init_loc(), and priv_dir_walk_next_sector().

◆ cluster_hops

uint32_t dir_walk_t::cluster_hops

FAT-chain follows so far (cycle guard).

Definition at line 492 of file ra8_fs_fat_types_internal.h.

Referenced by internal_dir_walk_init_root(), priv_dir_walk_init_loc(), and priv_dir_walk_next_sector().

◆ cur_lba

◆ entry_idx

uint32_t dir_walk_t::entry_idx

Byte offset within the loaded sector.

Definition at line 491 of file ra8_fs_fat_types_internal.h.

Referenced by internal_dir_walk_init_root(), priv_dir_walk_init_loc(), and priv_dir_walk_next_sector().

◆ fixed_remaining

uint32_t dir_walk_t::fixed_remaining

Sectors left in fixed region.

Definition at line 487 of file ra8_fs_fat_types_internal.h.

Referenced by internal_dir_walk_init_root(), priv_dir_walk_init_loc(), and priv_dir_walk_next_sector().

◆ is_root_fixed

uint8_t dir_walk_t::is_root_fixed

1 = FAT12/16 fixed root dir region.

Definition at line 486 of file ra8_fs_fat_types_internal.h.

Referenced by internal_dir_walk_init_root(), priv_dir_walk_init_loc(), and priv_dir_walk_next_sector().

◆ sector_in_cluster

uint32_t dir_walk_t::sector_in_cluster

0..SPC-1 inside cluster.

Definition at line 489 of file ra8_fs_fat_types_internal.h.

Referenced by internal_dir_walk_init_root(), priv_dir_walk_init_loc(), and priv_dir_walk_next_sector().


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