added optional dcd_control_status_complete()

This commit is contained in:
hathach
2019-11-03 18:00:07 +07:00
parent 2d98dae13e
commit 65e96e5d52
3 changed files with 7 additions and 0 deletions
+4
View File
@@ -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
//--------------------------------------------------------------------+