diff options
| author | William D. Jones <[email protected]> | 2019-11-03 12:52:34 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-11-03 12:52:34 -0500 |
| commit | 965f3a8f1dcaa557fc79191d1a345b10e65488a7 (patch) | |
| tree | ab7187b5627774f6e82e2cceaced4f09f6692306 /src/device/dcd.h | |
| parent | 130d7ea530a04d6f6683fee72ba36232dc8f5e7e (diff) | |
| parent | 65e96e5d525ea02e0ca7f265a4d62b4f428cc821 (diff) | |
Merge pull request #2 from hathach/cr1901-msp430f5529
added void dcd_control_status_complete(uint8_t rhport)
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 9fa98c669..c88465cbb 100644 --- a/src/device/dcd.h +++ b/src/device/dcd.h @@ -119,6 +119,10 @@ void dcd_edpt_stall (uint8_t rhport, uint8_t ep_addr); // clear stall, data toggle is also reset to DATA0
void dcd_edpt_clear_stall (uint8_t rhport, uint8_t ep_addr);
+// 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_control_status_complete(uint8_t rhport) TU_ATTR_WEAK;
+
//--------------------------------------------------------------------+
// Event API
//--------------------------------------------------------------------+
|
