add usbh_deinitialize api

This commit is contained in:
sakumisu
2023-12-24 23:37:47 +08:00
parent 8a831cdaa5
commit f68a86ea89
12 changed files with 179 additions and 0 deletions

View File

@@ -61,6 +61,13 @@ struct usbh_urb {
*/
int usb_hc_init(void);
/**
* @brief usb host controller hardware deinit.
*
* @return On success will return 0, and others indicate fail.
*/
int usb_hc_deinit(void);
/**
* @brief Get frame number.
*