diff options
| author | hathach <[email protected]> | 2018-12-10 05:46:42 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-10 05:47:33 +0700 |
| commit | 57233cead73120dc10148340d32278e59c8ead3f (patch) | |
| tree | 3885b71c41629bac812ff47a49b79574cb8c5ecd /src/host/hcd.h | |
| parent | a31f83dbb0d123d15dcc393dd9d926a4cc7352b6 (diff) | |
rename usbh_xfer_isr to hcd_event_xfer_complete
Diffstat (limited to 'src/host/hcd.h')
| -rw-r--r-- | src/host/hcd.h | 3 |
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
//--------------------------------------------------------------------+
|
