diff options
| author | Ha Thach <[email protected]> | 2019-12-24 21:11:40 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-12-24 21:11:40 +0700 |
| commit | 21cc8237e1130c489bc4ef3b7dea1c41eef25d56 (patch) | |
| tree | de9ef9a7d0bff897e84ec46853f21170900d250e /src/device/dcd.h | |
| parent | a601f59df5e61801cbbe87467c70a48b740d4bfd (diff) | |
| parent | bbada1d3e6dba5b339c7cd4129e5df7b3203c11b (diff) | |
Merge pull request #243 from hathach/port-samg55
merge WIP branch for samd dcd fix
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);
|
