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

One overwritten sector of the otherwise-synthesized FAT16 volume. More...

Data Fields

uint32_t lba
 Overwritten LBA.
bool valid
 Slot in use.
uint8_t data [k_vmsc_block_size]
 The written 512-byte sector.

Detailed Description

One overwritten sector of the otherwise-synthesized FAT16 volume.

A writable host (usb_host_file_ops) creates a file: ra8_fs rewrites a few FAT / root / data sectors. We keep those writes in a small overlay so the read-back reads them back; everything else is still synthesized on the fly.

Definition at line 390 of file emu_usbh_seam.c.

Field Documentation

◆ data

uint8_t vmsc_overlay_t::data[k_vmsc_block_size]

The written 512-byte sector.

Definition at line 393 of file emu_usbh_seam.c.

◆ lba

uint32_t vmsc_overlay_t::lba

Overwritten LBA.

Definition at line 391 of file emu_usbh_seam.c.

◆ valid

bool vmsc_overlay_t::valid

Slot in use.

Definition at line 392 of file emu_usbh_seam.c.


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