|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Tunables for ra8_fs_format() (the on-disk geometry of a fresh volume). More...
#include <ra8_fs_types.h>
Data Fields | |
| ra8_fs_type_t | type |
| FAT variant to lay down (12/16/32). | |
| const char * | label |
| 0..11 char volume label, or NULL. | |
| uint8_t | sectors_per_cluster |
| Cluster size; 0 = auto-select. | |
Tunables for ra8_fs_format() (the on-disk geometry of a fresh volume).
Open/Closed seam for the formatter: callers select the FAT variant and label, and may optionally pin the cluster size. Zero-initialise the struct (= {}) for sane defaults – a zero sectors_per_cluster asks the formatter to pick the smallest power-of-two that lands the cluster count inside the range valid for type on the backend's capacity.
Definition at line 224 of file ra8_fs_types.h.
| const char* ra8_fs_format_opts_t::label |
0..11 char volume label, or NULL.
Definition at line 226 of file ra8_fs_types.h.
Referenced by demo_fs_format_mount(), demo_fs_format_or_panic(), eoh_mount_or_halt(), etoc_mount_or_halt(), fs_fmt_run_exfat(), fs_fmt_run_one_type(), internal_demo_mount(), internal_demo_mount(), internal_demo_probe_fat(), internal_pc_mount_or_halt(), internal_ra8_io_roundtrip_format_mount(), internal_swap_run_one(), ra8_io_roundtrip_mount(), and sdhi_demo_mount_via_io().
| uint8_t ra8_fs_format_opts_t::sectors_per_cluster |
Cluster size; 0 = auto-select.
Definition at line 227 of file ra8_fs_types.h.
| ra8_fs_type_t ra8_fs_format_opts_t::type |
FAT variant to lay down (12/16/32).
Definition at line 225 of file ra8_fs_types.h.
Referenced by demo_fs_format_mount(), demo_fs_format_or_panic(), eoh_mount_or_halt(), etoc_mount_or_halt(), fs_fmt_run_exfat(), fs_fmt_run_one_type(), internal_demo_mount(), internal_demo_mount(), internal_demo_probe_fat(), internal_pc_mount_or_halt(), internal_ra8_io_roundtrip_format_mount(), internal_swap_run_one(), ra8_io_roundtrip_mount(), and sdhi_demo_mount_via_io().