|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Shared constants for the usb_selftest_soak translation units. More...
#include <stdint.h>Go to the source code of this file.
Shared constants for the usb_selftest_soak translation units.
The soak app is split into focused TUs (console / device / host / main); this header holds the typed-enum constants they share – thread + pool sizing, the text-formatter widths, the verify/soak geometry, the J-Link probe phases, the MRAM window, the SCSI sense triples, and the synthesized FAT16 layout. Plain compile-time constants only (no state), so every TU can include it freely.
Definition in file usb_selftest_common.h.
| enum scsi_sense_code_t : uint8_t |
SCSI sense triple for an unsupported / out-of-range request.
| Enumerator | |
|---|---|
| k_scsi_sense_illegal_request | Sense key: ILLEGAL REQUEST. |
| k_scsi_asc_lba_out_of_range | ASC: LBA out of range. |
| k_scsi_ascq_none | ASCQ: none. |
Definition at line 109 of file usb_selftest_common.h.
| enum scsi_wp_sense_t : uint8_t |
SCSI sense triple for a write to the protected medium.
| Enumerator | |
|---|---|
| k_scsi_sense_data_protect | Sense key: DATA PROTECT. |
| k_scsi_asc_write_protected | ASC: WRITE PROTECTED. |
Definition at line 116 of file usb_selftest_common.h.
| enum selftest_config_t : uint32_t |
Compile-time settings: threads, pool, console, retry cadence.
Definition at line 25 of file usb_selftest_common.h.
| enum selftest_fat_boot_t : uint32_t |
Boot-sector field values (MS FAT spec 1.03 sec 3.1).
Definition at line 152 of file usb_selftest_common.h.
| enum selftest_fat_geom_t : uint32_t |
Synthesized FAT16 volume geometry (MS FAT spec 1.03).
Identical to usb_msc_mram: one 512-byte sector per cluster, data region padded to 4096 clusters to cross the FAT16 threshold, MRAM.BIN occupying clusters 2..2049.
Definition at line 129 of file usb_selftest_common.h.
| enum selftest_fat_off_t : uint8_t |
Byte offsets inside the boot sector and directory entries.
Definition at line 172 of file usb_selftest_common.h.
| enum selftest_hex_t : uint8_t |
Hex/decimal text-formatter sizing constants.
Definition at line 52 of file usb_selftest_common.h.
| enum selftest_mask_t : uint32_t |
Bit-mask constants used by the text formatters.
| Enumerator | |
|---|---|
| k_selftest_nibble_mask | 4-bit nibble mask. |
| k_selftest_dec_radix | Base for decimal conversion. |
Definition at line 64 of file usb_selftest_common.h.
| enum selftest_mram_t : uint32_t |
The MRAM window the device-side volume exposes.
| Enumerator | |
|---|---|
| k_mram_base_addr | MRAM code window base address. |
| k_mram_bytes | 1 MiB window size. |
Definition at line 103 of file usb_selftest_common.h.
| enum selftest_phase_t : uint32_t |
J-Link probe values marking host-ladder progress.
Definition at line 89 of file usb_selftest_common.h.
| enum selftest_verify_t : uint32_t |
Content-verification geometry over the device's FAT16 volume.
Definition at line 73 of file usb_selftest_common.h.
| enum selftest_word_pack_t : uint32_t |
32-bit little-endian split constants.
| Enumerator | |
|---|---|
| k_word_shift | Bits per half-word. |
| k_word_mask | Low half-word mask. |
Definition at line 205 of file usb_selftest_common.h.