ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
usb_msc_mram_hs_steps.h
Go to the documentation of this file.
1
25
26#pragma once
27
28#include <stdint.h>
29
35typedef enum : uint32_t {
41
71
72#ifndef RA8_OFF_TARGET
73
74#include "tx_api.h"
75#include "ux_api.h"
76
96void demo_fat_fill_sector(uint32_t lba, UCHAR* out);
97
98#endif /* !RA8_OFF_TARGET */
demo_config_t
Compile-time settings for the HTTPS client demo.
Definition main.c:87
@ k_demo_thread_stack
Demo thread stack.
Definition main.c:89
@ k_demo_idle_ticks
Idle back-off when no class active.
Definition main.c:122
@ k_demo_usbx_pool_bytes
USBX pool: 32 KiB; CDC-ACM enum exhausts 16 KiB.
Definition main.c:120
@ k_demo_block_size
SCSI logical block size (bytes).
Definition main.c:123
@ k_fat_root_entries
Root directory entries.
@ k_fat_eoc
End-of-chain marker.
@ k_fat_data_sectors
Padded data region (>= 4085).
@ k_fat_data_lba
First data sector (cluster 2).
@ k_fat_root_sectors
512 entries x 32 B / 512 B.
@ k_fat_root_lba
First root-directory sector.
@ k_fat_fat_sectors
FAT16 size for 4098 entries.
@ k_fat_fat_lba
First FAT sector.
@ k_fat_first_cluster
FAT data area starts at cluster 2.
@ k_fat_entry0
FAT[0]: media F8 + filler.
@ k_fat_reserved_sectors
Boot sector only.
@ k_fat_entries_per_sec
FAT16 entries per 512-byte sector.
@ k_fat_total_sectors
1 + 17 + 32 + 4096.
@ k_fat_last_mram_clus
Last cluster of MRAM.BIN.
@ k_fat_num_fats
Single FAT copy.
@ k_fat_mram_clusters
Clusters backed by MRAM (1 MiB).
void demo_fat_fill_sector(uint32_t lba, UCHAR *out)
Synthesize one 512-byte sector of the read-only volume.
demo_fat_geom_t
Synthesized FAT16 volume geometry (MS FAT spec 1.03).