summaryrefslogtreecommitdiff
path: root/src/device/usbd_pvt.h
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2024-06-02 14:04:54 +0200
committerHiFiPhile <[email protected]>2025-06-14 22:45:40 +0200
commit76a6834659e50f50bfff39febb62ec67be25d581 (patch)
treeca385144665b48fe0eedb893828c094ecba39a77 /src/device/usbd_pvt.h
parente95973d3462cdacd165a4057632d46248ded7b8a (diff)
USBD: introduce xfer_isr.
Diffstat (limited to 'src/device/usbd_pvt.h')
-rw-r--r--src/device/usbd_pvt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/usbd_pvt.h b/src/device/usbd_pvt.h
index 5c6f9dbee..40622be66 100644
--- a/src/device/usbd_pvt.h
+++ b/src/device/usbd_pvt.h
@@ -57,6 +57,7 @@ typedef struct {
uint16_t (* open ) (uint8_t rhport, tusb_desc_interface_t const * desc_intf, uint16_t max_len);
bool (* control_xfer_cb ) (uint8_t rhport, uint8_t stage, tusb_control_request_t const * request);
bool (* xfer_cb ) (uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_t xferred_bytes);
+ bool (* xfer_isr ) (uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_t xferred_bytes); // optional
void (* sof ) (uint8_t rhport, uint32_t frame_count); // optional
} usbd_class_driver_t;