diff options
| author | hathach <[email protected]> | 2023-07-21 19:06:36 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-07-21 19:06:36 +0700 |
| commit | c122e9df73331fa60d1713c7cc4cf46251b0cd76 (patch) | |
| tree | 00f4a6245e6357672cb42ab4ba0cf33c2892418e /src/host/hcd.h | |
| parent | 14c98dd863a9cab55fc2981fb826f63eceed4b2d (diff) | |
implement hcd_edpt_abort_xfer() for EHCI, also move thing around a bit
Diffstat (limited to 'src/host/hcd.h')
| -rw-r--r-- | src/host/hcd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/host/hcd.h b/src/host/hcd.h index cbfffb349..90bfd79db 100644 --- a/src/host/hcd.h +++ b/src/host/hcd.h @@ -172,6 +172,7 @@ bool hcd_edpt_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_endpoint_t const bool hcd_edpt_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr, uint8_t * buffer, uint16_t buflen); // Abort a queued transfer. Note: it can only abort transfer that has not been started +// Return true if a queued transfer is aborted, false if there is no transfer to abort bool hcd_edpt_abort_xfer(uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr); // Submit a special transfer to send 8-byte Setup Packet, when complete hcd_event_xfer_complete() must be invoked |
