update ehci driver

This commit is contained in:
jzlv
2022-02-09 15:18:08 +08:00
parent 1ca9783de5
commit 1f4eb91259
3 changed files with 55 additions and 6 deletions

View File

@@ -78,7 +78,7 @@ int usbh_reset_port(const uint8_t port);
* @brief get roothub port speed
*
* @param port port index
* @return return 0 means USB_SPEED_LOW, 1 means USB_SPEED_FULL and 2 means USB_SPEED_HIGH.
* @return return 1 means USB_SPEED_LOW, 2 means USB_SPEED_FULL and 3 means USB_SPEED_HIGH.
*/
uint8_t usbh_get_port_speed(const uint8_t port);