forked from xuos/xiuos
Modifying functions in usb core is related to xhci.
This commit is contained in:
@@ -108,6 +108,15 @@ int usbh_roothub_control(struct usbh_bus *usb, struct usb_setup_packet *setup, u
|
||||
*/
|
||||
int usbh_get_devaddr(struct usbh_hubport *hport);
|
||||
|
||||
/**
|
||||
* @brief get port speed.
|
||||
*
|
||||
* @param hport Hub of USB device
|
||||
* @param port Port index
|
||||
* @return On success will return speed, and others indicate fail.
|
||||
*/
|
||||
uint8_t usbh_get_port_speed(struct usbh_hub *hub, const uint8_t port);
|
||||
|
||||
/**
|
||||
* @brief reconfig endpoint pipe.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user