From 433bf3bc52ce5460fcb35a6327cbdc8847d0ae1b Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 20 Aug 2012 08:18:49 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4590 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/OTGv1/stm32_otg.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'os/hal') diff --git a/os/hal/platforms/STM32/OTGv1/stm32_otg.h b/os/hal/platforms/STM32/OTGv1/stm32_otg.h index 6ba0746c9..bf45d4bc4 100644 --- a/os/hal/platforms/STM32/OTGv1/stm32_otg.h +++ b/os/hal/platforms/STM32/OTGv1/stm32_otg.h @@ -638,6 +638,9 @@ typedef struct { #define DCFG_NZLSOHSK (1U<<2) /**< Non-Zero-Length status OUT handshake. */ #define DCFG_DSPD_MASK (3U<<0) /**< Device speed mask. */ +#define DCFG_DSPD_HS (0U<<0) /**< High speed (USB 2.0). */ +#define DCFG_DSPD_HS_FS (1U<<0) /**< High speed (USB 2.0) in FS + mode. */ #define DCFG_DSPD_FS11 (3U<<0) /**< Full speed (USB 1.1 transceiver clock is 48 MHz). */ -- cgit v1.2.3