From 32490c00b3f484d228f1a7b80d19213c5c935c9c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 28 Jun 2015 09:06:01 +0000 Subject: Fixed SAI stuff. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8057 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F4xx/hal_lld.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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. */ /*===========================================================================*/ -- cgit v1.2.3