add mount callback for device, move tests in mount callback

This commit is contained in:
sakumisu
2022-08-12 21:35:17 +08:00
parent 88f710458c
commit 628ee1f74d
7 changed files with 32 additions and 17 deletions

View File

@@ -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