summaryrefslogtreecommitdiff
path: root/src/host/hcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/hcd.h')
-rw-r--r--src/host/hcd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index 14ec68a48..31a1876b4 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -127,6 +127,9 @@ void hcd_event_device_attach(uint8_t rhport);
// Helper to send device removal event
void hcd_event_device_remove(uint8_t hostid);
+// Helper to send USB transfer event
+void hcd_event_xfer_complete(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes);
+
//--------------------------------------------------------------------+
// Endpoints API
//--------------------------------------------------------------------+