summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Panhuber <[email protected]>2021-01-18 17:08:59 +0100
committerReinhard Panhuber <[email protected]>2021-01-18 17:08:59 +0100
commit84c383061f4af9e0fa66326a09c6c332920df6a7 (patch)
treeea6ac9e78b30672e013ac9f40a52c38bc5381dd4
parent3a3ada0c57013fb64f69178a1c6299abc74e4f40 (diff)
Add tusb_fifo.h header file to dcd.h
-rw-r--r--src/device/dcd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/device/dcd.h b/src/device/dcd.h
index b7e5a8da0..1b2d2b941 100644
--- a/src/device/dcd.h
+++ b/src/device/dcd.h
@@ -32,6 +32,7 @@
#define _TUSB_DCD_H_
#include "common/tusb_common.h"
+#include "common/tusb_fifo.h"
#ifdef __cplusplus
extern "C" {
@@ -133,6 +134,9 @@ void dcd_edpt_close (uint8_t rhport, uint8_t ep_addr) TU_ATTR_WEAK;
// Submit a transfer, When complete dcd_event_xfer_complete() is invoked to notify the stack
bool dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t total_bytes);
+// Submit an ISO transfer, When complete dcd_event_xfer_complete() is invoked to notify the stack
+bool dcd_edpt_ISO_xfer (uint8_t rhport, uint8_t ep_addr, tu_fifo_t * ff);
+
// Stall endpoint
void dcd_edpt_stall (uint8_t rhport, uint8_t ep_addr);