diff options
| author | Ha Thach <[email protected]> | 2020-01-07 16:26:58 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-01-07 16:26:58 +0700 |
| commit | 130250a2be309ecfe5cd68764a6f4b7a9cc4dfc7 (patch) | |
| tree | 4e05aa80345fb803946e47a68896c21bff0aba63 /src/device/dcd.h | |
| parent | 5c5f876461e81ff7c2937978e4e6855e0208ebfb (diff) | |
| parent | d6a8d42bd6ed5ee1d9ea2e58128a3903dcd88d79 (diff) | |
Merge branch 'master' into nuc121
Diffstat (limited to 'src/device/dcd.h')
| -rw-r--r-- | src/device/dcd.h | 4 |
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);
|
