aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/OTGv1/stm32_otg.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-17 13:34:37 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-17 13:34:37 +0000
commit24f6e5ca625bca50d593429ac7fc420f2658adc6 (patch)
treed0891ec8caf158219af4e462c054d71d4279cb53 /os/hal/platforms/STM32/OTGv1/stm32_otg.h
parent777fa5d5684ef62c7241e43a457acfb69965e4a3 (diff)
downloadChibiOS-24f6e5ca625bca50d593429ac7fc420f2658adc6.tar.gz
ChibiOS-24f6e5ca625bca50d593429ac7fc420f2658adc6.tar.bz2
ChibiOS-24f6e5ca625bca50d593429ac7fc420f2658adc6.zip
Fixed bug 3603362.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5220 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/OTGv1/stm32_otg.h')
-rw-r--r--os/hal/platforms/STM32/OTGv1/stm32_otg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/OTGv1/stm32_otg.h b/os/hal/platforms/STM32/OTGv1/stm32_otg.h
index 842ec80ea..9a28c7f08 100644
--- a/os/hal/platforms/STM32/OTGv1/stm32_otg.h
+++ b/os/hal/platforms/STM32/OTGv1/stm32_otg.h
@@ -238,6 +238,7 @@ typedef struct {
#define GUSBCFG_CTXPKT (1U<<31) /**< Corrupt Tx packet. */
#define GUSBCFG_FDMOD (1U<<30) /**< Force Device Mode. */
#define GUSBCFG_FHMOD (1U<<29) /**< Force Host Mode. */
+#define GUSBCFG_ULPIEVBUSD (1U<<20) /**< ULPI External VBUS Drive */
#define GUSBCFG_TRDT_MASK (15U<<10) /**< USB Turnaround time field
mask. */
#define GUSBCFG_TRDT(n) ((n)<<10) /**< USB Turnaround time field
@@ -679,6 +680,7 @@ typedef struct {
#define DSTS_ENUMSPD_MASK (3U<<1) /**< Enumerated speed mask. */
#define DSTS_ENUMSPD_FS_48 (3U<<1) /**< Full speed (PHY clock is
running at 48 MHz). */
+#define DSTS_ENUMSPD_HS_480 (0U<<1) /**< High speed */
#define DSTS_SUSPSTS (1U<<0) /**< Suspend status. */
/** @} */