summaryrefslogtreecommitdiff
path: root/src/device/dcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-12-24 21:13:05 +0700
committerhathach <[email protected]>2019-12-24 21:13:05 +0700
commit2caa1ac07804bef581cd30e6fc5057a6515fb094 (patch)
treee25eb313d1c0b5219c7f24fe4fded4178969ed2f /src/device/dcd.h
parenta1c94067f778dc6f055c132ca18c870a107910be (diff)
parent21cc8237e1130c489bc4ef3b7dea1c41eef25d56 (diff)
Merge branch 'master' into develop
Diffstat (limited to 'src/device/dcd.h')
-rw-r--r--src/device/dcd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h
index dca289e78..8ae232fa6 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -110,6 +110,10 @@ void dcd_remote_wakeup(uint8_t rhport);
// Endpoint API
//--------------------------------------------------------------------+
+// Invoked when a control transfer's status stage is complete.
+// May help DCD to prepare for next control transfer, this API is optional.
+void dcd_edpt0_status_complete(uint8_t rhport, tusb_control_request_t const * request) TU_ATTR_WEAK;
+
// Configure endpoint's registers according to descriptor
bool dcd_edpt_open (uint8_t rhport, tusb_desc_endpoint_t const * p_endpoint_desc);