diff options
| author | HiFiPhile <[email protected]> | 2025-11-21 15:43:37 +0100 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2025-11-21 15:43:37 +0100 |
| commit | 3842980adfceb0ee83c0d587a708236fb9d70561 (patch) | |
| tree | 4206775c929e9f792cfaa4767054fa6d7ec91344 /src/device/dcd.h | |
| parent | c785469881199b92b5ee8739d56ffe5aebcb6804 (diff) | |
dcd: add tud_configure()
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/device/dcd.h')
| -rw-r--r-- | src/device/dcd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h index 8a074ab47..850c37bc2 100644 --- a/src/device/dcd.h +++ b/src/device/dcd.h @@ -107,6 +107,9 @@ bool dcd_dcache_clean_invalidate(const void* addr, uint32_t data_size); // Controller API //--------------------------------------------------------------------+ +// optional dcd configuration, called by tud_configure() +bool dcd_configure(uint8_t rhport, uint32_t cfg_id, const void* cfg_param); + // Initialize controller to device mode bool dcd_init(uint8_t rhport, const tusb_rhport_init_t* rh_init); |
