Skip to content

Commit

Permalink
usb/dwc: Added some defines that were missing for the DWC2 in the STM…
Browse files Browse the repository at this point in the history
…32H7 parts
  • Loading branch information
dragonmux committed Aug 11, 2024
1 parent 0f4be32 commit d77837a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/libopencm3/usb/dwc/otg_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@
#define OTG_GCCFG_SOFOUTEN (1U << 20U)
#define OTG_GCCFG_VBUSBSEN (1U << 19U)
#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 */
#define OTG_GCCFG_PWRDWN (1U << 16U)
/* Bits 15:0 - Reserved */
Expand Down

0 comments on commit d77837a

Please sign in to comment.