|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 .cpu cortex-m0plus
|
|
|
|
|
2 .eabi_attribute 20, 1
|
|
|
|
|
3 .eabi_attribute 21, 1
|
|
|
|
|
4 .eabi_attribute 23, 3
|
|
|
|
|
5 .eabi_attribute 24, 1
|
|
|
|
|
6 .eabi_attribute 25, 1
|
|
|
|
|
7 .eabi_attribute 26, 1
|
|
|
|
|
8 .eabi_attribute 30, 1
|
|
|
|
|
9 .eabi_attribute 34, 0
|
|
|
|
|
10 .eabi_attribute 18, 4
|
|
|
|
|
11 .file "stm32l0xx_ll_rcc.c"
|
|
|
|
|
12 .text
|
|
|
|
|
13 .Ltext0:
|
|
|
|
|
14 .cfi_sections .debug_frame
|
|
|
|
|
15 .section .text.LL_RCC_DeInit,"ax",%progbits
|
|
|
|
|
16 .align 1
|
|
|
|
|
17 .global LL_RCC_DeInit
|
|
|
|
|
18 .syntax unified
|
|
|
|
|
19 .code 16
|
|
|
|
|
20 .thumb_func
|
|
|
|
|
21 .fpu softvfp
|
|
|
|
|
23 LL_RCC_DeInit:
|
|
|
|
|
24 .LFB176:
|
|
|
|
|
25 .file 1 "./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c"
|
|
|
|
|
1:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
2:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** ******************************************************************************
|
|
|
|
|
3:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @file stm32l0xx_ll_rcc.c
|
|
|
|
|
4:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @author MCD Application Team
|
|
|
|
|
5:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @brief RCC LL module driver.
|
|
|
|
|
6:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** ******************************************************************************
|
|
|
|
|
7:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @attention
|
|
|
|
|
8:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** *
|
|
|
|
|
9:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
|
|
|
|
|
10:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** *
|
|
|
|
|
11:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * Redistribution and use in source and binary forms, with or without modification,
|
|
|
|
|
12:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * are permitted provided that the following conditions are met:
|
|
|
|
|
13:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * 1. Redistributions of source code must retain the above copyright notice,
|
|
|
|
|
14:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * this list of conditions and the following disclaimer.
|
|
|
|
|
15:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
|
16:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * this list of conditions and the following disclaimer in the documentation
|
|
|
|
|
17:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * and/or other materials provided with the distribution.
|
|
|
|
|
18:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * 3. Neither the name of STMicroelectronics nor the names of its contributors
|
|
|
|
|
19:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * may be used to endorse or promote products derived from this software
|
|
|
|
|
20:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * without specific prior written permission.
|
|
|
|
|
21:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** *
|
|
|
|
|
22:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
|
23:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
|
24:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
|
25:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
|
|
|
26:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
|
27:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
|
|
|
28:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
|
|
|
29:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
|
|
|
30:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
|
31:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
32:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** *
|
|
|
|
|
33:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** ******************************************************************************
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
35:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #if defined(USE_FULL_LL_DRIVER)
|
|
|
|
|
36:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
37:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Includes ------------------------------------------------------------------*/
|
|
|
|
|
38:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #include "stm32l0xx_ll_rcc.h"
|
|
|
|
|
39:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #ifdef USE_FULL_ASSERT
|
|
|
|
|
40:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #include "stm32_assert.h"
|
|
|
|
|
41:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #else
|
|
|
|
|
42:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #define assert_param(expr) ((void)0U)
|
|
|
|
|
43:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #endif /* USE_FULL_ASSERT */
|
|
|
|
|
44:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /** @addtogroup STM32L0xx_LL_Driver
|
|
|
|
|
45:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @{
|
|
|
|
|
46:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
47:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
48:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #if defined(RCC)
|
|
|
|
|
49:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
50:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /** @defgroup RCC_LL RCC
|
|
|
|
|
51:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @{
|
|
|
|
|
52:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
53:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
54:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Private types -------------------------------------------------------------*/
|
|
|
|
|
55:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Private variables ---------------------------------------------------------*/
|
|
|
|
|
56:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
57:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Private constants ---------------------------------------------------------*/
|
|
|
|
|
58:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Private macros ------------------------------------------------------------*/
|
|
|
|
|
59:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /** @addtogroup RCC_LL_Private_Macros
|
|
|
|
|
60:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @{
|
|
|
|
|
61:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
62:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #if defined(RCC_CCIPR_USART1SEL) && defined(RCC_CCIPR_USART2SEL)
|
|
|
|
|
63:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #define IS_LL_RCC_USART_CLKSOURCE(__VALUE__) (((__VALUE__) == LL_RCC_USART1_CLKSOURCE) \
|
|
|
|
|
64:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** || ((__VALUE__) == LL_RCC_USART2_CLKSOURCE))
|
|
|
|
|
65:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #elif defined(RCC_CCIPR_USART1SEL) && !defined(RCC_CCIPR_USART2SEL)
|
|
|
|
|
66:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #define IS_LL_RCC_USART_CLKSOURCE(__VALUE__) (((__VALUE__) == LL_RCC_USART1_CLKSOURCE))
|
|
|
|
|
67:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #else
|
|
|
|
|
68:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #define IS_LL_RCC_USART_CLKSOURCE(__VALUE__) (((__VALUE__) == LL_RCC_USART2_CLKSOURCE))
|
|
|
|
|
69:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #endif /* RCC_CCIPR_USART1SEL && RCC_CCIPR_USART2SEL */
|
|
|
|
|
70:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
71:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #define IS_LL_RCC_LPUART_CLKSOURCE(__VALUE__) (((__VALUE__) == LL_RCC_LPUART1_CLKSOURCE))
|
|
|
|
|
72:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
73:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #if defined(RCC_CCIPR_I2C3SEL)
|
|
|
|
|
74:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #define IS_LL_RCC_I2C_CLKSOURCE(__VALUE__) (((__VALUE__) == LL_RCC_I2C1_CLKSOURCE) \
|
|
|
|
|
75:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** || ((__VALUE__) == LL_RCC_I2C3_CLKSOURCE))
|
|
|
|
|
76:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #else
|
|
|
|
|
77:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #define IS_LL_RCC_I2C_CLKSOURCE(__VALUE__) ((__VALUE__) == LL_RCC_I2C1_CLKSOURCE)
|
|
|
|
|
78:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #endif /* RCC_CCIPR_I2C3SEL */
|
|
|
|
|
79:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
80:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #define IS_LL_RCC_LPTIM_CLKSOURCE(__VALUE__) ((__VALUE__) == LL_RCC_LPTIM1_CLKSOURCE)
|
|
|
|
|
81:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
82:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #if defined(USB)
|
|
|
|
|
83:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #define IS_LL_RCC_USB_CLKSOURCE(__VALUE__) (((__VALUE__) == LL_RCC_USB_CLKSOURCE))
|
|
|
|
|
84:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #endif /* USB */
|
|
|
|
|
85:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
86:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
87:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @}
|
|
|
|
|
88:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
89:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
90:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Private function prototypes -----------------------------------------------*/
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /** @defgroup RCC_LL_Private_Functions RCC Private functions
|
|
|
|
|
92:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @{
|
|
|
|
|
93:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
94:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t RCC_GetSystemClockFreq(void);
|
|
|
|
|
95:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t RCC_GetHCLKClockFreq(uint32_t SYSCLK_Frequency);
|
|
|
|
|
96:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t RCC_GetPCLK1ClockFreq(uint32_t HCLK_Frequency);
|
|
|
|
|
97:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t RCC_GetPCLK2ClockFreq(uint32_t HCLK_Frequency);
|
|
|
|
|
98:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t RCC_PLL_GetFreqDomain_SYS(void);
|
|
|
|
|
99:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
100:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @}
|
|
|
|
|
101:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
102:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
103:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
104:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Exported functions --------------------------------------------------------*/
|
|
|
|
|
105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /** @addtogroup RCC_LL_Exported_Functions
|
|
|
|
|
106:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @{
|
|
|
|
|
107:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
108:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
109:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /** @addtogroup RCC_LL_EF_Init
|
|
|
|
|
110:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @{
|
|
|
|
|
111:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
112:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
113:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @brief Reset the RCC clock configuration to the default reset state.
|
|
|
|
|
115:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @note The default reset state of the clock configuration is given below:
|
|
|
|
|
116:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * - MSI ON and used as system clock source
|
|
|
|
|
117:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * - HSE, HSI and PLL OFF
|
|
|
|
|
118:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * - AHB, APB1 and APB2 prescaler set to 1.
|
|
|
|
|
119:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * - CSS, MCO OFF
|
|
|
|
|
120:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * - All interrupts disabled
|
|
|
|
|
121:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @note This function doesn't modify the configuration of the
|
|
|
|
|
122:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * - Peripheral clocks
|
|
|
|
|
123:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * - LSI, LSE and RTC clocks
|
|
|
|
|
124:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @retval An ErrorStatus enumeration value:
|
|
|
|
|
125:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * - SUCCESS: RCC registers are de-initialized
|
|
|
|
|
126:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * - ERROR: not applicable
|
|
|
|
|
127:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
128:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** ErrorStatus LL_RCC_DeInit(void)
|
|
|
|
|
129:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
26 .loc 1 129 0
|
|
|
|
|
27 .cfi_startproc
|
|
|
|
|
28 @ args = 0, pretend = 0, frame = 0
|
|
|
|
|
29 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
|
|
30 @ link register save eliminated.
|
|
|
|
|
31 .LVL0:
|
|
|
|
|
32 .LBB154:
|
|
|
|
|
33 .LBB155:
|
|
|
|
|
34 .file 2 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h"
|
|
|
|
|
1:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
2:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** ******************************************************************************
|
|
|
|
|
3:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @file stm32l0xx_ll_rcc.h
|
|
|
|
|
4:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @author MCD Application Team
|
|
|
|
|
5:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Header file of RCC LL module.
|
|
|
|
|
6:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** ******************************************************************************
|
|
|
|
|
7:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @attention
|
|
|
|
|
8:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** *
|
|
|
|
|
9:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** *
|
|
|
|
|
11:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * Redistribution and use in source and binary forms, with or without modification,
|
|
|
|
|
12:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * are permitted provided that the following conditions are met:
|
|
|
|
|
13:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * 1. Redistributions of source code must retain the above copyright notice,
|
|
|
|
|
14:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * this list of conditions and the following disclaimer.
|
|
|
|
|
15:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
|
16:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * this list of conditions and the following disclaimer in the documentation
|
|
|
|
|
17:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * and/or other materials provided with the distribution.
|
|
|
|
|
18:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * 3. Neither the name of STMicroelectronics nor the names of its contributors
|
|
|
|
|
19:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * may be used to endorse or promote products derived from this software
|
|
|
|
|
20:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * without specific prior written permission.
|
|
|
|
|
21:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** *
|
|
|
|
|
22:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
|
23:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
|
24:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
|
25:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
|
|
|
26:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
|
27:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
|
|
|
28:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
|
|
|
29:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
|
|
|
30:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
|
31:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
32:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** *
|
|
|
|
|
33:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** ******************************************************************************
|
|
|
|
|
34:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
35:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
36:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /* Define to prevent recursive inclusion -------------------------------------*/
|
|
|
|
|
37:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #ifndef __STM32L0xx_LL_RCC_H
|
|
|
|
|
38:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define __STM32L0xx_LL_RCC_H
|
|
|
|
|
39:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
40:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #ifdef __cplusplus
|
|
|
|
|
41:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** extern "C" {
|
|
|
|
|
42:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif
|
|
|
|
|
43:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
44:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /* Includes ------------------------------------------------------------------*/
|
|
|
|
|
45:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #include "stm32l0xx.h"
|
|
|
|
|
46:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
47:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @addtogroup STM32L0xx_LL_Driver
|
|
|
|
|
48:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
49:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
50:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
51:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC)
|
|
|
|
|
52:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
53:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL RCC
|
|
|
|
|
54:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
55:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
56:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
57:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /* Private types -------------------------------------------------------------*/
|
|
|
|
|
58:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /* Private variables ---------------------------------------------------------*/
|
|
|
|
|
59:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_Private_Variables RCC Private Variables
|
|
|
|
|
60:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
61:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
62:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
63:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
64:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
65:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
66:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /* Private constants ---------------------------------------------------------*/
|
|
|
|
|
68:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_Private_Constants RCC Private Constants
|
|
|
|
|
69:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
70:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
71:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /* Defines used for the bit position in the register and perform offsets*/
|
|
|
|
|
72:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define RCC_POSITION_HPRE (uint32_t)4U /*!< field position in register RCC_CFGR */
|
|
|
|
|
73:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define RCC_POSITION_PPRE1 (uint32_t)8U /*!< field position in register RCC_CFGR */
|
|
|
|
|
74:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define RCC_POSITION_PPRE2 (uint32_t)11U /*!< field position in register RCC_CFGR */
|
|
|
|
|
75:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define RCC_POSITION_PLLDIV (uint32_t)22U /*!< field position in register RCC_CFGR */
|
|
|
|
|
76:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define RCC_POSITION_PLLMUL (uint32_t)18U /*!< field position in register RCC_CFGR */
|
|
|
|
|
77:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define RCC_POSITION_HSICAL (uint32_t)0U /*!< field position in register RCC_ICSCR */
|
|
|
|
|
78:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define RCC_POSITION_HSITRIM (uint32_t)8U /*!< field position in register RCC_ICSCR */
|
|
|
|
|
79:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define RCC_POSITION_MSIRANGE (uint32_t)13U /*!< field position in register RCC_ICSCR */
|
|
|
|
|
80:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define RCC_POSITION_MSICAL (uint32_t)16U /*!< field position in register RCC_ICSCR */
|
|
|
|
|
81:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define RCC_POSITION_MSITRIM (uint32_t)24U /*!< field position in register RCC_ICSCR */
|
|
|
|
|
82:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_HSI48_SUPPORT)
|
|
|
|
|
83:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define RCC_POSITION_HSI48CAL (uint32_t)8U /*!< field position in register RCC_CRRCR */
|
|
|
|
|
84:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_HSI48_SUPPORT */
|
|
|
|
|
85:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
86:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
87:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
88:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
89:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
90:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /* Private macros ------------------------------------------------------------*/
|
|
|
|
|
91:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(USE_FULL_LL_DRIVER)
|
|
|
|
|
92:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_Private_Macros RCC Private Macros
|
|
|
|
|
93:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
94:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
95:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
96:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
97:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
98:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /*USE_FULL_LL_DRIVER*/
|
|
|
|
|
99:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /* Exported types ------------------------------------------------------------*/
|
|
|
|
|
100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(USE_FULL_LL_DRIVER)
|
|
|
|
|
101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_Exported_Types RCC Exported Types
|
|
|
|
|
102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup LL_ES_CLOCK_FREQ Clocks Frequency Structure
|
|
|
|
|
106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
108:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
109:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
110:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief RCC Clocks Frequency Structure
|
|
|
|
|
111:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
112:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** typedef struct
|
|
|
|
|
113:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
114:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** uint32_t SYSCLK_Frequency; /*!< SYSCLK clock frequency */
|
|
|
|
|
115:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** uint32_t HCLK_Frequency; /*!< HCLK clock frequency */
|
|
|
|
|
116:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** uint32_t PCLK1_Frequency; /*!< PCLK1 clock frequency */
|
|
|
|
|
117:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** uint32_t PCLK2_Frequency; /*!< PCLK2 clock frequency */
|
|
|
|
|
118:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } LL_RCC_ClocksTypeDef;
|
|
|
|
|
119:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
120:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
121:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
122:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
123:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
125:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
126:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
127:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* USE_FULL_LL_DRIVER */
|
|
|
|
|
128:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /* Exported constants --------------------------------------------------------*/
|
|
|
|
|
130:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_Exported_Constants RCC Exported Constants
|
|
|
|
|
131:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
132:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
133:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
134:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_OSC_VALUES Oscillator Values adaptation
|
|
|
|
|
135:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Defines used to adapt values of different oscillators
|
|
|
|
|
136:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note These values could be modified in the user environment according to
|
|
|
|
|
137:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * HW set-up.
|
|
|
|
|
138:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
139:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
140:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if !defined (HSE_VALUE)
|
|
|
|
|
141:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define HSE_VALUE ((uint32_t)8000000U) /*!< Value of the HSE oscillator in Hz */
|
|
|
|
|
142:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* HSE_VALUE */
|
|
|
|
|
143:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
144:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if !defined (HSI_VALUE)
|
|
|
|
|
145:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define HSI_VALUE ((uint32_t)16000000U) /*!< Value of the HSI oscillator in Hz */
|
|
|
|
|
146:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* HSI_VALUE */
|
|
|
|
|
147:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
148:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if !defined (LSE_VALUE)
|
|
|
|
|
149:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LSE_VALUE ((uint32_t)32768U) /*!< Value of the LSE oscillator in Hz */
|
|
|
|
|
150:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* LSE_VALUE */
|
|
|
|
|
151:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
152:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if !defined (LSI_VALUE)
|
|
|
|
|
153:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LSI_VALUE ((uint32_t)37000U) /*!< Value of the LSI oscillator in Hz */
|
|
|
|
|
154:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* LSI_VALUE */
|
|
|
|
|
155:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_HSI48_SUPPORT)
|
|
|
|
|
156:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
157:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if !defined (HSI48_VALUE)
|
|
|
|
|
158:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define HSI48_VALUE ((uint32_t)48000000U) /*!< Value of the HSI48 oscillator in Hz */
|
|
|
|
|
159:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* HSI48_VALUE */
|
|
|
|
|
160:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_HSI48_SUPPORT */
|
|
|
|
|
161:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
162:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
163:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
164:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
165:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_CLEAR_FLAG Clear Flags Defines
|
|
|
|
|
166:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Flags defines which can be used with LL_RCC_WriteReg function
|
|
|
|
|
167:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
168:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
169:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CICR_LSIRDYC RCC_CICR_LSIRDYC /*!< LSI Ready Interrupt Clear */
|
|
|
|
|
170:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CICR_LSERDYC RCC_CICR_LSERDYC /*!< LSE Ready Interrupt Clear */
|
|
|
|
|
171:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CICR_HSIRDYC RCC_CICR_HSIRDYC /*!< HSI Ready Interrupt Clear */
|
|
|
|
|
172:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CICR_HSERDYC RCC_CICR_HSERDYC /*!< HSE Ready Interrupt Clear */
|
|
|
|
|
173:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CICR_PLLRDYC RCC_CICR_PLLRDYC /*!< PLL Ready Interrupt Clear */
|
|
|
|
|
174:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CICR_MSIRDYC RCC_CICR_MSIRDYC /*!< MSI Ready Interrupt Clear */
|
|
|
|
|
175:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_HSI48_SUPPORT)
|
|
|
|
|
176:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CICR_HSI48RDYC RCC_CICR_HSI48RDYC /*!< HSI48 Ready Interrupt Clear */
|
|
|
|
|
177:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_HSI48_SUPPORT */
|
|
|
|
|
178:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CICR_LSECSSC RCC_CICR_LSECSSC /*!< LSE Clock Security System Inte
|
|
|
|
|
179:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CICR_CSSC RCC_CICR_CSSC /*!< Clock Security System Interrup
|
|
|
|
|
180:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
182:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
183:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
184:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_GET_FLAG Get Flags Defines
|
|
|
|
|
185:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Flags defines which can be used with LL_RCC_ReadReg function
|
|
|
|
|
186:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
187:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
188:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIFR_LSIRDYF RCC_CIFR_LSIRDYF /*!< LSI Ready Interrupt flag */
|
|
|
|
|
189:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIFR_LSERDYF RCC_CIFR_LSERDYF /*!< LSE Ready Interrupt flag */
|
|
|
|
|
190:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIFR_HSIRDYF RCC_CIFR_HSIRDYF /*!< HSI Ready Interrupt flag */
|
|
|
|
|
191:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIFR_HSERDYF RCC_CIFR_HSERDYF /*!< HSE Ready Interrupt flag */
|
|
|
|
|
192:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIFR_PLLRDYF RCC_CIFR_PLLRDYF /*!< PLL Ready Interrupt flag */
|
|
|
|
|
193:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIFR_MSIRDYF RCC_CIFR_MSIRDYF /*!< MSI Ready Interrupt flag */
|
|
|
|
|
194:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_HSI48_SUPPORT)
|
|
|
|
|
195:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIFR_HSI48RDYF RCC_CIFR_HSI48RDYF /*!< HSI48 Ready Interrupt flag */
|
|
|
|
|
196:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_HSI48_SUPPORT */
|
|
|
|
|
197:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIFR_LSECSSF RCC_CIFR_LSECSSF /*!< LSE Clock Security System Inter
|
|
|
|
|
198:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIFR_CSSF RCC_CIFR_CSSF /*!< Clock Security System Interrupt
|
|
|
|
|
199:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CSR_FWRSTF RCC_CSR_FWRSTF /*!< Firewall reset flag */
|
|
|
|
|
200:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CSR_OBLRSTF RCC_CSR_OBLRSTF /*!< OBL reset flag */
|
|
|
|
|
201:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CSR_PINRSTF RCC_CSR_PINRSTF /*!< PIN reset flag */
|
|
|
|
|
202:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CSR_PORRSTF RCC_CSR_PORRSTF /*!< POR/PDR reset flag */
|
|
|
|
|
203:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CSR_SFTRSTF RCC_CSR_SFTRSTF /*!< Software Reset flag */
|
|
|
|
|
204:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CSR_IWDGRSTF RCC_CSR_IWDGRSTF /*!< Independent Watchdog reset f
|
|
|
|
|
205:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CSR_WWDGRSTF RCC_CSR_WWDGRSTF /*!< Window watchdog reset flag *
|
|
|
|
|
206:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CSR_LPWRRSTF RCC_CSR_LPWRRSTF /*!< Low-Power reset flag */
|
|
|
|
|
207:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
208:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
209:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
210:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
211:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_IT IT Defines
|
|
|
|
|
212:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief IT defines which can be used with LL_RCC_ReadReg and LL_RCC_WriteReg functions
|
|
|
|
|
213:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
214:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
215:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIER_LSIRDYIE RCC_CIER_LSIRDYIE /*!< LSI Ready Interrupt Enable *
|
|
|
|
|
216:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIER_LSERDYIE RCC_CIER_LSERDYIE /*!< LSE Ready Interrupt Enable *
|
|
|
|
|
217:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIER_HSIRDYIE RCC_CIER_HSIRDYIE /*!< HSI Ready Interrupt Enable *
|
|
|
|
|
218:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIER_HSERDYIE RCC_CIER_HSERDYIE /*!< HSE Ready Interrupt Enable *
|
|
|
|
|
219:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIER_PLLRDYIE RCC_CIER_PLLRDYIE /*!< PLL Ready Interrupt Enable *
|
|
|
|
|
220:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIER_MSIRDYIE RCC_CIER_MSIRDYIE /*!< MSI Ready Interrupt Enable *
|
|
|
|
|
221:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_HSI48_SUPPORT)
|
|
|
|
|
222:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIER_HSI48RDYIE RCC_CIER_HSI48RDYIE /*!< HSI48 Ready Interrupt Enable
|
|
|
|
|
223:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_HSI48_SUPPORT */
|
|
|
|
|
224:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_CIER_LSECSSIE RCC_CIER_LSECSSIE /*!< LSE CSS Interrupt Enable */
|
|
|
|
|
225:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
226:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
227:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
228:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
229:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_LSEDRIVE LSE oscillator drive capability
|
|
|
|
|
230:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
231:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
232:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_LSEDRIVE_LOW ((uint32_t)0x00000000U) /*!< Xtal mode lower driving cap
|
|
|
|
|
233:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_LSEDRIVE_MEDIUMLOW RCC_CSR_LSEDRV_0 /*!< Xtal mode medium low driving capab
|
|
|
|
|
234:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_LSEDRIVE_MEDIUMHIGH RCC_CSR_LSEDRV_1 /*!< Xtal mode medium high driving capa
|
|
|
|
|
235:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_LSEDRIVE_HIGH RCC_CSR_LSEDRV /*!< Xtal mode higher driving capabilit
|
|
|
|
|
236:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
237:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
239:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
240:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_RTC_HSE_DIV RTC HSE Prescaler
|
|
|
|
|
241:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
242:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
243:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_RTC_HSE_DIV_2 (uint32_t)0x00000000U/*!< HSE is divided by 2 for RTC cl
|
|
|
|
|
244:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_RTC_HSE_DIV_4 RCC_CR_RTCPRE_0 /*!< HSE is divided by 4 for RTC cl
|
|
|
|
|
245:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_RTC_HSE_DIV_8 RCC_CR_RTCPRE_1 /*!< HSE is divided by 8 for RTC cl
|
|
|
|
|
246:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_RTC_HSE_DIV_16 RCC_CR_RTCPRE /*!< HSE is divided by 16 for RTC c
|
|
|
|
|
247:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
248:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
249:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
250:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
251:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_MSIRANGE MSI clock ranges
|
|
|
|
|
252:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
253:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
254:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MSIRANGE_0 RCC_ICSCR_MSIRANGE_0 /*!< MSI = 65.536 KHz */
|
|
|
|
|
255:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MSIRANGE_1 RCC_ICSCR_MSIRANGE_1 /*!< MSI = 131.072 KHz*/
|
|
|
|
|
256:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MSIRANGE_2 RCC_ICSCR_MSIRANGE_2 /*!< MSI = 262.144 KHz */
|
|
|
|
|
257:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MSIRANGE_3 RCC_ICSCR_MSIRANGE_3 /*!< MSI = 524.288 KHz */
|
|
|
|
|
258:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MSIRANGE_4 RCC_ICSCR_MSIRANGE_4 /*!< MSI = 1.048 MHz */
|
|
|
|
|
259:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MSIRANGE_5 RCC_ICSCR_MSIRANGE_5 /*!< MSI = 2.097 MHz */
|
|
|
|
|
260:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MSIRANGE_6 RCC_ICSCR_MSIRANGE_6 /*!< MSI = 4.194 MHz */
|
|
|
|
|
261:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
262:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
263:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
264:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
265:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_SYS_CLKSOURCE System clock switch
|
|
|
|
|
266:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
267:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
268:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYS_CLKSOURCE_MSI RCC_CFGR_SW_MSI /*!< MSI selection as system clock */
|
|
|
|
|
269:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYS_CLKSOURCE_HSI RCC_CFGR_SW_HSI /*!< HSI selection as system clock */
|
|
|
|
|
270:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYS_CLKSOURCE_HSE RCC_CFGR_SW_HSE /*!< HSE selection as system clock */
|
|
|
|
|
271:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYS_CLKSOURCE_PLL RCC_CFGR_SW_PLL /*!< PLL selection as system clock */
|
|
|
|
|
272:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
273:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
274:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
275:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
276:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_SYS_CLKSOURCE_STATUS System clock switch status
|
|
|
|
|
277:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
278:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
279:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYS_CLKSOURCE_STATUS_MSI RCC_CFGR_SWS_MSI /*!< MSI used as system clock */
|
|
|
|
|
280:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYS_CLKSOURCE_STATUS_HSI RCC_CFGR_SWS_HSI /*!< HSI used as system clock */
|
|
|
|
|
281:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYS_CLKSOURCE_STATUS_HSE RCC_CFGR_SWS_HSE /*!< HSE used as system clock */
|
|
|
|
|
282:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYS_CLKSOURCE_STATUS_PLL RCC_CFGR_SWS_PLL /*!< PLL used as system clock */
|
|
|
|
|
283:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
284:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
285:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
286:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
287:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_SYSCLK_DIV AHB prescaler
|
|
|
|
|
288:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
289:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
290:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_1 RCC_CFGR_HPRE_DIV1 /*!< SYSCLK not divided */
|
|
|
|
|
291:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_2 RCC_CFGR_HPRE_DIV2 /*!< SYSCLK divided by 2 */
|
|
|
|
|
292:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_4 RCC_CFGR_HPRE_DIV4 /*!< SYSCLK divided by 4 */
|
|
|
|
|
293:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_8 RCC_CFGR_HPRE_DIV8 /*!< SYSCLK divided by 8 */
|
|
|
|
|
294:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_16 RCC_CFGR_HPRE_DIV16 /*!< SYSCLK divided by 16 */
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
295:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_64 RCC_CFGR_HPRE_DIV64 /*!< SYSCLK divided by 64 */
|
|
|
|
|
296:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_128 RCC_CFGR_HPRE_DIV128 /*!< SYSCLK divided by 128 */
|
|
|
|
|
297:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_256 RCC_CFGR_HPRE_DIV256 /*!< SYSCLK divided by 256 */
|
|
|
|
|
298:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_SYSCLK_DIV_512 RCC_CFGR_HPRE_DIV512 /*!< SYSCLK divided by 512 */
|
|
|
|
|
299:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
300:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
301:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
302:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
303:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_APB1_DIV APB low-speed prescaler (APB1)
|
|
|
|
|
304:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
305:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
306:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_APB1_DIV_1 RCC_CFGR_PPRE1_DIV1 /*!< HCLK not divided */
|
|
|
|
|
307:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_APB1_DIV_2 RCC_CFGR_PPRE1_DIV2 /*!< HCLK divided by 2 */
|
|
|
|
|
308:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_APB1_DIV_4 RCC_CFGR_PPRE1_DIV4 /*!< HCLK divided by 4 */
|
|
|
|
|
309:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_APB1_DIV_8 RCC_CFGR_PPRE1_DIV8 /*!< HCLK divided by 8 */
|
|
|
|
|
310:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_APB1_DIV_16 RCC_CFGR_PPRE1_DIV16 /*!< HCLK divided by 16 */
|
|
|
|
|
311:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
312:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
313:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
314:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
315:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_APB2_DIV APB high-speed prescaler (APB2)
|
|
|
|
|
316:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
317:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
318:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_APB2_DIV_1 RCC_CFGR_PPRE2_DIV1 /*!< HCLK not divided */
|
|
|
|
|
319:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_APB2_DIV_2 RCC_CFGR_PPRE2_DIV2 /*!< HCLK divided by 2 */
|
|
|
|
|
320:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_APB2_DIV_4 RCC_CFGR_PPRE2_DIV4 /*!< HCLK divided by 4 */
|
|
|
|
|
321:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_APB2_DIV_8 RCC_CFGR_PPRE2_DIV8 /*!< HCLK divided by 8 */
|
|
|
|
|
322:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_APB2_DIV_16 RCC_CFGR_PPRE2_DIV16 /*!< HCLK divided by 16 */
|
|
|
|
|
323:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
324:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
325:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
326:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
327:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_STOP_WAKEUPCLOCK Wakeup from Stop and CSS backup clock selection
|
|
|
|
|
328:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
329:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
330:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_STOP_WAKEUPCLOCK_MSI ((uint32_t)0x00000000U) /*!< MSI selection after wake-up
|
|
|
|
|
331:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_STOP_WAKEUPCLOCK_HSI RCC_CFGR_STOPWUCK /*!< HSI selection after wake-up
|
|
|
|
|
332:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
333:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
334:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
335:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
336:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_MCO1SOURCE MCO1 SOURCE selection
|
|
|
|
|
337:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
338:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
339:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_NOCLOCK RCC_CFGR_MCOSEL_NOCLOCK /*!< MCO output disabled, n
|
|
|
|
|
340:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_SYSCLK RCC_CFGR_MCOSEL_SYSCLK /*!< SYSCLK selection as MC
|
|
|
|
|
341:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_HSI RCC_CFGR_MCOSEL_HSI /*!< HSI selection as MCO s
|
|
|
|
|
342:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_MSI RCC_CFGR_MCOSEL_MSI /*!< MSI selection as MCO s
|
|
|
|
|
343:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_HSE RCC_CFGR_MCOSEL_HSE /*!< HSE selection as MCO s
|
|
|
|
|
344:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_LSI RCC_CFGR_MCOSEL_LSI /*!< LSI selection as MCO s
|
|
|
|
|
345:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_LSE RCC_CFGR_MCOSEL_LSE /*!< LSE selection as MCO s
|
|
|
|
|
346:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_CFGR_MCOSEL_HSI48)
|
|
|
|
|
347:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_HSI48 RCC_CFGR_MCOSEL_HSI48 /*!< HSI48 selection as MCO
|
|
|
|
|
348:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_CFGR_MCOSEL_HSI48 */
|
|
|
|
|
349:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MCO1SOURCE_PLLCLK RCC_CFGR_MCOSEL_PLL /*!< PLLCLK selection as MC
|
|
|
|
|
350:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
351:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
352:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
353:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
354:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_MCO1_DIV MCO1 prescaler
|
|
|
|
|
355:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
356:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
357:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MCO1_DIV_1 RCC_CFGR_MCOPRE_DIV1 /*!< MCO Clock divided by 1 */
|
|
|
|
|
358:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MCO1_DIV_2 RCC_CFGR_MCOPRE_DIV2 /*!< MCO Clock divided by 2 */
|
|
|
|
|
359:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MCO1_DIV_4 RCC_CFGR_MCOPRE_DIV4 /*!< MCO Clock divided by 4 */
|
|
|
|
|
360:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MCO1_DIV_8 RCC_CFGR_MCOPRE_DIV8 /*!< MCO Clock divided by 8 */
|
|
|
|
|
361:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_MCO1_DIV_16 RCC_CFGR_MCOPRE_DIV16 /*!< MCO Clock divided by 16 */
|
|
|
|
|
362:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
363:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
364:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
365:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(USE_FULL_LL_DRIVER)
|
|
|
|
|
366:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_PERIPH_FREQUENCY Peripheral clock frequency
|
|
|
|
|
367:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
368:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
369:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PERIPH_FREQUENCY_NO (uint32_t)0x00000000U /*!< No clock enabled for the
|
|
|
|
|
370:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PERIPH_FREQUENCY_NA (uint32_t)0xFFFFFFFFU /*!< Frequency cannot be prov
|
|
|
|
|
371:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
372:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
373:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
374:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* USE_FULL_LL_DRIVER */
|
|
|
|
|
375:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
376:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_USART1_CLKSOURCE Peripheral USART clock source selection
|
|
|
|
|
377:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
378:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
379:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_CCIPR_USART1SEL)
|
|
|
|
|
380:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_USART1_CLKSOURCE_PCLK2 (uint32_t)((RCC_CCIPR_USART1SEL << 16U) | 0x00000000U)
|
|
|
|
|
381:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_USART1_CLKSOURCE_SYSCLK (uint32_t)((RCC_CCIPR_USART1SEL << 16U) | RCC_CCIPR_USAR
|
|
|
|
|
382:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_USART1_CLKSOURCE_HSI (uint32_t)((RCC_CCIPR_USART1SEL << 16U) | RCC_CCIPR_USAR
|
|
|
|
|
383:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_USART1_CLKSOURCE_LSE (uint32_t)((RCC_CCIPR_USART1SEL << 16U) | RCC_CCIPR_USAR
|
|
|
|
|
384:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_CCIPR_USART1SEL */
|
|
|
|
|
385:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_USART2_CLKSOURCE_PCLK1 (uint32_t)((RCC_CCIPR_USART2SEL << 16U) | 0x00000000U)
|
|
|
|
|
386:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_USART2_CLKSOURCE_SYSCLK (uint32_t)((RCC_CCIPR_USART2SEL << 16U) | RCC_CCIPR_USAR
|
|
|
|
|
387:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_USART2_CLKSOURCE_HSI (uint32_t)((RCC_CCIPR_USART2SEL << 16U) | RCC_CCIPR_USAR
|
|
|
|
|
388:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_USART2_CLKSOURCE_LSE (uint32_t)((RCC_CCIPR_USART2SEL << 16U) | RCC_CCIPR_USAR
|
|
|
|
|
389:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
390:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
391:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
393:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
394:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
395:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_LPUART1_CLKSOURCE Peripheral LPUART clock source selection
|
|
|
|
|
396:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
397:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
398:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_LPUART1_CLKSOURCE_PCLK1 (uint32_t)0x00000000U /*!< PCLK1 selected as LPUART1 c
|
|
|
|
|
399:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_LPUART1_CLKSOURCE_SYSCLK RCC_CCIPR_LPUART1SEL_0 /*!< SYSCLK selected as LPUART1
|
|
|
|
|
400:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_LPUART1_CLKSOURCE_HSI RCC_CCIPR_LPUART1SEL_1 /*!< HSI selected as LPUART1 clo
|
|
|
|
|
401:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_LPUART1_CLKSOURCE_LSE RCC_CCIPR_LPUART1SEL /*!< LSE selected as LPUART1 clo
|
|
|
|
|
402:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
403:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
404:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
405:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
406:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_I2C1_CLKSOURCE Peripheral I2C clock source selection
|
|
|
|
|
407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
408:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 11
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
409:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_I2C1_CLKSOURCE_PCLK1 (uint32_t)((RCC_CCIPR_I2C1SEL << 4U) | (0x00000000U >> 4
|
|
|
|
|
410:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_I2C1_CLKSOURCE_SYSCLK (uint32_t)((RCC_CCIPR_I2C1SEL << 4U) | (RCC_CCIPR_I2C1SE
|
|
|
|
|
411:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_I2C1_CLKSOURCE_HSI (uint32_t)((RCC_CCIPR_I2C1SEL << 4U) | (RCC_CCIPR_I2C1SE
|
|
|
|
|
412:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_CCIPR_I2C3SEL)
|
|
|
|
|
413:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_I2C3_CLKSOURCE_PCLK1 (uint32_t)((RCC_CCIPR_I2C3SEL << 4U) | (0x00000000U >> 4
|
|
|
|
|
414:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_I2C3_CLKSOURCE_SYSCLK (uint32_t)((RCC_CCIPR_I2C3SEL << 4U) | (RCC_CCIPR_I2C3SE
|
|
|
|
|
415:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_I2C3_CLKSOURCE_HSI (uint32_t)((RCC_CCIPR_I2C3SEL << 4U) | (RCC_CCIPR_I2C3SE
|
|
|
|
|
416:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /*RCC_CCIPR_I2C3SEL*/
|
|
|
|
|
417:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
418:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
419:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
420:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
421:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_LPTIM1_CLKSOURCE Peripheral LPTIM clock source selection
|
|
|
|
|
422:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
423:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
424:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_LPTIM1_CLKSOURCE_PCLK1 (uint32_t)(0x00000000U) /*!< PCLK1 selected as
|
|
|
|
|
425:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_LPTIM1_CLKSOURCE_LSI (uint32_t)RCC_CCIPR_LPTIM1SEL_0 /*!< LSI selected as LP
|
|
|
|
|
426:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_LPTIM1_CLKSOURCE_HSI (uint32_t)RCC_CCIPR_LPTIM1SEL_1 /*!< HSI selected as LP
|
|
|
|
|
427:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_LPTIM1_CLKSOURCE_LSE (uint32_t)RCC_CCIPR_LPTIM1SEL /*!< LSE selected as LP
|
|
|
|
|
428:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
429:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
430:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
431:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
432:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_CCIPR_HSI48SEL)
|
|
|
|
|
433:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
434:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RNG)
|
|
|
|
|
435:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_RNG_CLKSOURCE Peripheral RNG clock source selection
|
|
|
|
|
436:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
437:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
438:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_RNG_CLKSOURCE_PLL (uint32_t)(0x00000000U) /*!< PLL selected as RN
|
|
|
|
|
439:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_RNG_CLKSOURCE_HSI48 (uint32_t)(RCC_CCIPR_HSI48SEL) /*!< HSI48 selected as
|
|
|
|
|
440:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
441:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
442:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
443:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RNG */
|
|
|
|
|
444:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(USB)
|
|
|
|
|
445:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_USB_CLKSOURCE Peripheral USB clock source selection
|
|
|
|
|
446:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
447:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
448:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_USB_CLKSOURCE_PLL (uint32_t)(0x00000000U) /*!< PLL selected as US
|
|
|
|
|
449:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_USB_CLKSOURCE_HSI48 (uint32_t)(RCC_CCIPR_HSI48SEL) /*!< HSI48 selected as
|
|
|
|
|
450:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
451:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
452:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
453:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
454:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* USB */
|
|
|
|
|
455:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_CCIPR_HSI48SEL */
|
|
|
|
|
456:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
457:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
458:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_USART1 Peripheral USART get clock source
|
|
|
|
|
459:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
460:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
461:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_CCIPR_USART1SEL)
|
|
|
|
|
462:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_USART1_CLKSOURCE RCC_CCIPR_USART1SEL /*!< USART1 clock source selectio
|
|
|
|
|
463:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_CCIPR_USART1SEL */
|
|
|
|
|
464:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_USART2_CLKSOURCE RCC_CCIPR_USART2SEL /*!< USART2 clock source selectio
|
|
|
|
|
465:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
466:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
467:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
468:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
469:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
470:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_LPUART1 Peripheral LPUART get clock source
|
|
|
|
|
471:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
472:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
473:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_LPUART1_CLKSOURCE RCC_CCIPR_LPUART1SEL /*!< LPUART1 clock source selecti
|
|
|
|
|
474:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
475:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
476:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
477:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
478:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_I2C1 Peripheral I2C get clock source
|
|
|
|
|
479:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
480:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
481:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_I2C1_CLKSOURCE RCC_CCIPR_I2C1SEL /*!< I2C1 clock source selection bit
|
|
|
|
|
482:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_CCIPR_I2C3SEL)
|
|
|
|
|
483:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_I2C3_CLKSOURCE RCC_CCIPR_I2C3SEL /*!< I2C3 clock source selection bit
|
|
|
|
|
484:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /*RCC_CCIPR_I2C3SEL*/
|
|
|
|
|
485:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
486:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
487:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
488:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
489:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_LPTIM1 Peripheral LPTIM get clock source
|
|
|
|
|
490:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
491:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
492:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_LPTIM1_CLKSOURCE RCC_CCIPR_LPTIM1SEL /*!< LPTIM1 clock source selection
|
|
|
|
|
493:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
494:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
495:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
496:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
497:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_CCIPR_HSI48SEL)
|
|
|
|
|
498:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RNG)
|
|
|
|
|
499:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_RNG Peripheral RNG get clock source
|
|
|
|
|
500:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
501:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
502:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_RNG_CLKSOURCE RCC_CCIPR_HSI48SEL /*!< HSI48 RC clock source selectio
|
|
|
|
|
503:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
504:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
505:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
506:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RNG */
|
|
|
|
|
507:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
508:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(USB)
|
|
|
|
|
509:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_USB Peripheral USB get clock source
|
|
|
|
|
510:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
511:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
512:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_USB_CLKSOURCE RCC_CCIPR_HSI48SEL /*!< HSI48 RC clock source selection
|
|
|
|
|
513:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
514:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
515:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
516:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
517:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* USB */
|
|
|
|
|
518:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_CCIPR_HSI48SEL */
|
|
|
|
|
519:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
520:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_RTC_CLKSOURCE RTC clock source selection
|
|
|
|
|
521:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
522:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 13
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
523:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_RTC_CLKSOURCE_NONE (uint32_t)0x00000000U /*!< No clock used as RTC
|
|
|
|
|
524:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_RTC_CLKSOURCE_LSE RCC_CSR_RTCSEL_LSE /*!< LSE oscillator clock
|
|
|
|
|
525:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_RTC_CLKSOURCE_LSI RCC_CSR_RTCSEL_LSI /*!< LSI oscillator clock
|
|
|
|
|
526:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_RTC_CLKSOURCE_HSE RCC_CSR_RTCSEL_HSE /*!< HSE oscillator clock
|
|
|
|
|
527:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** (selection through @re
|
|
|
|
|
528:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
529:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
530:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
531:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
532:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_PLL_MUL PLL Multiplicator factor
|
|
|
|
|
533:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
534:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
535:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_3 RCC_CFGR_PLLMUL3 /*!< PLL input clock * 3 */
|
|
|
|
|
536:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_4 RCC_CFGR_PLLMUL4 /*!< PLL input clock * 4 */
|
|
|
|
|
537:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_6 RCC_CFGR_PLLMUL6 /*!< PLL input clock * 6 */
|
|
|
|
|
538:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_8 RCC_CFGR_PLLMUL8 /*!< PLL input clock * 8 */
|
|
|
|
|
539:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_12 RCC_CFGR_PLLMUL12 /*!< PLL input clock * 12 */
|
|
|
|
|
540:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_16 RCC_CFGR_PLLMUL16 /*!< PLL input clock * 16 */
|
|
|
|
|
541:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_24 RCC_CFGR_PLLMUL24 /*!< PLL input clock * 24 */
|
|
|
|
|
542:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_32 RCC_CFGR_PLLMUL32 /*!< PLL input clock * 32 */
|
|
|
|
|
543:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PLL_MUL_48 RCC_CFGR_PLLMUL48 /*!< PLL input clock * 48 */
|
|
|
|
|
544:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
545:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
546:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
547:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
548:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_PLL_DIV PLL division factor
|
|
|
|
|
549:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
550:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
551:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PLL_DIV_2 RCC_CFGR_PLLDIV2 /*!< PLL clock output = PLLVCO / 2 */
|
|
|
|
|
552:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PLL_DIV_3 RCC_CFGR_PLLDIV3 /*!< PLL clock output = PLLVCO / 3 */
|
|
|
|
|
553:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PLL_DIV_4 RCC_CFGR_PLLDIV4 /*!< PLL clock output = PLLVCO / 4 */
|
|
|
|
|
554:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
555:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
556:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
557:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
558:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EC_PLLSOURCE PLL SOURCE
|
|
|
|
|
559:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
560:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
561:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSI RCC_CFGR_PLLSRC_HSI /*!< HSI c
|
|
|
|
|
562:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_PLLSOURCE_HSE RCC_CFGR_PLLSRC_HSE /*!< HSE c
|
|
|
|
|
563:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
564:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
565:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
566:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
567:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
568:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
569:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
570:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
571:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /* Exported macro ------------------------------------------------------------*/
|
|
|
|
|
572:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_Exported_Macros RCC Exported Macros
|
|
|
|
|
573:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
574:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
575:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
576:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EM_WRITE_READ Common Write and read registers Macros
|
|
|
|
|
577:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
578:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
579:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 14
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
580:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
581:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Write a value in RCC register
|
|
|
|
|
582:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param __REG__ Register to be written
|
|
|
|
|
583:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param __VALUE__ Value to be written in the register
|
|
|
|
|
584:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
585:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
586:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_WriteReg(__REG__, __VALUE__) WRITE_REG(RCC->__REG__, (__VALUE__))
|
|
|
|
|
587:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
588:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
589:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Read a value in RCC register
|
|
|
|
|
590:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param __REG__ Register to be read
|
|
|
|
|
591:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Register value
|
|
|
|
|
592:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
593:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define LL_RCC_ReadReg(__REG__) READ_REG(RCC->__REG__)
|
|
|
|
|
594:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
595:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
596:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
597:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
598:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EM_CALC_FREQ Calculate frequencies
|
|
|
|
|
599:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
600:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
601:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
602:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
603:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Helper macro to calculate the PLLCLK frequency
|
|
|
|
|
604:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note ex: @ref __LL_RCC_CALC_PLLCLK_FREQ (HSE_VALUE,
|
|
|
|
|
605:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @ref LL_RCC_PLL_GetMultiplicator (),
|
|
|
|
|
606:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @ref LL_RCC_PLL_GetDivider ());
|
|
|
|
|
607:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param __INPUTFREQ__ PLL Input frequency (based on MSI/HSE/HSI)
|
|
|
|
|
608:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param __PLLMUL__ This parameter can be one of the following values:
|
|
|
|
|
609:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_3
|
|
|
|
|
610:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_4
|
|
|
|
|
611:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_6
|
|
|
|
|
612:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_8
|
|
|
|
|
613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_12
|
|
|
|
|
614:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_16
|
|
|
|
|
615:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_24
|
|
|
|
|
616:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_32
|
|
|
|
|
617:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_48
|
|
|
|
|
618:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param __PLLDIV__ This parameter can be one of the following values:
|
|
|
|
|
619:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_DIV_2
|
|
|
|
|
620:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_DIV_3
|
|
|
|
|
621:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_DIV_4
|
|
|
|
|
622:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval PLL clock frequency (in Hz)
|
|
|
|
|
623:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
624:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define __LL_RCC_CALC_PLLCLK_FREQ(__INPUTFREQ__, __PLLMUL__, __PLLDIV__) ((__INPUTFREQ__) * (PLLMu
|
|
|
|
|
625:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
626:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
627:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Helper macro to calculate the HCLK frequency
|
|
|
|
|
628:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note: __AHBPRESCALER__ be retrieved by @ref LL_RCC_GetAHBPrescaler
|
|
|
|
|
629:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * ex: __LL_RCC_CALC_HCLK_FREQ(LL_RCC_GetAHBPrescaler())
|
|
|
|
|
630:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param __SYSCLKFREQ__ SYSCLK frequency (based on MSI/HSE/HSI/PLLCLK)
|
|
|
|
|
631:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param __AHBPRESCALER__: This parameter can be one of the following values:
|
|
|
|
|
632:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_1
|
|
|
|
|
633:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_2
|
|
|
|
|
634:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_4
|
|
|
|
|
635:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_8
|
|
|
|
|
636:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_16
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 15
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
637:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_64
|
|
|
|
|
638:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_128
|
|
|
|
|
639:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_256
|
|
|
|
|
640:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_512
|
|
|
|
|
641:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval HCLK clock frequency (in Hz)
|
|
|
|
|
642:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
643:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define __LL_RCC_CALC_HCLK_FREQ(__SYSCLKFREQ__, __AHBPRESCALER__) ((__SYSCLKFREQ__) >> AHBPrescTabl
|
|
|
|
|
644:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
645:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
646:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Helper macro to calculate the PCLK1 frequency (ABP1)
|
|
|
|
|
647:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note: __APB1PRESCALER__ be retrieved by @ref LL_RCC_GetAPB1Prescaler
|
|
|
|
|
648:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * ex: __LL_RCC_CALC_PCLK1_FREQ(LL_RCC_GetAPB1Prescaler())
|
|
|
|
|
649:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param __HCLKFREQ__ HCLK frequency
|
|
|
|
|
650:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param __APB1PRESCALER__: This parameter can be one of the following values:
|
|
|
|
|
651:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_1
|
|
|
|
|
652:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_2
|
|
|
|
|
653:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_4
|
|
|
|
|
654:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_8
|
|
|
|
|
655:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_16
|
|
|
|
|
656:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval PCLK1 clock frequency (in Hz)
|
|
|
|
|
657:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
658:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define __LL_RCC_CALC_PCLK1_FREQ(__HCLKFREQ__, __APB1PRESCALER__) ((__HCLKFREQ__) >> APBPrescTable[
|
|
|
|
|
659:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
660:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
661:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Helper macro to calculate the PCLK2 frequency (ABP2)
|
|
|
|
|
662:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note: __APB2PRESCALER__ be retrieved by @ref LL_RCC_GetAPB2Prescaler
|
|
|
|
|
663:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * ex: __LL_RCC_CALC_PCLK2_FREQ(LL_RCC_GetAPB2Prescaler())
|
|
|
|
|
664:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param __HCLKFREQ__ HCLK frequency
|
|
|
|
|
665:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param __APB2PRESCALER__: This parameter can be one of the following values:
|
|
|
|
|
666:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_1
|
|
|
|
|
667:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_2
|
|
|
|
|
668:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_4
|
|
|
|
|
669:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_8
|
|
|
|
|
670:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_16
|
|
|
|
|
671:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval PCLK2 clock frequency (in Hz)
|
|
|
|
|
672:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
673:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define __LL_RCC_CALC_PCLK2_FREQ(__HCLKFREQ__, __APB2PRESCALER__) ((__HCLKFREQ__) >> APBPrescTable[
|
|
|
|
|
674:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
675:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
676:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Helper macro to calculate the MSI frequency (in Hz)
|
|
|
|
|
677:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note: __MSIRANGE__can be retrieved by @ref LL_RCC_MSI_GetRange
|
|
|
|
|
678:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * ex: __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange())
|
|
|
|
|
679:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param __MSIRANGE__: This parameter can be one of the following values:
|
|
|
|
|
680:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_0
|
|
|
|
|
681:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_1
|
|
|
|
|
682:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_2
|
|
|
|
|
683:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_3
|
|
|
|
|
684:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_4
|
|
|
|
|
685:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_5
|
|
|
|
|
686:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_6
|
|
|
|
|
687:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval MSI clock frequency (in Hz)
|
|
|
|
|
688:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
689:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #define __LL_RCC_CALC_MSI_FREQ(__MSIRANGE__) ((32768U * ( 1U << (((__MSIRANGE__) >> RCC_POSITION_MS
|
|
|
|
|
690:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
691:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
692:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
693:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 16
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
694:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
695:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
696:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
697:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
698:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
699:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /* Exported functions --------------------------------------------------------*/
|
|
|
|
|
700:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_Exported_Functions RCC Exported Functions
|
|
|
|
|
701:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
702:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
703:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
704:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_HSE HSE
|
|
|
|
|
705:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
706:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
707:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
708:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_HSECSS_SUPPORT)
|
|
|
|
|
709:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
710:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable the Clock Security System.
|
|
|
|
|
711:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR CSSHSEON LL_RCC_HSE_EnableCSS
|
|
|
|
|
712:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
713:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
714:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSE_EnableCSS(void)
|
|
|
|
|
715:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
716:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_CSSON);
|
|
|
|
|
717:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
718:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_HSECSS_SUPPORT */
|
|
|
|
|
719:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
720:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
721:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable HSE external oscillator (HSE Bypass)
|
|
|
|
|
722:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR HSEBYP LL_RCC_HSE_EnableBypass
|
|
|
|
|
723:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
724:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
725:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSE_EnableBypass(void)
|
|
|
|
|
726:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
727:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_HSEBYP);
|
|
|
|
|
728:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
729:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
730:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
731:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable HSE external oscillator (HSE Bypass)
|
|
|
|
|
732:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR HSEBYP LL_RCC_HSE_DisableBypass
|
|
|
|
|
733:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
734:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
735:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSE_DisableBypass(void)
|
|
|
|
|
736:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
737:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CR, RCC_CR_HSEBYP);
|
|
|
|
|
738:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
739:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
740:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
741:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable HSE crystal oscillator (HSE ON)
|
|
|
|
|
742:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR HSEON LL_RCC_HSE_Enable
|
|
|
|
|
743:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
744:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
745:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSE_Enable(void)
|
|
|
|
|
746:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
747:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_HSEON);
|
|
|
|
|
748:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
749:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
750:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 17
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
751:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable HSE crystal oscillator (HSE ON)
|
|
|
|
|
752:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR HSEON LL_RCC_HSE_Disable
|
|
|
|
|
753:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
754:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
755:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSE_Disable(void)
|
|
|
|
|
756:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
757:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CR, RCC_CR_HSEON);
|
|
|
|
|
758:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
759:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
760:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
761:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Check if HSE oscillator Ready
|
|
|
|
|
762:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR HSERDY LL_RCC_HSE_IsReady
|
|
|
|
|
763:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
764:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
765:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_HSE_IsReady(void)
|
|
|
|
|
766:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
767:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (READ_BIT(RCC->CR, RCC_CR_HSERDY) == (RCC_CR_HSERDY));
|
|
|
|
|
768:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
769:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
770:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
771:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Configure the RTC prescaler (divider)
|
|
|
|
|
772:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR RTCPRE LL_RCC_SetRTC_HSEPrescaler
|
|
|
|
|
773:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param Div This parameter can be one of the following values:
|
|
|
|
|
774:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_HSE_DIV_2
|
|
|
|
|
775:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_HSE_DIV_4
|
|
|
|
|
776:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_HSE_DIV_8
|
|
|
|
|
777:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_HSE_DIV_16
|
|
|
|
|
778:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
779:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
780:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetRTC_HSEPrescaler(uint32_t Div)
|
|
|
|
|
781:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
782:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CR, RCC_CR_RTCPRE, Div);
|
|
|
|
|
783:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
784:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
785:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
786:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get the RTC divider (prescaler)
|
|
|
|
|
787:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR RTCPRE LL_RCC_GetRTC_HSEPrescaler
|
|
|
|
|
788:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
789:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_HSE_DIV_2
|
|
|
|
|
790:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_HSE_DIV_4
|
|
|
|
|
791:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_HSE_DIV_8
|
|
|
|
|
792:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_HSE_DIV_16
|
|
|
|
|
793:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
794:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetRTC_HSEPrescaler(void)
|
|
|
|
|
795:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
796:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CR, RCC_CR_RTCPRE));
|
|
|
|
|
797:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
798:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
799:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
800:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
801:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
802:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
803:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_HSI HSI
|
|
|
|
|
804:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
805:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
806:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
807:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 18
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
808:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable HSI oscillator
|
|
|
|
|
809:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR HSION LL_RCC_HSI_Enable
|
|
|
|
|
810:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
811:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
812:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI_Enable(void)
|
|
|
|
|
813:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
814:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_HSION);
|
|
|
|
|
815:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
816:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
817:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
818:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable HSI oscillator
|
|
|
|
|
819:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR HSION LL_RCC_HSI_Disable
|
|
|
|
|
820:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
821:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
822:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI_Disable(void)
|
|
|
|
|
823:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
824:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CR, RCC_CR_HSION);
|
|
|
|
|
825:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
826:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
827:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
828:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Check if HSI clock is ready
|
|
|
|
|
829:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR HSIRDY LL_RCC_HSI_IsReady
|
|
|
|
|
830:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
831:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
832:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_HSI_IsReady(void)
|
|
|
|
|
833:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (READ_BIT(RCC->CR, RCC_CR_HSIRDY) == (RCC_CR_HSIRDY));
|
|
|
|
|
835:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
836:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
837:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
838:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable HSI even in stop mode
|
|
|
|
|
839:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note HSI oscillator is forced ON even in Stop mode
|
|
|
|
|
840:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR HSIKERON LL_RCC_HSI_EnableInStopMode
|
|
|
|
|
841:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
842:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
843:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI_EnableInStopMode(void)
|
|
|
|
|
844:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
845:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_HSIKERON);
|
|
|
|
|
846:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
847:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
848:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
849:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable HSI in stop mode
|
|
|
|
|
850:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR HSIKERON LL_RCC_HSI_DisableInStopMode
|
|
|
|
|
851:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
852:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
853:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI_DisableInStopMode(void)
|
|
|
|
|
854:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
855:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CR, RCC_CR_HSIKERON);
|
|
|
|
|
856:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
857:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
858:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
859:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable HSI Divider (it divides by 4)
|
|
|
|
|
860:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR HSIDIVEN LL_RCC_HSI_EnableDivider
|
|
|
|
|
861:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
862:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
863:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI_EnableDivider(void)
|
|
|
|
|
864:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 19
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
865:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_HSIDIVEN);
|
|
|
|
|
866:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
867:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
868:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
869:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable HSI Divider (it divides by 4)
|
|
|
|
|
870:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR HSIDIVEN LL_RCC_HSI_DisableDivider
|
|
|
|
|
871:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
872:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
873:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI_DisableDivider(void)
|
|
|
|
|
874:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
875:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CR, RCC_CR_HSIDIVEN);
|
|
|
|
|
876:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
877:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
878:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
879:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
880:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_CR_HSIOUTEN)
|
|
|
|
|
881:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
882:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable HSI Output
|
|
|
|
|
883:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR HSIOUTEN LL_RCC_HSI_EnableOutput
|
|
|
|
|
884:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
885:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
886:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI_EnableOutput(void)
|
|
|
|
|
887:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
888:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_HSIOUTEN);
|
|
|
|
|
889:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
890:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
891:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
892:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable HSI Output
|
|
|
|
|
893:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR HSIOUTEN LL_RCC_HSI_DisableOutput
|
|
|
|
|
894:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
895:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
896:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI_DisableOutput(void)
|
|
|
|
|
897:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
898:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CR, RCC_CR_HSIOUTEN);
|
|
|
|
|
899:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
900:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_CR_HSIOUTEN */
|
|
|
|
|
901:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
902:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
903:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get HSI Calibration value
|
|
|
|
|
904:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note When HSITRIM is written, HSICAL is updated with the sum of
|
|
|
|
|
905:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * HSITRIM and the factory trim value
|
|
|
|
|
906:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll ICSCR HSICAL LL_RCC_HSI_GetCalibration
|
|
|
|
|
907:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Between Min_Data = 0x00 and Max_Data = 0xFF
|
|
|
|
|
908:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
909:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_HSI_GetCalibration(void)
|
|
|
|
|
910:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
911:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->ICSCR, RCC_ICSCR_HSICAL) >> RCC_POSITION_HSICAL);
|
|
|
|
|
912:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
913:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
914:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
915:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Set HSI Calibration trimming
|
|
|
|
|
916:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note user-programmable trimming value that is added to the HSICAL
|
|
|
|
|
917:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note Default value is 16, which, when added to the HSICAL value,
|
|
|
|
|
918:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * should trim the HSI to 16 MHz +/- 1 %
|
|
|
|
|
919:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll ICSCR HSITRIM LL_RCC_HSI_SetCalibTrimming
|
|
|
|
|
920:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param Value between Min_Data = 0x00 and Max_Data = 0x1F
|
|
|
|
|
921:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 20
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
922:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
923:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI_SetCalibTrimming(uint32_t Value)
|
|
|
|
|
924:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
925:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->ICSCR, RCC_ICSCR_HSITRIM, Value << RCC_POSITION_HSITRIM);
|
|
|
|
|
926:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
927:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
928:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
929:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get HSI Calibration trimming
|
|
|
|
|
930:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll ICSCR HSITRIM LL_RCC_HSI_GetCalibTrimming
|
|
|
|
|
931:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Between Min_Data = 0x00 and Max_Data = 0x1F
|
|
|
|
|
932:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
933:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_HSI_GetCalibTrimming(void)
|
|
|
|
|
934:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
935:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->ICSCR, RCC_ICSCR_HSITRIM) >> RCC_POSITION_HSITRIM);
|
|
|
|
|
936:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
937:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
938:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
939:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
940:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
941:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
942:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_HSI48_SUPPORT)
|
|
|
|
|
943:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_HSI48 HSI48
|
|
|
|
|
944:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
945:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
946:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
947:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
948:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable HSI48
|
|
|
|
|
949:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CRRCR HSI48ON LL_RCC_HSI48_Enable
|
|
|
|
|
950:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
951:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
952:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI48_Enable(void)
|
|
|
|
|
953:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
954:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CRRCR, RCC_CRRCR_HSI48ON);
|
|
|
|
|
955:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
956:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
957:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
958:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable HSI48
|
|
|
|
|
959:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CRRCR HSI48ON LL_RCC_HSI48_Disable
|
|
|
|
|
960:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
961:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
962:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI48_Disable(void)
|
|
|
|
|
963:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
964:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CRRCR, RCC_CRRCR_HSI48ON);
|
|
|
|
|
965:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
966:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
967:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
968:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Check if HSI48 oscillator Ready
|
|
|
|
|
969:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CRRCR HSI48RDY LL_RCC_HSI48_IsReady
|
|
|
|
|
970:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
971:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
972:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_HSI48_IsReady(void)
|
|
|
|
|
973:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
974:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (READ_BIT(RCC->CRRCR, RCC_CRRCR_HSI48RDY) == (RCC_CRRCR_HSI48RDY));
|
|
|
|
|
975:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
976:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
977:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
978:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get HSI48 Calibration value
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 21
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
979:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CRRCR HSI48CAL LL_RCC_HSI48_GetCalibration
|
|
|
|
|
980:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Between Min_Data = 0x00 and Max_Data = 0xFF
|
|
|
|
|
981:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
982:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_HSI48_GetCalibration(void)
|
|
|
|
|
983:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
984:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CRRCR, RCC_CRRCR_HSI48CAL) >> RCC_POSITION_HSI48CAL);
|
|
|
|
|
985:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
986:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
987:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_CRRCR_HSI48DIV6OUTEN)
|
|
|
|
|
988:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
989:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable HSI48 Divider (it divides by 6)
|
|
|
|
|
990:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CRRCR HSI48DIV6OUTEN LL_RCC_HSI48_EnableDivider
|
|
|
|
|
991:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
992:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
993:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI48_EnableDivider(void)
|
|
|
|
|
994:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
995:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CRRCR, RCC_CRRCR_HSI48DIV6OUTEN);
|
|
|
|
|
996:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
997:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
998:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
999:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable HSI48 Divider (it divides by 6)
|
|
|
|
|
1000:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CRRCR HSI48DIV6OUTEN LL_RCC_HSI48_DisableDivider
|
|
|
|
|
1001:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1002:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1003:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_HSI48_DisableDivider(void)
|
|
|
|
|
1004:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1005:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CRRCR, RCC_CRRCR_HSI48DIV6OUTEN);
|
|
|
|
|
1006:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1007:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1008:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1009:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Check if HSI48 Divider is enabled (it divides by 6)
|
|
|
|
|
1010:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CRRCR HSI48DIV6OUTEN LL_RCC_HSI48_IsDivided
|
|
|
|
|
1011:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1012:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1013:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_HSI48_IsDivided(void)
|
|
|
|
|
1014:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1015:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (READ_BIT(RCC->CRRCR, RCC_CRRCR_HSI48DIV6OUTEN) == (RCC_CRRCR_HSI48DIV6OUTEN));
|
|
|
|
|
1016:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1017:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1018:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /*RCC_CRRCR_HSI48DIV6OUTEN*/
|
|
|
|
|
1019:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1020:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1021:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
1022:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1023:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1024:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_HSI48_SUPPORT */
|
|
|
|
|
1025:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1026:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_LSE LSE
|
|
|
|
|
1027:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
1028:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1029:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1030:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1031:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable Low Speed External (LSE) crystal.
|
|
|
|
|
1032:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR LSEON LL_RCC_LSE_Enable
|
|
|
|
|
1033:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1034:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1035:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSE_Enable(void)
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 22
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1036:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1037:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CSR, RCC_CSR_LSEON);
|
|
|
|
|
1038:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1039:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1040:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1041:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable Low Speed External (LSE) crystal.
|
|
|
|
|
1042:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR LSEON LL_RCC_LSE_Disable
|
|
|
|
|
1043:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1044:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1045:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSE_Disable(void)
|
|
|
|
|
1046:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1047:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CSR, RCC_CSR_LSEON);
|
|
|
|
|
1048:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1049:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1050:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1051:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable external clock source (LSE bypass).
|
|
|
|
|
1052:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR LSEBYP LL_RCC_LSE_EnableBypass
|
|
|
|
|
1053:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1054:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1055:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSE_EnableBypass(void)
|
|
|
|
|
1056:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1057:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CSR, RCC_CSR_LSEBYP);
|
|
|
|
|
1058:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1059:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1060:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1061:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable external clock source (LSE bypass).
|
|
|
|
|
1062:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR LSEBYP LL_RCC_LSE_DisableBypass
|
|
|
|
|
1063:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1064:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1065:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSE_DisableBypass(void)
|
|
|
|
|
1066:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1067:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CSR, RCC_CSR_LSEBYP);
|
|
|
|
|
1068:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1069:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1070:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1071:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Set LSE oscillator drive capability
|
|
|
|
|
1072:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note The oscillator is in Xtal mode when it is not in bypass mode.
|
|
|
|
|
1073:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR LSEDRV LL_RCC_LSE_SetDriveCapability
|
|
|
|
|
1074:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param LSEDrive This parameter can be one of the following values:
|
|
|
|
|
1075:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LSEDRIVE_LOW
|
|
|
|
|
1076:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LSEDRIVE_MEDIUMLOW
|
|
|
|
|
1077:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LSEDRIVE_MEDIUMHIGH
|
|
|
|
|
1078:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LSEDRIVE_HIGH
|
|
|
|
|
1079:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1080:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1081:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSE_SetDriveCapability(uint32_t LSEDrive)
|
|
|
|
|
1082:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1083:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CSR, RCC_CSR_LSEDRV, LSEDrive);
|
|
|
|
|
1084:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1085:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1086:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1087:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get LSE oscillator drive capability
|
|
|
|
|
1088:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR LSEDRV LL_RCC_LSE_GetDriveCapability
|
|
|
|
|
1089:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1090:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LSEDRIVE_LOW
|
|
|
|
|
1091:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LSEDRIVE_MEDIUMLOW
|
|
|
|
|
1092:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LSEDRIVE_MEDIUMHIGH
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 23
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1093:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LSEDRIVE_HIGH
|
|
|
|
|
1094:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1095:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_LSE_GetDriveCapability(void)
|
|
|
|
|
1096:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1097:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CSR, RCC_CSR_LSEDRV));
|
|
|
|
|
1098:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1099:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable Clock security system on LSE.
|
|
|
|
|
1102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR LSECSSON LL_RCC_LSE_EnableCSS
|
|
|
|
|
1103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSE_EnableCSS(void)
|
|
|
|
|
1106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CSR, RCC_CSR_LSECSSON);
|
|
|
|
|
1108:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1109:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1110:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1111:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable Clock security system on LSE.
|
|
|
|
|
1112:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note Clock security system can be disabled only after a LSE
|
|
|
|
|
1113:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * failure detection. In that case it MUST be disabled by software.
|
|
|
|
|
1114:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR LSECSSON LL_RCC_LSE_DisableCSS
|
|
|
|
|
1115:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1116:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1117:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSE_DisableCSS(void)
|
|
|
|
|
1118:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1119:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CSR, RCC_CSR_LSECSSON);
|
|
|
|
|
1120:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1121:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1122:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1123:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Check if LSE oscillator Ready
|
|
|
|
|
1124:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR LSERDY LL_RCC_LSE_IsReady
|
|
|
|
|
1125:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1126:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1127:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_LSE_IsReady(void)
|
|
|
|
|
1128:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (READ_BIT(RCC->CSR, RCC_CSR_LSERDY) == (RCC_CSR_LSERDY));
|
|
|
|
|
1130:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1131:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1132:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1133:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Check if CSS on LSE failure Detection
|
|
|
|
|
1134:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR LSECSSD LL_RCC_LSE_IsCSSDetected
|
|
|
|
|
1135:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1136:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1137:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_LSE_IsCSSDetected(void)
|
|
|
|
|
1138:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1139:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (READ_BIT(RCC->CSR, RCC_CSR_LSECSSD) == (RCC_CSR_LSECSSD));
|
|
|
|
|
1140:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1141:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1142:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1143:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
1144:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1145:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1146:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_LSI LSI
|
|
|
|
|
1147:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
1148:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1149:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 24
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1150:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1151:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable LSI Oscillator
|
|
|
|
|
1152:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR LSION LL_RCC_LSI_Enable
|
|
|
|
|
1153:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1154:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1155:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSI_Enable(void)
|
|
|
|
|
1156:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1157:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CSR, RCC_CSR_LSION);
|
|
|
|
|
1158:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1159:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1160:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1161:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable LSI Oscillator
|
|
|
|
|
1162:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR LSION LL_RCC_LSI_Disable
|
|
|
|
|
1163:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1164:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1165:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_LSI_Disable(void)
|
|
|
|
|
1166:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1167:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CSR, RCC_CSR_LSION);
|
|
|
|
|
1168:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1169:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1170:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1171:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Check if LSI is Ready
|
|
|
|
|
1172:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR LSIRDY LL_RCC_LSI_IsReady
|
|
|
|
|
1173:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1174:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1175:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_LSI_IsReady(void)
|
|
|
|
|
1176:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1177:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (READ_BIT(RCC->CSR, RCC_CSR_LSIRDY) == (RCC_CSR_LSIRDY));
|
|
|
|
|
1178:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1179:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1180:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1181:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
1182:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1183:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1184:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_MSI MSI
|
|
|
|
|
1185:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
1186:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1187:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1188:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1189:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable MSI oscillator
|
|
|
|
|
1190:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR MSION LL_RCC_MSI_Enable
|
|
|
|
|
1191:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1192:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1193:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_MSI_Enable(void)
|
|
|
|
|
1194:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1195:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_MSION);
|
|
|
|
|
35 .loc 2 1195 0
|
|
|
|
|
36 0000 1A4A ldr r2, .L4
|
|
|
|
|
37 0002 1168 ldr r1, [r2]
|
|
|
|
|
38 0004 8023 movs r3, #128
|
|
|
|
|
39 0006 5B00 lsls r3, r3, #1
|
|
|
|
|
40 0008 0B43 orrs r3, r1
|
|
|
|
|
41 000a 1360 str r3, [r2]
|
|
|
|
|
42 000c 00E0 b .L2
|
|
|
|
|
43 .L3:
|
|
|
|
|
44 .LBE155:
|
|
|
|
|
45 .LBE154:
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 25
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 .LBB156:
|
|
|
|
|
47 .LBB157:
|
|
|
|
|
48 .file 3 "Drivers/CMSIS/Include/cmsis_gcc.h"
|
|
|
|
|
1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
|
|
|
|
|
2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
|
|
|
|
|
3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS Cortex-M Core Function/Instruction Header File
|
|
|
|
|
4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V4.30
|
|
|
|
|
5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 20. October 2015
|
|
|
|
|
6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
|
|
|
|
|
7:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Copyright (c) 2009 - 2015 ARM LIMITED
|
|
|
|
|
8:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
9:Drivers/CMSIS/Include/cmsis_gcc.h **** All rights reserved.
|
|
|
|
|
10:Drivers/CMSIS/Include/cmsis_gcc.h **** Redistribution and use in source and binary forms, with or without
|
|
|
|
|
11:Drivers/CMSIS/Include/cmsis_gcc.h **** modification, are permitted provided that the following conditions are met:
|
|
|
|
|
12:Drivers/CMSIS/Include/cmsis_gcc.h **** - Redistributions of source code must retain the above copyright
|
|
|
|
|
13:Drivers/CMSIS/Include/cmsis_gcc.h **** notice, this list of conditions and the following disclaimer.
|
|
|
|
|
14:Drivers/CMSIS/Include/cmsis_gcc.h **** - Redistributions in binary form must reproduce the above copyright
|
|
|
|
|
15:Drivers/CMSIS/Include/cmsis_gcc.h **** notice, this list of conditions and the following disclaimer in the
|
|
|
|
|
16:Drivers/CMSIS/Include/cmsis_gcc.h **** documentation and/or other materials provided with the distribution.
|
|
|
|
|
17:Drivers/CMSIS/Include/cmsis_gcc.h **** - Neither the name of ARM nor the names of its contributors may be used
|
|
|
|
|
18:Drivers/CMSIS/Include/cmsis_gcc.h **** to endorse or promote products derived from this software without
|
|
|
|
|
19:Drivers/CMSIS/Include/cmsis_gcc.h **** specific prior written permission.
|
|
|
|
|
20:Drivers/CMSIS/Include/cmsis_gcc.h **** *
|
|
|
|
|
21:Drivers/CMSIS/Include/cmsis_gcc.h **** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
|
22:Drivers/CMSIS/Include/cmsis_gcc.h **** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
|
23:Drivers/CMSIS/Include/cmsis_gcc.h **** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
|
24:Drivers/CMSIS/Include/cmsis_gcc.h **** ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE
|
|
|
|
|
25:Drivers/CMSIS/Include/cmsis_gcc.h **** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
|
26:Drivers/CMSIS/Include/cmsis_gcc.h **** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
|
27:Drivers/CMSIS/Include/cmsis_gcc.h **** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
|
28:Drivers/CMSIS/Include/cmsis_gcc.h **** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
|
29:Drivers/CMSIS/Include/cmsis_gcc.h **** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
|
30:Drivers/CMSIS/Include/cmsis_gcc.h **** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
|
31:Drivers/CMSIS/Include/cmsis_gcc.h **** POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
32:Drivers/CMSIS/Include/cmsis_gcc.h **** ---------------------------------------------------------------------------*/
|
|
|
|
|
33:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
34:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
|
|
|
|
|
36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
|
|
|
|
|
37:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
38:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
|
|
|
|
|
39:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined ( __GNUC__ )
|
|
|
|
|
40:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
|
|
|
|
|
41:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
|
|
|
|
|
42:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
|
|
|
|
|
43:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
|
|
|
|
|
44:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
|
|
|
|
|
45:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
46:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
47:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
|
|
|
|
|
48:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
|
|
|
|
|
49:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
|
|
|
|
|
50:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
|
|
|
|
|
51:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
52:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
53:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
54:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 26
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
|
|
|
|
|
56:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
|
|
|
|
|
57:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
58:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __enable_irq(void)
|
|
|
|
|
59:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
60:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
|
|
|
|
|
61:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
62:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
63:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
64:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
65:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
|
|
|
|
|
66:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
|
|
|
|
|
67:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
|
|
|
|
|
68:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
69:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __disable_irq(void)
|
|
|
|
|
70:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
71:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
|
|
|
|
|
72:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
73:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
74:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
75:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
76:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
|
|
|
|
|
77:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
|
|
|
|
|
78:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
|
|
|
|
|
79:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
80:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_CONTROL(void)
|
|
|
|
|
81:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
82:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
|
|
|
|
|
83:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
84:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
|
|
|
|
|
85:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
|
|
|
|
|
86:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
87:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
88:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
89:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
90:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
|
|
|
|
|
91:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
|
|
|
|
|
92:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
|
|
|
|
|
93:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
94:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_CONTROL(uint32_t control)
|
|
|
|
|
95:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
96:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
|
|
|
|
|
97:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
98:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
99:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
100:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
101:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
|
|
|
|
|
102:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
|
|
|
|
|
103:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
|
|
|
|
|
104:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
105:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_IPSR(void)
|
|
|
|
|
106:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
107:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
|
|
|
|
|
108:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
109:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
|
|
|
|
|
110:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
|
|
|
|
|
111:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 27
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
113:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
114:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
115:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
|
|
|
|
|
116:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
|
|
|
|
|
117:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
|
|
|
|
|
118:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
119:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_APSR(void)
|
|
|
|
|
120:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
121:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
|
|
|
|
|
122:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
123:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
|
|
|
|
|
124:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
|
|
|
|
|
125:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
126:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
127:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
128:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
129:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
|
|
|
|
|
130:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
|
|
|
|
|
131:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
132:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
|
|
|
|
|
133:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
134:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_xPSR(void)
|
|
|
|
|
135:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
136:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
|
|
|
|
|
137:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
138:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
|
|
|
|
|
139:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
|
|
|
|
|
140:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
141:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
142:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
143:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
144:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
|
|
|
|
|
145:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
|
|
|
|
|
146:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
|
|
|
|
|
147:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
148:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_PSP(void)
|
|
|
|
|
149:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
150:Drivers/CMSIS/Include/cmsis_gcc.h **** register uint32_t result;
|
|
|
|
|
151:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
152:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp\n" : "=r" (result) );
|
|
|
|
|
153:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
|
|
|
|
|
154:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
155:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
156:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
157:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
158:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
|
|
|
|
|
159:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
|
|
|
|
|
160:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
|
|
|
|
|
161:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
162:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_PSP(uint32_t topOfProcStack)
|
|
|
|
|
163:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
164:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0\n" : : "r" (topOfProcStack) : "sp");
|
|
|
|
|
165:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
166:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
167:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
168:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 28
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
|
|
|
|
|
170:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
|
|
|
|
|
171:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
|
|
|
|
|
172:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
173:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_MSP(void)
|
|
|
|
|
174:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
175:Drivers/CMSIS/Include/cmsis_gcc.h **** register uint32_t result;
|
|
|
|
|
176:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
177:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp\n" : "=r" (result) );
|
|
|
|
|
178:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
|
|
|
|
|
179:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
180:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
181:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
182:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
183:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
|
|
|
|
|
184:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
|
|
|
|
|
185:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
186:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
|
|
|
|
|
187:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
188:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_MSP(uint32_t topOfMainStack)
|
|
|
|
|
189:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
190:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0\n" : : "r" (topOfMainStack) : "sp");
|
|
|
|
|
191:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
192:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
193:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
194:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
195:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
|
|
|
|
|
196:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
|
|
|
|
|
197:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
|
|
|
|
|
198:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
199:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_PRIMASK(void)
|
|
|
|
|
200:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
201:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
|
|
|
|
|
202:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
203:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) );
|
|
|
|
|
204:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
|
|
|
|
|
205:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
206:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
207:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
208:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
209:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
|
|
|
|
|
210:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
|
|
|
|
|
211:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
|
|
|
|
|
212:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
213:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_PRIMASK(uint32_t priMask)
|
|
|
|
|
214:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
215:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
|
|
|
|
|
216:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
217:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
218:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
219:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__CORTEX_M >= 0x03U)
|
|
|
|
|
220:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
221:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
222:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable FIQ
|
|
|
|
|
223:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables FIQ interrupts by clearing the F-bit in the CPSR.
|
|
|
|
|
224:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
|
|
|
|
|
225:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 29
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __enable_fault_irq(void)
|
|
|
|
|
227:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
228:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie f" : : : "memory");
|
|
|
|
|
229:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
230:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
231:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
232:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
233:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable FIQ
|
|
|
|
|
234:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables FIQ interrupts by setting the F-bit in the CPSR.
|
|
|
|
|
235:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
|
|
|
|
|
236:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
237:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __disable_fault_irq(void)
|
|
|
|
|
238:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
239:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid f" : : : "memory");
|
|
|
|
|
240:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
241:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
242:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
243:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
244:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority
|
|
|
|
|
245:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Base Priority register.
|
|
|
|
|
246:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
|
|
|
|
|
247:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
248:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_BASEPRI(void)
|
|
|
|
|
249:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
250:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
|
|
|
|
|
251:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
252:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri" : "=r" (result) );
|
|
|
|
|
253:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
|
|
|
|
|
254:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
255:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
256:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
257:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
258:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority
|
|
|
|
|
259:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register.
|
|
|
|
|
260:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
|
|
|
|
|
261:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
262:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_BASEPRI(uint32_t value)
|
|
|
|
|
263:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
264:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri, %0" : : "r" (value) : "memory");
|
|
|
|
|
265:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
266:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
267:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
268:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
269:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority with condition
|
|
|
|
|
270:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register only if BASEPRI masking is disable
|
|
|
|
|
271:Drivers/CMSIS/Include/cmsis_gcc.h **** or the new value increases the BASEPRI priority level.
|
|
|
|
|
272:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
|
|
|
|
|
273:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
274:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_BASEPRI_MAX(uint32_t value)
|
|
|
|
|
275:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
276:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_max, %0" : : "r" (value) : "memory");
|
|
|
|
|
277:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
278:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
279:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
280:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
281:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask
|
|
|
|
|
282:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Fault Mask register.
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
|
|
|
|
|
284:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
285:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_FAULTMASK(void)
|
|
|
|
|
286:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
287:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
|
|
|
|
|
288:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
289:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask" : "=r" (result) );
|
|
|
|
|
290:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
|
|
|
|
|
291:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
292:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
293:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
294:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
295:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask
|
|
|
|
|
296:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Fault Mask register.
|
|
|
|
|
297:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
|
|
|
|
|
298:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
299:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_FAULTMASK(uint32_t faultMask)
|
|
|
|
|
300:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
301:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory");
|
|
|
|
|
302:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
303:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
304:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* (__CORTEX_M >= 0x03U) */
|
|
|
|
|
305:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
306:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
307:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__CORTEX_M == 0x04U) || (__CORTEX_M == 0x07U)
|
|
|
|
|
308:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
309:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
310:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get FPSCR
|
|
|
|
|
311:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Floating Point Status/Control register.
|
|
|
|
|
312:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Floating Point Status/Control register value
|
|
|
|
|
313:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
314:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE uint32_t __get_FPSCR(void)
|
|
|
|
|
315:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
316:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__FPU_PRESENT == 1U) && (__FPU_USED == 1U)
|
|
|
|
|
317:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
|
|
|
|
|
318:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
319:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Empty asm statement works as a scheduling barrier */
|
|
|
|
|
320:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("");
|
|
|
|
|
321:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMRS %0, fpscr" : "=r" (result) );
|
|
|
|
|
322:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("");
|
|
|
|
|
323:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
|
|
|
|
|
324:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
|
|
|
|
|
325:Drivers/CMSIS/Include/cmsis_gcc.h **** return(0);
|
|
|
|
|
326:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
|
|
|
|
|
327:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
328:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
329:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
330:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
331:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set FPSCR
|
|
|
|
|
332:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Floating Point Status/Control register.
|
|
|
|
|
333:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] fpscr Floating Point Status/Control value to set
|
|
|
|
|
334:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
335:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__( ( always_inline ) ) __STATIC_INLINE void __set_FPSCR(uint32_t fpscr)
|
|
|
|
|
336:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
337:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__FPU_PRESENT == 1U) && (__FPU_USED == 1U)
|
|
|
|
|
338:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Empty asm statement works as a scheduling barrier */
|
|
|
|
|
339:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("");
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 31
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
340:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc");
|
|
|
|
|
341:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("");
|
|
|
|
|
342:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
|
|
|
|
|
343:Drivers/CMSIS/Include/cmsis_gcc.h **** }
|
|
|
|
|
344:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
345:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* (__CORTEX_M == 0x04U) || (__CORTEX_M == 0x07U) */
|
|
|
|
|
346:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
347:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
348:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
349:Drivers/CMSIS/Include/cmsis_gcc.h **** /*@} end of CMSIS_Core_RegAccFunctions */
|
|
|
|
|
350:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
351:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
352:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################## Core Instruction Access ######################### */
|
|
|
|
|
353:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
|
|
|
|
|
354:Drivers/CMSIS/Include/cmsis_gcc.h **** Access to dedicated instructions
|
|
|
|
|
355:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
|
|
|
|
|
356:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
357:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
358:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Define macros for porting to both thumb1 and thumb2.
|
|
|
|
|
359:Drivers/CMSIS/Include/cmsis_gcc.h **** * For thumb1, use low register (r0-r7), specified by constraint "l"
|
|
|
|
|
360:Drivers/CMSIS/Include/cmsis_gcc.h **** * Otherwise, use general registers, specified by constraint "r" */
|
|
|
|
|
361:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined (__thumb__) && !defined (__thumb2__)
|
|
|
|
|
362:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=l" (r)
|
|
|
|
|
363:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "l" (r)
|
|
|
|
|
364:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
|
|
|
|
|
365:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=r" (r)
|
|
|
|
|
366:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "r" (r)
|
|
|
|
|
367:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
|
|
|
|
|
368:Drivers/CMSIS/Include/cmsis_gcc.h ****
|
|
|
|
|
369:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
|
|
|
|
|
370:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief No Operation
|
|
|
|
|
371:Drivers/CMSIS/Include/cmsis_gcc.h **** \details No Operation does nothing. This instruction can be used for code alignment purposes.
|
|
|
|
|
372:Drivers/CMSIS/Include/cmsis_gcc.h **** */
|
|
|
|
|
373:Drivers/CMSIS/Include/cmsis_gcc.h **** __attribute__((always_inline)) __STATIC_INLINE void __NOP(void)
|
|
|
|
|
374:Drivers/CMSIS/Include/cmsis_gcc.h **** {
|
|
|
|
|
375:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("nop");
|
|
|
|
|
49 .loc 3 375 0
|
|
|
|
|
50 .syntax divided
|
|
|
|
|
51 @ 375 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
|
|
|
|
|
52 000e C046 nop
|
|
|
|
|
53 @ 0 "" 2
|
|
|
|
|
54 .thumb
|
|
|
|
|
55 .syntax unified
|
|
|
|
|
56 .L2:
|
|
|
|
|
57 .LBE157:
|
|
|
|
|
58 .LBE156:
|
|
|
|
|
59 .LBB158:
|
|
|
|
|
60 .LBB159:
|
|
|
|
|
1196:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1197:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1198:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1199:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable MSI oscillator
|
|
|
|
|
1200:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR MSION LL_RCC_MSI_Disable
|
|
|
|
|
1201:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1202:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1203:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_MSI_Disable(void)
|
|
|
|
|
1204:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 32
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1205:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CR, RCC_CR_MSION);
|
|
|
|
|
1206:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1207:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1208:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1209:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Check if MSI oscillator Ready
|
|
|
|
|
1210:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR MSIRDY LL_RCC_MSI_IsReady
|
|
|
|
|
1211:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1212:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1213:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_MSI_IsReady(void)
|
|
|
|
|
1214:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1215:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (READ_BIT(RCC->CR, RCC_CR_MSIRDY) == (RCC_CR_MSIRDY));
|
|
|
|
|
61 .loc 2 1215 0
|
|
|
|
|
62 0010 164B ldr r3, .L4
|
|
|
|
|
63 0012 1B68 ldr r3, [r3]
|
|
|
|
|
64 .LBE159:
|
|
|
|
|
65 .LBE158:
|
|
|
|
|
130:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t vl_mask = 0U;
|
|
|
|
|
131:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
132:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Set MSION bit */
|
|
|
|
|
133:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** LL_RCC_MSI_Enable();
|
|
|
|
|
134:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
135:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Insure MSIRDY bit is set before writing default MSIRANGE value */
|
|
|
|
|
136:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** while (LL_RCC_MSI_IsReady() == 0U)
|
|
|
|
|
66 .loc 1 136 0
|
|
|
|
|
67 0014 9B05 lsls r3, r3, #22
|
|
|
|
|
68 0016 FAD5 bpl .L3
|
|
|
|
|
69 .LVL1:
|
|
|
|
|
70 .LBB160:
|
|
|
|
|
71 .LBB161:
|
|
|
|
|
1216:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1217:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1218:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1219:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Configure the Internal Multi Speed oscillator (MSI) clock range in run mode.
|
|
|
|
|
1220:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll ICSCR MSIRANGE LL_RCC_MSI_SetRange
|
|
|
|
|
1221:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param Range This parameter can be one of the following values:
|
|
|
|
|
1222:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_0
|
|
|
|
|
1223:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_1
|
|
|
|
|
1224:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_2
|
|
|
|
|
1225:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_3
|
|
|
|
|
1226:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_4
|
|
|
|
|
1227:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_5
|
|
|
|
|
1228:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_6
|
|
|
|
|
1229:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1230:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1231:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_MSI_SetRange(uint32_t Range)
|
|
|
|
|
1232:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1233:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->ICSCR, RCC_ICSCR_MSIRANGE, Range);
|
|
|
|
|
72 .loc 2 1233 0
|
|
|
|
|
73 0018 144B ldr r3, .L4
|
|
|
|
|
74 001a 5A68 ldr r2, [r3, #4]
|
|
|
|
|
75 001c 1449 ldr r1, .L4+4
|
|
|
|
|
76 001e 1140 ands r1, r2
|
|
|
|
|
77 0020 A022 movs r2, #160
|
|
|
|
|
78 0022 1202 lsls r2, r2, #8
|
|
|
|
|
79 0024 0A43 orrs r2, r1
|
|
|
|
|
80 0026 5A60 str r2, [r3, #4]
|
|
|
|
|
81 .LVL2:
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 33
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 .LBE161:
|
|
|
|
|
83 .LBE160:
|
|
|
|
|
84 .LBB162:
|
|
|
|
|
85 .LBB163:
|
|
|
|
|
1234:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1235:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1236:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1237:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get the Internal Multi Speed oscillator (MSI) clock range in run mode.
|
|
|
|
|
1238:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll ICSCR MSIRANGE LL_RCC_MSI_GetRange
|
|
|
|
|
1239:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1240:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_0
|
|
|
|
|
1241:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_1
|
|
|
|
|
1242:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_2
|
|
|
|
|
1243:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_3
|
|
|
|
|
1244:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_4
|
|
|
|
|
1245:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_5
|
|
|
|
|
1246:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MSIRANGE_6
|
|
|
|
|
1247:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1248:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_MSI_GetRange(void)
|
|
|
|
|
1249:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1250:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->ICSCR, RCC_ICSCR_MSIRANGE));
|
|
|
|
|
1251:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1252:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1253:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1254:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get MSI Calibration value
|
|
|
|
|
1255:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note When MSITRIM is written, MSICAL is updated with the sum of
|
|
|
|
|
1256:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * MSITRIM and the factory trim value
|
|
|
|
|
1257:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll ICSCR MSICAL LL_RCC_MSI_GetCalibration
|
|
|
|
|
1258:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Between Min_Data = 0x00 and Max_Data = 0xFF
|
|
|
|
|
1259:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1260:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_MSI_GetCalibration(void)
|
|
|
|
|
1261:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1262:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->ICSCR, RCC_ICSCR_MSICAL) >> RCC_POSITION_MSICAL);
|
|
|
|
|
1263:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1264:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1265:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1266:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Set MSI Calibration trimming
|
|
|
|
|
1267:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note user-programmable trimming value that is added to the MSICAL
|
|
|
|
|
1268:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll ICSCR MSITRIM LL_RCC_MSI_SetCalibTrimming
|
|
|
|
|
1269:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param Value between Min_Data = 0x00 and Max_Data = 0xFF
|
|
|
|
|
1270:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1271:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1272:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_MSI_SetCalibTrimming(uint32_t Value)
|
|
|
|
|
1273:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1274:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->ICSCR, RCC_ICSCR_MSITRIM, Value << RCC_POSITION_MSITRIM);
|
|
|
|
|
86 .loc 2 1274 0
|
|
|
|
|
87 0028 5A68 ldr r2, [r3, #4]
|
|
|
|
|
88 002a 1202 lsls r2, r2, #8
|
|
|
|
|
89 002c 120A lsrs r2, r2, #8
|
|
|
|
|
90 002e 5A60 str r2, [r3, #4]
|
|
|
|
|
91 .LVL3:
|
|
|
|
|
92 .LBE163:
|
|
|
|
|
93 .LBE162:
|
|
|
|
|
94 .LBB164:
|
|
|
|
|
95 .LBB165:
|
|
|
|
|
925:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
96 .loc 2 925 0
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 34
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 0030 5A68 ldr r2, [r3, #4]
|
|
|
|
|
98 0032 1049 ldr r1, .L4+8
|
|
|
|
|
99 0034 1140 ands r1, r2
|
|
|
|
|
100 0036 8022 movs r2, #128
|
|
|
|
|
101 0038 5201 lsls r2, r2, #5
|
|
|
|
|
102 003a 0A43 orrs r2, r1
|
|
|
|
|
103 003c 5A60 str r2, [r3, #4]
|
|
|
|
|
104 .LVL4:
|
|
|
|
|
105 .LBE165:
|
|
|
|
|
106 .LBE164:
|
|
|
|
|
137:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
138:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** __NOP();
|
|
|
|
|
139:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
140:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
141:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Set MSIRANGE default value */
|
|
|
|
|
142:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** LL_RCC_MSI_SetRange(LL_RCC_MSIRANGE_5);
|
|
|
|
|
143:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Set MSITRIM bits to the reset value*/
|
|
|
|
|
144:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** LL_RCC_MSI_SetCalibTrimming(0U);
|
|
|
|
|
145:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
146:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Set HSITRIM bits to the reset value*/
|
|
|
|
|
147:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** LL_RCC_HSI_SetCalibTrimming(0x10U);
|
|
|
|
|
148:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
149:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Reset SW, HPRE, PPRE and MCOSEL bits */
|
|
|
|
|
150:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** vl_mask = 0xFFFFFFFFU;
|
|
|
|
|
151:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** CLEAR_BIT(vl_mask, (RCC_CFGR_SW | RCC_CFGR_HPRE | RCC_CFGR_PPRE1 | RCC_CFGR_PPRE2 | RCC_CFGR_MCOS
|
|
|
|
|
152:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** LL_RCC_WriteReg(CFGR, vl_mask);
|
|
|
|
|
107 .loc 1 152 0
|
|
|
|
|
108 003e 0E4A ldr r2, .L4+12
|
|
|
|
|
109 0040 DA60 str r2, [r3, #12]
|
|
|
|
|
153:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
154:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Reset HSI, HSE, PLL */
|
|
|
|
|
155:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** vl_mask = LL_RCC_ReadReg(CR);
|
|
|
|
|
110 .loc 1 155 0
|
|
|
|
|
111 0042 1A68 ldr r2, [r3]
|
|
|
|
|
112 .LVL5:
|
|
|
|
|
156:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #if defined(RCC_CR_HSIOUTEN)
|
|
|
|
|
157:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** CLEAR_BIT(vl_mask, RCC_CR_HSION| RCC_CR_HSIKERON| RCC_CR_HSIDIVEN | RCC_CR_HSIOUTEN | \
|
|
|
|
|
113 .loc 1 157 0
|
|
|
|
|
114 0044 0D49 ldr r1, .L4+16
|
|
|
|
|
115 0046 0A40 ands r2, r1
|
|
|
|
|
116 .LVL6:
|
|
|
|
|
158:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** RCC_CR_HSEON | RCC_CR_PLLON);
|
|
|
|
|
159:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #else
|
|
|
|
|
160:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** CLEAR_BIT(vl_mask, RCC_CR_HSION| RCC_CR_HSIKERON| RCC_CR_HSIDIVEN | \
|
|
|
|
|
161:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** RCC_CR_HSEON | RCC_CR_PLLON);
|
|
|
|
|
162:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #endif
|
|
|
|
|
163:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** LL_RCC_WriteReg(CR, vl_mask);
|
|
|
|
|
117 .loc 1 163 0
|
|
|
|
|
118 0048 1A60 str r2, [r3]
|
|
|
|
|
164:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Delay after an RCC peripheral clock */
|
|
|
|
|
165:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** vl_mask = LL_RCC_ReadReg(CR);
|
|
|
|
|
119 .loc 1 165 0
|
|
|
|
|
120 004a 1A68 ldr r2, [r3]
|
|
|
|
|
121 .LVL7:
|
|
|
|
|
122 .LBB166:
|
|
|
|
|
123 .LBB167:
|
|
|
|
|
737:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 35
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 .loc 2 737 0
|
|
|
|
|
125 004c 1968 ldr r1, [r3]
|
|
|
|
|
126 004e 0C48 ldr r0, .L4+20
|
|
|
|
|
127 0050 0140 ands r1, r0
|
|
|
|
|
128 0052 1960 str r1, [r3]
|
|
|
|
|
129 .LBE167:
|
|
|
|
|
130 .LBE166:
|
|
|
|
|
166:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
167:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Reset HSEBYP bit */
|
|
|
|
|
168:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** LL_RCC_HSE_DisableBypass();
|
|
|
|
|
169:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
170:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Set RCC_CR_RTCPRE to 0b00*/
|
|
|
|
|
171:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** CLEAR_BIT(vl_mask, RCC_CR_RTCPRE);
|
|
|
|
|
131 .loc 1 171 0
|
|
|
|
|
132 0054 0B49 ldr r1, .L4+24
|
|
|
|
|
133 0056 0A40 ands r2, r1
|
|
|
|
|
134 .LVL8:
|
|
|
|
|
172:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** LL_RCC_WriteReg(CR, vl_mask);
|
|
|
|
|
135 .loc 1 172 0
|
|
|
|
|
136 0058 1A60 str r2, [r3]
|
|
|
|
|
173:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
174:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Reset CFGR register */
|
|
|
|
|
175:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** LL_RCC_WriteReg(CFGR, 0x00000000U);
|
|
|
|
|
137 .loc 1 175 0
|
|
|
|
|
138 005a 0022 movs r2, #0
|
|
|
|
|
139 .LVL9:
|
|
|
|
|
140 005c DA60 str r2, [r3, #12]
|
|
|
|
|
141 .LVL10:
|
|
|
|
|
176:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
177:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #if defined(RCC_HSI48_SUPPORT)
|
|
|
|
|
178:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Reset CRRCR register */
|
|
|
|
|
179:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** LL_RCC_WriteReg(CRRCR, 0x00000000U);
|
|
|
|
|
142 .loc 1 179 0
|
|
|
|
|
143 005e 9A60 str r2, [r3, #8]
|
|
|
|
|
144 .LBB168:
|
|
|
|
|
145 .LBB169:
|
|
|
|
|
964:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
146 .loc 2 964 0
|
|
|
|
|
147 0060 9968 ldr r1, [r3, #8]
|
|
|
|
|
148 0062 0120 movs r0, #1
|
|
|
|
|
149 0064 8143 bics r1, r0
|
|
|
|
|
150 0066 9960 str r1, [r3, #8]
|
|
|
|
|
151 .LBE169:
|
|
|
|
|
152 .LBE168:
|
|
|
|
|
180:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
181:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Disable HSI48 */
|
|
|
|
|
182:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** LL_RCC_HSI48_Disable();
|
|
|
|
|
183:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
184:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #endif /*RCC_HSI48_SUPPORT*/
|
|
|
|
|
185:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
186:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Disable all interrupts */
|
|
|
|
|
187:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** LL_RCC_WriteReg(CIER, 0x00000000U);
|
|
|
|
|
153 .loc 1 187 0
|
|
|
|
|
154 0068 1A61 str r2, [r3, #16]
|
|
|
|
|
188:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
189:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** return SUCCESS;
|
|
|
|
|
190:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 36
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 .loc 1 190 0
|
|
|
|
|
156 @ sp needed
|
|
|
|
|
157 006a 7047 bx lr
|
|
|
|
|
158 .L5:
|
|
|
|
|
159 .align 2
|
|
|
|
|
160 .L4:
|
|
|
|
|
161 006c 00100240 .word 1073876992
|
|
|
|
|
162 0070 FF1FFFFF .word -57345
|
|
|
|
|
163 0074 FFE0FFFF .word -7937
|
|
|
|
|
164 0078 0CC0FFF0 .word -251674612
|
|
|
|
|
165 007c D4FFFEFE .word -16842796
|
|
|
|
|
166 0080 FFFFFBFF .word -262145
|
|
|
|
|
167 0084 FFFFCFFF .word -3145729
|
|
|
|
|
168 .cfi_endproc
|
|
|
|
|
169 .LFE176:
|
|
|
|
|
171 .global __aeabi_uidiv
|
|
|
|
|
172 .section .text.LL_RCC_GetUSBClockFreq,"ax",%progbits
|
|
|
|
|
173 .align 1
|
|
|
|
|
174 .global LL_RCC_GetUSBClockFreq
|
|
|
|
|
175 .syntax unified
|
|
|
|
|
176 .code 16
|
|
|
|
|
177 .thumb_func
|
|
|
|
|
178 .fpu softvfp
|
|
|
|
|
180 LL_RCC_GetUSBClockFreq:
|
|
|
|
|
181 .LFB182:
|
|
|
|
|
191:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
192:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
193:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @}
|
|
|
|
|
194:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
195:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
196:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /** @addtogroup RCC_LL_EF_Get_Freq
|
|
|
|
|
197:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @brief Return the frequencies of different on chip clocks; System, AHB, APB1 and APB2 buses c
|
|
|
|
|
198:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * and different peripheral clocks available on the device.
|
|
|
|
|
199:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @note If SYSCLK source is MSI, function returns values based on MSI clock(*)
|
|
|
|
|
200:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @note If SYSCLK source is HSI, function returns values based on HSI_VALUE(**)
|
|
|
|
|
201:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @note If SYSCLK source is HSE, function returns values based on HSE_VALUE(***)
|
|
|
|
|
202:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @note If SYSCLK source is PLL, function returns values based on
|
|
|
|
|
203:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * HSI_VALUE(**) or HSE_VALUE(***) multiplied/divided by the PLL factors.
|
|
|
|
|
204:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @note (*) MSI clock depends on the selected MSI range but the real value
|
|
|
|
|
205:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * may vary depending on the variations in voltage and temperature.
|
|
|
|
|
206:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @note (**) HSI_VALUE is a defined constant but the real value may vary
|
|
|
|
|
207:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * depending on the variations in voltage and temperature.
|
|
|
|
|
208:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @note (***) HSE_VALUE is a defined constant, user has to ensure that
|
|
|
|
|
209:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * HSE_VALUE is same as the real frequency of the crystal used.
|
|
|
|
|
210:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * Otherwise, this function may have wrong result.
|
|
|
|
|
211:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @note The result of this function could be incorrect when using fractional
|
|
|
|
|
212:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * value for HSE crystal.
|
|
|
|
|
213:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @note This function can be used by the user application to compute the
|
|
|
|
|
214:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * baud-rate for the communication peripherals or configure other parameters.
|
|
|
|
|
215:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @{
|
|
|
|
|
216:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
217:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
218:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
219:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @brief Return the frequencies of different on chip clocks; System, AHB, APB1 and APB2 buses c
|
|
|
|
|
220:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @note Each time SYSCLK, HCLK, PCLK1 and/or PCLK2 clock changes, this function
|
|
|
|
|
221:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * must be called to update structure fields. Otherwise, any
|
|
|
|
|
222:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * configuration based on this function will be incorrect.
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 37
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @param RCC_Clocks pointer to a @ref LL_RCC_ClocksTypeDef structure which will hold the clocks
|
|
|
|
|
224:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @retval None
|
|
|
|
|
225:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
226:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** void LL_RCC_GetSystemClocksFreq(LL_RCC_ClocksTypeDef *RCC_Clocks)
|
|
|
|
|
227:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
228:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Get SYSCLK frequency */
|
|
|
|
|
229:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** RCC_Clocks->SYSCLK_Frequency = RCC_GetSystemClockFreq();
|
|
|
|
|
230:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
231:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* HCLK clock frequency */
|
|
|
|
|
232:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** RCC_Clocks->HCLK_Frequency = RCC_GetHCLKClockFreq(RCC_Clocks->SYSCLK_Frequency);
|
|
|
|
|
233:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
234:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* PCLK1 clock frequency */
|
|
|
|
|
235:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** RCC_Clocks->PCLK1_Frequency = RCC_GetPCLK1ClockFreq(RCC_Clocks->HCLK_Frequency);
|
|
|
|
|
236:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
237:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* PCLK2 clock frequency */
|
|
|
|
|
238:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** RCC_Clocks->PCLK2_Frequency = RCC_GetPCLK2ClockFreq(RCC_Clocks->HCLK_Frequency);
|
|
|
|
|
239:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
240:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
241:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
242:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @brief Return USARTx clock frequency
|
|
|
|
|
243:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @param USARTxSource This parameter can be one of the following values:
|
|
|
|
|
244:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @arg @ref LL_RCC_USART1_CLKSOURCE
|
|
|
|
|
245:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @arg @ref LL_RCC_USART2_CLKSOURCE (*)
|
|
|
|
|
246:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** *
|
|
|
|
|
247:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * (*) value not defined in all devices.
|
|
|
|
|
248:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @retval USART clock frequency (in Hz)
|
|
|
|
|
249:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @arg @ref LL_RCC_PERIPH_FREQUENCY_NO indicates that oscillator (HSI or LSE) is not read
|
|
|
|
|
250:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
251:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t LL_RCC_GetUSARTClockFreq(uint32_t USARTxSource)
|
|
|
|
|
252:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
253:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t usart_frequency = LL_RCC_PERIPH_FREQUENCY_NO;
|
|
|
|
|
254:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
255:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Check parameter */
|
|
|
|
|
256:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** assert_param(IS_LL_RCC_USART_CLKSOURCE(USARTxSource));
|
|
|
|
|
257:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #if defined(RCC_CCIPR_USART1SEL)
|
|
|
|
|
258:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (USARTxSource == LL_RCC_USART1_CLKSOURCE)
|
|
|
|
|
259:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
260:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* USART1CLK clock frequency */
|
|
|
|
|
261:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** switch (LL_RCC_GetUSARTClockSource(USARTxSource))
|
|
|
|
|
262:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
263:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_USART1_CLKSOURCE_SYSCLK: /* USART1 Clock is System Clock */
|
|
|
|
|
264:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** usart_frequency = RCC_GetSystemClockFreq();
|
|
|
|
|
265:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
266:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
267:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_USART1_CLKSOURCE_HSI: /* USART1 Clock is HSI Osc. */
|
|
|
|
|
268:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (LL_RCC_HSI_IsReady())
|
|
|
|
|
269:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
270:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** usart_frequency = HSI_VALUE;
|
|
|
|
|
271:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
272:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
273:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
274:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_USART1_CLKSOURCE_LSE: /* USART1 Clock is LSE Osc. */
|
|
|
|
|
275:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (LL_RCC_LSE_IsReady())
|
|
|
|
|
276:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
277:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** usart_frequency = LSE_VALUE;
|
|
|
|
|
278:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
279:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 38
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
280:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
281:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_USART1_CLKSOURCE_PCLK2: /* USART1 Clock is PCLK2 */
|
|
|
|
|
282:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** default:
|
|
|
|
|
283:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** usart_frequency = RCC_GetPCLK2ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq()));
|
|
|
|
|
284:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
285:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
286:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
287:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #endif /* RCC_CCIPR_USART1SEL */
|
|
|
|
|
288:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
289:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #if defined(RCC_CCIPR_USART2SEL)
|
|
|
|
|
290:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (USARTxSource == LL_RCC_USART2_CLKSOURCE)
|
|
|
|
|
291:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
292:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* USART2CLK clock frequency */
|
|
|
|
|
293:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** switch (LL_RCC_GetUSARTClockSource(USARTxSource))
|
|
|
|
|
294:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
295:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_USART2_CLKSOURCE_SYSCLK: /* USART2 Clock is System Clock */
|
|
|
|
|
296:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** usart_frequency = RCC_GetSystemClockFreq();
|
|
|
|
|
297:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
298:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
299:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_USART2_CLKSOURCE_HSI: /* USART2 Clock is HSI Osc. */
|
|
|
|
|
300:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (LL_RCC_HSI_IsReady())
|
|
|
|
|
301:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
302:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** usart_frequency = HSI_VALUE;
|
|
|
|
|
303:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
304:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
305:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
306:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_USART2_CLKSOURCE_LSE: /* USART2 Clock is LSE Osc. */
|
|
|
|
|
307:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (LL_RCC_LSE_IsReady())
|
|
|
|
|
308:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
309:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** usart_frequency = LSE_VALUE;
|
|
|
|
|
310:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
311:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
312:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
313:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_USART2_CLKSOURCE_PCLK1: /* USART2 Clock is PCLK1 */
|
|
|
|
|
314:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** default:
|
|
|
|
|
315:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** usart_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq()));
|
|
|
|
|
316:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
317:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
318:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
319:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #endif /* RCC_CCIPR_USART2SEL */
|
|
|
|
|
320:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
321:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** return usart_frequency;
|
|
|
|
|
322:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
323:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
324:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
325:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @brief Return I2Cx clock frequency
|
|
|
|
|
326:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @param I2CxSource This parameter can be one of the following values:
|
|
|
|
|
327:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @arg @ref LL_RCC_I2C1_CLKSOURCE
|
|
|
|
|
328:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @arg @ref LL_RCC_I2C3_CLKSOURCE (*)
|
|
|
|
|
329:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** *
|
|
|
|
|
330:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * (*) value not defined in all devices
|
|
|
|
|
331:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @retval I2C clock frequency (in Hz)
|
|
|
|
|
332:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @arg @ref LL_RCC_PERIPH_FREQUENCY_NO indicates that HSI oscillator is not ready
|
|
|
|
|
333:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
334:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t LL_RCC_GetI2CClockFreq(uint32_t I2CxSource)
|
|
|
|
|
335:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
336:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO;
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 39
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
337:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
338:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Check parameter */
|
|
|
|
|
339:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** assert_param(IS_LL_RCC_I2C_CLKSOURCE(I2CxSource));
|
|
|
|
|
340:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
341:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* I2C1 CLK clock frequency */
|
|
|
|
|
342:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (I2CxSource == LL_RCC_I2C1_CLKSOURCE)
|
|
|
|
|
343:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
344:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** switch (LL_RCC_GetI2CClockSource(I2CxSource))
|
|
|
|
|
345:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
346:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_I2C1_CLKSOURCE_SYSCLK: /* I2C1 Clock is System Clock */
|
|
|
|
|
347:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** i2c_frequency = RCC_GetSystemClockFreq();
|
|
|
|
|
348:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
349:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
350:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_I2C1_CLKSOURCE_HSI: /* I2C1 Clock is HSI Osc. */
|
|
|
|
|
351:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (LL_RCC_HSI_IsReady())
|
|
|
|
|
352:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
353:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** i2c_frequency = HSI_VALUE;
|
|
|
|
|
354:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
355:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
356:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
357:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_I2C1_CLKSOURCE_PCLK1: /* I2C1 Clock is PCLK1 */
|
|
|
|
|
358:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** default:
|
|
|
|
|
359:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq()));
|
|
|
|
|
360:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
361:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
362:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
363:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
364:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #if defined(RCC_CCIPR_I2C3SEL)
|
|
|
|
|
365:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* I2C3 CLK clock frequency */
|
|
|
|
|
366:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (I2CxSource == LL_RCC_I2C3_CLKSOURCE)
|
|
|
|
|
367:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
368:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** switch (LL_RCC_GetI2CClockSource(I2CxSource))
|
|
|
|
|
369:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
370:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_I2C3_CLKSOURCE_SYSCLK: /* I2C3 Clock is System Clock */
|
|
|
|
|
371:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** i2c_frequency = RCC_GetSystemClockFreq();
|
|
|
|
|
372:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
373:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
374:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_I2C3_CLKSOURCE_HSI: /* I2C3 Clock is HSI Osc. */
|
|
|
|
|
375:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (LL_RCC_HSI_IsReady())
|
|
|
|
|
376:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
377:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** i2c_frequency = HSI_VALUE;
|
|
|
|
|
378:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
379:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
380:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
381:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_I2C3_CLKSOURCE_PCLK1: /* I2C3 Clock is PCLK1 */
|
|
|
|
|
382:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** default:
|
|
|
|
|
383:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** i2c_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq()));
|
|
|
|
|
384:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
385:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
386:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
387:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #endif /*RCC_CCIPR_I2C3SEL*/
|
|
|
|
|
388:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
389:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** return i2c_frequency;
|
|
|
|
|
390:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
391:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
392:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
393:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @brief Return LPUARTx clock frequency
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 40
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
394:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @param LPUARTxSource This parameter can be one of the following values:
|
|
|
|
|
395:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @arg @ref LL_RCC_LPUART1_CLKSOURCE
|
|
|
|
|
396:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @retval LPUART clock frequency (in Hz)
|
|
|
|
|
397:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @arg @ref LL_RCC_PERIPH_FREQUENCY_NO indicates that oscillator (HSI or LSE) is not read
|
|
|
|
|
398:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
399:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t LL_RCC_GetLPUARTClockFreq(uint32_t LPUARTxSource)
|
|
|
|
|
400:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
401:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t lpuart_frequency = LL_RCC_PERIPH_FREQUENCY_NO;
|
|
|
|
|
402:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
403:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Check parameter */
|
|
|
|
|
404:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** assert_param(IS_LL_RCC_LPUART_CLKSOURCE(LPUARTxSource));
|
|
|
|
|
405:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
406:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* LPUART1CLK clock frequency */
|
|
|
|
|
407:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** switch (LL_RCC_GetLPUARTClockSource(LPUARTxSource))
|
|
|
|
|
408:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
409:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_LPUART1_CLKSOURCE_SYSCLK: /* LPUART1 Clock is System Clock */
|
|
|
|
|
410:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** lpuart_frequency = RCC_GetSystemClockFreq();
|
|
|
|
|
411:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
412:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
413:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_LPUART1_CLKSOURCE_HSI: /* LPUART1 Clock is HSI Osc. */
|
|
|
|
|
414:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (LL_RCC_HSI_IsReady())
|
|
|
|
|
415:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
416:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** lpuart_frequency = HSI_VALUE;
|
|
|
|
|
417:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
418:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
419:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
420:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_LPUART1_CLKSOURCE_LSE: /* LPUART1 Clock is LSE Osc. */
|
|
|
|
|
421:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (LL_RCC_LSE_IsReady())
|
|
|
|
|
422:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
423:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** lpuart_frequency = LSE_VALUE;
|
|
|
|
|
424:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
425:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
426:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
427:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_LPUART1_CLKSOURCE_PCLK1: /* LPUART1 Clock is PCLK1 */
|
|
|
|
|
428:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** default:
|
|
|
|
|
429:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** lpuart_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq()));
|
|
|
|
|
430:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
431:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
432:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
433:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** return lpuart_frequency;
|
|
|
|
|
434:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
435:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
436:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
437:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @brief Return LPTIMx clock frequency
|
|
|
|
|
438:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @param LPTIMxSource This parameter can be one of the following values:
|
|
|
|
|
439:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @arg @ref LL_RCC_LPTIM1_CLKSOURCE
|
|
|
|
|
440:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @retval LPTIM clock frequency (in Hz)
|
|
|
|
|
441:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @arg @ref LL_RCC_PERIPH_FREQUENCY_NO indicates that oscillator (HSI or LSE) is not read
|
|
|
|
|
442:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
443:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t LL_RCC_GetLPTIMClockFreq(uint32_t LPTIMxSource)
|
|
|
|
|
444:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
445:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t lptim_frequency = LL_RCC_PERIPH_FREQUENCY_NO;
|
|
|
|
|
446:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
447:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Check parameter */
|
|
|
|
|
448:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** assert_param(IS_LL_RCC_LPTIM_CLKSOURCE(LPTIMxSource));
|
|
|
|
|
449:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
450:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (LPTIMxSource == LL_RCC_LPTIM1_CLKSOURCE)
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 41
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
451:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
452:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* LPTIM1CLK clock frequency */
|
|
|
|
|
453:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** switch (LL_RCC_GetLPTIMClockSource(LPTIMxSource))
|
|
|
|
|
454:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
455:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_LPTIM1_CLKSOURCE_LSI: /* LPTIM1 Clock is LSI Osc. */
|
|
|
|
|
456:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (LL_RCC_LSI_IsReady())
|
|
|
|
|
457:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
458:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** lptim_frequency = LSI_VALUE;
|
|
|
|
|
459:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
460:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
461:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
462:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_LPTIM1_CLKSOURCE_HSI: /* LPTIM1 Clock is HSI Osc. */
|
|
|
|
|
463:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (LL_RCC_HSI_IsReady())
|
|
|
|
|
464:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
465:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** lptim_frequency = HSI_VALUE;
|
|
|
|
|
466:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
467:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
468:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
469:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_LPTIM1_CLKSOURCE_LSE: /* LPTIM1 Clock is LSE Osc. */
|
|
|
|
|
470:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (LL_RCC_LSE_IsReady())
|
|
|
|
|
471:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
472:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** lptim_frequency = LSE_VALUE;
|
|
|
|
|
473:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
474:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
475:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
476:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_LPTIM1_CLKSOURCE_PCLK1: /* LPTIM1 Clock is PCLK1 */
|
|
|
|
|
477:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** default:
|
|
|
|
|
478:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** lptim_frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(RCC_GetSystemClockFreq()));
|
|
|
|
|
479:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
480:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
481:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
482:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
483:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** return lptim_frequency;
|
|
|
|
|
484:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
485:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
486:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #if defined(USB)
|
|
|
|
|
487:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
488:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @brief Return USBx clock frequency
|
|
|
|
|
489:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @param USBxSource This parameter can be one of the following values:
|
|
|
|
|
490:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @arg @ref LL_RCC_USB_CLKSOURCE
|
|
|
|
|
491:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @retval USB clock frequency (in Hz)
|
|
|
|
|
492:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @arg @ref LL_RCC_PERIPH_FREQUENCY_NO indicates that oscillator (HSI48) or PLL is not re
|
|
|
|
|
493:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @arg @ref LL_RCC_PERIPH_FREQUENCY_NA indicates that no clock source selected
|
|
|
|
|
494:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
495:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t LL_RCC_GetUSBClockFreq(uint32_t USBxSource)
|
|
|
|
|
496:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
182 .loc 1 496 0
|
|
|
|
|
183 .cfi_startproc
|
|
|
|
|
184 @ args = 0, pretend = 0, frame = 0
|
|
|
|
|
185 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
|
|
186 .LVL11:
|
|
|
|
|
187 0000 10B5 push {r4, lr}
|
|
|
|
|
188 .LCFI0:
|
|
|
|
|
189 .cfi_def_cfa_offset 8
|
|
|
|
|
190 .cfi_offset 4, -8
|
|
|
|
|
191 .cfi_offset 14, -4
|
|
|
|
|
192 .LVL12:
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 42
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 .LBB170:
|
|
|
|
|
194 .LBB171:
|
|
|
|
|
1275:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1276:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1277:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1278:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get MSI Calibration trimming
|
|
|
|
|
1279:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll ICSCR MSITRIM LL_RCC_MSI_GetCalibTrimming
|
|
|
|
|
1280:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Between Min_Data = 0x00 and Max_Data = 0xFF
|
|
|
|
|
1281:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1282:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_MSI_GetCalibTrimming(void)
|
|
|
|
|
1283:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1284:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->ICSCR, RCC_ICSCR_MSITRIM) >> RCC_POSITION_MSITRIM);
|
|
|
|
|
1285:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1286:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1287:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1288:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
1289:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1290:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1291:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_System System
|
|
|
|
|
1292:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
1293:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1294:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1295:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1296:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Configure the system clock source
|
|
|
|
|
1297:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR SW LL_RCC_SetSysClkSource
|
|
|
|
|
1298:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param Source This parameter can be one of the following values:
|
|
|
|
|
1299:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYS_CLKSOURCE_MSI
|
|
|
|
|
1300:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYS_CLKSOURCE_HSI
|
|
|
|
|
1301:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYS_CLKSOURCE_HSE
|
|
|
|
|
1302:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYS_CLKSOURCE_PLL
|
|
|
|
|
1303:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1304:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1305:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source)
|
|
|
|
|
1306:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1307:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, Source);
|
|
|
|
|
1308:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1309:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1310:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1311:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get the system clock source
|
|
|
|
|
1312:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR SWS LL_RCC_GetSysClkSource
|
|
|
|
|
1313:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1314:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYS_CLKSOURCE_STATUS_MSI
|
|
|
|
|
1315:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYS_CLKSOURCE_STATUS_HSI
|
|
|
|
|
1316:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYS_CLKSOURCE_STATUS_HSE
|
|
|
|
|
1317:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYS_CLKSOURCE_STATUS_PLL
|
|
|
|
|
1318:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1319:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetSysClkSource(void)
|
|
|
|
|
1320:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1321:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_SWS));
|
|
|
|
|
1322:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1323:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1324:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1325:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Set AHB prescaler
|
|
|
|
|
1326:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR HPRE LL_RCC_SetAHBPrescaler
|
|
|
|
|
1327:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param Prescaler This parameter can be one of the following values:
|
|
|
|
|
1328:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_1
|
|
|
|
|
1329:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_2
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 43
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1330:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_4
|
|
|
|
|
1331:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_8
|
|
|
|
|
1332:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_16
|
|
|
|
|
1333:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_64
|
|
|
|
|
1334:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_128
|
|
|
|
|
1335:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_256
|
|
|
|
|
1336:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_512
|
|
|
|
|
1337:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1338:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1339:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetAHBPrescaler(uint32_t Prescaler)
|
|
|
|
|
1340:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1341:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, Prescaler);
|
|
|
|
|
1342:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1343:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1344:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1345:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Set APB1 prescaler
|
|
|
|
|
1346:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR PPRE1 LL_RCC_SetAPB1Prescaler
|
|
|
|
|
1347:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param Prescaler This parameter can be one of the following values:
|
|
|
|
|
1348:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_1
|
|
|
|
|
1349:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_2
|
|
|
|
|
1350:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_4
|
|
|
|
|
1351:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_8
|
|
|
|
|
1352:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_16
|
|
|
|
|
1353:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1354:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1355:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetAPB1Prescaler(uint32_t Prescaler)
|
|
|
|
|
1356:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1357:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, Prescaler);
|
|
|
|
|
1358:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1359:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1360:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1361:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Set APB2 prescaler
|
|
|
|
|
1362:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR PPRE2 LL_RCC_SetAPB2Prescaler
|
|
|
|
|
1363:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param Prescaler This parameter can be one of the following values:
|
|
|
|
|
1364:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_1
|
|
|
|
|
1365:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_2
|
|
|
|
|
1366:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_4
|
|
|
|
|
1367:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_8
|
|
|
|
|
1368:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_16
|
|
|
|
|
1369:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1370:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1371:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetAPB2Prescaler(uint32_t Prescaler)
|
|
|
|
|
1372:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1373:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, Prescaler);
|
|
|
|
|
1374:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1375:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1376:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1377:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get AHB prescaler
|
|
|
|
|
1378:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR HPRE LL_RCC_GetAHBPrescaler
|
|
|
|
|
1379:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1380:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_1
|
|
|
|
|
1381:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_2
|
|
|
|
|
1382:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_4
|
|
|
|
|
1383:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_8
|
|
|
|
|
1384:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_16
|
|
|
|
|
1385:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_64
|
|
|
|
|
1386:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_128
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 44
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1387:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_256
|
|
|
|
|
1388:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_SYSCLK_DIV_512
|
|
|
|
|
1389:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1390:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetAHBPrescaler(void)
|
|
|
|
|
1391:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_HPRE));
|
|
|
|
|
1393:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1394:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1395:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1396:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get APB1 prescaler
|
|
|
|
|
1397:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR PPRE1 LL_RCC_GetAPB1Prescaler
|
|
|
|
|
1398:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1399:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_1
|
|
|
|
|
1400:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_2
|
|
|
|
|
1401:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_4
|
|
|
|
|
1402:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_8
|
|
|
|
|
1403:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB1_DIV_16
|
|
|
|
|
1404:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1405:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetAPB1Prescaler(void)
|
|
|
|
|
1406:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_PPRE1));
|
|
|
|
|
1408:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1409:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1410:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1411:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get APB2 prescaler
|
|
|
|
|
1412:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR PPRE2 LL_RCC_GetAPB2Prescaler
|
|
|
|
|
1413:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1414:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_1
|
|
|
|
|
1415:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_2
|
|
|
|
|
1416:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_4
|
|
|
|
|
1417:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_8
|
|
|
|
|
1418:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_APB2_DIV_16
|
|
|
|
|
1419:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1420:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetAPB2Prescaler(void)
|
|
|
|
|
1421:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1422:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_PPRE2));
|
|
|
|
|
1423:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1424:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1425:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1426:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Set Clock After Wake-Up From Stop mode
|
|
|
|
|
1427:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR STOPWUCK LL_RCC_SetClkAfterWakeFromStop
|
|
|
|
|
1428:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param Clock This parameter can be one of the following values:
|
|
|
|
|
1429:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_STOP_WAKEUPCLOCK_MSI
|
|
|
|
|
1430:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_STOP_WAKEUPCLOCK_HSI
|
|
|
|
|
1431:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1432:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1433:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetClkAfterWakeFromStop(uint32_t Clock)
|
|
|
|
|
1434:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1435:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_STOPWUCK, Clock);
|
|
|
|
|
1436:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1437:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1438:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1439:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get Clock After Wake-Up From Stop mode
|
|
|
|
|
1440:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR STOPWUCK LL_RCC_GetClkAfterWakeFromStop
|
|
|
|
|
1441:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1442:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_STOP_WAKEUPCLOCK_MSI
|
|
|
|
|
1443:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_STOP_WAKEUPCLOCK_HSI
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 45
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1444:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1445:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetClkAfterWakeFromStop(void)
|
|
|
|
|
1446:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1447:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_STOPWUCK));
|
|
|
|
|
1448:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1449:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1450:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1451:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
1452:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1453:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1454:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_MCO MCO
|
|
|
|
|
1455:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
1456:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1457:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1458:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1459:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Configure MCOx
|
|
|
|
|
1460:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR MCOSEL LL_RCC_ConfigMCO\n
|
|
|
|
|
1461:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * CFGR MCOPRE LL_RCC_ConfigMCO
|
|
|
|
|
1462:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param MCOxSource This parameter can be one of the following values:
|
|
|
|
|
1463:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_NOCLOCK
|
|
|
|
|
1464:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_SYSCLK
|
|
|
|
|
1465:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_HSI
|
|
|
|
|
1466:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_MSI
|
|
|
|
|
1467:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_HSE
|
|
|
|
|
1468:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_PLLCLK
|
|
|
|
|
1469:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_LSI
|
|
|
|
|
1470:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_LSE
|
|
|
|
|
1471:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1SOURCE_HSI48 (*)
|
|
|
|
|
1472:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** *
|
|
|
|
|
1473:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * (*) value not defined in all devices.
|
|
|
|
|
1474:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param MCOxPrescaler This parameter can be one of the following values:
|
|
|
|
|
1475:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1_DIV_1
|
|
|
|
|
1476:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1_DIV_2
|
|
|
|
|
1477:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1_DIV_4
|
|
|
|
|
1478:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1_DIV_8
|
|
|
|
|
1479:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_MCO1_DIV_16
|
|
|
|
|
1480:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1481:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1482:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ConfigMCO(uint32_t MCOxSource, uint32_t MCOxPrescaler)
|
|
|
|
|
1483:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1484:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_MCOSEL | RCC_CFGR_MCOPRE, MCOxSource | MCOxPrescaler);
|
|
|
|
|
1485:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1486:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1487:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1488:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
1489:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1490:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1491:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_Peripheral_Clock_Source Peripheral Clock Source
|
|
|
|
|
1492:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
1493:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1494:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1495:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1496:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Configure USARTx clock source
|
|
|
|
|
1497:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CCIPR USARTxSEL LL_RCC_SetUSARTClockSource
|
|
|
|
|
1498:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param USARTxSource This parameter can be one of the following values:
|
|
|
|
|
1499:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART1_CLKSOURCE_PCLK2 (*)
|
|
|
|
|
1500:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART1_CLKSOURCE_SYSCLK (*)
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 46
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1501:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART1_CLKSOURCE_HSI (*)
|
|
|
|
|
1502:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART1_CLKSOURCE_LSE (*)
|
|
|
|
|
1503:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART2_CLKSOURCE_PCLK1
|
|
|
|
|
1504:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART2_CLKSOURCE_SYSCLK
|
|
|
|
|
1505:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART2_CLKSOURCE_HSI
|
|
|
|
|
1506:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART2_CLKSOURCE_LSE
|
|
|
|
|
1507:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** *
|
|
|
|
|
1508:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * (*) value not defined in all devices.
|
|
|
|
|
1509:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1510:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1511:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetUSARTClockSource(uint32_t USARTxSource)
|
|
|
|
|
1512:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1513:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CCIPR, (USARTxSource >> 16U), (USARTxSource & 0x0000FFFFU));
|
|
|
|
|
1514:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1515:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1516:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1517:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Configure LPUART1x clock source
|
|
|
|
|
1518:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CCIPR LPUART1SEL LL_RCC_SetLPUARTClockSource
|
|
|
|
|
1519:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param LPUARTxSource This parameter can be one of the following values:
|
|
|
|
|
1520:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPUART1_CLKSOURCE_PCLK1
|
|
|
|
|
1521:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPUART1_CLKSOURCE_SYSCLK
|
|
|
|
|
1522:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPUART1_CLKSOURCE_HSI
|
|
|
|
|
1523:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPUART1_CLKSOURCE_LSE
|
|
|
|
|
1524:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1525:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1526:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetLPUARTClockSource(uint32_t LPUARTxSource)
|
|
|
|
|
1527:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1528:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CCIPR, RCC_CCIPR_LPUART1SEL, LPUARTxSource);
|
|
|
|
|
1529:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1530:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1531:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1532:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Configure I2Cx clock source
|
|
|
|
|
1533:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CCIPR I2CxSEL LL_RCC_SetI2CClockSource
|
|
|
|
|
1534:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param I2CxSource This parameter can be one of the following values:
|
|
|
|
|
1535:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_I2C1_CLKSOURCE_PCLK1
|
|
|
|
|
1536:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_I2C1_CLKSOURCE_SYSCLK
|
|
|
|
|
1537:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_I2C1_CLKSOURCE_HSI
|
|
|
|
|
1538:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_I2C3_CLKSOURCE_PCLK1 (*)
|
|
|
|
|
1539:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_I2C3_CLKSOURCE_SYSCLK (*)
|
|
|
|
|
1540:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_I2C3_CLKSOURCE_HSI (*)
|
|
|
|
|
1541:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** *
|
|
|
|
|
1542:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * (*) value not defined in all devices.
|
|
|
|
|
1543:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1544:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1545:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetI2CClockSource(uint32_t I2CxSource)
|
|
|
|
|
1546:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1547:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CCIPR, ((I2CxSource >> 4U) & 0x000FF000U), ((I2CxSource << 4U) & 0x000FF000U));
|
|
|
|
|
1548:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1549:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1550:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1551:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Configure LPTIMx clock source
|
|
|
|
|
1552:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CCIPR LPTIMxSEL LL_RCC_SetLPTIMClockSource
|
|
|
|
|
1553:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param LPTIMxSource This parameter can be one of the following values:
|
|
|
|
|
1554:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPTIM1_CLKSOURCE_PCLK1
|
|
|
|
|
1555:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPTIM1_CLKSOURCE_LSI
|
|
|
|
|
1556:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPTIM1_CLKSOURCE_HSI
|
|
|
|
|
1557:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPTIM1_CLKSOURCE_LSE
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 47
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1558:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1559:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1560:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetLPTIMClockSource(uint32_t LPTIMxSource)
|
|
|
|
|
1561:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1562:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CCIPR, RCC_CCIPR_LPTIM1SEL, LPTIMxSource);
|
|
|
|
|
1563:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1564:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1565:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_CCIPR_HSI48SEL)
|
|
|
|
|
1566:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RNG)
|
|
|
|
|
1567:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1568:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Configure RNG clock source
|
|
|
|
|
1569:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CCIPR HSI48SEL LL_RCC_SetRNGClockSource
|
|
|
|
|
1570:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param RNGxSource This parameter can be one of the following values:
|
|
|
|
|
1571:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RNG_CLKSOURCE_PLL
|
|
|
|
|
1572:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RNG_CLKSOURCE_HSI48
|
|
|
|
|
1573:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1574:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1575:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetRNGClockSource(uint32_t RNGxSource)
|
|
|
|
|
1576:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1577:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CCIPR, RCC_CCIPR_HSI48SEL, RNGxSource);
|
|
|
|
|
1578:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1579:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RNG */
|
|
|
|
|
1580:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1581:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(USB)
|
|
|
|
|
1582:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1583:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Configure USB clock source
|
|
|
|
|
1584:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CCIPR HSI48SEL LL_RCC_SetUSBClockSource
|
|
|
|
|
1585:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param USBxSource This parameter can be one of the following values:
|
|
|
|
|
1586:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RNG_CLKSOURCE_PLL
|
|
|
|
|
1587:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RNG_CLKSOURCE_HSI48
|
|
|
|
|
1588:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1589:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1590:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetUSBClockSource(uint32_t USBxSource)
|
|
|
|
|
1591:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1592:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CCIPR, RCC_CCIPR_HSI48SEL, USBxSource);
|
|
|
|
|
1593:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1594:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* USB */
|
|
|
|
|
1595:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1596:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_CCIPR_HSI48SEL */
|
|
|
|
|
1597:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1598:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1599:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get USARTx clock source
|
|
|
|
|
1600:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CCIPR USARTxSEL LL_RCC_GetUSARTClockSource
|
|
|
|
|
1601:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param USARTx This parameter can be one of the following values:
|
|
|
|
|
1602:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART1_CLKSOURCE (*)
|
|
|
|
|
1603:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART2_CLKSOURCE
|
|
|
|
|
1604:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1605:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART1_CLKSOURCE_PCLK2 (*)
|
|
|
|
|
1606:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART1_CLKSOURCE_SYSCLK (*)
|
|
|
|
|
1607:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART1_CLKSOURCE_HSI (*)
|
|
|
|
|
1608:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART1_CLKSOURCE_LSE (*)
|
|
|
|
|
1609:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART2_CLKSOURCE_PCLK1
|
|
|
|
|
1610:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART2_CLKSOURCE_SYSCLK
|
|
|
|
|
1611:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART2_CLKSOURCE_HSI
|
|
|
|
|
1612:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USART2_CLKSOURCE_LSE
|
|
|
|
|
1613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** *
|
|
|
|
|
1614:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * (*) value not defined in all devices.
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 48
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1615:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1616:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetUSARTClockSource(uint32_t USARTx)
|
|
|
|
|
1617:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1618:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CCIPR, USARTx) | (USARTx << 16U));
|
|
|
|
|
1619:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1620:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1621:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1622:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1623:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1624:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get LPUARTx clock source
|
|
|
|
|
1625:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CCIPR LPUART1SEL LL_RCC_GetLPUARTClockSource
|
|
|
|
|
1626:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param LPUARTx This parameter can be one of the following values:
|
|
|
|
|
1627:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPUART1_CLKSOURCE
|
|
|
|
|
1628:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1629:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPUART1_CLKSOURCE_PCLK1
|
|
|
|
|
1630:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPUART1_CLKSOURCE_SYSCLK
|
|
|
|
|
1631:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPUART1_CLKSOURCE_HSI
|
|
|
|
|
1632:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPUART1_CLKSOURCE_LSE
|
|
|
|
|
1633:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1634:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetLPUARTClockSource(uint32_t LPUARTx)
|
|
|
|
|
1635:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1636:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CCIPR, LPUARTx));
|
|
|
|
|
1637:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1638:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1639:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1640:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get I2Cx clock source
|
|
|
|
|
1641:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CCIPR I2CxSEL LL_RCC_GetI2CClockSource
|
|
|
|
|
1642:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param I2Cx This parameter can be one of the following values:
|
|
|
|
|
1643:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_I2C1_CLKSOURCE
|
|
|
|
|
1644:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_I2C3_CLKSOURCE
|
|
|
|
|
1645:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1646:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_I2C1_CLKSOURCE_PCLK1
|
|
|
|
|
1647:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_I2C1_CLKSOURCE_SYSCLK
|
|
|
|
|
1648:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_I2C1_CLKSOURCE_HSI
|
|
|
|
|
1649:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_I2C3_CLKSOURCE_PCLK1 (*)
|
|
|
|
|
1650:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_I2C3_CLKSOURCE_SYSCLK (*)
|
|
|
|
|
1651:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_I2C3_CLKSOURCE_HSI (*)
|
|
|
|
|
1652:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** *
|
|
|
|
|
1653:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * (*) value not defined in all devices.
|
|
|
|
|
1654:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1655:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetI2CClockSource(uint32_t I2Cx)
|
|
|
|
|
1656:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1657:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)((READ_BIT(RCC->CCIPR, I2Cx) >> 4U) | (I2Cx << 4U));
|
|
|
|
|
1658:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1659:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1660:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1661:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get LPTIMx clock source
|
|
|
|
|
1662:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CCIPR LPTIMxSEL LL_RCC_GetLPTIMClockSource
|
|
|
|
|
1663:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param LPTIMx This parameter can be one of the following values:
|
|
|
|
|
1664:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPTIM1_CLKSOURCE
|
|
|
|
|
1665:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1666:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPTIM1_CLKSOURCE_PCLK1
|
|
|
|
|
1667:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPTIM1_CLKSOURCE_LSI
|
|
|
|
|
1668:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPTIM1_CLKSOURCE_HSI
|
|
|
|
|
1669:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_LPTIM1_CLKSOURCE_LSE
|
|
|
|
|
1670:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1671:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetLPTIMClockSource(uint32_t LPTIMx)
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 49
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1672:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1673:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CCIPR, LPTIMx));
|
|
|
|
|
1674:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1675:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1676:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RCC_CCIPR_HSI48SEL)
|
|
|
|
|
1677:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(RNG)
|
|
|
|
|
1678:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1679:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get RNGx clock source
|
|
|
|
|
1680:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CCIPR CLK48SEL LL_RCC_GetRNGClockSource
|
|
|
|
|
1681:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param RNGx This parameter can be one of the following values:
|
|
|
|
|
1682:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RNG_CLKSOURCE
|
|
|
|
|
1683:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1684:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RNG_CLKSOURCE_PLL
|
|
|
|
|
1685:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RNG_CLKSOURCE_HSI48
|
|
|
|
|
1686:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1687:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetRNGClockSource(uint32_t RNGx)
|
|
|
|
|
1688:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1689:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CCIPR, RNGx));
|
|
|
|
|
1690:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1691:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RNG */
|
|
|
|
|
1692:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1693:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #if defined(USB)
|
|
|
|
|
1694:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1695:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get USBx clock source
|
|
|
|
|
1696:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CCIPR CLK48SEL LL_RCC_GetUSBClockSource
|
|
|
|
|
1697:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param USBx This parameter can be one of the following values:
|
|
|
|
|
1698:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USB_CLKSOURCE
|
|
|
|
|
1699:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1700:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USB_CLKSOURCE_PLL
|
|
|
|
|
1701:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_USB_CLKSOURCE_HSI48
|
|
|
|
|
1702:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1703:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetUSBClockSource(uint32_t USBx)
|
|
|
|
|
1704:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1705:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CCIPR, USBx));
|
|
|
|
|
195 .loc 2 1705 0
|
|
|
|
|
196 0002 164B ldr r3, .L16
|
|
|
|
|
197 0004 DB6C ldr r3, [r3, #76]
|
|
|
|
|
198 .LVL13:
|
|
|
|
|
199 .LBE171:
|
|
|
|
|
200 .LBE170:
|
|
|
|
|
497:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t usb_frequency = LL_RCC_PERIPH_FREQUENCY_NO;
|
|
|
|
|
498:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
499:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Check parameter */
|
|
|
|
|
500:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** assert_param(IS_LL_RCC_USB_CLKSOURCE(USBxSource));
|
|
|
|
|
501:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
502:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* USBCLK clock frequency */
|
|
|
|
|
503:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** switch (LL_RCC_GetUSBClockSource(USBxSource))
|
|
|
|
|
201 .loc 1 503 0
|
|
|
|
|
202 0006 0342 tst r3, r0
|
|
|
|
|
203 0008 1FD1 bne .L14
|
|
|
|
|
204 .LBB172:
|
|
|
|
|
205 .LBB173:
|
|
|
|
|
1706:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1707:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* USB */
|
|
|
|
|
1708:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1709:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** #endif /* RCC_CCIPR_HSI48SEL */
|
|
|
|
|
1710:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 50
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1711:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1712:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
1713:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1714:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1715:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_RTC RTC
|
|
|
|
|
1716:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
1717:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1718:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1719:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1720:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Set RTC Clock Source
|
|
|
|
|
1721:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note Once the RTC clock source has been selected, it cannot be changed any more unless
|
|
|
|
|
1722:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * the Backup domain is reset, or unless a failure is detected on LSE (LSECSSD is
|
|
|
|
|
1723:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * set). The RTCRST bit can be used to reset them.
|
|
|
|
|
1724:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR RTCSEL LL_RCC_SetRTCClockSource
|
|
|
|
|
1725:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param Source This parameter can be one of the following values:
|
|
|
|
|
1726:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_NONE
|
|
|
|
|
1727:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_LSE
|
|
|
|
|
1728:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_LSI
|
|
|
|
|
1729:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_HSE
|
|
|
|
|
1730:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1731:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1732:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_SetRTCClockSource(uint32_t Source)
|
|
|
|
|
1733:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1734:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CSR, RCC_CSR_RTCSEL, Source);
|
|
|
|
|
1735:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1736:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1737:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1738:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get RTC Clock Source
|
|
|
|
|
1739:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR RTCSEL LL_RCC_GetRTCClockSource
|
|
|
|
|
1740:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1741:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_NONE
|
|
|
|
|
1742:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_LSE
|
|
|
|
|
1743:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_LSI
|
|
|
|
|
1744:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_RTC_CLKSOURCE_HSE
|
|
|
|
|
1745:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1746:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_GetRTCClockSource(void)
|
|
|
|
|
1747:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1748:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CSR, RCC_CSR_RTCSEL));
|
|
|
|
|
1749:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1750:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1751:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1752:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable RTC
|
|
|
|
|
1753:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR RTCEN LL_RCC_EnableRTC
|
|
|
|
|
1754:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1755:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1756:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_EnableRTC(void)
|
|
|
|
|
1757:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1758:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CSR, RCC_CSR_RTCEN);
|
|
|
|
|
1759:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1760:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1761:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1762:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable RTC
|
|
|
|
|
1763:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR RTCEN LL_RCC_DisableRTC
|
|
|
|
|
1764:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1765:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1766:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_DisableRTC(void)
|
|
|
|
|
1767:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 51
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1768:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CSR, RCC_CSR_RTCEN);
|
|
|
|
|
1769:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1770:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1771:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1772:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Check if RTC has been enabled or not
|
|
|
|
|
1773:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR RTCEN LL_RCC_IsEnabledRTC
|
|
|
|
|
1774:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1775:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1776:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_IsEnabledRTC(void)
|
|
|
|
|
1777:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1778:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (READ_BIT(RCC->CSR, RCC_CSR_RTCEN) == (RCC_CSR_RTCEN));
|
|
|
|
|
1779:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1780:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1781:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1782:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Force the Backup domain reset
|
|
|
|
|
1783:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR RTCRST LL_RCC_ForceBackupDomainReset
|
|
|
|
|
1784:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1785:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1786:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ForceBackupDomainReset(void)
|
|
|
|
|
1787:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1788:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CSR, RCC_CSR_RTCRST);
|
|
|
|
|
1789:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1790:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1791:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1792:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Release the Backup domain reset
|
|
|
|
|
1793:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CSR RTCRST LL_RCC_ReleaseBackupDomainReset
|
|
|
|
|
1794:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1795:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1796:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_ReleaseBackupDomainReset(void)
|
|
|
|
|
1797:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1798:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CSR, RCC_CSR_RTCRST);
|
|
|
|
|
1799:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1800:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1801:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1802:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @}
|
|
|
|
|
1803:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1804:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1805:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /** @defgroup RCC_LL_EF_PLL PLL
|
|
|
|
|
1806:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @{
|
|
|
|
|
1807:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1808:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1809:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1810:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Enable PLL
|
|
|
|
|
1811:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR PLLON LL_RCC_PLL_Enable
|
|
|
|
|
1812:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1813:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1814:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_PLL_Enable(void)
|
|
|
|
|
1815:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1816:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** SET_BIT(RCC->CR, RCC_CR_PLLON);
|
|
|
|
|
1817:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1818:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1819:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1820:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Disable PLL
|
|
|
|
|
1821:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @note Cannot be disabled if the PLL clock is used as the system clock
|
|
|
|
|
1822:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR PLLON LL_RCC_PLL_Disable
|
|
|
|
|
1823:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
1824:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 52
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1825:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_PLL_Disable(void)
|
|
|
|
|
1826:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1827:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** CLEAR_BIT(RCC->CR, RCC_CR_PLLON);
|
|
|
|
|
1828:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1829:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1830:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1831:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Check if PLL Ready
|
|
|
|
|
1832:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CR PLLRDY LL_RCC_PLL_IsReady
|
|
|
|
|
1833:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval State of bit (1 or 0).
|
|
|
|
|
1834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1835:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_PLL_IsReady(void)
|
|
|
|
|
1836:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1837:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (READ_BIT(RCC->CR, RCC_CR_PLLRDY) == (RCC_CR_PLLRDY));
|
|
|
|
|
206 .loc 2 1837 0
|
|
|
|
|
207 000a 144B ldr r3, .L16
|
|
|
|
|
208 000c 1868 ldr r0, [r3]
|
|
|
|
|
209 .LVL14:
|
|
|
|
|
210 000e 8023 movs r3, #128
|
|
|
|
|
211 0010 9B04 lsls r3, r3, #18
|
|
|
|
|
212 0012 1840 ands r0, r3
|
|
|
|
|
213 .LBE173:
|
|
|
|
|
214 .LBE172:
|
|
|
|
|
504:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
505:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_USB_CLKSOURCE_PLL: /* PLL clock used as USB clock source */
|
|
|
|
|
506:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (LL_RCC_PLL_IsReady())
|
|
|
|
|
215 .loc 1 506 0
|
|
|
|
|
216 0014 1ED0 beq .L6
|
|
|
|
|
217 .LVL15:
|
|
|
|
|
218 .LBB174:
|
|
|
|
|
219 .LBB175:
|
|
|
|
|
220 .LBB176:
|
|
|
|
|
221 .LBB177:
|
|
|
|
|
1838:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1839:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1840:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1841:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Configure PLL used for SYSCLK Domain
|
|
|
|
|
1842:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR PLLSRC LL_RCC_PLL_ConfigDomain_SYS\n
|
|
|
|
|
1843:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * CFGR PLLMUL LL_RCC_PLL_ConfigDomain_SYS\n
|
|
|
|
|
1844:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * CFGR PLLDIV LL_RCC_PLL_ConfigDomain_SYS
|
|
|
|
|
1845:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param Source This parameter can be one of the following values:
|
|
|
|
|
1846:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSI
|
|
|
|
|
1847:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE
|
|
|
|
|
1848:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param PLLMul This parameter can be one of the following values:
|
|
|
|
|
1849:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_3
|
|
|
|
|
1850:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_4
|
|
|
|
|
1851:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_6
|
|
|
|
|
1852:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_8
|
|
|
|
|
1853:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_12
|
|
|
|
|
1854:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_16
|
|
|
|
|
1855:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_24
|
|
|
|
|
1856:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_32
|
|
|
|
|
1857:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_48
|
|
|
|
|
1858:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @param PLLDiv This parameter can be one of the following values:
|
|
|
|
|
1859:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_DIV_2
|
|
|
|
|
1860:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_DIV_3
|
|
|
|
|
1861:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_DIV_4
|
|
|
|
|
1862:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval None
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 53
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1863:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1864:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE void LL_RCC_PLL_ConfigDomain_SYS(uint32_t Source, uint32_t PLLMul, uint32_t PLLDiv)
|
|
|
|
|
1865:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1866:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PLLSRC | RCC_CFGR_PLLMUL | RCC_CFGR_PLLDIV, Source | PLLMul | PLLD
|
|
|
|
|
1867:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1868:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1869:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1870:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get the oscillator used as PLL clock source.
|
|
|
|
|
1871:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR PLLSRC LL_RCC_PLL_GetMainSource
|
|
|
|
|
1872:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1873:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSI
|
|
|
|
|
1874:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLLSOURCE_HSE
|
|
|
|
|
1875:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1876:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_PLL_GetMainSource(void)
|
|
|
|
|
1877:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1878:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_PLLSRC));
|
|
|
|
|
222 .loc 2 1878 0
|
|
|
|
|
223 0016 114B ldr r3, .L16
|
|
|
|
|
224 0018 DB68 ldr r3, [r3, #12]
|
|
|
|
|
225 001a 8022 movs r2, #128
|
|
|
|
|
226 001c 5202 lsls r2, r2, #9
|
|
|
|
|
227 001e 1340 ands r3, r2
|
|
|
|
|
228 .LVL16:
|
|
|
|
|
229 .LBE177:
|
|
|
|
|
230 .LBE176:
|
|
|
|
|
507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
508:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** usb_frequency = RCC_PLL_GetFreqDomain_SYS();
|
|
|
|
|
509:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
510:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
511:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
512:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_USB_CLKSOURCE_HSI48: /* HSI48 clock used as USB clock source */
|
|
|
|
|
513:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** default:
|
|
|
|
|
514:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** if (LL_RCC_HSI48_IsReady())
|
|
|
|
|
515:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
516:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** usb_frequency = HSI48_VALUE;
|
|
|
|
|
517:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
518:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
519:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
520:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
521:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** return usb_frequency;
|
|
|
|
|
522:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
523:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #endif /* USB */
|
|
|
|
|
524:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
525:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
526:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @}
|
|
|
|
|
527:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
528:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
529:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
530:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @}
|
|
|
|
|
531:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
532:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
533:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /** @addtogroup RCC_LL_Private_Functions
|
|
|
|
|
534:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @{
|
|
|
|
|
535:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
536:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
537:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
538:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @brief Return SYSTEM clock frequency
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 54
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
539:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @retval SYSTEM clock frequency (in Hz)
|
|
|
|
|
540:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t RCC_GetSystemClockFreq(void)
|
|
|
|
|
542:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
543:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t frequency = 0U;
|
|
|
|
|
544:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
545:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Get SYSCLK source -------------------------------------------------------*/
|
|
|
|
|
546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** switch (LL_RCC_GetSysClkSource())
|
|
|
|
|
547:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
548:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_SYS_CLKSOURCE_STATUS_MSI: /* MSI used as system clock source */
|
|
|
|
|
549:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange());
|
|
|
|
|
550:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
551:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
552:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_SYS_CLKSOURCE_STATUS_HSI: /* HSI used as system clock source */
|
|
|
|
|
553:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** frequency = HSI_VALUE;
|
|
|
|
|
554:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
555:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
556:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_SYS_CLKSOURCE_STATUS_HSE: /* HSE used as system clock source */
|
|
|
|
|
557:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** frequency = HSE_VALUE;
|
|
|
|
|
558:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
559:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
560:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_SYS_CLKSOURCE_STATUS_PLL: /* PLL used as system clock source */
|
|
|
|
|
561:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** frequency = RCC_PLL_GetFreqDomain_SYS();
|
|
|
|
|
562:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
563:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
564:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** default:
|
|
|
|
|
565:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** frequency = __LL_RCC_CALC_MSI_FREQ(LL_RCC_MSI_GetRange());
|
|
|
|
|
566:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
567:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
568:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
569:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** return frequency;
|
|
|
|
|
570:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
571:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
572:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
573:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @brief Return HCLK clock frequency
|
|
|
|
|
574:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @param SYSCLK_Frequency SYSCLK clock frequency
|
|
|
|
|
575:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @retval HCLK clock frequency (in Hz)
|
|
|
|
|
576:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
577:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t RCC_GetHCLKClockFreq(uint32_t SYSCLK_Frequency)
|
|
|
|
|
578:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
579:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* HCLK clock frequency */
|
|
|
|
|
580:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** return __LL_RCC_CALC_HCLK_FREQ(SYSCLK_Frequency, LL_RCC_GetAHBPrescaler());
|
|
|
|
|
581:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
582:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
583:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
584:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @brief Return PCLK1 clock frequency
|
|
|
|
|
585:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @param HCLK_Frequency HCLK clock frequency
|
|
|
|
|
586:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @retval PCLK1 clock frequency (in Hz)
|
|
|
|
|
587:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
588:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t RCC_GetPCLK1ClockFreq(uint32_t HCLK_Frequency)
|
|
|
|
|
589:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
590:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* PCLK1 clock frequency */
|
|
|
|
|
591:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** return __LL_RCC_CALC_PCLK1_FREQ(HCLK_Frequency, LL_RCC_GetAPB1Prescaler());
|
|
|
|
|
592:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
593:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
594:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
595:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @brief Return PCLK2 clock frequency
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 55
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
596:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @param HCLK_Frequency HCLK clock frequency
|
|
|
|
|
597:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @retval PCLK2 clock frequency (in Hz)
|
|
|
|
|
598:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
599:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t RCC_GetPCLK2ClockFreq(uint32_t HCLK_Frequency)
|
|
|
|
|
600:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
601:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* PCLK2 clock frequency */
|
|
|
|
|
602:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** return __LL_RCC_CALC_PCLK2_FREQ(HCLK_Frequency, LL_RCC_GetAPB2Prescaler());
|
|
|
|
|
603:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
604:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
605:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /**
|
|
|
|
|
606:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @brief Return PLL clock frequency used for system domain
|
|
|
|
|
607:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** * @retval PLL clock frequency (in Hz)
|
|
|
|
|
608:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** */
|
|
|
|
|
609:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t RCC_PLL_GetFreqDomain_SYS(void)
|
|
|
|
|
610:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
611:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t pllinputfreq = 0U, pllsource = 0U;
|
|
|
|
|
612:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
613:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLL divider) * PLL Multiplicator */
|
|
|
|
|
614:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
615:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Get PLL source */
|
|
|
|
|
616:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** pllsource = LL_RCC_PLL_GetMainSource();
|
|
|
|
|
617:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
618:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** switch (pllsource)
|
|
|
|
|
231 .loc 1 618 0
|
|
|
|
|
232 0020 9342 cmp r3, r2
|
|
|
|
|
233 0022 01D0 beq .L12
|
|
|
|
|
619:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
620:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_PLLSOURCE_HSI: /* HSI used as PLL clock source */
|
|
|
|
|
621:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** pllinputfreq = HSI_VALUE;
|
|
|
|
|
234 .loc 1 621 0
|
|
|
|
|
235 0024 0E48 ldr r0, .L16+4
|
|
|
|
|
236 0026 00E0 b .L11
|
|
|
|
|
237 .L12:
|
|
|
|
|
622:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
623:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
624:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** case LL_RCC_PLLSOURCE_HSE: /* HSE used as PLL clock source */
|
|
|
|
|
625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** pllinputfreq = HSE_VALUE;
|
|
|
|
|
238 .loc 1 625 0
|
|
|
|
|
239 0028 0E48 ldr r0, .L16+8
|
|
|
|
|
240 .L11:
|
|
|
|
|
241 .LVL17:
|
|
|
|
|
242 .LBB178:
|
|
|
|
|
243 .LBB179:
|
|
|
|
|
1879:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1880:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1881:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1882:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get PLL multiplication Factor
|
|
|
|
|
1883:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR PLLMUL LL_RCC_PLL_GetMultiplicator
|
|
|
|
|
1884:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1885:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_3
|
|
|
|
|
1886:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_4
|
|
|
|
|
1887:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_6
|
|
|
|
|
1888:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_8
|
|
|
|
|
1889:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_12
|
|
|
|
|
1890:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_16
|
|
|
|
|
1891:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_24
|
|
|
|
|
1892:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_32
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 56
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1893:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_MUL_48
|
|
|
|
|
1894:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1895:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_PLL_GetMultiplicator(void)
|
|
|
|
|
1896:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1897:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_PLLMUL));
|
|
|
|
|
244 .loc 2 1897 0
|
|
|
|
|
245 002a 0C49 ldr r1, .L16
|
|
|
|
|
246 002c CA68 ldr r2, [r1, #12]
|
|
|
|
|
247 .LBE179:
|
|
|
|
|
248 .LBE178:
|
|
|
|
|
626:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
627:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
628:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** default:
|
|
|
|
|
629:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** pllinputfreq = HSI_VALUE;
|
|
|
|
|
630:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
631:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
632:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** return __LL_RCC_CALC_PLLCLK_FREQ(pllinputfreq, LL_RCC_PLL_GetMultiplicator(), LL_RCC_PLL_GetDivid
|
|
|
|
|
249 .loc 1 632 0
|
|
|
|
|
250 002e 920C lsrs r2, r2, #18
|
|
|
|
|
251 0030 0F23 movs r3, #15
|
|
|
|
|
252 0032 1340 ands r3, r2
|
|
|
|
|
253 0034 0C4A ldr r2, .L16+12
|
|
|
|
|
254 0036 D35C ldrb r3, [r2, r3]
|
|
|
|
|
255 0038 5843 muls r0, r3
|
|
|
|
|
256 .LVL18:
|
|
|
|
|
257 .LBB180:
|
|
|
|
|
258 .LBB181:
|
|
|
|
|
1898:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1899:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h ****
|
|
|
|
|
1900:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** /**
|
|
|
|
|
1901:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @brief Get Division factor for the main PLL and other PLL
|
|
|
|
|
1902:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @rmtoll CFGR PLLDIV LL_RCC_PLL_GetDivider
|
|
|
|
|
1903:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @retval Returned value can be one of the following values:
|
|
|
|
|
1904:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_DIV_2
|
|
|
|
|
1905:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_DIV_3
|
|
|
|
|
1906:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** * @arg @ref LL_RCC_PLL_DIV_4
|
|
|
|
|
1907:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** */
|
|
|
|
|
1908:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** __STATIC_INLINE uint32_t LL_RCC_PLL_GetDivider(void)
|
|
|
|
|
1909:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** {
|
|
|
|
|
1910:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** return (uint32_t)(READ_BIT(RCC->CFGR, RCC_CFGR_PLLDIV));
|
|
|
|
|
259 .loc 2 1910 0
|
|
|
|
|
260 003a CB68 ldr r3, [r1, #12]
|
|
|
|
|
261 .LBE181:
|
|
|
|
|
262 .LBE180:
|
|
|
|
|
263 .loc 1 632 0
|
|
|
|
|
264 003c 9B0D lsrs r3, r3, #22
|
|
|
|
|
265 003e 0321 movs r1, #3
|
|
|
|
|
266 0040 1940 ands r1, r3
|
|
|
|
|
267 0042 0131 adds r1, r1, #1
|
|
|
|
|
268 0044 FFF7FEFF bl __aeabi_uidiv
|
|
|
|
|
269 .LVL19:
|
|
|
|
|
270 0048 04E0 b .L6
|
|
|
|
|
271 .LVL20:
|
|
|
|
|
272 .L14:
|
|
|
|
|
273 .LBE175:
|
|
|
|
|
274 .LBE174:
|
|
|
|
|
275 .LBB182:
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 57
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 .LBB183:
|
|
|
|
|
974:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
277 .loc 2 974 0
|
|
|
|
|
278 004a 044B ldr r3, .L16
|
|
|
|
|
279 004c 9B68 ldr r3, [r3, #8]
|
|
|
|
|
280 004e 0220 movs r0, #2
|
|
|
|
|
281 .LVL21:
|
|
|
|
|
282 0050 1840 ands r0, r3
|
|
|
|
|
283 .LBE183:
|
|
|
|
|
284 .LBE182:
|
|
|
|
|
514:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
285 .loc 1 514 0
|
|
|
|
|
286 0052 00D1 bne .L15
|
|
|
|
|
287 .LVL22:
|
|
|
|
|
288 .L6:
|
|
|
|
|
522:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** #endif /* USB */
|
|
|
|
|
289 .loc 1 522 0
|
|
|
|
|
290 @ sp needed
|
|
|
|
|
291 0054 10BD pop {r4, pc}
|
|
|
|
|
292 .LVL23:
|
|
|
|
|
293 .L15:
|
|
|
|
|
516:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
294 .loc 1 516 0
|
|
|
|
|
295 0056 0548 ldr r0, .L16+16
|
|
|
|
|
296 .LVL24:
|
|
|
|
|
521:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
297 .loc 1 521 0
|
|
|
|
|
298 0058 FCE7 b .L6
|
|
|
|
|
299 .L17:
|
|
|
|
|
300 005a C046 .align 2
|
|
|
|
|
301 .L16:
|
|
|
|
|
302 005c 00100240 .word 1073876992
|
|
|
|
|
303 0060 0024F400 .word 16000000
|
|
|
|
|
304 0064 00127A00 .word 8000000
|
|
|
|
|
305 0068 00000000 .word PLLMulTable
|
|
|
|
|
306 006c 006CDC02 .word 48000000
|
|
|
|
|
307 .cfi_endproc
|
|
|
|
|
308 .LFE182:
|
|
|
|
|
310 .section .text.RCC_GetSystemClockFreq,"ax",%progbits
|
|
|
|
|
311 .align 1
|
|
|
|
|
312 .global RCC_GetSystemClockFreq
|
|
|
|
|
313 .syntax unified
|
|
|
|
|
314 .code 16
|
|
|
|
|
315 .thumb_func
|
|
|
|
|
316 .fpu softvfp
|
|
|
|
|
318 RCC_GetSystemClockFreq:
|
|
|
|
|
319 .LFB183:
|
|
|
|
|
542:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t frequency = 0U;
|
|
|
|
|
320 .loc 1 542 0
|
|
|
|
|
321 .cfi_startproc
|
|
|
|
|
322 @ args = 0, pretend = 0, frame = 0
|
|
|
|
|
323 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
|
|
324 0000 10B5 push {r4, lr}
|
|
|
|
|
325 .LCFI1:
|
|
|
|
|
326 .cfi_def_cfa_offset 8
|
|
|
|
|
327 .cfi_offset 4, -8
|
|
|
|
|
328 .cfi_offset 14, -4
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 58
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
329 .LVL25:
|
|
|
|
|
330 .LBB184:
|
|
|
|
|
331 .LBB185:
|
|
|
|
|
1321:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
332 .loc 2 1321 0
|
|
|
|
|
333 0002 1F4B ldr r3, .L30
|
|
|
|
|
334 0004 DA68 ldr r2, [r3, #12]
|
|
|
|
|
335 0006 0C23 movs r3, #12
|
|
|
|
|
336 0008 1340 ands r3, r2
|
|
|
|
|
337 .LBE185:
|
|
|
|
|
338 .LBE184:
|
|
|
|
|
546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
339 .loc 1 546 0
|
|
|
|
|
340 000a 042B cmp r3, #4
|
|
|
|
|
341 000c 19D0 beq .L20
|
|
|
|
|
342 000e 0CD9 bls .L29
|
|
|
|
|
343 0010 082B cmp r3, #8
|
|
|
|
|
344 0012 33D0 beq .L27
|
|
|
|
|
345 0014 0C2B cmp r3, #12
|
|
|
|
|
346 0016 27D1 bne .L19
|
|
|
|
|
347 .LVL26:
|
|
|
|
|
348 .LBB186:
|
|
|
|
|
349 .LBB187:
|
|
|
|
|
350 .LBB188:
|
|
|
|
|
351 .LBB189:
|
|
|
|
|
1878:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
352 .loc 2 1878 0
|
|
|
|
|
353 0018 194B ldr r3, .L30
|
|
|
|
|
354 001a DB68 ldr r3, [r3, #12]
|
|
|
|
|
355 001c 8022 movs r2, #128
|
|
|
|
|
356 001e 5202 lsls r2, r2, #9
|
|
|
|
|
357 0020 1340 ands r3, r2
|
|
|
|
|
358 .LVL27:
|
|
|
|
|
359 .LBE189:
|
|
|
|
|
360 .LBE188:
|
|
|
|
|
618:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
361 .loc 1 618 0
|
|
|
|
|
362 0022 9342 cmp r3, r2
|
|
|
|
|
363 0024 0FD0 beq .L28
|
|
|
|
|
621:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
364 .loc 1 621 0
|
|
|
|
|
365 0026 1748 ldr r0, .L30+4
|
|
|
|
|
366 0028 0EE0 b .L26
|
|
|
|
|
367 .LVL28:
|
|
|
|
|
368 .L29:
|
|
|
|
|
369 .LBE187:
|
|
|
|
|
370 .LBE186:
|
|
|
|
|
546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
371 .loc 1 546 0
|
|
|
|
|
372 002a 002B cmp r3, #0
|
|
|
|
|
373 002c 1CD1 bne .L19
|
|
|
|
|
374 .LBB195:
|
|
|
|
|
375 .LBB196:
|
|
|
|
|
1250:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
376 .loc 2 1250 0
|
|
|
|
|
377 002e 144B ldr r3, .L30
|
|
|
|
|
378 0030 5A68 ldr r2, [r3, #4]
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 59
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
379 .LBE196:
|
|
|
|
|
380 .LBE195:
|
|
|
|
|
549:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
381 .loc 1 549 0
|
|
|
|
|
382 0032 520B lsrs r2, r2, #13
|
|
|
|
|
383 0034 0723 movs r3, #7
|
|
|
|
|
384 0036 1340 ands r3, r2
|
|
|
|
|
385 0038 0133 adds r3, r3, #1
|
|
|
|
|
386 003a 8020 movs r0, #128
|
|
|
|
|
387 003c 0002 lsls r0, r0, #8
|
|
|
|
|
388 003e 9840 lsls r0, r0, r3
|
|
|
|
|
389 .LVL29:
|
|
|
|
|
550:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
390 .loc 1 550 0
|
|
|
|
|
391 0040 00E0 b .L18
|
|
|
|
|
392 .LVL30:
|
|
|
|
|
393 .L20:
|
|
|
|
|
553:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
394 .loc 1 553 0
|
|
|
|
|
395 0042 1048 ldr r0, .L30+4
|
|
|
|
|
396 .LVL31:
|
|
|
|
|
397 .L18:
|
|
|
|
|
570:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
398 .loc 1 570 0
|
|
|
|
|
399 @ sp needed
|
|
|
|
|
400 0044 10BD pop {r4, pc}
|
|
|
|
|
401 .LVL32:
|
|
|
|
|
402 .L28:
|
|
|
|
|
403 .LBB197:
|
|
|
|
|
404 .LBB194:
|
|
|
|
|
625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
405 .loc 1 625 0
|
|
|
|
|
406 0046 1048 ldr r0, .L30+8
|
|
|
|
|
407 .L26:
|
|
|
|
|
408 .LVL33:
|
|
|
|
|
409 .LBB190:
|
|
|
|
|
410 .LBB191:
|
|
|
|
|
1897:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
411 .loc 2 1897 0
|
|
|
|
|
412 0048 0D49 ldr r1, .L30
|
|
|
|
|
413 004a CA68 ldr r2, [r1, #12]
|
|
|
|
|
414 .LBE191:
|
|
|
|
|
415 .LBE190:
|
|
|
|
|
416 .loc 1 632 0
|
|
|
|
|
417 004c 920C lsrs r2, r2, #18
|
|
|
|
|
418 004e 0F23 movs r3, #15
|
|
|
|
|
419 0050 1340 ands r3, r2
|
|
|
|
|
420 0052 0E4A ldr r2, .L30+12
|
|
|
|
|
421 0054 D35C ldrb r3, [r2, r3]
|
|
|
|
|
422 0056 5843 muls r0, r3
|
|
|
|
|
423 .LVL34:
|
|
|
|
|
424 .LBB192:
|
|
|
|
|
425 .LBB193:
|
|
|
|
|
426 .loc 2 1910 0
|
|
|
|
|
427 0058 CB68 ldr r3, [r1, #12]
|
|
|
|
|
428 .LBE193:
|
|
|
|
|
429 .LBE192:
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 60
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
430 .loc 1 632 0
|
|
|
|
|
431 005a 9B0D lsrs r3, r3, #22
|
|
|
|
|
432 005c 0321 movs r1, #3
|
|
|
|
|
433 005e 1940 ands r1, r3
|
|
|
|
|
434 0060 0131 adds r1, r1, #1
|
|
|
|
|
435 0062 FFF7FEFF bl __aeabi_uidiv
|
|
|
|
|
436 .LVL35:
|
|
|
|
|
437 .LBE194:
|
|
|
|
|
438 .LBE197:
|
|
|
|
|
562:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
439 .loc 1 562 0
|
|
|
|
|
440 0066 EDE7 b .L18
|
|
|
|
|
441 .LVL36:
|
|
|
|
|
442 .L19:
|
|
|
|
|
443 .LBB198:
|
|
|
|
|
444 .LBB199:
|
|
|
|
|
1250:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
445 .loc 2 1250 0
|
|
|
|
|
446 0068 054B ldr r3, .L30
|
|
|
|
|
447 006a 5A68 ldr r2, [r3, #4]
|
|
|
|
|
448 .LBE199:
|
|
|
|
|
449 .LBE198:
|
|
|
|
|
565:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
450 .loc 1 565 0
|
|
|
|
|
451 006c 520B lsrs r2, r2, #13
|
|
|
|
|
452 006e 0723 movs r3, #7
|
|
|
|
|
453 0070 1340 ands r3, r2
|
|
|
|
|
454 0072 0133 adds r3, r3, #1
|
|
|
|
|
455 0074 8020 movs r0, #128
|
|
|
|
|
456 0076 0002 lsls r0, r0, #8
|
|
|
|
|
457 0078 9840 lsls r0, r0, r3
|
|
|
|
|
458 .LVL37:
|
|
|
|
|
566:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
459 .loc 1 566 0
|
|
|
|
|
460 007a E3E7 b .L18
|
|
|
|
|
461 .LVL38:
|
|
|
|
|
462 .L27:
|
|
|
|
|
557:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
463 .loc 1 557 0
|
|
|
|
|
464 007c 0248 ldr r0, .L30+8
|
|
|
|
|
465 .LVL39:
|
|
|
|
|
569:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
466 .loc 1 569 0
|
|
|
|
|
467 007e E1E7 b .L18
|
|
|
|
|
468 .L31:
|
|
|
|
|
469 .align 2
|
|
|
|
|
470 .L30:
|
|
|
|
|
471 0080 00100240 .word 1073876992
|
|
|
|
|
472 0084 0024F400 .word 16000000
|
|
|
|
|
473 0088 00127A00 .word 8000000
|
|
|
|
|
474 008c 00000000 .word PLLMulTable
|
|
|
|
|
475 .cfi_endproc
|
|
|
|
|
476 .LFE183:
|
|
|
|
|
478 .section .text.LL_RCC_GetSystemClocksFreq,"ax",%progbits
|
|
|
|
|
479 .align 1
|
|
|
|
|
480 .global LL_RCC_GetSystemClocksFreq
|
|
|
|
|
481 .syntax unified
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 61
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
482 .code 16
|
|
|
|
|
483 .thumb_func
|
|
|
|
|
484 .fpu softvfp
|
|
|
|
|
486 LL_RCC_GetSystemClocksFreq:
|
|
|
|
|
487 .LFB177:
|
|
|
|
|
227:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* Get SYSCLK frequency */
|
|
|
|
|
488 .loc 1 227 0
|
|
|
|
|
489 .cfi_startproc
|
|
|
|
|
490 @ args = 0, pretend = 0, frame = 0
|
|
|
|
|
491 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
|
|
492 .LVL40:
|
|
|
|
|
493 0000 70B5 push {r4, r5, r6, lr}
|
|
|
|
|
494 .LCFI2:
|
|
|
|
|
495 .cfi_def_cfa_offset 16
|
|
|
|
|
496 .cfi_offset 4, -16
|
|
|
|
|
497 .cfi_offset 5, -12
|
|
|
|
|
498 .cfi_offset 6, -8
|
|
|
|
|
499 .cfi_offset 14, -4
|
|
|
|
|
500 0002 0400 movs r4, r0
|
|
|
|
|
229:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
501 .loc 1 229 0
|
|
|
|
|
502 0004 FFF7FEFF bl RCC_GetSystemClockFreq
|
|
|
|
|
503 .LVL41:
|
|
|
|
|
504 0008 2060 str r0, [r4]
|
|
|
|
|
505 .LVL42:
|
|
|
|
|
506 .LBB200:
|
|
|
|
|
507 .LBB201:
|
|
|
|
|
508 .LBB202:
|
|
|
|
|
509 .LBB203:
|
|
|
|
|
1392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
510 .loc 2 1392 0
|
|
|
|
|
511 000a 0C4D ldr r5, .L33
|
|
|
|
|
512 000c EA68 ldr r2, [r5, #12]
|
|
|
|
|
513 .LBE203:
|
|
|
|
|
514 .LBE202:
|
|
|
|
|
580:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
515 .loc 1 580 0
|
|
|
|
|
516 000e 1209 lsrs r2, r2, #4
|
|
|
|
|
517 0010 0F23 movs r3, #15
|
|
|
|
|
518 0012 1340 ands r3, r2
|
|
|
|
|
519 0014 0A4A ldr r2, .L33+4
|
|
|
|
|
520 0016 D35C ldrb r3, [r2, r3]
|
|
|
|
|
521 0018 D840 lsrs r0, r0, r3
|
|
|
|
|
522 .LVL43:
|
|
|
|
|
523 .LBE201:
|
|
|
|
|
524 .LBE200:
|
|
|
|
|
232:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
525 .loc 1 232 0
|
|
|
|
|
526 001a 6060 str r0, [r4, #4]
|
|
|
|
|
527 .LVL44:
|
|
|
|
|
528 .LBB204:
|
|
|
|
|
529 .LBB205:
|
|
|
|
|
530 .LBB206:
|
|
|
|
|
531 .LBB207:
|
|
|
|
|
1407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
532 .loc 2 1407 0
|
|
|
|
|
533 001c EB68 ldr r3, [r5, #12]
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 62
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
534 .LBE207:
|
|
|
|
|
535 .LBE206:
|
|
|
|
|
591:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
536 .loc 1 591 0
|
|
|
|
|
537 001e 1B0A lsrs r3, r3, #8
|
|
|
|
|
538 0020 0722 movs r2, #7
|
|
|
|
|
539 0022 1340 ands r3, r2
|
|
|
|
|
540 0024 0749 ldr r1, .L33+8
|
|
|
|
|
541 0026 CB5C ldrb r3, [r1, r3]
|
|
|
|
|
542 0028 0600 movs r6, r0
|
|
|
|
|
543 002a DE40 lsrs r6, r6, r3
|
|
|
|
|
544 .LVL45:
|
|
|
|
|
545 .LBE205:
|
|
|
|
|
546 .LBE204:
|
|
|
|
|
235:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
547 .loc 1 235 0
|
|
|
|
|
548 002c A660 str r6, [r4, #8]
|
|
|
|
|
549 .LVL46:
|
|
|
|
|
550 .LBB208:
|
|
|
|
|
551 .LBB209:
|
|
|
|
|
552 .LBB210:
|
|
|
|
|
553 .LBB211:
|
|
|
|
|
1422:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
554 .loc 2 1422 0
|
|
|
|
|
555 002e EB68 ldr r3, [r5, #12]
|
|
|
|
|
556 .LBE211:
|
|
|
|
|
557 .LBE210:
|
|
|
|
|
602:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
558 .loc 1 602 0
|
|
|
|
|
559 0030 DB0A lsrs r3, r3, #11
|
|
|
|
|
560 0032 1A40 ands r2, r3
|
|
|
|
|
561 0034 8B5C ldrb r3, [r1, r2]
|
|
|
|
|
562 0036 D840 lsrs r0, r0, r3
|
|
|
|
|
563 .LVL47:
|
|
|
|
|
564 .LBE209:
|
|
|
|
|
565 .LBE208:
|
|
|
|
|
238:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
566 .loc 1 238 0
|
|
|
|
|
567 0038 E060 str r0, [r4, #12]
|
|
|
|
|
239:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
568 .loc 1 239 0
|
|
|
|
|
569 @ sp needed
|
|
|
|
|
570 .LVL48:
|
|
|
|
|
571 003a 70BD pop {r4, r5, r6, pc}
|
|
|
|
|
572 .L34:
|
|
|
|
|
573 .align 2
|
|
|
|
|
574 .L33:
|
|
|
|
|
575 003c 00100240 .word 1073876992
|
|
|
|
|
576 0040 00000000 .word AHBPrescTable
|
|
|
|
|
577 0044 00000000 .word APBPrescTable
|
|
|
|
|
578 .cfi_endproc
|
|
|
|
|
579 .LFE177:
|
|
|
|
|
581 .section .text.LL_RCC_GetUSARTClockFreq,"ax",%progbits
|
|
|
|
|
582 .align 1
|
|
|
|
|
583 .global LL_RCC_GetUSARTClockFreq
|
|
|
|
|
584 .syntax unified
|
|
|
|
|
585 .code 16
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 63
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
586 .thumb_func
|
|
|
|
|
587 .fpu softvfp
|
|
|
|
|
589 LL_RCC_GetUSARTClockFreq:
|
|
|
|
|
590 .LFB178:
|
|
|
|
|
252:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t usart_frequency = LL_RCC_PERIPH_FREQUENCY_NO;
|
|
|
|
|
591 .loc 1 252 0
|
|
|
|
|
592 .cfi_startproc
|
|
|
|
|
593 @ args = 0, pretend = 0, frame = 0
|
|
|
|
|
594 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
|
|
595 .LVL49:
|
|
|
|
|
596 0000 10B5 push {r4, lr}
|
|
|
|
|
597 .LCFI3:
|
|
|
|
|
598 .cfi_def_cfa_offset 8
|
|
|
|
|
599 .cfi_offset 4, -8
|
|
|
|
|
600 .cfi_offset 14, -4
|
|
|
|
|
601 0002 0400 movs r4, r0
|
|
|
|
|
602 .LVL50:
|
|
|
|
|
258:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
603 .loc 1 258 0
|
|
|
|
|
604 0004 0328 cmp r0, #3
|
|
|
|
|
605 0006 03D0 beq .L53
|
|
|
|
|
253:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
606 .loc 1 253 0
|
|
|
|
|
607 0008 0020 movs r0, #0
|
|
|
|
|
608 .LVL51:
|
|
|
|
|
609 .L36:
|
|
|
|
|
290:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
610 .loc 1 290 0
|
|
|
|
|
611 000a 0C2C cmp r4, #12
|
|
|
|
|
612 000c 33D0 beq .L54
|
|
|
|
|
613 .LVL52:
|
|
|
|
|
614 .L35:
|
|
|
|
|
322:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
615 .loc 1 322 0
|
|
|
|
|
616 @ sp needed
|
|
|
|
|
617 000e 10BD pop {r4, pc}
|
|
|
|
|
618 .LVL53:
|
|
|
|
|
619 .L53:
|
|
|
|
|
620 .LBB212:
|
|
|
|
|
621 .LBB213:
|
|
|
|
|
1618:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
622 .loc 2 1618 0
|
|
|
|
|
623 0010 314B ldr r3, .L57
|
|
|
|
|
624 0012 DB6C ldr r3, [r3, #76]
|
|
|
|
|
625 0014 0340 ands r3, r0
|
|
|
|
|
626 0016 0204 lsls r2, r0, #16
|
|
|
|
|
627 0018 1343 orrs r3, r2
|
|
|
|
|
628 .LVL54:
|
|
|
|
|
629 .LBE213:
|
|
|
|
|
630 .LBE212:
|
|
|
|
|
261:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
631 .loc 1 261 0
|
|
|
|
|
632 001a 304A ldr r2, .L57+4
|
|
|
|
|
633 001c 9342 cmp r3, r2
|
|
|
|
|
634 001e 1AD0 beq .L38
|
|
|
|
|
635 0020 2F4A ldr r2, .L57+8
|
|
|
|
|
636 0022 9342 cmp r3, r2
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 64
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
637 0024 1ED0 beq .L39
|
|
|
|
|
638 0026 2F4A ldr r2, .L57+12
|
|
|
|
|
639 0028 9342 cmp r3, r2
|
|
|
|
|
640 002a 11D0 beq .L55
|
|
|
|
|
283:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
641 .loc 1 283 0
|
|
|
|
|
642 002c FFF7FEFF bl RCC_GetSystemClockFreq
|
|
|
|
|
643 .LVL55:
|
|
|
|
|
644 .LBB214:
|
|
|
|
|
645 .LBB215:
|
|
|
|
|
646 .LBB216:
|
|
|
|
|
647 .LBB217:
|
|
|
|
|
1392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
648 .loc 2 1392 0
|
|
|
|
|
649 0030 2949 ldr r1, .L57
|
|
|
|
|
650 0032 CA68 ldr r2, [r1, #12]
|
|
|
|
|
651 .LBE217:
|
|
|
|
|
652 .LBE216:
|
|
|
|
|
580:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
653 .loc 1 580 0
|
|
|
|
|
654 0034 1209 lsrs r2, r2, #4
|
|
|
|
|
655 0036 0F23 movs r3, #15
|
|
|
|
|
656 0038 1340 ands r3, r2
|
|
|
|
|
657 003a 2B4A ldr r2, .L57+16
|
|
|
|
|
658 003c D35C ldrb r3, [r2, r3]
|
|
|
|
|
659 003e D840 lsrs r0, r0, r3
|
|
|
|
|
660 .LVL56:
|
|
|
|
|
661 .LBE215:
|
|
|
|
|
662 .LBE214:
|
|
|
|
|
663 .LBB218:
|
|
|
|
|
664 .LBB219:
|
|
|
|
|
665 .LBB220:
|
|
|
|
|
666 .LBB221:
|
|
|
|
|
1422:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
667 .loc 2 1422 0
|
|
|
|
|
668 0040 CA68 ldr r2, [r1, #12]
|
|
|
|
|
669 .LBE221:
|
|
|
|
|
670 .LBE220:
|
|
|
|
|
602:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
671 .loc 1 602 0
|
|
|
|
|
672 0042 D20A lsrs r2, r2, #11
|
|
|
|
|
673 0044 0723 movs r3, #7
|
|
|
|
|
674 0046 1340 ands r3, r2
|
|
|
|
|
675 0048 284A ldr r2, .L57+20
|
|
|
|
|
676 004a D35C ldrb r3, [r2, r3]
|
|
|
|
|
677 004c D840 lsrs r0, r0, r3
|
|
|
|
|
678 .LVL57:
|
|
|
|
|
679 .LBE219:
|
|
|
|
|
680 .LBE218:
|
|
|
|
|
284:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
681 .loc 1 284 0
|
|
|
|
|
682 004e DCE7 b .L36
|
|
|
|
|
683 .LVL58:
|
|
|
|
|
684 .L55:
|
|
|
|
|
264:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
685 .loc 1 264 0
|
|
|
|
|
686 0050 FFF7FEFF bl RCC_GetSystemClockFreq
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 65
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
687 .LVL59:
|
|
|
|
|
265:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
688 .loc 1 265 0
|
|
|
|
|
689 0054 D9E7 b .L36
|
|
|
|
|
690 .LVL60:
|
|
|
|
|
691 .L38:
|
|
|
|
|
692 .LBB222:
|
|
|
|
|
693 .LBB223:
|
|
|
|
|
834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
694 .loc 2 834 0
|
|
|
|
|
695 0056 204B ldr r3, .L57
|
|
|
|
|
696 0058 1868 ldr r0, [r3]
|
|
|
|
|
697 .LVL61:
|
|
|
|
|
698 005a 0423 movs r3, #4
|
|
|
|
|
699 005c 1840 ands r0, r3
|
|
|
|
|
700 .LBE223:
|
|
|
|
|
701 .LBE222:
|
|
|
|
|
268:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
702 .loc 1 268 0
|
|
|
|
|
703 005e D4D0 beq .L36
|
|
|
|
|
270:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
704 .loc 1 270 0
|
|
|
|
|
705 0060 2348 ldr r0, .L57+24
|
|
|
|
|
706 0062 D2E7 b .L36
|
|
|
|
|
707 .LVL62:
|
|
|
|
|
708 .L39:
|
|
|
|
|
709 .LBB224:
|
|
|
|
|
710 .LBB225:
|
|
|
|
|
1129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
711 .loc 2 1129 0
|
|
|
|
|
712 0064 1C4B ldr r3, .L57
|
|
|
|
|
713 0066 1B6D ldr r3, [r3, #80]
|
|
|
|
|
714 0068 8020 movs r0, #128
|
|
|
|
|
715 .LVL63:
|
|
|
|
|
716 006a 8000 lsls r0, r0, #2
|
|
|
|
|
717 006c 1840 ands r0, r3
|
|
|
|
|
718 .LBE225:
|
|
|
|
|
719 .LBE224:
|
|
|
|
|
275:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
720 .loc 1 275 0
|
|
|
|
|
721 006e CCD0 beq .L36
|
|
|
|
|
277:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
722 .loc 1 277 0
|
|
|
|
|
723 0070 8020 movs r0, #128
|
|
|
|
|
724 0072 0002 lsls r0, r0, #8
|
|
|
|
|
725 0074 C9E7 b .L36
|
|
|
|
|
726 .LVL64:
|
|
|
|
|
727 .L54:
|
|
|
|
|
728 .LBB226:
|
|
|
|
|
729 .LBB227:
|
|
|
|
|
1618:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
730 .loc 2 1618 0
|
|
|
|
|
731 0076 184B ldr r3, .L57
|
|
|
|
|
732 0078 DB6C ldr r3, [r3, #76]
|
|
|
|
|
733 007a 2340 ands r3, r4
|
|
|
|
|
734 007c 2404 lsls r4, r4, #16
|
|
|
|
|
735 .LVL65:
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 66
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
736 007e 1C43 orrs r4, r3
|
|
|
|
|
737 .LVL66:
|
|
|
|
|
738 .LBE227:
|
|
|
|
|
739 .LBE226:
|
|
|
|
|
293:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
740 .loc 1 293 0
|
|
|
|
|
741 0080 1C4B ldr r3, .L57+28
|
|
|
|
|
742 0082 9C42 cmp r4, r3
|
|
|
|
|
743 0084 1AD0 beq .L43
|
|
|
|
|
744 0086 1C4B ldr r3, .L57+32
|
|
|
|
|
745 0088 9C42 cmp r4, r3
|
|
|
|
|
746 008a 1DD0 beq .L44
|
|
|
|
|
747 008c 1B4B ldr r3, .L57+36
|
|
|
|
|
748 008e 9C42 cmp r4, r3
|
|
|
|
|
749 0090 11D0 beq .L56
|
|
|
|
|
315:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
750 .loc 1 315 0
|
|
|
|
|
751 0092 FFF7FEFF bl RCC_GetSystemClockFreq
|
|
|
|
|
752 .LVL67:
|
|
|
|
|
753 .LBB228:
|
|
|
|
|
754 .LBB229:
|
|
|
|
|
755 .LBB230:
|
|
|
|
|
756 .LBB231:
|
|
|
|
|
1392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
757 .loc 2 1392 0
|
|
|
|
|
758 0096 1049 ldr r1, .L57
|
|
|
|
|
759 0098 CA68 ldr r2, [r1, #12]
|
|
|
|
|
760 .LBE231:
|
|
|
|
|
761 .LBE230:
|
|
|
|
|
580:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
762 .loc 1 580 0
|
|
|
|
|
763 009a 1209 lsrs r2, r2, #4
|
|
|
|
|
764 009c 0F23 movs r3, #15
|
|
|
|
|
765 009e 1340 ands r3, r2
|
|
|
|
|
766 00a0 114A ldr r2, .L57+16
|
|
|
|
|
767 00a2 D35C ldrb r3, [r2, r3]
|
|
|
|
|
768 00a4 D840 lsrs r0, r0, r3
|
|
|
|
|
769 .LVL68:
|
|
|
|
|
770 .LBE229:
|
|
|
|
|
771 .LBE228:
|
|
|
|
|
772 .LBB232:
|
|
|
|
|
773 .LBB233:
|
|
|
|
|
774 .LBB234:
|
|
|
|
|
775 .LBB235:
|
|
|
|
|
1407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
776 .loc 2 1407 0
|
|
|
|
|
777 00a6 CA68 ldr r2, [r1, #12]
|
|
|
|
|
778 .LBE235:
|
|
|
|
|
779 .LBE234:
|
|
|
|
|
591:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
780 .loc 1 591 0
|
|
|
|
|
781 00a8 120A lsrs r2, r2, #8
|
|
|
|
|
782 00aa 0723 movs r3, #7
|
|
|
|
|
783 00ac 1340 ands r3, r2
|
|
|
|
|
784 00ae 0F4A ldr r2, .L57+20
|
|
|
|
|
785 00b0 D35C ldrb r3, [r2, r3]
|
|
|
|
|
786 00b2 D840 lsrs r0, r0, r3
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 67
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
787 .LBE233:
|
|
|
|
|
788 .LBE232:
|
|
|
|
|
316:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
789 .loc 1 316 0
|
|
|
|
|
790 00b4 ABE7 b .L35
|
|
|
|
|
791 .LVL69:
|
|
|
|
|
792 .L56:
|
|
|
|
|
296:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
793 .loc 1 296 0
|
|
|
|
|
794 00b6 FFF7FEFF bl RCC_GetSystemClockFreq
|
|
|
|
|
795 .LVL70:
|
|
|
|
|
297:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
796 .loc 1 297 0
|
|
|
|
|
797 00ba A8E7 b .L35
|
|
|
|
|
798 .L43:
|
|
|
|
|
799 .LBB236:
|
|
|
|
|
800 .LBB237:
|
|
|
|
|
834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
801 .loc 2 834 0
|
|
|
|
|
802 00bc 064B ldr r3, .L57
|
|
|
|
|
803 00be 1B68 ldr r3, [r3]
|
|
|
|
|
804 .LBE237:
|
|
|
|
|
805 .LBE236:
|
|
|
|
|
300:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
806 .loc 1 300 0
|
|
|
|
|
807 00c0 5B07 lsls r3, r3, #29
|
|
|
|
|
808 00c2 A4D5 bpl .L35
|
|
|
|
|
302:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
809 .loc 1 302 0
|
|
|
|
|
810 00c4 0A48 ldr r0, .L57+24
|
|
|
|
|
811 .LVL71:
|
|
|
|
|
812 00c6 A2E7 b .L35
|
|
|
|
|
813 .LVL72:
|
|
|
|
|
814 .L44:
|
|
|
|
|
815 .LBB238:
|
|
|
|
|
816 .LBB239:
|
|
|
|
|
1129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
817 .loc 2 1129 0
|
|
|
|
|
818 00c8 034B ldr r3, .L57
|
|
|
|
|
819 00ca 1B6D ldr r3, [r3, #80]
|
|
|
|
|
820 .LBE239:
|
|
|
|
|
821 .LBE238:
|
|
|
|
|
307:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
822 .loc 1 307 0
|
|
|
|
|
823 00cc 9B05 lsls r3, r3, #22
|
|
|
|
|
824 00ce 9ED5 bpl .L35
|
|
|
|
|
309:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
825 .loc 1 309 0
|
|
|
|
|
826 00d0 8020 movs r0, #128
|
|
|
|
|
827 .LVL73:
|
|
|
|
|
828 00d2 0002 lsls r0, r0, #8
|
|
|
|
|
829 .LVL74:
|
|
|
|
|
321:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
830 .loc 1 321 0
|
|
|
|
|
831 00d4 9BE7 b .L35
|
|
|
|
|
832 .L58:
|
|
|
|
|
833 00d6 C046 .align 2
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
834 .L57:
|
|
|
|
|
835 00d8 00100240 .word 1073876992
|
|
|
|
|
836 00dc 02000300 .word 196610
|
|
|
|
|
837 00e0 03000300 .word 196611
|
|
|
|
|
838 00e4 01000300 .word 196609
|
|
|
|
|
839 00e8 00000000 .word AHBPrescTable
|
|
|
|
|
840 00ec 00000000 .word APBPrescTable
|
|
|
|
|
841 00f0 0024F400 .word 16000000
|
|
|
|
|
842 00f4 08000C00 .word 786440
|
|
|
|
|
843 00f8 0C000C00 .word 786444
|
|
|
|
|
844 00fc 04000C00 .word 786436
|
|
|
|
|
845 .cfi_endproc
|
|
|
|
|
846 .LFE178:
|
|
|
|
|
848 .section .text.LL_RCC_GetI2CClockFreq,"ax",%progbits
|
|
|
|
|
849 .align 1
|
|
|
|
|
850 .global LL_RCC_GetI2CClockFreq
|
|
|
|
|
851 .syntax unified
|
|
|
|
|
852 .code 16
|
|
|
|
|
853 .thumb_func
|
|
|
|
|
854 .fpu softvfp
|
|
|
|
|
856 LL_RCC_GetI2CClockFreq:
|
|
|
|
|
857 .LFB179:
|
|
|
|
|
335:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t i2c_frequency = LL_RCC_PERIPH_FREQUENCY_NO;
|
|
|
|
|
858 .loc 1 335 0
|
|
|
|
|
859 .cfi_startproc
|
|
|
|
|
860 @ args = 0, pretend = 0, frame = 0
|
|
|
|
|
861 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
|
|
862 .LVL75:
|
|
|
|
|
863 0000 10B5 push {r4, lr}
|
|
|
|
|
864 .LCFI4:
|
|
|
|
|
865 .cfi_def_cfa_offset 8
|
|
|
|
|
866 .cfi_offset 4, -8
|
|
|
|
|
867 .cfi_offset 14, -4
|
|
|
|
|
868 0002 0400 movs r4, r0
|
|
|
|
|
869 .LVL76:
|
|
|
|
|
342:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
870 .loc 1 342 0
|
|
|
|
|
871 0004 C023 movs r3, #192
|
|
|
|
|
872 0006 9B01 lsls r3, r3, #6
|
|
|
|
|
873 0008 9842 cmp r0, r3
|
|
|
|
|
874 000a 05D0 beq .L73
|
|
|
|
|
336:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
875 .loc 1 336 0
|
|
|
|
|
876 000c 0020 movs r0, #0
|
|
|
|
|
877 .LVL77:
|
|
|
|
|
878 .L60:
|
|
|
|
|
366:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
879 .loc 1 366 0
|
|
|
|
|
880 000e C023 movs r3, #192
|
|
|
|
|
881 0010 9B02 lsls r3, r3, #10
|
|
|
|
|
882 0012 9C42 cmp r4, r3
|
|
|
|
|
883 0014 28D0 beq .L74
|
|
|
|
|
884 .LVL78:
|
|
|
|
|
885 .L59:
|
|
|
|
|
390:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
886 .loc 1 390 0
|
|
|
|
|
887 @ sp needed
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 69
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
888 0016 10BD pop {r4, pc}
|
|
|
|
|
889 .LVL79:
|
|
|
|
|
890 .L73:
|
|
|
|
|
891 .LBB240:
|
|
|
|
|
892 .LBB241:
|
|
|
|
|
1657:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
893 .loc 2 1657 0
|
|
|
|
|
894 0018 274B ldr r3, .L75
|
|
|
|
|
895 001a DB6C ldr r3, [r3, #76]
|
|
|
|
|
896 001c 0340 ands r3, r0
|
|
|
|
|
897 001e 1B09 lsrs r3, r3, #4
|
|
|
|
|
898 0020 0201 lsls r2, r0, #4
|
|
|
|
|
899 0022 1343 orrs r3, r2
|
|
|
|
|
900 .LVL80:
|
|
|
|
|
901 .LBE241:
|
|
|
|
|
902 .LBE240:
|
|
|
|
|
344:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
903 .loc 1 344 0
|
|
|
|
|
904 0024 254A ldr r2, .L75+4
|
|
|
|
|
905 0026 9342 cmp r3, r2
|
|
|
|
|
906 0028 14D0 beq .L62
|
|
|
|
|
907 002a 254A ldr r2, .L75+8
|
|
|
|
|
908 002c 9342 cmp r3, r2
|
|
|
|
|
909 002e 14D0 beq .L63
|
|
|
|
|
359:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
910 .loc 1 359 0
|
|
|
|
|
911 0030 FFF7FEFF bl RCC_GetSystemClockFreq
|
|
|
|
|
912 .LVL81:
|
|
|
|
|
913 .LBB242:
|
|
|
|
|
914 .LBB243:
|
|
|
|
|
915 .LBB244:
|
|
|
|
|
916 .LBB245:
|
|
|
|
|
1392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
917 .loc 2 1392 0
|
|
|
|
|
918 0034 2049 ldr r1, .L75
|
|
|
|
|
919 0036 CA68 ldr r2, [r1, #12]
|
|
|
|
|
920 .LBE245:
|
|
|
|
|
921 .LBE244:
|
|
|
|
|
580:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
922 .loc 1 580 0
|
|
|
|
|
923 0038 1209 lsrs r2, r2, #4
|
|
|
|
|
924 003a 0F23 movs r3, #15
|
|
|
|
|
925 003c 1340 ands r3, r2
|
|
|
|
|
926 003e 214A ldr r2, .L75+12
|
|
|
|
|
927 0040 D35C ldrb r3, [r2, r3]
|
|
|
|
|
928 0042 D840 lsrs r0, r0, r3
|
|
|
|
|
929 .LVL82:
|
|
|
|
|
930 .LBE243:
|
|
|
|
|
931 .LBE242:
|
|
|
|
|
932 .LBB246:
|
|
|
|
|
933 .LBB247:
|
|
|
|
|
934 .LBB248:
|
|
|
|
|
935 .LBB249:
|
|
|
|
|
1407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
936 .loc 2 1407 0
|
|
|
|
|
937 0044 CA68 ldr r2, [r1, #12]
|
|
|
|
|
938 .LBE249:
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 70
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
939 .LBE248:
|
|
|
|
|
591:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
940 .loc 1 591 0
|
|
|
|
|
941 0046 120A lsrs r2, r2, #8
|
|
|
|
|
942 0048 0723 movs r3, #7
|
|
|
|
|
943 004a 1340 ands r3, r2
|
|
|
|
|
944 004c 1E4A ldr r2, .L75+16
|
|
|
|
|
945 004e D35C ldrb r3, [r2, r3]
|
|
|
|
|
946 0050 D840 lsrs r0, r0, r3
|
|
|
|
|
947 .LVL83:
|
|
|
|
|
948 .LBE247:
|
|
|
|
|
949 .LBE246:
|
|
|
|
|
360:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
950 .loc 1 360 0
|
|
|
|
|
951 0052 DCE7 b .L60
|
|
|
|
|
952 .LVL84:
|
|
|
|
|
953 .L62:
|
|
|
|
|
347:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
954 .loc 1 347 0
|
|
|
|
|
955 0054 FFF7FEFF bl RCC_GetSystemClockFreq
|
|
|
|
|
956 .LVL85:
|
|
|
|
|
348:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
957 .loc 1 348 0
|
|
|
|
|
958 0058 D9E7 b .L60
|
|
|
|
|
959 .LVL86:
|
|
|
|
|
960 .L63:
|
|
|
|
|
961 .LBB250:
|
|
|
|
|
962 .LBB251:
|
|
|
|
|
834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
963 .loc 2 834 0
|
|
|
|
|
964 005a 174B ldr r3, .L75
|
|
|
|
|
965 005c 1868 ldr r0, [r3]
|
|
|
|
|
966 .LVL87:
|
|
|
|
|
967 005e 0423 movs r3, #4
|
|
|
|
|
968 0060 1840 ands r0, r3
|
|
|
|
|
969 .LBE251:
|
|
|
|
|
970 .LBE250:
|
|
|
|
|
351:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
971 .loc 1 351 0
|
|
|
|
|
972 0062 D4D0 beq .L60
|
|
|
|
|
353:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
973 .loc 1 353 0
|
|
|
|
|
974 0064 1948 ldr r0, .L75+20
|
|
|
|
|
975 0066 D2E7 b .L60
|
|
|
|
|
976 .LVL88:
|
|
|
|
|
977 .L74:
|
|
|
|
|
978 .LBB252:
|
|
|
|
|
979 .LBB253:
|
|
|
|
|
1657:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
980 .loc 2 1657 0
|
|
|
|
|
981 0068 134B ldr r3, .L75
|
|
|
|
|
982 006a DB6C ldr r3, [r3, #76]
|
|
|
|
|
983 006c 2340 ands r3, r4
|
|
|
|
|
984 006e 1B09 lsrs r3, r3, #4
|
|
|
|
|
985 0070 2401 lsls r4, r4, #4
|
|
|
|
|
986 .LVL89:
|
|
|
|
|
987 0072 1C43 orrs r4, r3
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 71
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
988 .LVL90:
|
|
|
|
|
989 .LBE253:
|
|
|
|
|
990 .LBE252:
|
|
|
|
|
368:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
991 .loc 1 368 0
|
|
|
|
|
992 0074 164B ldr r3, .L75+24
|
|
|
|
|
993 0076 9C42 cmp r4, r3
|
|
|
|
|
994 0078 14D0 beq .L66
|
|
|
|
|
995 007a 164B ldr r3, .L75+28
|
|
|
|
|
996 007c 9C42 cmp r4, r3
|
|
|
|
|
997 007e 14D0 beq .L67
|
|
|
|
|
383:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
998 .loc 1 383 0
|
|
|
|
|
999 0080 FFF7FEFF bl RCC_GetSystemClockFreq
|
|
|
|
|
1000 .LVL91:
|
|
|
|
|
1001 .LBB254:
|
|
|
|
|
1002 .LBB255:
|
|
|
|
|
1003 .LBB256:
|
|
|
|
|
1004 .LBB257:
|
|
|
|
|
1392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1005 .loc 2 1392 0
|
|
|
|
|
1006 0084 0C49 ldr r1, .L75
|
|
|
|
|
1007 0086 CA68 ldr r2, [r1, #12]
|
|
|
|
|
1008 .LBE257:
|
|
|
|
|
1009 .LBE256:
|
|
|
|
|
580:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1010 .loc 1 580 0
|
|
|
|
|
1011 0088 1209 lsrs r2, r2, #4
|
|
|
|
|
1012 008a 0F23 movs r3, #15
|
|
|
|
|
1013 008c 1340 ands r3, r2
|
|
|
|
|
1014 008e 0D4A ldr r2, .L75+12
|
|
|
|
|
1015 0090 D35C ldrb r3, [r2, r3]
|
|
|
|
|
1016 0092 D840 lsrs r0, r0, r3
|
|
|
|
|
1017 .LVL92:
|
|
|
|
|
1018 .LBE255:
|
|
|
|
|
1019 .LBE254:
|
|
|
|
|
1020 .LBB258:
|
|
|
|
|
1021 .LBB259:
|
|
|
|
|
1022 .LBB260:
|
|
|
|
|
1023 .LBB261:
|
|
|
|
|
1407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1024 .loc 2 1407 0
|
|
|
|
|
1025 0094 CA68 ldr r2, [r1, #12]
|
|
|
|
|
1026 .LBE261:
|
|
|
|
|
1027 .LBE260:
|
|
|
|
|
591:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1028 .loc 1 591 0
|
|
|
|
|
1029 0096 120A lsrs r2, r2, #8
|
|
|
|
|
1030 0098 0723 movs r3, #7
|
|
|
|
|
1031 009a 1340 ands r3, r2
|
|
|
|
|
1032 009c 0A4A ldr r2, .L75+16
|
|
|
|
|
1033 009e D35C ldrb r3, [r2, r3]
|
|
|
|
|
1034 00a0 D840 lsrs r0, r0, r3
|
|
|
|
|
1035 .LBE259:
|
|
|
|
|
1036 .LBE258:
|
|
|
|
|
384:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1037 .loc 1 384 0
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 72
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1038 00a2 B8E7 b .L59
|
|
|
|
|
1039 .LVL93:
|
|
|
|
|
1040 .L66:
|
|
|
|
|
371:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
1041 .loc 1 371 0
|
|
|
|
|
1042 00a4 FFF7FEFF bl RCC_GetSystemClockFreq
|
|
|
|
|
1043 .LVL94:
|
|
|
|
|
372:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
1044 .loc 1 372 0
|
|
|
|
|
1045 00a8 B5E7 b .L59
|
|
|
|
|
1046 .L67:
|
|
|
|
|
1047 .LBB262:
|
|
|
|
|
1048 .LBB263:
|
|
|
|
|
834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1049 .loc 2 834 0
|
|
|
|
|
1050 00aa 034B ldr r3, .L75
|
|
|
|
|
1051 00ac 1B68 ldr r3, [r3]
|
|
|
|
|
1052 .LBE263:
|
|
|
|
|
1053 .LBE262:
|
|
|
|
|
375:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
1054 .loc 1 375 0
|
|
|
|
|
1055 00ae 5B07 lsls r3, r3, #29
|
|
|
|
|
1056 00b0 B1D5 bpl .L59
|
|
|
|
|
377:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1057 .loc 1 377 0
|
|
|
|
|
1058 00b2 0648 ldr r0, .L75+20
|
|
|
|
|
1059 .LVL95:
|
|
|
|
|
389:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1060 .loc 1 389 0
|
|
|
|
|
1061 00b4 AFE7 b .L59
|
|
|
|
|
1062 .L76:
|
|
|
|
|
1063 00b6 C046 .align 2
|
|
|
|
|
1064 .L75:
|
|
|
|
|
1065 00b8 00100240 .word 1073876992
|
|
|
|
|
1066 00bc 00010300 .word 196864
|
|
|
|
|
1067 00c0 00020300 .word 197120
|
|
|
|
|
1068 00c4 00000000 .word AHBPrescTable
|
|
|
|
|
1069 00c8 00000000 .word APBPrescTable
|
|
|
|
|
1070 00cc 0024F400 .word 16000000
|
|
|
|
|
1071 00d0 00103000 .word 3149824
|
|
|
|
|
1072 00d4 00203000 .word 3153920
|
|
|
|
|
1073 .cfi_endproc
|
|
|
|
|
1074 .LFE179:
|
|
|
|
|
1076 .section .text.LL_RCC_GetLPUARTClockFreq,"ax",%progbits
|
|
|
|
|
1077 .align 1
|
|
|
|
|
1078 .global LL_RCC_GetLPUARTClockFreq
|
|
|
|
|
1079 .syntax unified
|
|
|
|
|
1080 .code 16
|
|
|
|
|
1081 .thumb_func
|
|
|
|
|
1082 .fpu softvfp
|
|
|
|
|
1084 LL_RCC_GetLPUARTClockFreq:
|
|
|
|
|
1085 .LFB180:
|
|
|
|
|
400:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t lpuart_frequency = LL_RCC_PERIPH_FREQUENCY_NO;
|
|
|
|
|
1086 .loc 1 400 0
|
|
|
|
|
1087 .cfi_startproc
|
|
|
|
|
1088 @ args = 0, pretend = 0, frame = 0
|
|
|
|
|
1089 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 73
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1090 .LVL96:
|
|
|
|
|
1091 0000 10B5 push {r4, lr}
|
|
|
|
|
1092 .LCFI5:
|
|
|
|
|
1093 .cfi_def_cfa_offset 8
|
|
|
|
|
1094 .cfi_offset 4, -8
|
|
|
|
|
1095 .cfi_offset 14, -4
|
|
|
|
|
1096 .LVL97:
|
|
|
|
|
1097 .LBB264:
|
|
|
|
|
1098 .LBB265:
|
|
|
|
|
1636:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1099 .loc 2 1636 0
|
|
|
|
|
1100 0002 1A4B ldr r3, .L87
|
|
|
|
|
1101 0004 DB6C ldr r3, [r3, #76]
|
|
|
|
|
1102 0006 1840 ands r0, r3
|
|
|
|
|
1103 .LVL98:
|
|
|
|
|
1104 .LBE265:
|
|
|
|
|
1105 .LBE264:
|
|
|
|
|
407:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
1106 .loc 1 407 0
|
|
|
|
|
1107 0008 8023 movs r3, #128
|
|
|
|
|
1108 000a 1B01 lsls r3, r3, #4
|
|
|
|
|
1109 000c 9842 cmp r0, r3
|
|
|
|
|
1110 000e 1CD0 beq .L79
|
|
|
|
|
1111 0010 C023 movs r3, #192
|
|
|
|
|
1112 0012 1B01 lsls r3, r3, #4
|
|
|
|
|
1113 0014 9842 cmp r0, r3
|
|
|
|
|
1114 0016 1FD0 beq .L80
|
|
|
|
|
1115 0018 8023 movs r3, #128
|
|
|
|
|
1116 001a DB00 lsls r3, r3, #3
|
|
|
|
|
1117 001c 9842 cmp r0, r3
|
|
|
|
|
1118 001e 11D0 beq .L86
|
|
|
|
|
429:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
1119 .loc 1 429 0
|
|
|
|
|
1120 0020 FFF7FEFF bl RCC_GetSystemClockFreq
|
|
|
|
|
1121 .LVL99:
|
|
|
|
|
1122 .LBB266:
|
|
|
|
|
1123 .LBB267:
|
|
|
|
|
1124 .LBB268:
|
|
|
|
|
1125 .LBB269:
|
|
|
|
|
1392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1126 .loc 2 1392 0
|
|
|
|
|
1127 0024 1149 ldr r1, .L87
|
|
|
|
|
1128 0026 CA68 ldr r2, [r1, #12]
|
|
|
|
|
1129 .LBE269:
|
|
|
|
|
1130 .LBE268:
|
|
|
|
|
580:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1131 .loc 1 580 0
|
|
|
|
|
1132 0028 1209 lsrs r2, r2, #4
|
|
|
|
|
1133 002a 0F23 movs r3, #15
|
|
|
|
|
1134 002c 1340 ands r3, r2
|
|
|
|
|
1135 002e 104A ldr r2, .L87+4
|
|
|
|
|
1136 0030 D35C ldrb r3, [r2, r3]
|
|
|
|
|
1137 0032 D840 lsrs r0, r0, r3
|
|
|
|
|
1138 .LVL100:
|
|
|
|
|
1139 .LBE267:
|
|
|
|
|
1140 .LBE266:
|
|
|
|
|
1141 .LBB270:
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 74
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1142 .LBB271:
|
|
|
|
|
1143 .LBB272:
|
|
|
|
|
1144 .LBB273:
|
|
|
|
|
1407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1145 .loc 2 1407 0
|
|
|
|
|
1146 0034 CA68 ldr r2, [r1, #12]
|
|
|
|
|
1147 .LBE273:
|
|
|
|
|
1148 .LBE272:
|
|
|
|
|
591:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1149 .loc 1 591 0
|
|
|
|
|
1150 0036 120A lsrs r2, r2, #8
|
|
|
|
|
1151 0038 0723 movs r3, #7
|
|
|
|
|
1152 003a 1340 ands r3, r2
|
|
|
|
|
1153 003c 0D4A ldr r2, .L87+8
|
|
|
|
|
1154 003e D35C ldrb r3, [r2, r3]
|
|
|
|
|
1155 0040 D840 lsrs r0, r0, r3
|
|
|
|
|
1156 .LVL101:
|
|
|
|
|
1157 .LBE271:
|
|
|
|
|
1158 .LBE270:
|
|
|
|
|
430:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1159 .loc 1 430 0
|
|
|
|
|
1160 0042 01E0 b .L77
|
|
|
|
|
1161 .LVL102:
|
|
|
|
|
1162 .L86:
|
|
|
|
|
410:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
1163 .loc 1 410 0
|
|
|
|
|
1164 0044 FFF7FEFF bl RCC_GetSystemClockFreq
|
|
|
|
|
1165 .LVL103:
|
|
|
|
|
1166 .L77:
|
|
|
|
|
434:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
1167 .loc 1 434 0
|
|
|
|
|
1168 @ sp needed
|
|
|
|
|
1169 0048 10BD pop {r4, pc}
|
|
|
|
|
1170 .LVL104:
|
|
|
|
|
1171 .L79:
|
|
|
|
|
1172 .LBB274:
|
|
|
|
|
1173 .LBB275:
|
|
|
|
|
834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1174 .loc 2 834 0
|
|
|
|
|
1175 004a 084B ldr r3, .L87
|
|
|
|
|
1176 004c 1B68 ldr r3, [r3]
|
|
|
|
|
1177 004e 0420 movs r0, #4
|
|
|
|
|
1178 0050 1840 ands r0, r3
|
|
|
|
|
1179 .LBE275:
|
|
|
|
|
1180 .LBE274:
|
|
|
|
|
414:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
1181 .loc 1 414 0
|
|
|
|
|
1182 0052 F9D0 beq .L77
|
|
|
|
|
416:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1183 .loc 1 416 0
|
|
|
|
|
1184 0054 0848 ldr r0, .L87+12
|
|
|
|
|
1185 0056 F7E7 b .L77
|
|
|
|
|
1186 .L80:
|
|
|
|
|
1187 .LBB276:
|
|
|
|
|
1188 .LBB277:
|
|
|
|
|
1129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1189 .loc 2 1129 0
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 75
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1190 0058 044B ldr r3, .L87
|
|
|
|
|
1191 005a 186D ldr r0, [r3, #80]
|
|
|
|
|
1192 005c 8023 movs r3, #128
|
|
|
|
|
1193 005e 9B00 lsls r3, r3, #2
|
|
|
|
|
1194 0060 1840 ands r0, r3
|
|
|
|
|
1195 .LBE277:
|
|
|
|
|
1196 .LBE276:
|
|
|
|
|
421:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
1197 .loc 1 421 0
|
|
|
|
|
1198 0062 F1D0 beq .L77
|
|
|
|
|
423:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1199 .loc 1 423 0
|
|
|
|
|
1200 0064 8020 movs r0, #128
|
|
|
|
|
1201 0066 0002 lsls r0, r0, #8
|
|
|
|
|
1202 .LVL105:
|
|
|
|
|
433:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1203 .loc 1 433 0
|
|
|
|
|
1204 0068 EEE7 b .L77
|
|
|
|
|
1205 .L88:
|
|
|
|
|
1206 006a C046 .align 2
|
|
|
|
|
1207 .L87:
|
|
|
|
|
1208 006c 00100240 .word 1073876992
|
|
|
|
|
1209 0070 00000000 .word AHBPrescTable
|
|
|
|
|
1210 0074 00000000 .word APBPrescTable
|
|
|
|
|
1211 0078 0024F400 .word 16000000
|
|
|
|
|
1212 .cfi_endproc
|
|
|
|
|
1213 .LFE180:
|
|
|
|
|
1215 .section .text.LL_RCC_GetLPTIMClockFreq,"ax",%progbits
|
|
|
|
|
1216 .align 1
|
|
|
|
|
1217 .global LL_RCC_GetLPTIMClockFreq
|
|
|
|
|
1218 .syntax unified
|
|
|
|
|
1219 .code 16
|
|
|
|
|
1220 .thumb_func
|
|
|
|
|
1221 .fpu softvfp
|
|
|
|
|
1223 LL_RCC_GetLPTIMClockFreq:
|
|
|
|
|
1224 .LFB181:
|
|
|
|
|
444:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t lptim_frequency = LL_RCC_PERIPH_FREQUENCY_NO;
|
|
|
|
|
1225 .loc 1 444 0
|
|
|
|
|
1226 .cfi_startproc
|
|
|
|
|
1227 @ args = 0, pretend = 0, frame = 0
|
|
|
|
|
1228 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
|
|
1229 .LVL106:
|
|
|
|
|
1230 0000 10B5 push {r4, lr}
|
|
|
|
|
1231 .LCFI6:
|
|
|
|
|
1232 .cfi_def_cfa_offset 8
|
|
|
|
|
1233 .cfi_offset 4, -8
|
|
|
|
|
1234 .cfi_offset 14, -4
|
|
|
|
|
1235 .LVL107:
|
|
|
|
|
450:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
1236 .loc 1 450 0
|
|
|
|
|
1237 0002 C023 movs r3, #192
|
|
|
|
|
1238 0004 1B03 lsls r3, r3, #12
|
|
|
|
|
1239 0006 9842 cmp r0, r3
|
|
|
|
|
1240 0008 01D0 beq .L100
|
|
|
|
|
445:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
1241 .loc 1 445 0
|
|
|
|
|
1242 000a 0020 movs r0, #0
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 76
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1243 .LVL108:
|
|
|
|
|
1244 .L89:
|
|
|
|
|
484:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
1245 .loc 1 484 0
|
|
|
|
|
1246 @ sp needed
|
|
|
|
|
1247 000c 10BD pop {r4, pc}
|
|
|
|
|
1248 .LVL109:
|
|
|
|
|
1249 .L100:
|
|
|
|
|
1250 .LBB278:
|
|
|
|
|
1251 .LBB279:
|
|
|
|
|
1673:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1252 .loc 2 1673 0
|
|
|
|
|
1253 000e 1C4B ldr r3, .L102
|
|
|
|
|
1254 0010 DB6C ldr r3, [r3, #76]
|
|
|
|
|
1255 0012 1840 ands r0, r3
|
|
|
|
|
1256 .LVL110:
|
|
|
|
|
1257 .LBE279:
|
|
|
|
|
1258 .LBE278:
|
|
|
|
|
453:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
1259 .loc 1 453 0
|
|
|
|
|
1260 0014 8023 movs r3, #128
|
|
|
|
|
1261 0016 1B03 lsls r3, r3, #12
|
|
|
|
|
1262 0018 9842 cmp r0, r3
|
|
|
|
|
1263 001a 20D0 beq .L92
|
|
|
|
|
1264 001c C023 movs r3, #192
|
|
|
|
|
1265 001e 1B03 lsls r3, r3, #12
|
|
|
|
|
1266 0020 9842 cmp r0, r3
|
|
|
|
|
1267 0022 23D0 beq .L93
|
|
|
|
|
1268 0024 8023 movs r3, #128
|
|
|
|
|
1269 0026 DB02 lsls r3, r3, #11
|
|
|
|
|
1270 0028 9842 cmp r0, r3
|
|
|
|
|
1271 002a 11D0 beq .L101
|
|
|
|
|
478:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
1272 .loc 1 478 0
|
|
|
|
|
1273 002c FFF7FEFF bl RCC_GetSystemClockFreq
|
|
|
|
|
1274 .LVL111:
|
|
|
|
|
1275 .LBB280:
|
|
|
|
|
1276 .LBB281:
|
|
|
|
|
1277 .LBB282:
|
|
|
|
|
1278 .LBB283:
|
|
|
|
|
1392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1279 .loc 2 1392 0
|
|
|
|
|
1280 0030 1349 ldr r1, .L102
|
|
|
|
|
1281 0032 CA68 ldr r2, [r1, #12]
|
|
|
|
|
1282 .LBE283:
|
|
|
|
|
1283 .LBE282:
|
|
|
|
|
580:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1284 .loc 1 580 0
|
|
|
|
|
1285 0034 1209 lsrs r2, r2, #4
|
|
|
|
|
1286 0036 0F23 movs r3, #15
|
|
|
|
|
1287 0038 1340 ands r3, r2
|
|
|
|
|
1288 003a 124A ldr r2, .L102+4
|
|
|
|
|
1289 003c D35C ldrb r3, [r2, r3]
|
|
|
|
|
1290 003e D840 lsrs r0, r0, r3
|
|
|
|
|
1291 .LVL112:
|
|
|
|
|
1292 .LBE281:
|
|
|
|
|
1293 .LBE280:
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 77
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1294 .LBB284:
|
|
|
|
|
1295 .LBB285:
|
|
|
|
|
1296 .LBB286:
|
|
|
|
|
1297 .LBB287:
|
|
|
|
|
1407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1298 .loc 2 1407 0
|
|
|
|
|
1299 0040 CA68 ldr r2, [r1, #12]
|
|
|
|
|
1300 .LBE287:
|
|
|
|
|
1301 .LBE286:
|
|
|
|
|
591:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1302 .loc 1 591 0
|
|
|
|
|
1303 0042 120A lsrs r2, r2, #8
|
|
|
|
|
1304 0044 0723 movs r3, #7
|
|
|
|
|
1305 0046 1340 ands r3, r2
|
|
|
|
|
1306 0048 0F4A ldr r2, .L102+8
|
|
|
|
|
1307 004a D35C ldrb r3, [r2, r3]
|
|
|
|
|
1308 004c D840 lsrs r0, r0, r3
|
|
|
|
|
1309 .LVL113:
|
|
|
|
|
1310 .LBE285:
|
|
|
|
|
1311 .LBE284:
|
|
|
|
|
479:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1312 .loc 1 479 0
|
|
|
|
|
1313 004e DDE7 b .L89
|
|
|
|
|
1314 .LVL114:
|
|
|
|
|
1315 .L101:
|
|
|
|
|
1316 .LBB288:
|
|
|
|
|
1317 .LBB289:
|
|
|
|
|
1177:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1318 .loc 2 1177 0
|
|
|
|
|
1319 0050 0B4B ldr r3, .L102
|
|
|
|
|
1320 0052 1B6D ldr r3, [r3, #80]
|
|
|
|
|
1321 0054 0220 movs r0, #2
|
|
|
|
|
1322 0056 1840 ands r0, r3
|
|
|
|
|
1323 .LBE289:
|
|
|
|
|
1324 .LBE288:
|
|
|
|
|
456:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
1325 .loc 1 456 0
|
|
|
|
|
1326 0058 D8D0 beq .L89
|
|
|
|
|
458:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1327 .loc 1 458 0
|
|
|
|
|
1328 005a 0C48 ldr r0, .L102+12
|
|
|
|
|
1329 005c D6E7 b .L89
|
|
|
|
|
1330 .L92:
|
|
|
|
|
1331 .LBB290:
|
|
|
|
|
1332 .LBB291:
|
|
|
|
|
834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1333 .loc 2 834 0
|
|
|
|
|
1334 005e 084B ldr r3, .L102
|
|
|
|
|
1335 0060 1B68 ldr r3, [r3]
|
|
|
|
|
1336 0062 0420 movs r0, #4
|
|
|
|
|
1337 0064 1840 ands r0, r3
|
|
|
|
|
1338 .LBE291:
|
|
|
|
|
1339 .LBE290:
|
|
|
|
|
463:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
1340 .loc 1 463 0
|
|
|
|
|
1341 0066 D1D0 beq .L89
|
|
|
|
|
465:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 78
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1342 .loc 1 465 0
|
|
|
|
|
1343 0068 0948 ldr r0, .L102+16
|
|
|
|
|
1344 006a CFE7 b .L89
|
|
|
|
|
1345 .L93:
|
|
|
|
|
1346 .LBB292:
|
|
|
|
|
1347 .LBB293:
|
|
|
|
|
1129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1348 .loc 2 1129 0
|
|
|
|
|
1349 006c 044B ldr r3, .L102
|
|
|
|
|
1350 006e 186D ldr r0, [r3, #80]
|
|
|
|
|
1351 0070 8023 movs r3, #128
|
|
|
|
|
1352 0072 9B00 lsls r3, r3, #2
|
|
|
|
|
1353 0074 1840 ands r0, r3
|
|
|
|
|
1354 .LBE293:
|
|
|
|
|
1355 .LBE292:
|
|
|
|
|
470:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
1356 .loc 1 470 0
|
|
|
|
|
1357 0076 C9D0 beq .L89
|
|
|
|
|
472:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1358 .loc 1 472 0
|
|
|
|
|
1359 0078 8020 movs r0, #128
|
|
|
|
|
1360 007a 0002 lsls r0, r0, #8
|
|
|
|
|
1361 .LVL115:
|
|
|
|
|
483:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1362 .loc 1 483 0
|
|
|
|
|
1363 007c C6E7 b .L89
|
|
|
|
|
1364 .L103:
|
|
|
|
|
1365 007e C046 .align 2
|
|
|
|
|
1366 .L102:
|
|
|
|
|
1367 0080 00100240 .word 1073876992
|
|
|
|
|
1368 0084 00000000 .word AHBPrescTable
|
|
|
|
|
1369 0088 00000000 .word APBPrescTable
|
|
|
|
|
1370 008c 88900000 .word 37000
|
|
|
|
|
1371 0090 0024F400 .word 16000000
|
|
|
|
|
1372 .cfi_endproc
|
|
|
|
|
1373 .LFE181:
|
|
|
|
|
1375 .section .text.RCC_GetHCLKClockFreq,"ax",%progbits
|
|
|
|
|
1376 .align 1
|
|
|
|
|
1377 .global RCC_GetHCLKClockFreq
|
|
|
|
|
1378 .syntax unified
|
|
|
|
|
1379 .code 16
|
|
|
|
|
1380 .thumb_func
|
|
|
|
|
1381 .fpu softvfp
|
|
|
|
|
1383 RCC_GetHCLKClockFreq:
|
|
|
|
|
1384 .LFB184:
|
|
|
|
|
578:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* HCLK clock frequency */
|
|
|
|
|
1385 .loc 1 578 0
|
|
|
|
|
1386 .cfi_startproc
|
|
|
|
|
1387 @ args = 0, pretend = 0, frame = 0
|
|
|
|
|
1388 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
|
|
1389 @ link register save eliminated.
|
|
|
|
|
1390 .LVL116:
|
|
|
|
|
1391 .LBB294:
|
|
|
|
|
1392 .LBB295:
|
|
|
|
|
1392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1393 .loc 2 1392 0
|
|
|
|
|
1394 0000 044B ldr r3, .L105
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 79
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1395 0002 DA68 ldr r2, [r3, #12]
|
|
|
|
|
1396 .LBE295:
|
|
|
|
|
1397 .LBE294:
|
|
|
|
|
580:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1398 .loc 1 580 0
|
|
|
|
|
1399 0004 1209 lsrs r2, r2, #4
|
|
|
|
|
1400 0006 0F23 movs r3, #15
|
|
|
|
|
1401 0008 1340 ands r3, r2
|
|
|
|
|
1402 000a 034A ldr r2, .L105+4
|
|
|
|
|
1403 000c D35C ldrb r3, [r2, r3]
|
|
|
|
|
1404 000e D840 lsrs r0, r0, r3
|
|
|
|
|
1405 .LVL117:
|
|
|
|
|
581:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
1406 .loc 1 581 0
|
|
|
|
|
1407 @ sp needed
|
|
|
|
|
1408 0010 7047 bx lr
|
|
|
|
|
1409 .L106:
|
|
|
|
|
1410 0012 C046 .align 2
|
|
|
|
|
1411 .L105:
|
|
|
|
|
1412 0014 00100240 .word 1073876992
|
|
|
|
|
1413 0018 00000000 .word AHBPrescTable
|
|
|
|
|
1414 .cfi_endproc
|
|
|
|
|
1415 .LFE184:
|
|
|
|
|
1417 .section .text.RCC_GetPCLK1ClockFreq,"ax",%progbits
|
|
|
|
|
1418 .align 1
|
|
|
|
|
1419 .global RCC_GetPCLK1ClockFreq
|
|
|
|
|
1420 .syntax unified
|
|
|
|
|
1421 .code 16
|
|
|
|
|
1422 .thumb_func
|
|
|
|
|
1423 .fpu softvfp
|
|
|
|
|
1425 RCC_GetPCLK1ClockFreq:
|
|
|
|
|
1426 .LFB185:
|
|
|
|
|
589:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* PCLK1 clock frequency */
|
|
|
|
|
1427 .loc 1 589 0
|
|
|
|
|
1428 .cfi_startproc
|
|
|
|
|
1429 @ args = 0, pretend = 0, frame = 0
|
|
|
|
|
1430 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
|
|
1431 @ link register save eliminated.
|
|
|
|
|
1432 .LVL118:
|
|
|
|
|
1433 .LBB296:
|
|
|
|
|
1434 .LBB297:
|
|
|
|
|
1407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1435 .loc 2 1407 0
|
|
|
|
|
1436 0000 044B ldr r3, .L108
|
|
|
|
|
1437 0002 DA68 ldr r2, [r3, #12]
|
|
|
|
|
1438 .LBE297:
|
|
|
|
|
1439 .LBE296:
|
|
|
|
|
591:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1440 .loc 1 591 0
|
|
|
|
|
1441 0004 120A lsrs r2, r2, #8
|
|
|
|
|
1442 0006 0723 movs r3, #7
|
|
|
|
|
1443 0008 1340 ands r3, r2
|
|
|
|
|
1444 000a 034A ldr r2, .L108+4
|
|
|
|
|
1445 000c D35C ldrb r3, [r2, r3]
|
|
|
|
|
1446 000e D840 lsrs r0, r0, r3
|
|
|
|
|
1447 .LVL119:
|
|
|
|
|
592:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 80
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1448 .loc 1 592 0
|
|
|
|
|
1449 @ sp needed
|
|
|
|
|
1450 0010 7047 bx lr
|
|
|
|
|
1451 .L109:
|
|
|
|
|
1452 0012 C046 .align 2
|
|
|
|
|
1453 .L108:
|
|
|
|
|
1454 0014 00100240 .word 1073876992
|
|
|
|
|
1455 0018 00000000 .word APBPrescTable
|
|
|
|
|
1456 .cfi_endproc
|
|
|
|
|
1457 .LFE185:
|
|
|
|
|
1459 .section .text.RCC_GetPCLK2ClockFreq,"ax",%progbits
|
|
|
|
|
1460 .align 1
|
|
|
|
|
1461 .global RCC_GetPCLK2ClockFreq
|
|
|
|
|
1462 .syntax unified
|
|
|
|
|
1463 .code 16
|
|
|
|
|
1464 .thumb_func
|
|
|
|
|
1465 .fpu softvfp
|
|
|
|
|
1467 RCC_GetPCLK2ClockFreq:
|
|
|
|
|
1468 .LFB186:
|
|
|
|
|
600:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** /* PCLK2 clock frequency */
|
|
|
|
|
1469 .loc 1 600 0
|
|
|
|
|
1470 .cfi_startproc
|
|
|
|
|
1471 @ args = 0, pretend = 0, frame = 0
|
|
|
|
|
1472 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
|
|
1473 @ link register save eliminated.
|
|
|
|
|
1474 .LVL120:
|
|
|
|
|
1475 .LBB298:
|
|
|
|
|
1476 .LBB299:
|
|
|
|
|
1422:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1477 .loc 2 1422 0
|
|
|
|
|
1478 0000 044B ldr r3, .L111
|
|
|
|
|
1479 0002 DA68 ldr r2, [r3, #12]
|
|
|
|
|
1480 .LBE299:
|
|
|
|
|
1481 .LBE298:
|
|
|
|
|
602:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1482 .loc 1 602 0
|
|
|
|
|
1483 0004 D20A lsrs r2, r2, #11
|
|
|
|
|
1484 0006 0723 movs r3, #7
|
|
|
|
|
1485 0008 1340 ands r3, r2
|
|
|
|
|
1486 000a 034A ldr r2, .L111+4
|
|
|
|
|
1487 000c D35C ldrb r3, [r2, r3]
|
|
|
|
|
1488 000e D840 lsrs r0, r0, r3
|
|
|
|
|
1489 .LVL121:
|
|
|
|
|
603:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c ****
|
|
|
|
|
1490 .loc 1 603 0
|
|
|
|
|
1491 @ sp needed
|
|
|
|
|
1492 0010 7047 bx lr
|
|
|
|
|
1493 .L112:
|
|
|
|
|
1494 0012 C046 .align 2
|
|
|
|
|
1495 .L111:
|
|
|
|
|
1496 0014 00100240 .word 1073876992
|
|
|
|
|
1497 0018 00000000 .word APBPrescTable
|
|
|
|
|
1498 .cfi_endproc
|
|
|
|
|
1499 .LFE186:
|
|
|
|
|
1501 .section .text.RCC_PLL_GetFreqDomain_SYS,"ax",%progbits
|
|
|
|
|
1502 .align 1
|
|
|
|
|
1503 .global RCC_PLL_GetFreqDomain_SYS
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 81
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1504 .syntax unified
|
|
|
|
|
1505 .code 16
|
|
|
|
|
1506 .thumb_func
|
|
|
|
|
1507 .fpu softvfp
|
|
|
|
|
1509 RCC_PLL_GetFreqDomain_SYS:
|
|
|
|
|
1510 .LFB187:
|
|
|
|
|
610:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** uint32_t pllinputfreq = 0U, pllsource = 0U;
|
|
|
|
|
1511 .loc 1 610 0
|
|
|
|
|
1512 .cfi_startproc
|
|
|
|
|
1513 @ args = 0, pretend = 0, frame = 0
|
|
|
|
|
1514 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
|
|
1515 0000 10B5 push {r4, lr}
|
|
|
|
|
1516 .LCFI7:
|
|
|
|
|
1517 .cfi_def_cfa_offset 8
|
|
|
|
|
1518 .cfi_offset 4, -8
|
|
|
|
|
1519 .cfi_offset 14, -4
|
|
|
|
|
1520 .LVL122:
|
|
|
|
|
1521 .LBB300:
|
|
|
|
|
1522 .LBB301:
|
|
|
|
|
1878:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1523 .loc 2 1878 0
|
|
|
|
|
1524 0002 0D4B ldr r3, .L117
|
|
|
|
|
1525 0004 DB68 ldr r3, [r3, #12]
|
|
|
|
|
1526 0006 8022 movs r2, #128
|
|
|
|
|
1527 0008 5202 lsls r2, r2, #9
|
|
|
|
|
1528 000a 1340 ands r3, r2
|
|
|
|
|
1529 .LVL123:
|
|
|
|
|
1530 .LBE301:
|
|
|
|
|
1531 .LBE300:
|
|
|
|
|
618:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** {
|
|
|
|
|
1532 .loc 1 618 0
|
|
|
|
|
1533 000c 9342 cmp r3, r2
|
|
|
|
|
1534 000e 01D0 beq .L116
|
|
|
|
|
621:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
1535 .loc 1 621 0
|
|
|
|
|
1536 0010 0A48 ldr r0, .L117+4
|
|
|
|
|
1537 0012 00E0 b .L115
|
|
|
|
|
1538 .L116:
|
|
|
|
|
625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** break;
|
|
|
|
|
1539 .loc 1 625 0
|
|
|
|
|
1540 0014 0A48 ldr r0, .L117+8
|
|
|
|
|
1541 .L115:
|
|
|
|
|
1542 .LVL124:
|
|
|
|
|
1543 .LBB302:
|
|
|
|
|
1544 .LBB303:
|
|
|
|
|
1897:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** }
|
|
|
|
|
1545 .loc 2 1897 0
|
|
|
|
|
1546 0016 0849 ldr r1, .L117
|
|
|
|
|
1547 0018 CA68 ldr r2, [r1, #12]
|
|
|
|
|
1548 .LBE303:
|
|
|
|
|
1549 .LBE302:
|
|
|
|
|
1550 .loc 1 632 0
|
|
|
|
|
1551 001a 920C lsrs r2, r2, #18
|
|
|
|
|
1552 001c 0F23 movs r3, #15
|
|
|
|
|
1553 001e 1340 ands r3, r2
|
|
|
|
|
1554 0020 084A ldr r2, .L117+12
|
|
|
|
|
1555 0022 D35C ldrb r3, [r2, r3]
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 82
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1556 0024 5843 muls r0, r3
|
|
|
|
|
1557 .LVL125:
|
|
|
|
|
1558 .LBB304:
|
|
|
|
|
1559 .LBB305:
|
|
|
|
|
1560 .loc 2 1910 0
|
|
|
|
|
1561 0026 CB68 ldr r3, [r1, #12]
|
|
|
|
|
1562 .LBE305:
|
|
|
|
|
1563 .LBE304:
|
|
|
|
|
1564 .loc 1 632 0
|
|
|
|
|
1565 0028 9B0D lsrs r3, r3, #22
|
|
|
|
|
1566 002a 0321 movs r1, #3
|
|
|
|
|
1567 002c 1940 ands r1, r3
|
|
|
|
|
1568 002e 0131 adds r1, r1, #1
|
|
|
|
|
1569 0030 FFF7FEFF bl __aeabi_uidiv
|
|
|
|
|
1570 .LVL126:
|
|
|
|
|
633:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_rcc.c **** }
|
|
|
|
|
1571 .loc 1 633 0
|
|
|
|
|
1572 @ sp needed
|
|
|
|
|
1573 0034 10BD pop {r4, pc}
|
|
|
|
|
1574 .L118:
|
|
|
|
|
1575 0036 C046 .align 2
|
|
|
|
|
1576 .L117:
|
|
|
|
|
1577 0038 00100240 .word 1073876992
|
|
|
|
|
1578 003c 0024F400 .word 16000000
|
|
|
|
|
1579 0040 00127A00 .word 8000000
|
|
|
|
|
1580 0044 00000000 .word PLLMulTable
|
|
|
|
|
1581 .cfi_endproc
|
|
|
|
|
1582 .LFE187:
|
|
|
|
|
1584 .text
|
|
|
|
|
1585 .Letext0:
|
|
|
|
|
1586 .file 4 "/usr/arm-none-eabi/include/machine/_default_types.h"
|
|
|
|
|
1587 .file 5 "/usr/arm-none-eabi/include/sys/_stdint.h"
|
|
|
|
|
1588 .file 6 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h"
|
|
|
|
|
1589 .file 7 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h"
|
|
|
|
|
1590 .file 8 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h"
|
|
|
|
|
1591 .file 9 "/usr/arm-none-eabi/include/sys/lock.h"
|
|
|
|
|
1592 .file 10 "/usr/arm-none-eabi/include/sys/_types.h"
|
|
|
|
|
1593 .file 11 "/usr/lib/gcc/arm-none-eabi/7.2.0/include/stddef.h"
|
|
|
|
|
1594 .file 12 "/usr/arm-none-eabi/include/sys/reent.h"
|
|
|
|
|
ARM GAS /tmp/cc0YOhsX.s page 83
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DEFINED SYMBOLS
|
|
|
|
|
*ABS*:0000000000000000 stm32l0xx_ll_rcc.c
|
|
|
|
|
/tmp/cc0YOhsX.s:16 .text.LL_RCC_DeInit:0000000000000000 $t
|
|
|
|
|
/tmp/cc0YOhsX.s:23 .text.LL_RCC_DeInit:0000000000000000 LL_RCC_DeInit
|
|
|
|
|
/tmp/cc0YOhsX.s:161 .text.LL_RCC_DeInit:000000000000006c $d
|
|
|
|
|
/tmp/cc0YOhsX.s:173 .text.LL_RCC_GetUSBClockFreq:0000000000000000 $t
|
|
|
|
|
/tmp/cc0YOhsX.s:180 .text.LL_RCC_GetUSBClockFreq:0000000000000000 LL_RCC_GetUSBClockFreq
|
|
|
|
|
/tmp/cc0YOhsX.s:302 .text.LL_RCC_GetUSBClockFreq:000000000000005c $d
|
|
|
|
|
/tmp/cc0YOhsX.s:311 .text.RCC_GetSystemClockFreq:0000000000000000 $t
|
|
|
|
|
/tmp/cc0YOhsX.s:318 .text.RCC_GetSystemClockFreq:0000000000000000 RCC_GetSystemClockFreq
|
|
|
|
|
/tmp/cc0YOhsX.s:471 .text.RCC_GetSystemClockFreq:0000000000000080 $d
|
|
|
|
|
/tmp/cc0YOhsX.s:479 .text.LL_RCC_GetSystemClocksFreq:0000000000000000 $t
|
|
|
|
|
/tmp/cc0YOhsX.s:486 .text.LL_RCC_GetSystemClocksFreq:0000000000000000 LL_RCC_GetSystemClocksFreq
|
|
|
|
|
/tmp/cc0YOhsX.s:575 .text.LL_RCC_GetSystemClocksFreq:000000000000003c $d
|
|
|
|
|
/tmp/cc0YOhsX.s:582 .text.LL_RCC_GetUSARTClockFreq:0000000000000000 $t
|
|
|
|
|
/tmp/cc0YOhsX.s:589 .text.LL_RCC_GetUSARTClockFreq:0000000000000000 LL_RCC_GetUSARTClockFreq
|
|
|
|
|
/tmp/cc0YOhsX.s:835 .text.LL_RCC_GetUSARTClockFreq:00000000000000d8 $d
|
|
|
|
|
/tmp/cc0YOhsX.s:849 .text.LL_RCC_GetI2CClockFreq:0000000000000000 $t
|
|
|
|
|
/tmp/cc0YOhsX.s:856 .text.LL_RCC_GetI2CClockFreq:0000000000000000 LL_RCC_GetI2CClockFreq
|
|
|
|
|
/tmp/cc0YOhsX.s:1065 .text.LL_RCC_GetI2CClockFreq:00000000000000b8 $d
|
|
|
|
|
/tmp/cc0YOhsX.s:1077 .text.LL_RCC_GetLPUARTClockFreq:0000000000000000 $t
|
|
|
|
|
/tmp/cc0YOhsX.s:1084 .text.LL_RCC_GetLPUARTClockFreq:0000000000000000 LL_RCC_GetLPUARTClockFreq
|
|
|
|
|
/tmp/cc0YOhsX.s:1208 .text.LL_RCC_GetLPUARTClockFreq:000000000000006c $d
|
|
|
|
|
/tmp/cc0YOhsX.s:1216 .text.LL_RCC_GetLPTIMClockFreq:0000000000000000 $t
|
|
|
|
|
/tmp/cc0YOhsX.s:1223 .text.LL_RCC_GetLPTIMClockFreq:0000000000000000 LL_RCC_GetLPTIMClockFreq
|
|
|
|
|
/tmp/cc0YOhsX.s:1367 .text.LL_RCC_GetLPTIMClockFreq:0000000000000080 $d
|
|
|
|
|
/tmp/cc0YOhsX.s:1376 .text.RCC_GetHCLKClockFreq:0000000000000000 $t
|
|
|
|
|
/tmp/cc0YOhsX.s:1383 .text.RCC_GetHCLKClockFreq:0000000000000000 RCC_GetHCLKClockFreq
|
|
|
|
|
/tmp/cc0YOhsX.s:1412 .text.RCC_GetHCLKClockFreq:0000000000000014 $d
|
|
|
|
|
/tmp/cc0YOhsX.s:1418 .text.RCC_GetPCLK1ClockFreq:0000000000000000 $t
|
|
|
|
|
/tmp/cc0YOhsX.s:1425 .text.RCC_GetPCLK1ClockFreq:0000000000000000 RCC_GetPCLK1ClockFreq
|
|
|
|
|
/tmp/cc0YOhsX.s:1454 .text.RCC_GetPCLK1ClockFreq:0000000000000014 $d
|
|
|
|
|
/tmp/cc0YOhsX.s:1460 .text.RCC_GetPCLK2ClockFreq:0000000000000000 $t
|
|
|
|
|
/tmp/cc0YOhsX.s:1467 .text.RCC_GetPCLK2ClockFreq:0000000000000000 RCC_GetPCLK2ClockFreq
|
|
|
|
|
/tmp/cc0YOhsX.s:1496 .text.RCC_GetPCLK2ClockFreq:0000000000000014 $d
|
|
|
|
|
/tmp/cc0YOhsX.s:1502 .text.RCC_PLL_GetFreqDomain_SYS:0000000000000000 $t
|
|
|
|
|
/tmp/cc0YOhsX.s:1509 .text.RCC_PLL_GetFreqDomain_SYS:0000000000000000 RCC_PLL_GetFreqDomain_SYS
|
|
|
|
|
/tmp/cc0YOhsX.s:1577 .text.RCC_PLL_GetFreqDomain_SYS:0000000000000038 $d
|
|
|
|
|
.debug_frame:0000000000000010 $d
|
|
|
|
|
|
|
|
|
|
UNDEFINED SYMBOLS
|
|
|
|
|
__aeabi_uidiv
|
|
|
|
|
PLLMulTable
|
|
|
|
|
AHBPrescTable
|
|
|
|
|
APBPrescTable
|