38typedef enum : uint32_t {
55typedef enum : uint8_t {
67typedef enum : uint32_t {
76typedef enum : uint32_t {
95typedef enum : uint32_t {
103#ifndef RA8_OFF_TARGET
unsigned long ULONG
ThreadX-compatible unsigned long (host stub).
void mlun_pattern_fill(uint32_t lun, uint32_t lba, UCHAR *out)
Fill one 512-byte sector with this LUN/LBA's deterministic bytes.
mlun_geom_t
LUN geometry + verification constants.
@ k_mlun_byte_mask
Byte mask.
@ k_mlun_pat_bias
Pattern constant bias.
@ k_mlun_count
Logical units exposed (UX_MAX_SLAVE_LUN).
@ k_mlun_no_mismatch
Probe: no mismatch.
@ k_mlun_pat_lun_mul
Per-LUN pattern multiplier.
@ k_mlun_mismatch_lun_shift
s_dbg_mismatch: LUN in bits 31:24.
@ k_mlun_block_size
SCSI logical block size.
@ k_mlun_target_lun0
First LUN index.
@ k_mlun_pat_lba_mul
Per-LBA pattern multiplier.
@ k_mlun_burst_blocks
Blocks per READ(10) burst.
@ k_mlun_sectors
512-byte sectors per LUN.
@ k_mlun_burst_bytes
8 x 512 B burst buffer.
mlun_mask_t
Bit-mask constants used by the text formatters.
@ k_mlun_dec_radix
Base for decimal conversion.
@ k_mlun_nibble_mask
4-bit nibble mask.
VOID mlun_host_worker(ULONG arg)
Host-side worker: retry the full pass until it succeeds.
mlun_hex_t
Hex/decimal text-formatter sizing constants.
@ k_mlun_nibble_bits
Bits per hex nibble.
@ k_mlun_hex_chars_u16
16-bit value -> "ABCD".
@ k_mlun_dec_chars_u32
Max digits for a 32-bit count.
@ k_mlun_hex_chars_u32
32-bit value -> "ABCDEF01".
@ k_mlun_hex_digit_split
Threshold between '0-9'/'A-F'.
mlun_phase_t
J-Link probe values marking host-ladder progress.
@ k_mlun_phase_verify
Reading + checking LUNs.
@ k_mlun_phase_enum
Enumerating.
@ k_mlun_phase_pass
All LUNs verified.
@ k_mlun_phase_init
ra8_usb_hmsc_init issued.
@ k_mlun_phase_boot
Host thread not started.
mlun_config_t
Compile-time settings: threads, pool, console, cadence.
@ k_mlun_thread_stack
Device worker stack (bytes).
@ k_mlun_host_stack
Host worker stack (bytes).
@ k_mlun_dev_priority
Device bring-up worker priority.
@ k_mlun_print_cap
Bound for console-string scans.
@ k_mlun_idle_ticks
Parked-loop back-off (ticks).
@ k_mlun_boot_wait_ticks
Host start delay (1 ms ticks).
@ k_mlun_retry_ticks
Pause between ladder retries.
@ k_mlun_usbx_pool_bytes
USBX memory pool (bytes).
@ k_mlun_host_priority
Host worker priority (below USBX).
@ k_mlun_baud
J-Link OB CDC log baud.