aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-09-03 13:41:48 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-09-03 13:41:48 +0000
commitf6c67102beda3747a33ed818b71f7ec7e24d1be0 (patch)
tree4f0032e6de66528f372dce1dfd1e3ad5bee298ac /os/hal/ports/STM32/LLD/OTGv1/usb_lld.h
parent9b7696e58f3b006da9fdc60003f640197951681b (diff)
downloadChibiOS-f6c67102beda3747a33ed818b71f7ec7e24d1be0.tar.gz
ChibiOS-f6c67102beda3747a33ed818b71f7ec7e24d1be0.tar.bz2
ChibiOS-f6c67102beda3747a33ed818b71f7ec7e24d1be0.zip
Merged ULPI code in STM32 OTGv1 driver, not tested yet. It does not harm ULPI-less operations.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8271 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/OTGv1/usb_lld.h')
-rw-r--r--os/hal/ports/STM32/LLD/OTGv1/usb_lld.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h
index c1954f058..4ded14b85 100644
--- a/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h
+++ b/os/hal/ports/STM32/LLD/OTGv1/usb_lld.h
@@ -101,6 +101,15 @@
#endif
/**
+ * @brief Enables HS mode on OTG2 else FS mode.
+ * @note The default is @p TRUE.
+ * @note Has effect only if @p BOARD_OTG2_USES_ULPI is defined.
+ */
+#if !defined(STM32_USE_USB_OTG2_HS) || defined(__DOXYGEN__)
+#define STM32_USE_USB_OTG2_HS TRUE
+#endif
+
+/**
* @brief Dedicated data pump threads priority.
*/
#if !defined(STM32_USB_OTG_THREAD_PRIO) || defined(__DOXYGEN__)