diff options
| author | Ha Thach <[email protected]> | 2025-12-13 18:48:07 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-13 18:48:07 +0700 |
| commit | 54857210e6541b1e41970ab70f19d3cdf434011c (patch) | |
| tree | ab4a1222fc804fa8b13ac836cc592c66af66ef73 /src/device/dcd.h | |
| parent | 20b03bbc081353295f7a491038bd3efbc9c3a75a (diff) | |
| parent | 85354377fd855480f4be99fb67e5805fe88d059d (diff) | |
Merge pull request #3358 from hathach/dwc2_cfg
Add dcd_configure for dwc2 FIFO config
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); |
