esp-idf/components/usb/private_include
Darian Leung 0b77a7289c
refactor(usb/host): Simplify USBH and Hub interaction
Previously, on a device disconnection, the USBH and Hub would the require the
following 2-way interaction:

- Hub -> usbh_hub_pass_event() -> USBH to indicate a port error
- USBH -> usbh_hub_req_cb_t -> Hub to request port recovery after the device
has been freed.

The 2-way interaction has been simplified:

- USBH now nofities upper layers of devices being freed via the
USBH_EVENT_DEV_FREE event
- Hub now handles port recovery only after a device has been freed
2024-06-02 00:29:33 +08:00
..
hcd.h usb_host: Run formatting script 2023-07-15 12:56:45 +02:00
hub.h refactor(usb/host): Simplify USBH and Hub interaction 2024-06-02 00:29:33 +08:00
usb_private.h change(usb/host): Remove data buffer headers from URBs 2024-02-27 18:15:59 +08:00
usbh.h refactor(usb/host): Simplify USBH and Hub interaction 2024-06-02 00:29:33 +08:00