git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10341 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Rocco Marco Guglielmi 2017-07-26 16:49:32 +00:00
parent b263680b98
commit 4633e54ba9
2 changed files with 8 additions and 6 deletions

View File

@ -125,11 +125,11 @@
* @name RCC_CR register bits definitions
* @{
*/
#define STM32_RTCPRE_MASK (3 << 29) /**< RTCPRE mask. */
#define STM32_RTCPRE_DIV2 (0 << 29) /**< HSE divided by 2. */
#define STM32_RTCPRE_DIV4 (1 << 29) /**< HSE divided by 4. */
#define STM32_RTCPRE_DIV8 (2 << 29) /**< HSE divided by 2. */
#define STM32_RTCPRE_DIV16 (3 << 29) /**< HSE divided by 16. */
#define STM32_RTCPRE_MASK (3 << 20) /**< RTCPRE mask. */
#define STM32_RTCPRE_DIV2 (0 << 20) /**< HSE divided by 2. */
#define STM32_RTCPRE_DIV4 (1 << 20) /**< HSE divided by 4. */
#define STM32_RTCPRE_DIV8 (2 << 20) /**< HSE divided by 2. */
#define STM32_RTCPRE_DIV16 (3 << 20) /**< HSE divided by 16. */
/** @} */
/**
@ -891,7 +891,7 @@
#elif (STM32_SW == STM32_SW_MSI)
#define STM32_SYSCLK STM32_MSICLK
#elif (STM32_SW == STM32_SW_HSI16)
#define STM32_SYSCLK STM32_HSI16CLK
#define STM32_SYSCLK STM32_HSI16DIVCLK
#elif (STM32_SW == STM32_SW_HSE)
#define STM32_SYSCLK STM32_HSECLK
#elif (STM32_SW == STM32_SW_PLL)

View File

@ -89,6 +89,8 @@
*****************************************************************************
*** Next ***
- HAL: Fixed wrong bit mask in STM32L0 hal lld (bug #866)(backported to
17.6.1 and 16.1.9).
- RT: Fixed misplaced assertion in semaphores code (bug #865)(backported to
17.6.1 and 16.1.9).
- HAL: Fixed STM32 USBv1 fails the state check when USB_USE_WAIT is TRUE