summaryrefslogtreecommitdiff
path: root/src/host/hcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-12-10 05:46:42 +0700
committerhathach <[email protected]>2018-12-10 05:47:33 +0700
commit57233cead73120dc10148340d32278e59c8ead3f (patch)
tree3885b71c41629bac812ff47a49b79574cb8c5ecd /src/host/hcd.h
parenta31f83dbb0d123d15dcc393dd9d926a4cc7352b6 (diff)
rename usbh_xfer_isr to hcd_event_xfer_complete
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
//--------------------------------------------------------------------+