diff options
Diffstat (limited to 'stmhal/usb.h')
-rw-r--r-- | stmhal/usb.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stmhal/usb.h b/stmhal/usb.h index ae16e72076..debb4aa7c4 100644 --- a/stmhal/usb.h +++ b/stmhal/usb.h @@ -41,6 +41,11 @@ typedef enum { PYB_USB_STORAGE_MEDIUM_SDCARD, } pyb_usb_storage_medium_t; +typedef enum { + USB_PHY_FS_ID = 0, + USB_PHY_HS_ID = 1, +} USB_PHY_ID; + extern mp_uint_t pyb_usb_flags; extern struct _USBD_HandleTypeDef hUSBDDevice; extern pyb_usb_storage_medium_t pyb_usb_storage_medium; |