diff options
| author | Reinhard Panhuber <[email protected]> | 2021-01-18 17:08:59 +0100 |
|---|---|---|
| committer | Reinhard Panhuber <[email protected]> | 2021-01-18 17:08:59 +0100 |
| commit | 84c383061f4af9e0fa66326a09c6c332920df6a7 (patch) | |
| tree | ea6ac9e78b30672e013ac9f40a52c38bc5381dd4 | |
| parent | 3a3ada0c57013fb64f69178a1c6299abc74e4f40 (diff) | |
Add tusb_fifo.h header file to dcd.h
| -rw-r--r-- | src/device/dcd.h | 4 |
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); |
