summaryrefslogtreecommitdiff
path: root/src/device/dcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-12-15 15:31:55 +0700
committerhathach <[email protected]>2025-12-15 15:31:55 +0700
commitfa36515e6f1fdeebb84056534b8f878e1f454770 (patch)
tree9c266c7197bafe84a40413fc9c9fa6460f55e422 /src/device/dcd.h
parent991fa7736dd8ae3f10abf51f0ac89f5e976851af (diff)
parentad5fe66f19e8fb633f175affcfa27b8376e40639 (diff)
Merge branch 'refs/heads/master' into enum_catch
Diffstat (limited to 'src/device/dcd.h')
-rw-r--r--src/device/dcd.h3
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);