diff options
| author | sakumisu <[email protected]> | 2022-08-12 21:35:17 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2022-08-12 21:35:17 +0800 |
| commit | 628ee1f74df2ac62fdbf39a27c9bd0af1e64dda9 (patch) | |
| tree | efc23d27953fba5baca27a03fc12422a046e2edf /common | |
| parent | 88f710458c01c33760e3f9e672064ce2430b03ee (diff) | |
add mount callback for device, move tests in mount callback
Diffstat (limited to 'common')
| -rw-r--r-- | common/usb_hc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/usb_hc.h b/common/usb_hc.h index bc70d6b7..78575388 100644 --- a/common/usb_hc.h +++ b/common/usb_hc.h @@ -226,6 +226,10 @@ int usbh_ep_intr_async_transfer(usbh_epinfo_t ep, uint8_t *buffer, uint32_t bufl */ int usb_ep_cancel(usbh_epinfo_t ep); +/* usb hcd irq callback */ + +void usbh_event_notify_handler(uint8_t event, uint8_t rhport); + #ifdef __cplusplus } #endif |
