ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
usb_selftest_cdc_steps.h
Go to the documentation of this file.
1
26
27#pragma once
28
29#include <stdint.h>
30
47
68
69#ifndef RA8_OFF_TARGET
70#include "tx_api.h"
71
90VOID cdc_host_worker(ULONG arg);
91#endif /* !RA8_OFF_TARGET */
unsigned long ULONG
ThreadX-compatible unsigned long (host stub).
cdc_geom_t
Echo payload + bulk-pipe + pattern constants.
@ k_cdc_rounds
Echo rounds the host runs.
@ k_cdc_pipe_in
Host pipe for the device bulk-IN.
@ k_cdc_echo_buf
One-MPS scratch buffer (bytes).
@ k_cdc_ep_out_num
Device bulk-OUT endpoint number.
@ k_cdc_no_mismatch
Probe: no mismatch.
@ k_cdc_pat_idx_mul
Per-index pattern multiplier.
@ k_cdc_payload
Bytes per echo round (sub-MPS).
@ k_cdc_byte_mask
Byte mask.
@ k_cdc_pat_bias
Pattern constant bias.
@ k_cdc_ep_in_num
Device bulk-IN endpoint number.
@ k_cdc_pipe_out
Host pipe for the device bulk-OUT.
@ k_cdc_pat_round_mul
Per-round pattern multiplier.
@ k_cdc_mps
Bulk endpoint wMaxPacketSize (FS).
@ k_cdc_dev_addr
Address the host assigns.
VOID cdc_host_worker(ULONG arg)
Host-side worker: retry the full pass until it succeeds.
cdc_config_t
Compile-time settings: threads, pool, console, cadence.
@ k_cdc_thread_stack
Device worker stack (bytes).
@ k_cdc_usbx_pool_bytes
USBX memory pool (bytes).
@ k_cdc_retry_ticks
Pause between ladder retries.
@ k_cdc_host_priority
Host worker priority (below USBX).
@ k_cdc_print_cap
Bound for console-string scans.
@ k_cdc_boot_wait_ticks
Host start delay (1 ms ticks).
@ k_cdc_dev_priority
Device bring-up worker priority.
@ k_cdc_host_stack
Host worker stack (bytes).
@ k_cdc_baud
J-Link OB CDC log baud.
@ k_cdc_idle_ticks
Parked-loop back-off (ticks).