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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h
index 9637ca661..efdfb920d 100644
--- a/src/host/hcd.h
+++ b/src/host/hcd.h
@@ -76,6 +76,7 @@ typedef struct
uint32_t len;
} xfer_complete;
};
+
} hcd_event_t;
#if MODE_HOST_SUPPORTED
@@ -118,6 +119,11 @@ void hcd_int_enable (uint8_t rhport);
void hcd_int_disable(uint8_t rhport);
//--------------------------------------------------------------------+
+// Event function
+//--------------------------------------------------------------------+
+void hcd_event_handler(hcd_event_t const* event, bool in_isr);
+
+//--------------------------------------------------------------------+
// PIPE API
//--------------------------------------------------------------------+
// TODO control xfer should be used via usbh layer