diff options
| author | HiFiPhile <[email protected]> | 2025-11-21 15:44:07 +0100 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2025-11-21 16:55:41 +0100 |
| commit | a6df41d895bb19eecbd16cab9471c82681785d11 (patch) | |
| tree | d860e436b3da27bb10f445d344299ba57f264b9e /src/device | |
| parent | 3842980adfceb0ee83c0d587a708236fb9d70561 (diff) | |
dcd/dwc2: add IN fifo configure
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/device')
| -rw-r--r-- | src/device/usbd.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h index b40ef6277..781688a8a 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -33,6 +33,20 @@ extern "C" { #endif +// ConfigID for tuh_configure() +enum { + TUD_CFGID_INVALID = 0, + TUD_CFGID_DWC2 = 100, +}; + +typedef struct { + uint16_t bm_double_buffered; // bitmap of IN endpoints to be double buffered, only effective for bulk endpoints +} tud_configure_dwc2_t; + +typedef union { + tud_configure_dwc2_t dwc2; +} tud_configure_param_t; + //--------------------------------------------------------------------+ // Application API //--------------------------------------------------------------------+ |
