usb/dwc: Added some defines that were missing for the DWC2 in the STM32H7 parts

This commit is contained in:
dragonmux
2024-04-17 00:20:39 +01:00
committed by Piotr Esden-Tempski
parent 972d408ba5
commit 51351862b9

View File

@@ -227,6 +227,11 @@
#define OTG_GCCFG_SOFOUTEN (1U << 20U) #define OTG_GCCFG_SOFOUTEN (1U << 20U)
#define OTG_GCCFG_VBUSBSEN (1U << 19U) #define OTG_GCCFG_VBUSBSEN (1U << 19U)
#define OTG_GCCFG_VBUSASEN (1U << 18U) #define OTG_GCCFG_VBUSASEN (1U << 18U)
/** Only on cores >= 0x2300 */
#define OTG_GCCFG_SDEN (1U << 20U)
#define OTG_GCCFG_PDEN (1U << 19U)
#define OTG_GCCFG_DCDEN (1U << 18U)
#define OTG_GCCFG_BCDEN (1U << 17U)
/* Bit 17 - Reserved */ /* Bit 17 - Reserved */
#define OTG_GCCFG_PWRDWN (1U << 16U) #define OTG_GCCFG_PWRDWN (1U << 16U)
/* Bits 15:0 - Reserved */ /* Bits 15:0 - Reserved */