aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F4xx/hal_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-06-28 09:06:01 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2015-06-28 09:06:01 +0000
commit32490c00b3f484d228f1a7b80d19213c5c935c9c (patch)
treef6cb078f9154675e1cbd8193a0bbfc32b52206da /os/hal/ports/STM32/STM32F4xx/hal_lld.h
parentd2fb55a6bc64b2f793017589a7b1faabf2e33b28 (diff)
downloadChibiOS-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
Diffstat (limited to 'os/hal/ports/STM32/STM32F4xx/hal_lld.h')
-rw-r--r--os/hal/ports/STM32/STM32F4xx/hal_lld.h24
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. */
/*===========================================================================*/