diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-06-28 09:06:01 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2015-06-28 09:06:01 +0000 |
commit | 32490c00b3f484d228f1a7b80d19213c5c935c9c (patch) | |
tree | f6cb078f9154675e1cbd8193a0bbfc32b52206da | |
parent | d2fb55a6bc64b2f793017589a7b1faabf2e33b28 (diff) | |
download | ChibiOS-32490c00b3f484d228f1a7b80d19213c5c935c9c.tar.gz ChibiOS-32490c00b3f484d228f1a7b80d19213c5c935c9c.tar.bz2 ChibiOS-32490c00b3f484d228f1a7b80d19213c5c935c9c.zip |
Fixed SAI stuff.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8057 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/ports/STM32/STM32F4xx/hal_lld.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32F4xx/hal_lld.h b/os/hal/ports/STM32/STM32F4xx/hal_lld.h index ab5a327de..e94aadab5 100644 --- a/os/hal/ports/STM32/STM32F4xx/hal_lld.h +++ b/os/hal/ports/STM32/STM32F4xx/hal_lld.h @@ -692,6 +692,30 @@ #endif
/** @} */
+/**
+ * @brief PLLSAIQ value.
+ * @note The allowed values are 2..15.
+ */
+#if !defined(STM32_PLLSAIQ_VALUE) || defined(__DOXYGEN__)
+#define STM32_PLLSAIQ_VALUE 8
+#endif
+
+/**
+ * @brief PLLSAIQ value.
+ * @note The allowed values are 49..432.
+ */
+#if !defined(STM32_PLLSAIN_VALUE) || defined(__DOXYGEN__)
+#define STM32_PLLSAIN_VALUE 120
+#endif
+
+/**
+ * @brief PLLSAIQ value.
+ * @note The allowed values are 2..7.
+ */
+#if !defined(STM32_PLLSAIR_VALUE) || defined(__DOXYGEN__)
+#define STM32_PLLSAIR_VALUE 4
+#endif
+
/*===========================================================================*/
/* Derived constants and error checks. */
/*===========================================================================*/
|