ARM GAS /tmp/ccFUt0tx.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_utils.c" 12 .text 13 .Ltext0: 14 .cfi_sections .debug_frame 15 .section .text.UTILS_SetFlashLatency,"ax",%progbits 16 .align 1 17 .syntax unified 18 .code 16 19 .thumb_func 20 .fpu softvfp 22 UTILS_SetFlashLatency: 23 .LFB276: 24 .file 1 "./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c" 1:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 2:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ****************************************************************************** 3:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @file stm32l0xx_ll_utils.c 4:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @author MCD Application Team 5:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @brief UTILS LL module driver. 6:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ****************************************************************************** 7:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @attention 8:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * 9:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** *

© COPYRIGHT(c) 2016 STMicroelectronics

10:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * 11:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * Redistribution and use in source and binary forms, with or without modification, 12:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * are permitted provided that the following conditions are met: 13:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * 1. Redistributions of source code must retain the above copyright notice, 14:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * this list of conditions and the following disclaimer. 15:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * 2. Redistributions in binary form must reproduce the above copyright notice, 16:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * this list of conditions and the following disclaimer in the documentation 17:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * and/or other materials provided with the distribution. 18:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 19:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * may be used to endorse or promote products derived from this software 20:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * without specific prior written permission. 21:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * 22:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 26:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * 33:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ****************************************************************************** 34:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ ARM GAS /tmp/ccFUt0tx.s page 2 35:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Includes ------------------------------------------------------------------*/ 36:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #include "stm32l0xx_ll_rcc.h" 37:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #include "stm32l0xx_ll_utils.h" 38:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #include "stm32l0xx_ll_system.h" 39:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #include "stm32l0xx_ll_pwr.h" 40:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 41:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** @addtogroup STM32L0xx_LL_Driver 42:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @{ 43:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 44:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 45:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** @addtogroup UTILS_LL 46:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @{ 47:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 48:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 49:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Private types -------------------------------------------------------------*/ 50:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Private variables ---------------------------------------------------------*/ 51:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Private constants ---------------------------------------------------------*/ 52:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** @addtogroup UTILS_LL_Private_Constants 53:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @{ 54:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 55:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define UTILS_MAX_FREQUENCY_SCALE1 ((uint32_t)32000000U) /*!< Maximum frequency for system 56:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define UTILS_MAX_FREQUENCY_SCALE2 ((uint32_t)16000000U) /*!< Maximum frequency for system 57:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define UTILS_MAX_FREQUENCY_SCALE3 ((uint32_t)4000000U) /*!< Maximum frequency for system 58:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 59:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Defines used for PLL range */ 60:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define UTILS_PLLVCO_OUTPUT_SCALE1 ((uint32_t)96000000U) /*!< Frequency max for PLLVCO outp 61:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define UTILS_PLLVCO_OUTPUT_SCALE2 ((uint32_t)48000000U) /*!< Frequency max for PLLVCO outp 62:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define UTILS_PLLVCO_OUTPUT_SCALE3 ((uint32_t)24000000U) /*!< Frequency max for PLLVCO outp 63:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 64:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Defines used for HSE range */ 65:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define UTILS_HSE_FREQUENCY_MIN ((uint32_t)1000000U) /*!< Frequency min for HSE frequen 66:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define UTILS_HSE_FREQUENCY_MAX ((uint32_t)24000000U) /*!< Frequency max for HSE frequen 67:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 68:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Defines used for FLASH latency according to HCLK Frequency */ 69:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define UTILS_SCALE1_LATENCY1_FREQ ((uint32_t)16000000U) /*!< HCLK frequency to set FLASH l 70:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define UTILS_SCALE2_LATENCY1_FREQ ((uint32_t)8000000U) /*!< HCLK frequency to set FLASH l 71:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define UTILS_SCALE3_LATENCY1_FREQ ((uint32_t)2000000U) /*!< HCLK frequency to set FLASH l 72:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 73:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @} 74:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 75:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Private macros ------------------------------------------------------------*/ 76:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** @addtogroup UTILS_LL_Private_Macros 77:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @{ 78:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 79:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define IS_LL_UTILS_SYSCLK_DIV(__VALUE__) (((__VALUE__) == LL_RCC_SYSCLK_DIV_1) \ 80:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_SYSCLK_DIV_2) \ 81:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_SYSCLK_DIV_4) \ 82:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_SYSCLK_DIV_8) \ 83:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_SYSCLK_DIV_16) \ 84:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_SYSCLK_DIV_64) \ 85:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_SYSCLK_DIV_128) \ 86:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_SYSCLK_DIV_256) \ 87:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_SYSCLK_DIV_512)) 88:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 89:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define IS_LL_UTILS_APB1_DIV(__VALUE__) (((__VALUE__) == LL_RCC_APB1_DIV_1) \ 90:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_APB1_DIV_2) \ 91:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_APB1_DIV_4) \ ARM GAS /tmp/ccFUt0tx.s page 3 92:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_APB1_DIV_8) \ 93:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_APB1_DIV_16)) 94:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 95:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define IS_LL_UTILS_APB2_DIV(__VALUE__) (((__VALUE__) == LL_RCC_APB2_DIV_1) \ 96:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_APB2_DIV_2) \ 97:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_APB2_DIV_4) \ 98:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_APB2_DIV_8) \ 99:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_APB2_DIV_16)) 100:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 101:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define IS_LL_UTILS_PLLMUL_VALUE(__VALUE__) (((__VALUE__) == LL_RCC_PLL_MUL_3) \ 102:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_PLL_MUL_4) \ 103:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_PLL_MUL_6) \ 104:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_PLL_MUL_8) \ 105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_PLL_MUL_12) \ 106:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_PLL_MUL_16) \ 107:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_PLL_MUL_24) \ 108:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_PLL_MUL_32) \ 109:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__VALUE__) == LL_RCC_PLL_MUL_48)) 110:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 111:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define IS_LL_UTILS_PLLDIV_VALUE(__VALUE__) (((__VALUE__) == LL_RCC_PLL_DIV_2) || ((__VALUE__) == L 112:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ((__VALUE__) == LL_RCC_PLL_DIV_4)) 113:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define IS_LL_UTILS_PLLVCO_OUTPUT(__VALUE__) ((LL_PWR_GetRegulVoltageScaling() == LL_PWR_REGU_VOLTA 115:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ((LL_PWR_GetRegulVoltageScaling() == LL_PWR_REGU_VOLTA 116:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ((__VALUE__) <= UTILS_PLLVCO_OUTPUT_SCALE3))) 117:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 118:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define IS_LL_UTILS_PLL_FREQUENCY(__VALUE__) ((LL_PWR_GetRegulVoltageScaling() == LL_PWR_REGU_VOLTA 119:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ((LL_PWR_GetRegulVoltageScaling() == LL_PWR_REGU_VOLTA 120:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ((__VALUE__) <= UTILS_MAX_FREQUENCY_SCALE3))) 121:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 122:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define IS_LL_UTILS_HSE_BYPASS(__STATE__) (((__STATE__) == LL_UTILS_HSEBYPASS_ON) \ 123:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** || ((__STATE__) == LL_UTILS_HSEBYPASS_OFF)) 124:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 125:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** #define IS_LL_UTILS_HSE_FREQUENCY(__FREQUENCY__) (((__FREQUENCY__) >= UTILS_HSE_FREQUENCY_MIN) && ( 126:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 127:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @} 128:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 129:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Private function prototypes -----------------------------------------------*/ 130:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** @defgroup UTILS_LL_Private_Functions UTILS Private functions 131:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @{ 132:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 133:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** static uint32_t UTILS_GetPLLOutputFrequency(uint32_t PLL_InputFrequency, 134:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct); 135:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** static ErrorStatus UTILS_SetFlashLatency(uint32_t Frequency); 136:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** static ErrorStatus UTILS_EnablePLLAndSwitchSystem(uint32_t SYSCLK_Frequency, LL_UTILS_ClkInitTypeDe 137:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** static ErrorStatus UTILS_PLL_IsBusy(void); 138:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 139:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @} 140:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 141:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 142:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Exported functions --------------------------------------------------------*/ 143:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** @addtogroup UTILS_LL_Exported_Functions 144:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @{ 145:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 146:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 147:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** @addtogroup UTILS_LL_EF_DELAY 148:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @{ ARM GAS /tmp/ccFUt0tx.s page 4 149:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 150:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 151:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 152:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @brief This function configures the Cortex-M SysTick source to have 1ms time base. 153:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @note When a RTOS is used, it is recommended to avoid changing the Systick 154:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * configuration by calling this function, for a delay use rather osDelay RTOS service. 155:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @param HCLKFrequency HCLK frequency in Hz 156:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @note HCLK frequency can be calculated thanks to RCC helper macro or function @ref LL_RCC_Get 157:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @retval None 158:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 159:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** void LL_Init1msTick(uint32_t HCLKFrequency) 160:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 161:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Use frequency provided in argument */ 162:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_InitTick(HCLKFrequency, 1000U); 163:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 164:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 165:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 166:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @brief This function provides accurate delay (in milliseconds) based 167:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * on SysTick counter flag 168:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @note When a RTOS is used, it is recommended to avoid using blocking delay 169:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * and use rather osDelay service. 170:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @note To respect 1ms timebase, user should call @ref LL_Init1msTick function which 171:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * will configure Systick to 1ms 172:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @param Delay specifies the delay time length, in milliseconds. 173:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @retval None 174:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 175:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** void LL_mDelay(uint32_t Delay) 176:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 177:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** __IO uint32_t tmp = SysTick->CTRL; /* Clear the COUNTFLAG first */ 178:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Add this code to indicate that local variable is not used */ 179:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ((void)tmp); 180:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 181:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Add a period to guaranty minimum wait */ 182:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (Delay < LL_MAX_DELAY) 183:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 184:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** Delay++; 185:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 186:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 187:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** while (Delay) 188:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 189:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if ((SysTick->CTRL & SysTick_CTRL_COUNTFLAG_Msk) != 0U) 190:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 191:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** Delay--; 192:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 193:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 194:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 195:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 196:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 197:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @} 198:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 199:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 200:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** @addtogroup UTILS_EF_SYSTEM 201:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @brief System Configuration functions 202:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * 203:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** @verbatim 204:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** =============================================================================== 205:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ##### System Configuration functions ##### ARM GAS /tmp/ccFUt0tx.s page 5 206:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** =============================================================================== 207:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** [..] 208:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** System, AHB and APB buses clocks configuration 209:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 210:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** (+) The maximum frequency of the SYSCLK, HCLK, PCLK1 and PCLK2 is 32000000 Hz. 211:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** @endverbatim 212:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** @internal 213:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** Depending on the device voltage range, the maximum frequency should be 214:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** adapted accordingly: 215:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** (++) +----------------------------------------------------------------+ 216:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** (++) | Wait states | HCLK clock frequency (MHz) | 217:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** (++) | |------------------------------------------------| 218:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** (++) | (Latency) | voltage range | voltage range | 219:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** (++) | | 1.65 V - 3.6 V | 2.0 V - 3.6 V | 220:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** (++) | |----------------|---------------|---------------| 221:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** (++) | | VCORE = 1.2 V | VCORE = 1.5 V | VCORE = 1.8 V | 222:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** (++) |-------------- |----------------|---------------|---------------| 223:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** (++) |0WS(1CPU cycle)|0 < HCLK <= 2 |0 < HCLK <= 8 |0 < HCLK <= 16 | 224:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** (++) |---------------|----------------|---------------|---------------| 225:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** (++) |1WS(2CPU cycle)|2 < HCLK <= 4 |8 < HCLK <= 16 |16 < HCLK <= 32| 226:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** (++) +----------------------------------------------------------------+ 227:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** @endinternal 228:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @{ 229:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 230:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 231:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 232:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @brief This function sets directly SystemCoreClock CMSIS variable. 233:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @note Variable can be calculated also through SystemCoreClockUpdate function. 234:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @param HCLKFrequency HCLK frequency in Hz (can be calculated thanks to RCC helper macro) 235:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @retval None 236:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 237:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** void LL_SetSystemCoreClock(uint32_t HCLKFrequency) 238:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 239:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* HCLK clock frequency */ 240:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** SystemCoreClock = HCLKFrequency; 241:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 242:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 243:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 244:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @brief This function configures system clock with HSI as clock source of the PLL 245:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @note The application need to ensure that PLL is disabled. 246:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @note Function is based on the following formula: 247:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - PLL output frequency = ((HSI frequency * PLLMul) / PLLDiv) 248:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - PLLMul: The application software must set correctly the PLL multiplication factor to 249:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - 96 MHz as PLLVCO when the product is in range 1, 250:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - 48 MHz as PLLVCO when the product is in range 2, 251:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - 24 MHz when the product is in range 3 252:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @note FLASH latency can be modified through this function. 253:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @param UTILS_PLLInitStruct pointer to a @ref LL_UTILS_PLLInitTypeDef structure that contains 254:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * the configuration information for the PLL. 255:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @param UTILS_ClkInitStruct pointer to a @ref LL_UTILS_ClkInitTypeDef structure that contains 256:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * the configuration information for the BUS prescalers. 257:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @retval An ErrorStatus enumeration value: 258:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - SUCCESS: Max frequency configuration done 259:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - ERROR: Max frequency configuration not done 260:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 261:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ErrorStatus LL_PLL_ConfigSystemClock_HSI(LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct, 262:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_UTILS_ClkInitTypeDef *UTILS_ClkInitStruct) ARM GAS /tmp/ccFUt0tx.s page 6 263:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 264:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ErrorStatus status = SUCCESS; 265:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** uint32_t pllfreq = 0U; 266:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 267:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Check if one of the PLL is enabled */ 268:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (UTILS_PLL_IsBusy() == SUCCESS) 269:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 270:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Calculate the new PLL output frequency */ 271:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** pllfreq = UTILS_GetPLLOutputFrequency(HSI_VALUE, UTILS_PLLInitStruct); 272:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 273:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Enable HSI if not enabled */ 274:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (LL_RCC_HSI_IsReady() != 1U) 275:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 276:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_RCC_HSI_Enable(); 277:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** while (LL_RCC_HSI_IsReady() != 1U) 278:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 279:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Wait for HSI ready */ 280:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 281:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 282:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 283:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Configure PLL */ 284:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_RCC_PLL_ConfigDomain_SYS(LL_RCC_PLLSOURCE_HSI, UTILS_PLLInitStruct->PLLMul, UTILS_PLLInitStr 285:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 286:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Enable PLL and switch system clock to PLL */ 287:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** status = UTILS_EnablePLLAndSwitchSystem(pllfreq, UTILS_ClkInitStruct); 288:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 289:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** else 290:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 291:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Current PLL configuration cannot be modified */ 292:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** status = ERROR; 293:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 294:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 295:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** return status; 296:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 297:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 298:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 299:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @brief This function configures system clock with HSE as clock source of the PLL 300:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @note The application need to ensure that PLL is disabled. 301:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @note Function is based on the following formula: 302:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - PLL output frequency = ((HSE frequency * PLLMul) / PLLDiv) 303:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - PLLMul: The application software must set correctly the PLL multiplication factor to 304:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - 96 MHz as PLLVCO when the product is in range 1, 305:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - 48 MHz as PLLVCO when the product is in range 2, 306:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - 24 MHz when the product is in range 3 307:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @note FLASH latency can be modified through this function. 308:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @param HSEFrequency Value between Min_Data = 1000000 and Max_Data = 24000000 309:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @param HSEBypass This parameter can be one of the following values: 310:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @arg @ref LL_UTILS_HSEBYPASS_ON 311:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @arg @ref LL_UTILS_HSEBYPASS_OFF 312:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @param UTILS_PLLInitStruct pointer to a @ref LL_UTILS_PLLInitTypeDef structure that contains 313:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * the configuration information for the PLL. 314:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @param UTILS_ClkInitStruct pointer to a @ref LL_UTILS_ClkInitTypeDef structure that contains 315:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * the configuration information for the BUS prescalers. 316:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @retval An ErrorStatus enumeration value: 317:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - SUCCESS: Max frequency configuration done 318:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - ERROR: Max frequency configuration not done 319:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ ARM GAS /tmp/ccFUt0tx.s page 7 320:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ErrorStatus LL_PLL_ConfigSystemClock_HSE(uint32_t HSEFrequency, uint32_t HSEBypass, 321:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct, LL_UTILS_Clk 322:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 323:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ErrorStatus status = SUCCESS; 324:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** uint32_t pllfreq = 0U; 325:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 326:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Check the parameters */ 327:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** assert_param(IS_LL_UTILS_HSE_FREQUENCY(HSEFrequency)); 328:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** assert_param(IS_LL_UTILS_HSE_BYPASS(HSEBypass)); 329:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 330:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Check if one of the PLL is enabled */ 331:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (UTILS_PLL_IsBusy() == SUCCESS) 332:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 333:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Calculate the new PLL output frequency */ 334:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** pllfreq = UTILS_GetPLLOutputFrequency(HSEFrequency, UTILS_PLLInitStruct); 335:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 336:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Enable HSE if not enabled */ 337:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (LL_RCC_HSE_IsReady() != 1U) 338:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 339:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Check if need to enable HSE bypass feature or not */ 340:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (HSEBypass == LL_UTILS_HSEBYPASS_ON) 341:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 342:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_RCC_HSE_EnableBypass(); 343:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 344:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** else 345:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 346:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_RCC_HSE_DisableBypass(); 347:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 348:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 349:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Enable HSE */ 350:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_RCC_HSE_Enable(); 351:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** while (LL_RCC_HSE_IsReady() != 1U) 352:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 353:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Wait for HSE ready */ 354:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 355:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 356:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 357:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Configure PLL */ 358:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_RCC_PLL_ConfigDomain_SYS(LL_RCC_PLLSOURCE_HSE, UTILS_PLLInitStruct->PLLMul, UTILS_PLLInitS 359:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 360:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Enable PLL and switch system clock to PLL */ 361:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** status = UTILS_EnablePLLAndSwitchSystem(pllfreq, UTILS_ClkInitStruct); 362:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 363:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** else 364:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 365:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Current PLL configuration cannot be modified */ 366:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** status = ERROR; 367:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 368:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 369:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** return status; 370:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 371:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 372:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 373:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @} 374:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 375:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 376:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** ARM GAS /tmp/ccFUt0tx.s page 8 377:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @} 378:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 379:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 380:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** @addtogroup UTILS_LL_Private_Functions 381:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @{ 382:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 383:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 384:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @brief Update number of Flash wait states in line with new frequency and current 385:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** voltage range. 386:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @param Frequency HCLK frequency 387:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @retval An ErrorStatus enumeration value: 388:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - SUCCESS: Latency has been modified 389:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - ERROR: Latency cannot be modified 390:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 391:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** static ErrorStatus UTILS_SetFlashLatency(uint32_t Frequency) 392:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 25 .loc 1 392 0 26 .cfi_startproc 27 @ args = 0, pretend = 0, frame = 0 28 @ frame_needed = 0, uses_anonymous_args = 0 29 @ link register save eliminated. 30 .LVL0: 393:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ErrorStatus status = SUCCESS; 394:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 395:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ 396:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 397:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Frequency cannot be equal to 0 */ 398:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (Frequency == 0U) 31 .loc 1 398 0 32 0000 0028 cmp r0, #0 33 0002 33D0 beq .L6 34 .LBB62: 35 .LBB63: 36 .file 2 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h" 1:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 2:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** ****************************************************************************** 3:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @file stm32l0xx_ll_pwr.h 4:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @author MCD Application Team 5:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @brief Header file of PWR LL module. 6:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** ****************************************************************************** 7:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @attention 8:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * 9:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** *

© COPYRIGHT(c) 2016 STMicroelectronics

10:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * 11:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * Redistribution and use in source and binary forms, with or without modification, 12:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * are permitted provided that the following conditions are met: 13:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * 1. Redistributions of source code must retain the above copyright notice, 14:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * this list of conditions and the following disclaimer. 15:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * 2. Redistributions in binary form must reproduce the above copyright notice, 16:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * this list of conditions and the following disclaimer in the documentation 17:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * and/or other materials provided with the distribution. 18:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 19:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * may be used to endorse or promote products derived from this software 20:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * without specific prior written permission. 21:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * 22:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ARM GAS /tmp/ccFUt0tx.s page 9 24:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 26:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * 33:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** ****************************************************************************** 34:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 35:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 36:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 37:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #ifndef __STM32L0xx_LL_PWR_H 38:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define __STM32L0xx_LL_PWR_H 39:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 40:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #ifdef __cplusplus 41:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** extern "C" { 42:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #endif 43:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 44:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /* Includes ------------------------------------------------------------------*/ 45:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #include "stm32l0xx.h" 46:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 47:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @addtogroup STM32L0xx_LL_Driver 48:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 49:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 50:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 51:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #if defined(PWR) 52:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 53:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @defgroup PWR_LL PWR 54:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 55:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 56:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 57:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /* Private types -------------------------------------------------------------*/ 58:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /* Private variables ---------------------------------------------------------*/ 59:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /* Private constants ---------------------------------------------------------*/ 60:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /* Private macros ------------------------------------------------------------*/ 61:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /* Exported types ------------------------------------------------------------*/ 62:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /* Exported constants --------------------------------------------------------*/ 63:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @defgroup PWR_LL_Exported_Constants PWR Exported Constants 64:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 65:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 66:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 67:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @defgroup PWR_LL_EC_CLEAR_FLAG Clear Flags Defines 68:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @brief Flags defines which can be used with LL_PWR_WriteReg function 69:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 70:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 71:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_CR_CSBF PWR_CR_CSBF /*!< Clear standby flag */ 72:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_CR_CWUF PWR_CR_CWUF /*!< Clear wakeup flag */ 73:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 74:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @} 75:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 76:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 77:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @defgroup PWR_LL_EC_GET_FLAG Get Flags Defines 78:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @brief Flags defines which can be used with LL_PWR_ReadReg function 79:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 80:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ ARM GAS /tmp/ccFUt0tx.s page 10 81:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_CSR_WUF PWR_CSR_WUF /*!< Wakeup flag */ 82:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_CSR_SBF PWR_CSR_SBF /*!< Standby flag */ 83:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #if defined(PWR_PVD_SUPPORT) 84:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_CSR_PVDO PWR_CSR_PVDO /*!< Power voltage detector outpu 85:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #endif /* PWR_PVD_SUPPORT */ 86:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #if defined(PWR_CSR_VREFINTRDYF) 87:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_CSR_VREFINTRDYF PWR_CSR_VREFINTRDYF /*!< VREFINT ready flag */ 88:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #endif /* PWR_CSR_VREFINTRDYF */ 89:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_CSR_VOS PWR_CSR_VOSF /*!< Voltage scaling select flag 90:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_CSR_REGLPF PWR_CSR_REGLPF /*!< Regulator low power flag */ 91:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_CSR_EWUP1 PWR_CSR_EWUP1 /*!< Enable WKUP pin 1 */ 92:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_CSR_EWUP2 PWR_CSR_EWUP2 /*!< Enable WKUP pin 2 */ 93:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #if defined(PWR_CSR_EWUP3) 94:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_CSR_EWUP3 PWR_CSR_EWUP3 /*!< Enable WKUP pin 3 */ 95:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #endif /* PWR_CSR_EWUP3 */ 96:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 97:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @} 98:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 99:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @defgroup PWR_LL_EC_REGU_VOLTAGE Regulator Voltage 101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_REGU_VOLTAGE_SCALE1 (PWR_CR_VOS_0) /*!< 1.8V (range 1) */ 104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_REGU_VOLTAGE_SCALE2 (PWR_CR_VOS_1) /*!< 1.5V (range 2) */ 105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_REGU_VOLTAGE_SCALE3 (PWR_CR_VOS_0 | PWR_CR_VOS_1) /*!< 1.2V (range 3) */ 106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @} 108:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 109:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 110:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @defgroup PWR_LL_EC_MODE_PWR Mode Power 111:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 112:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 113:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_MODE_STOP 0x00000000U /*!< Enter Stop mode w 114:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_MODE_STANDBY (PWR_CR_PDDS) /*!< Enter Standby mod 115:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 116:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @} 117:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 118:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 119:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @defgroup PWR_LL_EC_REGU_MODE_LP_MODES Regulator Mode In Low Power Modes 120:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 121:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 122:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_REGU_LPMODES_MAIN 0x00000000U /*!< Voltage regulator in main mode d 123:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_REGU_LPMODES_LOW_POWER (PWR_CR_LPSDSR) /*!< Voltage regulator in low-power m 124:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 125:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @} 126:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 127:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #if defined(PWR_CR_LPDS) 128:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @defgroup PWR_LL_EC_REGU_MODE_DS_MODE Regulator Mode In Deep Sleep Mode 129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 130:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 131:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_REGU_DSMODE_MAIN 0x00000000U /*!< Voltage regulator in main mode du 132:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_REGU_DSMODE_LOW_POWER (PWR_CR_LPDS) /*!< Voltage regulator in low-power mo 133:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 134:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @} 135:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 136:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #endif /* PWR_CR_LPDS */ 137:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** ARM GAS /tmp/ccFUt0tx.s page 11 138:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #if defined(PWR_PVD_SUPPORT) 139:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @defgroup PWR_LL_EC_PVDLEVEL Power Voltage Detector Level 140:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 141:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 142:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_PVDLEVEL_0 (PWR_CR_PLS_LEV0) /*!< Voltage threshold detected b 143:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_PVDLEVEL_1 (PWR_CR_PLS_LEV1) /*!< Voltage threshold detected b 144:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_PVDLEVEL_2 (PWR_CR_PLS_LEV2) /*!< Voltage threshold detected b 145:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_PVDLEVEL_3 (PWR_CR_PLS_LEV3) /*!< Voltage threshold detected b 146:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_PVDLEVEL_4 (PWR_CR_PLS_LEV4) /*!< Voltage threshold detected b 147:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_PVDLEVEL_5 (PWR_CR_PLS_LEV5) /*!< Voltage threshold detected b 148:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_PVDLEVEL_6 (PWR_CR_PLS_LEV6) /*!< Voltage threshold detected b 149:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_PVDLEVEL_7 (PWR_CR_PLS_LEV7) /*!< External input analog voltag 150:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 151:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @} 152:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 153:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #endif /* PWR_PVD_SUPPORT */ 154:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @defgroup PWR_LL_EC_WAKEUP_PIN Wakeup Pins 155:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 156:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 157:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_WAKEUP_PIN1 (PWR_CSR_EWUP1) /*!< WKUP pin 1 : PA0 */ 158:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_WAKEUP_PIN2 (PWR_CSR_EWUP2) /*!< WKUP pin 2 : PC13 */ 159:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #if defined(PWR_CSR_EWUP3) 160:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_WAKEUP_PIN3 (PWR_CSR_EWUP3) /*!< WKUP pin 3 : PE6 or PA2 acco 161:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #endif /* PWR_CSR_EWUP3 */ 162:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 163:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @} 164:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 165:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 166:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 167:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @} 168:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 169:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 170:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 171:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /* Exported macro ------------------------------------------------------------*/ 172:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @defgroup PWR_LL_Exported_Macros PWR Exported Macros 173:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 174:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 175:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 176:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @defgroup PWR_LL_EM_WRITE_READ Common write and read registers Macros 177:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 178:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 179:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 180:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 181:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @brief Write a value in PWR register 182:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @param __REG__ Register to be written 183:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @param __VALUE__ Value to be written in the register 184:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @retval None 185:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 186:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_WriteReg(__REG__, __VALUE__) WRITE_REG(PWR->__REG__, (__VALUE__)) 187:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 188:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 189:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @brief Read a value in PWR register 190:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @param __REG__ Register to be read 191:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @retval Register value 192:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 193:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** #define LL_PWR_ReadReg(__REG__) READ_REG(PWR->__REG__) 194:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** ARM GAS /tmp/ccFUt0tx.s page 12 195:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @} 196:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 197:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 198:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 199:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @} 200:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 201:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 202:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /* Exported functions --------------------------------------------------------*/ 203:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @defgroup PWR_LL_Exported_Functions PWR Exported Functions 204:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 205:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 206:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 207:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** @defgroup PWR_LL_EF_Configuration Configuration 208:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @{ 209:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 210:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 211:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @brief Switch the regulator from main mode to low-power mode 212:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @rmtoll CR LPRUN LL_PWR_EnableLowPowerRunMode 213:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @note Remind to set the regulator to low power before enabling 214:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * LowPower run mode (bit @ref LL_PWR_REGU_LPMODES_LOW_POWER). 215:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @retval None 216:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 217:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** __STATIC_INLINE void LL_PWR_EnableLowPowerRunMode(void) 218:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** { 219:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** SET_BIT(PWR->CR, PWR_CR_LPRUN); 220:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** } 221:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 222:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 223:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @brief Switch the regulator from low-power mode to main mode 224:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @rmtoll CR LPRUN LL_PWR_DisableLowPowerRunMode 225:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @retval None 226:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 227:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** __STATIC_INLINE void LL_PWR_DisableLowPowerRunMode(void) 228:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** { 229:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** CLEAR_BIT(PWR->CR, PWR_CR_LPRUN); 230:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** } 231:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 232:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 233:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @brief Check if the regulator is in low-power mode 234:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @rmtoll CR LPRUN LL_PWR_IsEnabledLowPowerRunMode 235:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @retval State of bit (1 or 0). 236:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 237:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** __STATIC_INLINE uint32_t LL_PWR_IsEnabledLowPowerRunMode(void) 238:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** { 239:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** return (READ_BIT(PWR->CR, PWR_CR_LPRUN) == (PWR_CR_LPRUN)); 240:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** } 241:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 242:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 243:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @brief Set voltage regulator to low-power and switch from 244:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * run main mode to run low-power mode. 245:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @rmtoll CR LPSDSR LL_PWR_EnterLowPowerRunMode\n 246:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * CR LPRUN LL_PWR_EnterLowPowerRunMode 247:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @note This "high level" function is introduced to provide functional 248:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * compatibility with other families. Notice that the two registers 249:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * have to be written sequentially, so this function is not atomic. 250:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * To assure atomicity you can call separately the following functions: 251:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * - @ref LL_PWR_SetRegulModeLP(@ref LL_PWR_REGU_LPMODES_LOW_POWER); ARM GAS /tmp/ccFUt0tx.s page 13 252:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * - @ref LL_PWR_EnableLowPowerRunMode(); 253:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @retval None 254:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 255:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** __STATIC_INLINE void LL_PWR_EnterLowPowerRunMode(void) 256:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** { 257:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** SET_BIT(PWR->CR, PWR_CR_LPSDSR); /* => LL_PWR_SetRegulModeLP(LL_PWR_REGU_LPMODES_LOW_POWER) */ 258:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** SET_BIT(PWR->CR, PWR_CR_LPRUN); /* => LL_PWR_EnableLowPowerRunMode() */ 259:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** } 260:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 261:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 262:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @brief Set voltage regulator to main and switch from 263:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * run main mode to low-power mode. 264:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @rmtoll CR LPSDSR LL_PWR_ExitLowPowerRunMode\n 265:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * CR LPRUN LL_PWR_ExitLowPowerRunMode 266:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @note This "high level" function is introduced to provide functional 267:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * compatibility with other families. Notice that the two registers 268:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * have to be written sequentially, so this function is not atomic. 269:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * To assure atomicity you can call separately the following functions: 270:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * - @ref LL_PWR_DisableLowPowerRunMode(); 271:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * - @ref LL_PWR_SetRegulModeLP(@ref LL_PWR_REGU_LPMODES_MAIN); 272:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @retval None 273:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 274:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** __STATIC_INLINE void LL_PWR_ExitLowPowerRunMode(void) 275:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** { 276:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** CLEAR_BIT(PWR->CR, PWR_CR_LPRUN); /* => LL_PWR_DisableLowPowerRunMode() */ 277:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** CLEAR_BIT(PWR->CR, PWR_CR_LPSDSR); /* => LL_PWR_SetRegulModeLP(LL_PWR_REGU_LPMODES_MAIN) */ 278:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** } 279:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 280:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @brief Set the main internal regulator output voltage 281:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @rmtoll CR VOS LL_PWR_SetRegulVoltageScaling 282:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @param VoltageScaling This parameter can be one of the following values: 283:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @arg @ref LL_PWR_REGU_VOLTAGE_SCALE1 284:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @arg @ref LL_PWR_REGU_VOLTAGE_SCALE2 285:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @arg @ref LL_PWR_REGU_VOLTAGE_SCALE3 286:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @retval None 287:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 288:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** __STATIC_INLINE void LL_PWR_SetRegulVoltageScaling(uint32_t VoltageScaling) 289:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** { 290:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** MODIFY_REG(PWR->CR, PWR_CR_VOS, VoltageScaling); 291:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** } 292:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** 293:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** /** 294:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @brief Get the main internal regulator output voltage 295:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @rmtoll CR VOS LL_PWR_GetRegulVoltageScaling 296:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @retval Returned value can be one of the following values: 297:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @arg @ref LL_PWR_REGU_VOLTAGE_SCALE1 298:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @arg @ref LL_PWR_REGU_VOLTAGE_SCALE2 299:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** * @arg @ref LL_PWR_REGU_VOLTAGE_SCALE3 300:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** */ 301:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** __STATIC_INLINE uint32_t LL_PWR_GetRegulVoltageScaling(void) 302:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** { 303:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_pwr.h **** return (uint32_t)(READ_BIT(PWR->CR, PWR_CR_VOS)); 37 .loc 2 303 0 38 0004 1A4B ldr r3, .L14 39 0006 1B68 ldr r3, [r3] 40 0008 C022 movs r2, #192 41 000a 5201 lsls r2, r2, #5 ARM GAS /tmp/ccFUt0tx.s page 14 42 000c 1340 ands r3, r2 43 .LBE63: 44 .LBE62: 399:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 400:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** status = ERROR; 401:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 402:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** else 403:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 404:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (LL_PWR_GetRegulVoltageScaling() == LL_PWR_REGU_VOLTAGE_SCALE1) 45 .loc 1 404 0 46 000e 8022 movs r2, #128 47 0010 1201 lsls r2, r2, #4 48 0012 9342 cmp r3, r2 49 0014 18D0 beq .L11 50 .LBB64: 51 .LBB65: 52 .loc 2 303 0 53 0016 164B ldr r3, .L14 54 0018 1B68 ldr r3, [r3] 55 001a C022 movs r2, #192 56 001c 5201 lsls r2, r2, #5 57 001e 1340 ands r3, r2 58 .LBE65: 59 .LBE64: 405:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 406:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (Frequency > UTILS_SCALE1_LATENCY1_FREQ) 407:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 408:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* 16 < HCLK <= 32 => 1WS (2 CPU cycles) */ 409:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** latency = LL_FLASH_LATENCY_1; 410:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 411:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* else HCLK < 16MHz default LL_FLASH_LATENCY_0 0WS */ 412:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 413:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** else if (LL_PWR_GetRegulVoltageScaling() == LL_PWR_REGU_VOLTAGE_SCALE2) 60 .loc 1 413 0 61 0020 8022 movs r2, #128 62 0022 5201 lsls r2, r2, #5 63 0024 9342 cmp r3, r2 64 0026 14D0 beq .L12 414:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 415:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (Frequency > UTILS_SCALE2_LATENCY1_FREQ) 416:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 417:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* 8 < HCLK <= 16 => 1WS (2 CPU cycles) */ 418:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** latency = LL_FLASH_LATENCY_1; 419:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 420:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* else HCLK < 8MHz default LL_FLASH_LATENCY_0 0WS */ 421:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 422:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** else 423:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 424:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (Frequency > UTILS_SCALE3_LATENCY1_FREQ) 65 .loc 1 424 0 66 0028 124B ldr r3, .L14+4 67 002a 9842 cmp r0, r3 68 002c 1AD8 bhi .L9 395:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 69 .loc 1 395 0 70 002e 0020 movs r0, #0 71 .LVL1: ARM GAS /tmp/ccFUt0tx.s page 15 72 .L4: 73 .LBB66: 74 .LBB67: 75 .file 3 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h" 1:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 2:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** ****************************************************************************** 3:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @file stm32l0xx_ll_system.h 4:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @author MCD Application Team 5:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Header file of SYSTEM LL module. 6:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** @verbatim 7:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** ============================================================================== 8:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** ##### How to use this driver ##### 9:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** ============================================================================== 10:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** [..] 11:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** The LL SYSTEM driver contains a set of generic APIs that can be 12:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** used by user: 13:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** (+) Some of the FLASH features need to be handled in the SYSTEM file. 14:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** (+) Access to DBGCMU registers 15:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** (+) Access to SYSCFG registers 16:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 17:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** @endverbatim 18:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** ****************************************************************************** 19:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @attention 20:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 21:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** *

© COPYRIGHT(c) 2016 STMicroelectronics

22:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 23:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * Redistribution and use in source and binary forms, with or without modification, 24:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * are permitted provided that the following conditions are met: 25:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 1. Redistributions of source code must retain the above copyright notice, 26:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * this list of conditions and the following disclaimer. 27:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 2. Redistributions in binary form must reproduce the above copyright notice, 28:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * this list of conditions and the following disclaimer in the documentation 29:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * and/or other materials provided with the distribution. 30:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 31:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * may be used to endorse or promote products derived from this software 32:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * without specific prior written permission. 33:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 34:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 35:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 36:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 37:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 38:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 39:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 40:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 41:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 42:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 43:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 44:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 45:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** ****************************************************************************** 46:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 47:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 48:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 49:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #ifndef __STM32L0xx_LL_SYSTEM_H 50:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define __STM32L0xx_LL_SYSTEM_H 51:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 52:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #ifdef __cplusplus 53:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** extern "C" { ARM GAS /tmp/ccFUt0tx.s page 16 54:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif 55:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 56:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /* Includes ------------------------------------------------------------------*/ 57:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #include "stm32l0xx.h" 58:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 59:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @addtogroup STM32L0xx_LL_Driver 60:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 61:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 62:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 63:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined (FLASH) || defined (SYSCFG) || defined (DBGMCU) 64:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 65:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL SYSTEM 66:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 67:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 68:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 69:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /* Private types -------------------------------------------------------------*/ 70:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /* Private variables ---------------------------------------------------------*/ 71:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 72:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /* Private constants ---------------------------------------------------------*/ 73:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_Private_Constants SYSTEM Private Constants 74:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 75:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 76:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 77:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /* Defines used for position in the register */ 78:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define DBGMCU_REVID_POSITION (uint32_t)16U 79:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 80:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 81:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Power-down in Run mode Flash key 82:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 83:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define FLASH_PDKEY1 ((uint32_t)0x04152637U) /*!< Flash power down key1 */ 84:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define FLASH_PDKEY2 ((uint32_t)0xFAFBFCFDU) /*!< Flash power down key2: used with 85:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** to unlock the RUN_PD bit in FLAS 86:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 87:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 88:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 89:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 90:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 91:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /* Private macros ------------------------------------------------------------*/ 92:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 93:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /* Exported types ------------------------------------------------------------*/ 94:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /* Exported constants --------------------------------------------------------*/ 95:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_Exported_Constants SYSTEM Exported Constants 96:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 97:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 98:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 99:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_EC_REMAP SYSCFG Memory Remap 100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_REMAP_FLASH (uint32_t)0x00000000U /* 103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_REMAP_SYSTEMFLASH SYSCFG_CFGR1_MEM_MODE_0 /* 104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_REMAP_SRAM (SYSCFG_CFGR1_MEM_MODE_1 | SYSCFG_CFGR1_MEM_MODE_0) /* 105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 108:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 109:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 110:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(SYSCFG_CFGR1_UFB) ARM GAS /tmp/ccFUt0tx.s page 17 111:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_EC_BANKMODE SYSCFG Bank Mode 112:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 113:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 114:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_BANKMODE_BANK1 (uint32_t)0x00000000U /*!< Flash Bank1 mapped at 0x0 115:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** Flash Bank2 mapped at 0x0 116:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** Data EEPROM Bank1 mapped 117:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** Data EEPROM Bank2 mapped 118:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_BANKMODE_BANK2 SYSCFG_CFGR1_UFB /*!< Flash Bank2 mapped at 0x0 119:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** Flash Bank1 mapped at 0x0 120:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** Data EEPROM Bank2 mapped 121:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** Data EEPROM Bank1 mapped 122:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 123:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 124:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 125:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 126:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /* SYSCFG_CFGR1_UFB */ 127:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 128:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_EC_BOOTMODE SYSCFG Boot Mode 129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 130:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 131:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_BOOTMODE_FLASH (uint32_t)0x00000000U /* 132:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_BOOTMODE_SYSTEMFLASH SYSCFG_CFGR1_BOOT_MODE_0 /* 133:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_BOOTMODE_SRAM (SYSCFG_CFGR1_BOOT_MODE_1 | SYSCFG_CFGR1_BOOT_MODE_0) /* 134:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 135:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 136:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 137:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 138:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 139:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(SYSCFG_CFGR2_CAPA) 140:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_EC_CFGR2 SYSCFG VLCD Rail Connection 141:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 142:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 143:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 144:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_CAPA_VLCD2_PB2 SYSCFG_CFGR2_CAPA_0 /*!< Connect PB2 pin to LCD_V 145:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_CAPA_VLCD1_PB12 SYSCFG_CFGR2_CAPA_1 /*!< Connect PB12 pin to LCD_V 146:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_CAPA_VLCD3_PB0 SYSCFG_CFGR2_CAPA_2 /*!< Connect PB0 pin to LCD_V 147:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined (SYSCFG_CFGR2_CAPA_3) 148:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_CAPA_VLCD1_PE11 SYSCFG_CFGR2_CAPA_3 /*!< Connect PE11 pin to LCD_V 149:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /* SYSCFG_CFGR2_CAPA_3 */ 150:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined (SYSCFG_CFGR2_CAPA_4) 151:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_CAPA_VLCD3_PE12 SYSCFG_CFGR2_CAPA_4 /*!< Connect PE12 pin to LCD_V 152:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /* SYSCFG_CFGR2_CAPA_4 */ 153:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 154:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 155:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 156:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /* SYSCFG_CFGR2_CAPA */ 157:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 158:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_EC_I2C_FASTMODEPLUS SYSCFG I2C FASTMODEPLUS 159:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 160:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 161:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_I2C_FASTMODEPLUS_PB6 SYSCFG_CFGR2_I2C_PB6_FMP /*!< Enable Fast Mode Plus on 162:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_I2C_FASTMODEPLUS_PB7 SYSCFG_CFGR2_I2C_PB7_FMP /*!< Enable Fast Mode Plus on 163:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_I2C_FASTMODEPLUS_PB8 SYSCFG_CFGR2_I2C_PB8_FMP /*!< Enable Fast Mode Plus on 164:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_I2C_FASTMODEPLUS_PB9 SYSCFG_CFGR2_I2C_PB9_FMP /*!< Enable Fast Mode Plus on 165:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_I2C_FASTMODEPLUS_I2C1 SYSCFG_CFGR2_I2C1_FMP /*!< Enable Fast Mode Plus on 166:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(SYSCFG_CFGR2_I2C2_FMP) 167:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_I2C_FASTMODEPLUS_I2C2 SYSCFG_CFGR2_I2C2_FMP /*!< Enable Fast Mode Plus on ARM GAS /tmp/ccFUt0tx.s page 18 168:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /* SYSCFG_CFGR2_I2C2_FMP */ 169:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(SYSCFG_CFGR2_I2C3_FMP) 170:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_I2C_FASTMODEPLUS_I2C3 SYSCFG_CFGR2_I2C3_FMP /*!< Enable Fast Mode Plus on 171:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /* SYSCFG_CFGR2_I2C3_FMP */ 172:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 173:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 174:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 175:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 176:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_VREFINT_CONTROL SYSCFG VREFINT Control 177:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 178:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 179:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_VREFINT_CONNECT_NONE (uint32_t)0x00000000U /*!< No pad connect 180:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_VREFINT_CONNECT_IO1 SYSCFG_CFGR3_VREF_OUT_0 /*!< PB0 connected 181:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_VREFINT_CONNECT_IO2 SYSCFG_CFGR3_VREF_OUT_1 /*!< PB1 connected 182:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_VREFINT_CONNECT_IO1_IO2 (SYSCFG_CFGR3_VREF_OUT_0 | SYSCFG_CFGR3_VREF_OUT_1) 183:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 184:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 185:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 186:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 187:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_EC_EXTI_PORT SYSCFG EXTI Port 188:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 189:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 190:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_PORTA (uint32_t)0U /*!< EXTI PORT A */ 191:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_PORTB (uint32_t)1U /*!< EXTI PORT B */ 192:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_PORTC (uint32_t)2U /*!< EXTI PORT C */ 193:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(GPIOD_BASE) 194:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_PORTD (uint32_t)3U /*!< EXTI PORT D */ 195:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /*GPIOD_BASE*/ 196:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(GPIOE_BASE) 197:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_PORTE (uint32_t)4U /*!< EXTI PORT E */ 198:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /*GPIOE_BASE*/ 199:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(GPIOH_BASE) 200:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_PORTH (uint32_t)5U /*!< EXTI PORT H */ 201:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /*GPIOH_BASE*/ 202:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 203:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 204:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 205:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 206:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_EC_EXTI_LINE SYSCFG EXTI Line 207:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 208:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 209:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE0 (uint32_t)(0U << 16U | 0U) /*!< EXTI_POSITION_0 | EXT 210:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE1 (uint32_t)(4U << 16U | 0U) /*!< EXTI_POSITION_4 | EXT 211:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE2 (uint32_t)(8U << 16U | 0U) /*!< EXTI_POSITION_8 | EXT 212:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE3 (uint32_t)(12U << 16U | 0U) /*!< EXTI_POSITION_12 | EXT 213:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE4 (uint32_t)(0U << 16U | 1U) /*!< EXTI_POSITION_0 | EXT 214:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE5 (uint32_t)(4U << 16U | 1U) /*!< EXTI_POSITION_4 | EXT 215:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE6 (uint32_t)(8U << 16U | 1U) /*!< EXTI_POSITION_8 | EXT 216:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE7 (uint32_t)(12U << 16U | 1U) /*!< EXTI_POSITION_12 | EXT 217:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE8 (uint32_t)(0U << 16U | 2U) /*!< EXTI_POSITION_0 | EXT 218:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE9 (uint32_t)(4U << 16U | 2U) /*!< EXTI_POSITION_4 | EXT 219:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE10 (uint32_t)(8U << 16U | 2U) /*!< EXTI_POSITION_8 | EXT 220:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE11 (uint32_t)(12U << 16U | 2U) /*!< EXTI_POSITION_12 | EXT 221:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE12 (uint32_t)(0U << 16U | 3U) /*!< EXTI_POSITION_0 | EXT 222:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE13 (uint32_t)(4U << 16U | 3U) /*!< EXTI_POSITION_4 | EXT 223:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE14 (uint32_t)(8U << 16U | 3U) /*!< EXTI_POSITION_8 | EXT 224:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_SYSCFG_EXTI_LINE15 (uint32_t)(12U << 16U | 3U) /*!< EXTI_POSITION_12 | EXT ARM GAS /tmp/ccFUt0tx.s page 19 225:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 226:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 227:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 228:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 229:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 230:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 231:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_EC_APB1_GRP1_STOP_IP DBGMCU APB1 GRP1 STOP IP 232:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 233:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 234:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_DBGMCU_APB1_GRP1_TIM2_STOP DBGMCU_APB1_FZ_DBG_TIM2_STOP /*!< TIM2 counter stoppe 235:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(TIM3) 236:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_DBGMCU_APB1_GRP1_TIM3_STOP DBGMCU_APB1_FZ_DBG_TIM3_STOP /*!< TIM3 counter stoppe 237:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /*TIM3*/ 238:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(TIM6) 239:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_DBGMCU_APB1_GRP1_TIM6_STOP DBGMCU_APB1_FZ_DBG_TIM6_STOP /*!< TIM6 counter stoppe 240:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /*TIM6*/ 241:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(TIM7) 242:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_DBGMCU_APB1_GRP1_TIM7_STOP DBGMCU_APB1_FZ_DBG_TIM7_STOP /*!< TIM7 counter stoppe 243:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /*TIM7*/ 244:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_DBGMCU_APB1_GRP1_RTC_STOP DBGMCU_APB1_FZ_DBG_RTC_STOP /*!< RTC Calendar frozen 245:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_DBGMCU_APB1_GRP1_WWDG_STOP DBGMCU_APB1_FZ_DBG_WWDG_STOP /*!< Debug Window Watchd 246:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_DBGMCU_APB1_GRP1_IWDG_STOP DBGMCU_APB1_FZ_DBG_IWDG_STOP /*!< Debug Independent W 247:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_DBGMCU_APB1_GRP1_I2C1_STOP DBGMCU_APB1_FZ_DBG_I2C1_STOP /*!< I2C1 SMBUS timeout 248:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(I2C2) 249:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_DBGMCU_APB1_GRP1_I2C2_STOP DBGMCU_APB1_FZ_DBG_I2C2_STOP /*!< I2C2 SMBUS timeout 250:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /*I2C2*/ 251:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(I2C3) 252:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_DBGMCU_APB1_GRP1_I2C3_STOP DBGMCU_APB1_FZ_DBG_I2C3_STOP /*!< I2C3 SMBUS timeout 253:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /*I2C3*/ 254:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_DBGMCU_APB1_GRP1_LPTIM1_STOP DBGMCU_APB1_FZ_DBG_LPTIMER_STOP /*!< LPTIM1 counter stop 255:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 256:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 257:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 258:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 259:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_EC_APB2_GRP1_STOP_IP DBGMCU APB2 GRP1 STOP IP 260:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 261:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 262:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(TIM22) 263:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_DBGMCU_APB2_GRP1_TIM22_STOP DBGMCU_APB2_FZ_DBG_TIM22_STOP /*!< TIM22 counter stopped 264:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /*TIM22*/ 265:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_DBGMCU_APB2_GRP1_TIM21_STOP DBGMCU_APB2_FZ_DBG_TIM21_STOP /*!< TIM21 counter stopped 266:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 267:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 268:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 269:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 270:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_EC_LATENCY FLASH LATENCY 271:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 272:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 273:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_FLASH_LATENCY_0 ((uint32_t)0x00000000U) /*!< FLASH Zero Latency cycle */ 274:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #define LL_FLASH_LATENCY_1 FLASH_ACR_LATENCY /*!< FLASH One Latency cycle */ 275:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 276:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 277:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 278:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 279:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 280:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 281:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ ARM GAS /tmp/ccFUt0tx.s page 20 282:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 283:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /* Exported macro ------------------------------------------------------------*/ 284:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 285:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /* Exported functions --------------------------------------------------------*/ 286:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_Exported_Functions SYSTEM Exported Functions 287:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 288:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 289:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 290:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_EF_SYSCFG SYSCFG 291:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 292:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 293:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 294:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 295:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Set memory mapping at address 0x00000000 296:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR1 MEM_MODE LL_SYSCFG_SetRemapMemory 297:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @param Memory This parameter can be one of the following values: 298:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_REMAP_FLASH 299:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_REMAP_SYSTEMFLASH 300:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_REMAP_SRAM 301:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 302:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 303:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_SetRemapMemory(uint32_t Memory) 304:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 305:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** MODIFY_REG(SYSCFG->CFGR1, SYSCFG_CFGR1_MEM_MODE, Memory); 306:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 307:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 308:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 309:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Get memory mapping at address 0x00000000 310:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR1 MEM_MODE LL_SYSCFG_GetRemapMemory 311:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval Returned value can be one of the following values: 312:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_REMAP_FLASH 313:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_REMAP_SYSTEMFLASH 314:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_REMAP_SRAM 315:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 316:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE uint32_t LL_SYSCFG_GetRemapMemory(void) 317:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 318:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** return (uint32_t)(READ_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_MEM_MODE)); 319:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 320:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 321:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(SYSCFG_CFGR1_UFB) 322:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 323:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Select Flash bank mode (Bank flashed at 0x08000000) 324:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR1 UFB LL_SYSCFG_SetFlashBankMode 325:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @param Bank This parameter can be one of the following values: 326:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_BANKMODE_BANK1 327:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_BANKMODE_BANK2 328:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 329:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 330:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_SetFlashBankMode(uint32_t Bank) 331:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 332:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** MODIFY_REG(SYSCFG->CFGR1, SYSCFG_CFGR1_UFB, Bank); 333:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 334:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 335:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 336:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Get Flash bank mode (Bank flashed at 0x08000000) 337:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR1 UFB LL_SYSCFG_GetFlashBankMode 338:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval Returned value can be one of the following values: ARM GAS /tmp/ccFUt0tx.s page 21 339:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_BANKMODE_BANK1 340:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_BANKMODE_BANK2 341:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 342:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE uint32_t LL_SYSCFG_GetFlashBankMode(void) 343:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 344:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** return (uint32_t)(READ_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_UFB)); 345:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 346:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif /* SYSCFG_CFGR1_UFB */ 347:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 348:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 349:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Get Boot mode selected by the boot pins status bits 350:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @note It indicates the boot mode selected by the boot pins. Bit 9 351:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * corresponds to the complement of nBOOT1 bit in the FLASH_OPTR register. 352:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * Its value is defined in the option bytes. Bit 8 corresponds to the 353:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * value sampled on the BOOT0 pin. 354:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR1 BOOT_MODE LL_SYSCFG_GetBootMode 355:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval Returned value can be one of the following values: 356:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_BOOTMODE_FLASH 357:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_BOOTMODE_SYSTEMFLASH 358:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_BOOTMODE_SRAM 359:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 360:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE uint32_t LL_SYSCFG_GetBootMode(void) 361:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 362:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** return (uint32_t)(READ_BIT(SYSCFG->CFGR1, SYSCFG_CFGR1_BOOT_MODE)); 363:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 364:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 365:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 366:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Firewall protection enabled 367:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR2 FWDIS LL_SYSCFG_EnableFirewall 368:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 369:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 370:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_EnableFirewall(void) 371:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 372:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** CLEAR_BIT(SYSCFG->CFGR2, SYSCFG_CFGR2_FWDISEN); 373:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 374:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 375:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 376:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Check if Firewall protection is enabled or not 377:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR2 FWDIS LL_SYSCFG_IsEnabledFirewall 378:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval State of bit (1 or 0). 379:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 380:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE uint32_t LL_SYSCFG_IsEnabledFirewall(void) 381:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 382:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** return !(READ_BIT(SYSCFG->CFGR2, SYSCFG_CFGR2_FWDISEN) == SYSCFG_CFGR2_FWDISEN); 383:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 384:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 385:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined(SYSCFG_CFGR2_CAPA) 386:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 387:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Set VLCD rail connection to optional external capacitor 388:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @note One to three external capacitors can be connected to pads to do 389:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * VLCD biasing. 390:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * - LCD_VLCD1 rail can be connected to PB12 or PE11(*), 391:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * - LCD_VLCD2 rail can be connected to PB2, 392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * - LCD_VLCD3 rail can be connected to PB0 or PE12(*) 393:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR2 CAPA LL_SYSCFG_SetVLCDRailConnection 394:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @param IoPinConnect This parameter can be a combination of the following values: 395:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_CAPA_VLCD1_PB12 ARM GAS /tmp/ccFUt0tx.s page 22 396:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_CAPA_VLCD1_PE11(*) 397:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_CAPA_VLCD2_PB2 398:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_CAPA_VLCD3_PB0 399:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_CAPA_VLCD3_PE12(*) 400:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 401:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * (*) value not defined in all devices 402:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 403:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 404:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_SetVLCDRailConnection(uint32_t IoPinConnect) 405:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 406:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** MODIFY_REG(SYSCFG->CFGR2, SYSCFG_CFGR2_CAPA, IoPinConnect); 407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 408:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 409:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 410:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 411:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Get VLCD rail connection configuration 412:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @note One to three external capacitors can be connected to pads to do 413:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * VLCD biasing. 414:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * - LCD_VLCD1 rail can be connected to PB12 or PE11(*), 415:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * - LCD_VLCD2 rail can be connected to PB2, 416:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * - LCD_VLCD3 rail can be connected to PB0 or PE12(*) 417:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR2 CAPA LL_SYSCFG_GetVLCDRailConnection 418:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval Returned value can be a combination of the following values: 419:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_CAPA_VLCD1_PB12 420:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_CAPA_VLCD1_PE11(*) 421:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_CAPA_VLCD2_PB2 422:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_CAPA_VLCD3_PB0 423:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_CAPA_VLCD3_PE12(*) 424:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 425:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * (*) value not defined in all devices 426:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 427:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE uint32_t LL_SYSCFG_GetVLCDRailConnection(void) 428:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 429:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** return (uint32_t)(READ_BIT(SYSCFG->CFGR2, SYSCFG_CFGR2_CAPA)); 430:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 431:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif 432:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 433:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 434:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Enable the I2C fast mode plus driving capability. 435:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR2 I2C_PBx_FMP LL_SYSCFG_EnableFastModePlus\n 436:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_CFGR2 I2Cx_FMP LL_SYSCFG_EnableFastModePlus 437:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @param ConfigFastModePlus This parameter can be a combination of the following values: 438:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_I2C_FASTMODEPLUS_PB6 439:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_I2C_FASTMODEPLUS_PB7 440:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_I2C_FASTMODEPLUS_PB8 441:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_I2C_FASTMODEPLUS_PB9 442:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_I2C_FASTMODEPLUS_I2C1 443:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_I2C_FASTMODEPLUS_I2C2 (*) 444:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_I2C_FASTMODEPLUS_I2C3 (*) 445:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 446:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * (*) value not defined in all devices 447:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 448:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 449:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_EnableFastModePlus(uint32_t ConfigFastModePlus) 450:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 451:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** SET_BIT(SYSCFG->CFGR2, ConfigFastModePlus); 452:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } ARM GAS /tmp/ccFUt0tx.s page 23 453:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 454:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 455:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Disable the I2C fast mode plus driving capability. 456:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR2 I2C_PBx_FMP LL_SYSCFG_DisableFastModePlus\n 457:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_CFGR2 I2Cx_FMP LL_SYSCFG_DisableFastModePlus 458:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @param ConfigFastModePlus This parameter can be a combination of the following values: 459:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_I2C_FASTMODEPLUS_PB6 460:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_I2C_FASTMODEPLUS_PB7 461:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_I2C_FASTMODEPLUS_PB8 462:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_I2C_FASTMODEPLUS_PB9 463:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_I2C_FASTMODEPLUS_I2C1 464:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_I2C_FASTMODEPLUS_I2C2 (*) 465:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_I2C_FASTMODEPLUS_I2C3 (*) 466:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 467:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * (*) value not defined in all devices 468:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 469:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 470:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_DisableFastModePlus(uint32_t ConfigFastModePlus) 471:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 472:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** CLEAR_BIT(SYSCFG->CFGR2, ConfigFastModePlus); 473:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 474:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 475:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 476:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Select which pad is connected to VREFINT_ADC 477:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR3 SEL_VREF_OUT LL_SYSCFG_VREFINT_SetConnection 478:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @param IoPinConnect This parameter can be one of the following values: 479:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_VREFINT_CONNECT_NONE 480:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_VREFINT_CONNECT_IO1 481:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_VREFINT_CONNECT_IO2 482:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_VREFINT_CONNECT_IO1_IO2 483:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 484:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 485:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_VREFINT_SetConnection(uint32_t IoPinConnect) 486:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 487:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** MODIFY_REG(SYSCFG->CFGR3, SYSCFG_CFGR3_VREF_OUT, IoPinConnect); 488:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 489:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 490:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 491:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Get pad connection to VREFINT_ADC 492:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR3 SEL_VREF_OUT LL_SYSCFG_VREFINT_GetConnection 493:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval Returned value can be one of the following values: 494:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_VREFINT_CONNECT_NONE 495:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_VREFINT_CONNECT_IO1 496:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_VREFINT_CONNECT_IO2 497:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_VREFINT_CONNECT_IO1_IO2 498:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 499:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE uint32_t LL_SYSCFG_VREFINT_GetConnection(void) 500:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 501:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** return (uint32_t)(READ_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_VREF_OUT)); 502:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 503:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 504:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 505:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Buffer used to generate VREFINT reference for ADC enable 506:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @note The VrefInit buffer to ADC through internal path is also 507:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * enabled using function LL_ADC_SetCommonPathInternalCh() 508:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * with parameter LL_ADC_PATH_INTERNAL_VREFINT 509:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR3 ENBUF_VREFINT_ADC LL_SYSCFG_VREFINT_EnableADC ARM GAS /tmp/ccFUt0tx.s page 24 510:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 511:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 512:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_VREFINT_EnableADC(void) 513:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 514:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** SET_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUF_VREFINT_ADC); 515:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 516:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 517:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 518:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Buffer used to generate VREFINT reference for ADC disable 519:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR3 ENBUF_VREFINT_ADC LL_SYSCFG_VREFINT_DisableADC 520:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 521:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 522:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_VREFINT_DisableADC(void) 523:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 524:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** CLEAR_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUF_VREFINT_ADC); 525:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 526:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 527:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 528:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Buffer used to generate temperature sensor reference for ADC enable 529:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR3 ENBUF_SENSOR_ADC LL_SYSCFG_TEMPSENSOR_Enable 530:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 531:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 532:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_TEMPSENSOR_Enable(void) 533:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 534:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** SET_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUF_SENSOR_ADC); 535:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 536:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 537:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 538:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Buffer used to generate temperature sensor reference for ADC disable 539:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR3 ENBUF_SENSOR_ADC LL_SYSCFG_TEMPSENSOR_Disable 540:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 541:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 542:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_TEMPSENSOR_Disable(void) 543:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 544:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** CLEAR_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUF_SENSOR_ADC); 545:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 546:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 547:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 548:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Buffer used to generate VREFINT reference for comparator enable 549:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR3 ENBUF_VREFINT_COMP LL_SYSCFG_VREFINT_EnableCOMP 550:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 551:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 552:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_VREFINT_EnableCOMP(void) 553:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 554:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** SET_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUFLP_VREFINT_COMP); 555:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 556:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 557:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 558:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Buffer used to generate VREFINT reference for comparator disable 559:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR3 ENBUF_VREFINT_COMP LL_SYSCFG_VREFINT_DisableCOMP 560:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 561:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 562:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_VREFINT_DisableCOMP(void) 563:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 564:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** CLEAR_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENBUFLP_VREFINT_COMP); 565:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 566:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** ARM GAS /tmp/ccFUt0tx.s page 25 567:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #if defined (RCC_HSI48_SUPPORT) 568:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 569:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Buffer used to generate VREFINT reference for HSI48 oscillator enable 570:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR3 ENREF_HSI48 LL_SYSCFG_VREFINT_EnableHSI48 571:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 572:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 573:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_VREFINT_EnableHSI48(void) 574:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 575:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** SET_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENREF_HSI48); 576:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 577:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 578:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 579:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Buffer used to generate VREFINT reference for HSI48 oscillator disable 580:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR3 ENREF_HSI48 LL_SYSCFG_VREFINT_DisableHSI48 581:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 582:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 583:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_VREFINT_DisableHSI48(void) 584:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 585:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** CLEAR_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_ENREF_HSI48); 586:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 587:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** #endif 588:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 589:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 590:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Check if VREFINT is ready or not 591:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @note When set, it indicates that VREFINT is available for BOR, PVD and LCD 592:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR3 VREFINT_RDYF LL_SYSCFG_VREFINT_IsReady 593:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval State of bit (1 or 0). 594:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 595:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE uint32_t LL_SYSCFG_VREFINT_IsReady(void) 596:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 597:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** return (READ_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_VREFINT_RDYF) == SYSCFG_CFGR3_VREFINT_RDYF); 598:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 599:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 600:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 601:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Lock the whole content of SYSCFG_CFGR3 register 602:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @note After SYSCFG_CFGR3 register lock, only read access available. 603:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * Only system hardware reset unlocks SYSCFG_CFGR3 register. 604:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR3 REF_LOCK LL_SYSCFG_VREFINT_Lock 605:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 606:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 607:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_VREFINT_Lock(void) 608:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 609:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** SET_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_REF_LOCK); 610:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 611:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 612:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Check if SYSCFG_CFGR3 register is locked (only read access) or not 614:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @note When set, it indicates that SYSCFG_CFGR3 register is locked, only read access available 615:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_CFGR3 REF_LOCK LL_SYSCFG_VREFINT_IsLocked 616:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval State of bit (1 or 0). 617:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 618:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE uint32_t LL_SYSCFG_VREFINT_IsLocked(void) 619:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 620:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** return (READ_BIT(SYSCFG->CFGR3, SYSCFG_CFGR3_REF_LOCK) == SYSCFG_CFGR3_REF_LOCK); 621:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 622:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 623:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** ARM GAS /tmp/ccFUt0tx.s page 26 624:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Configure source input for the EXTI external interrupt. 625:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_EXTICR1 EXTI0 LL_SYSCFG_SetEXTISource\n 626:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR1 EXTI1 LL_SYSCFG_SetEXTISource\n 627:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR1 EXTI2 LL_SYSCFG_SetEXTISource\n 628:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR1 EXTI3 LL_SYSCFG_SetEXTISource\n 629:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR2 EXTI4 LL_SYSCFG_SetEXTISource\n 630:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR2 EXTI5 LL_SYSCFG_SetEXTISource\n 631:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR2 EXTI6 LL_SYSCFG_SetEXTISource\n 632:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR2 EXTI7 LL_SYSCFG_SetEXTISource\n 633:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR3 EXTI8 LL_SYSCFG_SetEXTISource\n 634:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR3 EXTI9 LL_SYSCFG_SetEXTISource\n 635:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR3 EXTI10 LL_SYSCFG_SetEXTISource\n 636:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR3 EXTI11 LL_SYSCFG_SetEXTISource\n 637:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR4 EXTI12 LL_SYSCFG_SetEXTISource\n 638:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR4 EXTI13 LL_SYSCFG_SetEXTISource\n 639:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR4 EXTI14 LL_SYSCFG_SetEXTISource\n 640:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR4 EXTI15 LL_SYSCFG_SetEXTISource 641:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @param Port This parameter can be one of the following values: 642:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_PORTA 643:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_PORTB 644:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_PORTC 645:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_PORTD (*) 646:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_PORTE (*) 647:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_PORTH (*) 648:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 649:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * (*) value not defined in all devices 650:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @param Line This parameter can be one of the following values: 651:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE0 652:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE1 653:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE2 654:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE3 655:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE4 656:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE5 657:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE6 658:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE7 659:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE8 660:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE9 661:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE10 662:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE11 663:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE12 664:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE13 665:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE14 666:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE15 667:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 668:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 669:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_SYSCFG_SetEXTISource(uint32_t Port, uint32_t Line) 670:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 671:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** MODIFY_REG(SYSCFG->EXTICR[Line & 0xFFU], SYSCFG_EXTICR1_EXTI0 << (Line >> 16U), Port << (Line >> 672:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 673:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 674:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 675:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Get the configured defined for specific EXTI Line 676:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll SYSCFG_EXTICR1 EXTI0 LL_SYSCFG_SetEXTISource\n 677:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR1 EXTI1 LL_SYSCFG_SetEXTISource\n 678:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR1 EXTI2 LL_SYSCFG_SetEXTISource\n 679:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR1 EXTI3 LL_SYSCFG_SetEXTISource\n 680:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR2 EXTI4 LL_SYSCFG_SetEXTISource\n ARM GAS /tmp/ccFUt0tx.s page 27 681:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR2 EXTI5 LL_SYSCFG_SetEXTISource\n 682:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR2 EXTI6 LL_SYSCFG_SetEXTISource\n 683:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR2 EXTI7 LL_SYSCFG_SetEXTISource\n 684:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR3 EXTI8 LL_SYSCFG_SetEXTISource\n 685:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR3 EXTI9 LL_SYSCFG_SetEXTISource\n 686:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR3 EXTI10 LL_SYSCFG_SetEXTISource\n 687:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR3 EXTI11 LL_SYSCFG_SetEXTISource\n 688:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR4 EXTI12 LL_SYSCFG_SetEXTISource\n 689:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR4 EXTI13 LL_SYSCFG_SetEXTISource\n 690:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR4 EXTI14 LL_SYSCFG_SetEXTISource\n 691:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * SYSCFG_EXTICR4 EXTI15 LL_SYSCFG_SetEXTISource 692:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @param Line This parameter can be one of the following values: 693:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE0 694:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE1 695:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE2 696:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE3 697:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE4 698:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE5 699:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE6 700:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE7 701:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE8 702:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE9 703:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE10 704:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE11 705:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE12 706:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE13 707:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE14 708:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_LINE15 709:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval Returned value can be one of the following values: 710:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_PORTA 711:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_PORTB 712:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_PORTC 713:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_PORTD (*) 714:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_PORTE (*) 715:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_SYSCFG_EXTI_PORTH (*) 716:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 717:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * (*) value not defined in all devices 718:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 719:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE uint32_t LL_SYSCFG_GetEXTISource(uint32_t Line) 720:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 721:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** return (uint32_t)(READ_BIT(SYSCFG->EXTICR[Line & 0xFFU], (SYSCFG_EXTICR1_EXTI0 << (Line >> 16U))) 722:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 723:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 724:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 725:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 726:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 727:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 728:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 729:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 730:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_EF_DBGMCU DBGMCU 731:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 732:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 733:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 734:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 735:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Return the device identifier 736:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll DBGMCU_IDCODE DEV_ID LL_DBGMCU_GetDeviceID 737:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval Values between Min_Data=0x00 and Max_Data=0x7FF (ex: L053 -> 0x417, L073 -> 0x447) ARM GAS /tmp/ccFUt0tx.s page 28 738:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 739:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE uint32_t LL_DBGMCU_GetDeviceID(void) 740:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 741:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** return (uint32_t)(READ_BIT(DBGMCU->IDCODE, DBGMCU_IDCODE_DEV_ID)); 742:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 743:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 744:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 745:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Return the device revision identifier 746:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @note This field indicates the revision of the device. 747:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll DBGMCU_IDCODE REV_ID LL_DBGMCU_GetRevisionID 748:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval Values between Min_Data=0x00 and Max_Data=0xFFFF 749:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 750:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE uint32_t LL_DBGMCU_GetRevisionID(void) 751:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 752:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** return (uint32_t)(READ_BIT(DBGMCU->IDCODE, DBGMCU_IDCODE_REV_ID) >> DBGMCU_REVID_POSITION); 753:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 754:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 755:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 756:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Enable the Debug Module during SLEEP mode 757:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll DBGMCU_CR DBG_SLEEP LL_DBGMCU_EnableDBGSleepMode 758:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 759:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 760:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_DBGMCU_EnableDBGSleepMode(void) 761:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 762:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_SLEEP); 763:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 764:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 765:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 766:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Disable the Debug Module during SLEEP mode 767:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll DBGMCU_CR DBG_SLEEP LL_DBGMCU_DisableDBGSleepMode 768:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 769:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 770:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_DBGMCU_DisableDBGSleepMode(void) 771:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 772:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_SLEEP); 773:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 774:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 775:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 776:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Enable the Debug Module during STOP mode 777:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll DBGMCU_CR DBG_STOP LL_DBGMCU_EnableDBGStopMode 778:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 779:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 780:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_DBGMCU_EnableDBGStopMode(void) 781:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 782:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STOP); 783:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 784:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 785:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 786:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Disable the Debug Module during STOP mode 787:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll DBGMCU_CR DBG_STOP LL_DBGMCU_DisableDBGStopMode 788:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 789:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 790:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_DBGMCU_DisableDBGStopMode(void) 791:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 792:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STOP); 793:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 794:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** ARM GAS /tmp/ccFUt0tx.s page 29 795:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 796:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Enable the Debug Module during STANDBY mode 797:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll DBGMCU_CR DBG_STANDBY LL_DBGMCU_EnableDBGStandbyMode 798:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 799:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 800:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_DBGMCU_EnableDBGStandbyMode(void) 801:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 802:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STANDBY); 803:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 804:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 805:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 806:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Disable the Debug Module during STANDBY mode 807:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll DBGMCU_CR DBG_STANDBY LL_DBGMCU_DisableDBGStandbyMode 808:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 809:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 810:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_DBGMCU_DisableDBGStandbyMode(void) 811:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 812:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STANDBY); 813:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 814:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 815:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 816:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Freeze APB1 peripherals (group1 peripherals) 817:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll APB1FZ DBG_TIM2_STOP LL_DBGMCU_APB1_GRP1_FreezePeriph\n 818:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_TIM3_STOP LL_DBGMCU_APB1_GRP1_FreezePeriph\n 819:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_TIM6_STOP LL_DBGMCU_APB1_GRP1_FreezePeriph\n 820:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_TIM7_STOP LL_DBGMCU_APB1_GRP1_FreezePeriph\n 821:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_RTC_STOP LL_DBGMCU_APB1_GRP1_FreezePeriph\n 822:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_WWDG_STOP LL_DBGMCU_APB1_GRP1_FreezePeriph\n 823:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_IWDG_STOP LL_DBGMCU_APB1_GRP1_FreezePeriph\n 824:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_I2C1_STOP LL_DBGMCU_APB1_GRP1_FreezePeriph\n 825:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_I2C2_STOP LL_DBGMCU_APB1_GRP1_FreezePeriph\n 826:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_I2C3_STOP LL_DBGMCU_APB1_GRP1_FreezePeriph\n 827:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_LPTIMER_STOP LL_DBGMCU_APB1_GRP1_FreezePeriph 828:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @param Periphs This parameter can be a combination of the following values: 829:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_TIM2_STOP 830:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_TIM3_STOP (*) 831:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_TIM6_STOP (*) 832:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_TIM7_STOP (*) 833:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_RTC_STOP 834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_WWDG_STOP 835:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_IWDG_STOP 836:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_I2C1_STOP 837:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_I2C2_STOP (*) 838:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_I2C3_STOP (*) 839:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_LPTIM1_STOP 840:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 841:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * (*) value not defined in all devices 842:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 843:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 844:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_DBGMCU_APB1_GRP1_FreezePeriph(uint32_t Periphs) 845:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 846:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** SET_BIT(DBGMCU->APB1FZ, Periphs); 847:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 848:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 849:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 850:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Unfreeze APB1 peripherals (group1 peripherals) 851:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll APB1FZ DBG_TIM2_STOP LL_DBGMCU_APB1_GRP1_UnFreezePeriph\n ARM GAS /tmp/ccFUt0tx.s page 30 852:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_TIM3_STOP LL_DBGMCU_APB1_GRP1_UnFreezePeriph\n 853:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_TIM6_STOP LL_DBGMCU_APB1_GRP1_UnFreezePeriph\n 854:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_TIM7_STOP LL_DBGMCU_APB1_GRP1_UnFreezePeriph\n 855:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_RTC_STOP LL_DBGMCU_APB1_GRP1_UnFreezePeriph\n 856:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_WWDG_STOP LL_DBGMCU_APB1_GRP1_UnFreezePeriph\n 857:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_IWDG_STOP LL_DBGMCU_APB1_GRP1_UnFreezePeriph\n 858:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_I2C1_STOP LL_DBGMCU_APB1_GRP1_UnFreezePeriph\n 859:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_I2C2_STOP LL_DBGMCU_APB1_GRP1_UnFreezePeriph\n 860:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_I2C3_STOP LL_DBGMCU_APB1_GRP1_UnFreezePeriph\n 861:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB1FZ DBG_LPTIMER_STOP LL_DBGMCU_APB1_GRP1_UnFreezePeriph 862:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @param Periphs This parameter can be a combination of the following values: 863:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_TIM2_STOP 864:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_TIM3_STOP (*) 865:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_TIM6_STOP (*) 866:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_TIM7_STOP (*) 867:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_RTC_STOP 868:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_WWDG_STOP 869:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_IWDG_STOP 870:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_I2C1_STOP 871:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_I2C2_STOP (*) 872:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_I2C3_STOP (*) 873:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB1_GRP1_LPTIM1_STOP 874:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 875:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * (*) value not defined in all devices 876:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 877:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 878:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_DBGMCU_APB1_GRP1_UnFreezePeriph(uint32_t Periphs) 879:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 880:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** CLEAR_BIT(DBGMCU->APB1FZ, Periphs); 881:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 882:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 883:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 884:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Freeze APB2 peripherals 885:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll APB2FZ DBG_TIM22_STOP LL_DBGMCU_APB2_GRP1_FreezePeriph\n 886:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB2FZ DBG_TIM21_STOP LL_DBGMCU_APB2_GRP1_FreezePeriph 887:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @param Periphs This parameter can be a combination of the following values: 888:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB2_GRP1_TIM22_STOP (*) 889:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB2_GRP1_TIM21_STOP 890:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 891:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * (*) value not defined in all devices 892:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 893:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 894:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_DBGMCU_APB2_GRP1_FreezePeriph(uint32_t Periphs) 895:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 896:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** SET_BIT(DBGMCU->APB2FZ, Periphs); 897:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 898:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 899:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 900:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Unfreeze APB2 peripherals 901:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll APB2FZ DBG_TIM22_STOP LL_DBGMCU_APB2_GRP1_UnFreezePeriph\n 902:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * APB2FZ DBG_TIM21_STOP LL_DBGMCU_APB2_GRP1_UnFreezePeriph 903:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @param Periphs This parameter can be a combination of the following values: 904:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB2_GRP1_TIM22_STOP (*) 905:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_DBGMCU_APB2_GRP1_TIM21_STOP 906:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * 907:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * (*) value not defined in all devices 908:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None ARM GAS /tmp/ccFUt0tx.s page 31 909:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 910:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_DBGMCU_APB2_GRP1_UnFreezePeriph(uint32_t Periphs) 911:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 912:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** CLEAR_BIT(DBGMCU->APB2FZ, Periphs); 913:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 914:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 915:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 916:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @} 917:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 918:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 919:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** @defgroup SYSTEM_LL_EF_FLASH FLASH 920:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @{ 921:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 922:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 923:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 924:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Set FLASH Latency 925:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll FLASH_ACR LATENCY LL_FLASH_SetLatency 926:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @param Latency This parameter can be one of the following values: 927:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_FLASH_LATENCY_0 928:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_FLASH_LATENCY_1 929:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval None 930:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 931:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE void LL_FLASH_SetLatency(uint32_t Latency) 932:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 933:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** MODIFY_REG(FLASH->ACR, FLASH_ACR_LATENCY, Latency); 76 .loc 3 933 0 77 0030 1149 ldr r1, .L14+8 78 0032 0B68 ldr r3, [r1] 79 0034 0122 movs r2, #1 80 0036 9343 bics r3, r2 81 0038 0343 orrs r3, r0 82 003a 0B60 str r3, [r1] 83 .LVL2: 84 .LBE67: 85 .LBE66: 86 .LBB68: 87 .LBB69: 934:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** } 935:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** 936:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** /** 937:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @brief Get FLASH Latency 938:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @rmtoll FLASH_ACR LATENCY LL_FLASH_GetLatency 939:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @retval Returned value can be one of the following values: 940:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_FLASH_LATENCY_0 941:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** * @arg @ref LL_FLASH_LATENCY_1 942:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** */ 943:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** __STATIC_INLINE uint32_t LL_FLASH_GetLatency(void) 944:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** { 945:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_system.h **** return (uint32_t)(READ_BIT(FLASH->ACR, FLASH_ACR_LATENCY)); 88 .loc 3 945 0 89 003c 0B68 ldr r3, [r1] 90 003e 1A40 ands r2, r3 91 .LBE69: 92 .LBE68: 425:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 426:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* 2 < HCLK <= 4 => 1WS (2 CPU cycles) */ 427:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** latency = LL_FLASH_LATENCY_1; ARM GAS /tmp/ccFUt0tx.s page 32 428:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 429:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* else HCLK < 4MHz default LL_FLASH_LATENCY_0 0WS */ 430:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 431:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 432:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_FLASH_SetLatency(latency); 433:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 434:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Check that the new number of wait states is taken into account to access the Flash 435:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** memory by reading the FLASH_ACR register */ 436:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (LL_FLASH_GetLatency() != latency) 93 .loc 1 436 0 94 0040 9042 cmp r0, r2 95 0042 11D0 beq .L13 437:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 438:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** status = ERROR; 96 .loc 1 438 0 97 0044 0020 movs r0, #0 98 .LVL3: 99 0046 12E0 b .L2 100 .LVL4: 101 .L11: 406:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 102 .loc 1 406 0 103 0048 0C4B ldr r3, .L14+12 104 004a 9842 cmp r0, r3 105 004c 06D8 bhi .L7 395:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 106 .loc 1 395 0 107 004e 0020 movs r0, #0 108 .LVL5: 109 0050 EEE7 b .L4 110 .LVL6: 111 .L12: 415:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 112 .loc 1 415 0 113 0052 0B4B ldr r3, .L14+16 114 0054 9842 cmp r0, r3 115 0056 03D8 bhi .L8 395:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 116 .loc 1 395 0 117 0058 0020 movs r0, #0 118 .LVL7: 119 005a E9E7 b .L4 120 .LVL8: 121 .L7: 409:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 122 .loc 1 409 0 123 005c 0120 movs r0, #1 124 .LVL9: 125 005e E7E7 b .L4 126 .LVL10: 127 .L8: 418:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 128 .loc 1 418 0 129 0060 0120 movs r0, #1 130 .LVL11: 131 0062 E5E7 b .L4 132 .LVL12: ARM GAS /tmp/ccFUt0tx.s page 33 133 .L9: 427:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 134 .loc 1 427 0 135 0064 0120 movs r0, #1 136 .LVL13: 137 0066 E3E7 b .L4 138 .LVL14: 139 .L13: 393:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 140 .loc 1 393 0 141 0068 0120 movs r0, #1 142 .LVL15: 143 006a 00E0 b .L2 144 .LVL16: 145 .L6: 400:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 146 .loc 1 400 0 147 006c 0020 movs r0, #0 148 .LVL17: 149 .L2: 439:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 440:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 441:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** return status; 442:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 150 .loc 1 442 0 151 @ sp needed 152 006e 7047 bx lr 153 .L15: 154 .align 2 155 .L14: 156 0070 00700040 .word 1073770496 157 0074 80841E00 .word 2000000 158 0078 00200240 .word 1073881088 159 007c 0024F400 .word 16000000 160 0080 00127A00 .word 8000000 161 .cfi_endproc 162 .LFE276: 164 .section .text.UTILS_EnablePLLAndSwitchSystem,"ax",%progbits 165 .align 1 166 .syntax unified 167 .code 16 168 .thumb_func 169 .fpu softvfp 171 UTILS_EnablePLLAndSwitchSystem: 172 .LFB279: 443:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 444:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 445:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @brief Function to check that PLL can be modified 446:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @param PLL_InputFrequency PLL input frequency (in Hz) 447:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @param UTILS_PLLInitStruct pointer to a @ref LL_UTILS_PLLInitTypeDef structure that contains 448:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * the configuration information for the PLL. 449:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @retval PLL output frequency (in Hz) 450:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 451:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** static uint32_t UTILS_GetPLLOutputFrequency(uint32_t PLL_InputFrequency, LL_UTILS_PLLInitTypeDef *U 452:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 453:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** uint32_t pllfreq = 0U; 454:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ARM GAS /tmp/ccFUt0tx.s page 34 455:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Check the parameters */ 456:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** assert_param(IS_LL_UTILS_PLLMUL_VALUE(UTILS_PLLInitStruct->PLLMul)); 457:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** assert_param(IS_LL_UTILS_PLLDIV_VALUE(UTILS_PLLInitStruct->PLLDiv)); 458:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 459:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Check different PLL parameters according to RM */ 460:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* The application software must set correctly the PLL multiplication factor to avoid exceeding 461:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 96 MHz as PLLVCO when the product is in range 1, 462:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 48 MHz as PLLVCO when the product is in range 2, 463:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 24 MHz when the product is in range 3. */ 464:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** pllfreq = PLL_InputFrequency * (PLLMulTable[UTILS_PLLInitStruct->PLLMul >> RCC_POSITION_PLLMUL]); 465:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** assert_param(IS_LL_UTILS_PLLVCO_OUTPUT(pllfreq)); 466:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 467:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* The application software must set correctly the PLL multiplication factor to avoid exceeding 468:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** maximum frequency 32000000 in range 1 */ 469:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** pllfreq = pllfreq / ((UTILS_PLLInitStruct->PLLDiv >> RCC_POSITION_PLLDIV)+1U); 470:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** assert_param(IS_LL_UTILS_PLL_FREQUENCY(pllfreq)); 471:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 472:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** return pllfreq; 473:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 474:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 475:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 476:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @brief Function to check that PLL can be modified 477:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @retval An ErrorStatus enumeration value: 478:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - SUCCESS: PLL modification can be done 479:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - ERROR: PLL is busy 480:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 481:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** static ErrorStatus UTILS_PLL_IsBusy(void) 482:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 483:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ErrorStatus status = SUCCESS; 484:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 485:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Check if PLL is busy*/ 486:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (LL_RCC_PLL_IsReady() != 0U) 487:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 488:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* PLL configuration cannot be modified */ 489:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** status = ERROR; 490:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 491:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 492:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 493:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** return status; 494:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 495:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 496:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /** 497:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @brief Function to enable PLL and switch system clock to PLL 498:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @param SYSCLK_Frequency SYSCLK frequency 499:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @param UTILS_ClkInitStruct pointer to a @ref LL_UTILS_ClkInitTypeDef structure that contains 500:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * the configuration information for the BUS prescalers. 501:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * @retval An ErrorStatus enumeration value: 502:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - SUCCESS: No problem to switch system to PLL 503:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** * - ERROR: Problem to switch system to PLL 504:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** */ 505:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** static ErrorStatus UTILS_EnablePLLAndSwitchSystem(uint32_t SYSCLK_Frequency, LL_UTILS_ClkInitTypeDe 506:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 173 .loc 1 506 0 174 .cfi_startproc 175 @ args = 0, pretend = 0, frame = 0 176 @ frame_needed = 0, uses_anonymous_args = 0 177 .LVL18: ARM GAS /tmp/ccFUt0tx.s page 35 178 0000 70B5 push {r4, r5, r6, lr} 179 .LCFI0: 180 .cfi_def_cfa_offset 16 181 .cfi_offset 4, -16 182 .cfi_offset 5, -12 183 .cfi_offset 6, -8 184 .cfi_offset 14, -4 185 0002 0D00 movs r5, r1 186 .LVL19: 507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ErrorStatus status = SUCCESS; 508:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** uint32_t hclk_frequency = 0U; 509:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 510:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** assert_param(IS_LL_UTILS_SYSCLK_DIV(UTILS_ClkInitStruct->AHBCLKDivider)); 511:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** assert_param(IS_LL_UTILS_APB1_DIV(UTILS_ClkInitStruct->APB1CLKDivider)); 512:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** assert_param(IS_LL_UTILS_APB2_DIV(UTILS_ClkInitStruct->APB2CLKDivider)); 513:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 514:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Calculate HCLK frequency */ 515:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** hclk_frequency = __LL_RCC_CALC_HCLK_FREQ(SYSCLK_Frequency, UTILS_ClkInitStruct->AHBCLKDivider); 187 .loc 1 515 0 188 0004 0B68 ldr r3, [r1] 189 0006 1A09 lsrs r2, r3, #4 190 0008 0F23 movs r3, #15 191 000a 1340 ands r3, r2 192 000c 224A ldr r2, .L27 193 000e D35C ldrb r3, [r2, r3] 194 0010 D840 lsrs r0, r0, r3 195 .LVL20: 196 0012 0400 movs r4, r0 197 .LVL21: 516:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 517:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Increasing the number of wait states because of higher CPU frequency */ 518:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (SystemCoreClock < hclk_frequency) 198 .loc 1 518 0 199 0014 214B ldr r3, .L27+4 200 0016 1B68 ldr r3, [r3] 201 0018 8342 cmp r3, r0 202 001a 30D3 bcc .L24 507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ErrorStatus status = SUCCESS; 203 .loc 1 507 0 204 001c 0120 movs r0, #1 205 .LVL22: 206 .L17: 207 .LBB70: 208 .LBB71: 209 .file 4 "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 **** *

© COPYRIGHT(c) 2016 STMicroelectronics

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: ARM GAS /tmp/ccFUt0tx.s page 36 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 **** 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 **** * @{ ARM GAS /tmp/ccFUt0tx.s page 37 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 **** 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 **** */ ARM GAS /tmp/ccFUt0tx.s page 38 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 **** /** 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 **** ARM GAS /tmp/ccFUt0tx.s page 39 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 **** * @} 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 ARM GAS /tmp/ccFUt0tx.s page 40 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 */ 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 */ ARM GAS /tmp/ccFUt0tx.s page 41 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 **** * @} 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 ARM GAS /tmp/ccFUt0tx.s page 42 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 **** */ 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 ARM GAS /tmp/ccFUt0tx.s page 43 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 **** /** 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 **** ARM GAS /tmp/ccFUt0tx.s page 44 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 **** */ 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 ARM GAS /tmp/ccFUt0tx.s page 45 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 **** 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 ARM GAS /tmp/ccFUt0tx.s page 46 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 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 ARM GAS /tmp/ccFUt0tx.s page 47 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 **** */ 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 **** * @} ARM GAS /tmp/ccFUt0tx.s page 48 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 **** /** 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 ARM GAS /tmp/ccFUt0tx.s page 49 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 **** /** 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 ARM GAS /tmp/ccFUt0tx.s page 50 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 **** { 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 **** ARM GAS /tmp/ccFUt0tx.s page 51 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 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 **** { ARM GAS /tmp/ccFUt0tx.s page 52 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 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 **** */ ARM GAS /tmp/ccFUt0tx.s page 53 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) 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 **** } ARM GAS /tmp/ccFUt0tx.s page 54 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 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) ARM GAS /tmp/ccFUt0tx.s page 55 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 **** 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 ARM GAS /tmp/ccFUt0tx.s page 56 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); 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 **** { 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 ARM GAS /tmp/ccFUt0tx.s page 57 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)); 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); 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 ARM GAS /tmp/ccFUt0tx.s page 58 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); 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 **** ARM GAS /tmp/ccFUt0tx.s page 59 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 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 ARM GAS /tmp/ccFUt0tx.s page 60 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 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 **** ARM GAS /tmp/ccFUt0tx.s page 61 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 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 **** ARM GAS /tmp/ccFUt0tx.s page 62 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 (*) 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 ARM GAS /tmp/ccFUt0tx.s page 63 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 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 (*) ARM GAS /tmp/ccFUt0tx.s page 64 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. 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: ARM GAS /tmp/ccFUt0tx.s page 65 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) 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)); 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 **** 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 ARM GAS /tmp/ccFUt0tx.s page 66 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 **** { 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 **** } ARM GAS /tmp/ccFUt0tx.s page 67 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); 210 .loc 4 1816 0 211 001e 204A ldr r2, .L27+8 212 0020 1168 ldr r1, [r2] 213 0022 8023 movs r3, #128 214 0024 5B04 lsls r3, r3, #17 215 0026 0B43 orrs r3, r1 216 0028 1360 str r3, [r2] 217 .L19: 218 .LBE71: 219 .LBE70: 220 .LBB72: 221 .LBB73: 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/ccFUt0tx.s page 68 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)); 222 .loc 4 1837 0 discriminator 1 223 002a 1D4B ldr r3, .L27+8 224 002c 1B68 ldr r3, [r3] 225 .LBE73: 226 .LBE72: 519:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 520:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Set FLASH latency to highest latency */ 521:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** status = UTILS_SetFlashLatency(hclk_frequency); 522:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 523:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 524:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Update system clock configuration */ 525:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (status == SUCCESS) 526:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 527:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Enable PLL */ 528:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_RCC_PLL_Enable(); 529:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** while (LL_RCC_PLL_IsReady() != 1U) 227 .loc 1 529 0 discriminator 1 228 002e 9B01 lsls r3, r3, #6 229 0030 FBD5 bpl .L19 230 .LVL23: 231 .LBB74: 232 .LBB75: 1341:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } 233 .loc 4 1341 0 234 0032 1B4A ldr r2, .L27+8 235 0034 D368 ldr r3, [r2, #12] 236 0036 F021 movs r1, #240 237 0038 8B43 bics r3, r1 238 003a 2968 ldr r1, [r5] 239 003c 0B43 orrs r3, r1 240 003e D360 str r3, [r2, #12] 241 .LVL24: 242 .LBE75: 243 .LBE74: 244 .LBB76: 245 .LBB77: 1307:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } 246 .loc 4 1307 0 247 0040 D368 ldr r3, [r2, #12] 248 0042 0321 movs r1, #3 249 0044 8B43 bics r3, r1 250 0046 0B43 orrs r3, r1 251 0048 D360 str r3, [r2, #12] 252 .L20: ARM GAS /tmp/ccFUt0tx.s page 69 253 .LBE77: 254 .LBE76: 255 .LBB78: 256 .LBB79: 1321:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } 257 .loc 4 1321 0 discriminator 1 258 004a 154B ldr r3, .L27+8 259 004c DA68 ldr r2, [r3, #12] 260 004e 0C23 movs r3, #12 261 0050 1340 ands r3, r2 262 .LBE79: 263 .LBE78: 530:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 531:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Wait for PLL ready */ 532:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 533:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 534:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Sysclk activation on the main PLL */ 535:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_RCC_SetAHBPrescaler(UTILS_ClkInitStruct->AHBCLKDivider); 536:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_RCC_SetSysClkSource(LL_RCC_SYS_CLKSOURCE_PLL); 537:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** while (LL_RCC_GetSysClkSource() != LL_RCC_SYS_CLKSOURCE_STATUS_PLL) 264 .loc 1 537 0 discriminator 1 265 0052 0C2B cmp r3, #12 266 0054 F9D1 bne .L20 267 .LVL25: 268 .LBB80: 269 .LBB81: 1357:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } 270 .loc 4 1357 0 271 0056 124B ldr r3, .L27+8 272 0058 DA68 ldr r2, [r3, #12] 273 005a 1249 ldr r1, .L27+12 274 005c 0A40 ands r2, r1 275 005e 6968 ldr r1, [r5, #4] 276 0060 0A43 orrs r2, r1 277 0062 DA60 str r2, [r3, #12] 278 .LVL26: 279 .LBE81: 280 .LBE80: 538:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 539:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Wait for system clock switch to PLL */ 540:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 542:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Set APB1 & APB2 prescaler*/ 543:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_RCC_SetAPB1Prescaler(UTILS_ClkInitStruct->APB1CLKDivider); 544:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_RCC_SetAPB2Prescaler(UTILS_ClkInitStruct->APB2CLKDivider); 281 .loc 1 544 0 282 0064 AA68 ldr r2, [r5, #8] 283 .LVL27: 284 .LBB82: 285 .LBB83: 1373:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } 286 .loc 4 1373 0 287 0066 D968 ldr r1, [r3, #12] 288 0068 0F4D ldr r5, .L27+16 289 .LVL28: 290 006a 2940 ands r1, r5 291 006c 0A43 orrs r2, r1 ARM GAS /tmp/ccFUt0tx.s page 70 292 .LVL29: 293 006e DA60 str r2, [r3, #12] 294 .LVL30: 295 .L18: 296 .LBE83: 297 .LBE82: 545:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 547:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Decreasing the number of wait states because of lower CPU frequency */ 548:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (SystemCoreClock > hclk_frequency) 298 .loc 1 548 0 299 0070 0A4B ldr r3, .L27+4 300 0072 1B68 ldr r3, [r3] 301 0074 A342 cmp r3, r4 302 0076 07D8 bhi .L25 303 .L21: 304 .LVL31: 549:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 550:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Set FLASH latency to lowest latency */ 551:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** status = UTILS_SetFlashLatency(hclk_frequency); 552:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 553:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 554:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Update SystemCoreClock variable */ 555:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** if (status == SUCCESS) 305 .loc 1 555 0 306 0078 0128 cmp r0, #1 307 007a 09D0 beq .L26 308 .L22: 556:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 557:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** LL_SetSystemCoreClock(hclk_frequency); 558:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 559:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 560:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** return status; 561:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 309 .loc 1 561 0 310 @ sp needed 311 .LVL32: 312 007c 70BD pop {r4, r5, r6, pc} 313 .LVL33: 314 .L24: 521:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 315 .loc 1 521 0 316 007e FFF7FEFF bl UTILS_SetFlashLatency 317 .LVL34: 525:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 318 .loc 1 525 0 319 0082 0128 cmp r0, #1 320 0084 F4D1 bne .L18 321 0086 CAE7 b .L17 322 .LVL35: 323 .L25: 551:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 324 .loc 1 551 0 325 0088 2000 movs r0, r4 326 008a FFF7FEFF bl UTILS_SetFlashLatency 327 .LVL36: 328 008e F3E7 b .L21 ARM GAS /tmp/ccFUt0tx.s page 71 329 .L26: 330 .LVL37: 331 .LBB84: 332 .LBB85: 240:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 333 .loc 1 240 0 334 0090 024B ldr r3, .L27+4 335 0092 1C60 str r4, [r3] 336 0094 F2E7 b .L22 337 .L28: 338 0096 C046 .align 2 339 .L27: 340 0098 00000000 .word AHBPrescTable 341 009c 00000000 .word SystemCoreClock 342 00a0 00100240 .word 1073876992 343 00a4 FFF8FFFF .word -1793 344 00a8 FFC7FFFF .word -14337 345 .LBE85: 346 .LBE84: 347 .cfi_endproc 348 .LFE279: 350 .global __aeabi_uidiv 351 .section .text.LL_Init1msTick,"ax",%progbits 352 .align 1 353 .global LL_Init1msTick 354 .syntax unified 355 .code 16 356 .thumb_func 357 .fpu softvfp 359 LL_Init1msTick: 360 .LFB271: 160:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Use frequency provided in argument */ 361 .loc 1 160 0 362 .cfi_startproc 363 @ args = 0, pretend = 0, frame = 0 364 @ frame_needed = 0, uses_anonymous_args = 0 365 .LVL38: 366 0000 10B5 push {r4, lr} 367 .LCFI1: 368 .cfi_def_cfa_offset 8 369 .cfi_offset 4, -8 370 .cfi_offset 14, -4 371 .LVL39: 372 .LBB86: 373 .LBB87: 374 .file 5 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h" 1:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 2:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** ****************************************************************************** 3:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @file stm32l0xx_ll_utils.h 4:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @author MCD Application Team 5:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @brief Header file of UTILS LL module. 6:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** @verbatim 7:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** ============================================================================== 8:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** ##### How to use this driver ##### 9:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** ============================================================================== 10:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** [..] 11:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** The LL UTILS driver contains a set of generic APIs that can be ARM GAS /tmp/ccFUt0tx.s page 72 12:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** used by user: 13:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** (+) Device electronic signature 14:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** (+) Timing functions 15:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** (+) PLL configuration functions 16:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 17:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** @endverbatim 18:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** ****************************************************************************** 19:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @attention 20:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * 21:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** *

© COPYRIGHT(c) 2016 STMicroelectronics

22:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * 23:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * Redistribution and use in source and binary forms, with or without modification, 24:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * are permitted provided that the following conditions are met: 25:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * 1. Redistributions of source code must retain the above copyright notice, 26:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * this list of conditions and the following disclaimer. 27:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * 2. Redistributions in binary form must reproduce the above copyright notice, 28:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * this list of conditions and the following disclaimer in the documentation 29:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * and/or other materials provided with the distribution. 30:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 31:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * may be used to endorse or promote products derived from this software 32:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * without specific prior written permission. 33:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * 34:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 35:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 36:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 37:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 38:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 39:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 40:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 41:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 42:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 43:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 44:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * 45:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** ****************************************************************************** 46:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 47:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 48:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 49:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** #ifndef __STM32L0xx_LL_UTILS_H 50:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** #define __STM32L0xx_LL_UTILS_H 51:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 52:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** #ifdef __cplusplus 53:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** extern "C" { 54:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** #endif 55:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 56:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /* Includes ------------------------------------------------------------------*/ 57:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** #include "stm32l0xx.h" 58:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 59:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** @addtogroup STM32L0xx_LL_Driver 60:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @{ 61:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 62:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 63:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** @defgroup UTILS_LL UTILS 64:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @{ 65:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 66:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 67:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /* Private types -------------------------------------------------------------*/ 68:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /* Private variables ---------------------------------------------------------*/ ARM GAS /tmp/ccFUt0tx.s page 73 69:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 70:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /* Private constants ---------------------------------------------------------*/ 71:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** @defgroup UTILS_LL_Private_Constants UTILS Private Constants 72:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @{ 73:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 74:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 75:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /* Max delay can be used in LL_mDelay */ 76:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** #define LL_MAX_DELAY 0xFFFFFFFFU 77:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 78:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 79:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @brief Unique device ID register base address 80:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 81:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** #define UID_BASE_ADDRESS UID_BASE 82:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 83:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 84:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @brief Flash size data register base address 85:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 86:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** #define FLASHSIZE_BASE_ADDRESS FLASHSIZE_BASE 87:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 88:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 89:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 90:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @} 91:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 92:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 93:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /* Private macros ------------------------------------------------------------*/ 94:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** @defgroup UTILS_LL_Private_Macros UTILS Private Macros 95:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @{ 96:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 97:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 98:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @} 99:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /* Exported types ------------------------------------------------------------*/ 101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** @defgroup UTILS_LL_ES_INIT UTILS Exported structures 102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @{ 103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @brief UTILS PLL structure definition 106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** typedef struct 108:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** { 109:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** uint32_t PLLMul; /*!< Multiplication factor for PLL VCO input clock. 110:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** This parameter can be a value of @ref RCC_LL_EC_PLL_MUL 111:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 112:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** This feature can be modified afterwards using unitary function 113:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** @ref LL_RCC_PLL_ConfigDomain_SYS(). */ 114:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 115:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** uint32_t PLLDiv; /*!< Division factor for PLL VCO output clock. 116:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** This parameter can be a value of @ref RCC_LL_EC_PLL_DIV 117:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 118:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** This feature can be modified afterwards using unitary function 119:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** @ref LL_RCC_PLL_ConfigDomain_SYS(). */ 120:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** } LL_UTILS_PLLInitTypeDef; 121:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 122:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 123:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @brief UTILS System, AHB and APB buses clock configuration structure definition 124:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 125:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** typedef struct ARM GAS /tmp/ccFUt0tx.s page 74 126:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** { 127:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** uint32_t AHBCLKDivider; /*!< The AHB clock (HCLK) divider. This clock is derived from the 128:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** This parameter can be a value of @ref RCC_LL_EC_SYSCLK_DIV 129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 130:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** This feature can be modified afterwards using unitary functi 131:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** @ref LL_RCC_SetAHBPrescaler(). */ 132:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 133:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** uint32_t APB1CLKDivider; /*!< The APB1 clock (PCLK1) divider. This clock is derived from t 134:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** This parameter can be a value of @ref RCC_LL_EC_APB1_DIV 135:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 136:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** This feature can be modified afterwards using unitary functi 137:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** @ref LL_RCC_SetAPB1Prescaler(). */ 138:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 139:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** uint32_t APB2CLKDivider; /*!< The APB2 clock (PCLK2) divider. This clock is derived from t 140:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** This parameter can be a value of @ref RCC_LL_EC_APB2_DIV 141:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 142:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** This feature can be modified afterwards using unitary functi 143:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** @ref LL_RCC_SetAPB2Prescaler(). */ 144:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 145:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** } LL_UTILS_ClkInitTypeDef; 146:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 147:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 148:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @} 149:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 150:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 151:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /* Exported constants --------------------------------------------------------*/ 152:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** @defgroup UTILS_LL_Exported_Constants UTILS Exported Constants 153:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @{ 154:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 155:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 156:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** @defgroup UTILS_EC_HSE_BYPASS HSE Bypass activation 157:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @{ 158:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 159:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** #define LL_UTILS_HSEBYPASS_OFF 0x00000000U /*!< HSE Bypass is not enabled 160:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** #define LL_UTILS_HSEBYPASS_ON 0x00000001U /*!< HSE Bypass is enabled 161:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 162:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @} 163:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 164:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 165:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 166:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 167:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @} 168:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 169:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 170:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /* Exported macro ------------------------------------------------------------*/ 171:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 172:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /* Exported functions --------------------------------------------------------*/ 173:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** @defgroup UTILS_LL_Exported_Functions UTILS Exported Functions 174:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @{ 175:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 176:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 177:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** @defgroup UTILS_EF_DEVICE_ELECTRONIC_SIGNATURE DEVICE ELECTRONIC SIGNATURE 178:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @{ 179:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 180:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 181:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 182:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @brief Get Word0 of the unique device identifier (UID based on 96 bits) ARM GAS /tmp/ccFUt0tx.s page 75 183:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @retval UID[31:0] 184:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 185:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** __STATIC_INLINE uint32_t LL_GetUID_Word0(void) 186:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** { 187:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** return (uint32_t)(READ_REG(*((uint32_t *)UID_BASE_ADDRESS))); 188:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** } 189:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 190:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 191:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @brief Get Word1 of the unique device identifier (UID based on 96 bits) 192:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @retval UID[63:32] 193:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 194:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** __STATIC_INLINE uint32_t LL_GetUID_Word1(void) 195:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** { 196:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** return (uint32_t)(READ_REG(*((uint32_t *)(UID_BASE_ADDRESS + 4U)))); 197:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** } 198:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 199:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 200:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @brief Get Word2 of the unique device identifier (UID based on 96 bits) 201:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @retval UID[95:64] 202:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 203:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** __STATIC_INLINE uint32_t LL_GetUID_Word2(void) 204:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** { 205:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** return (uint32_t)(READ_REG(*((uint32_t *)(UID_BASE_ADDRESS + 8U)))); 206:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** } 207:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 208:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 209:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @brief Get Flash memory size 210:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @note This bitfield indicates the size of the device Flash memory expressed in 211:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * Kbytes. As an example, 0x040 corresponds to 64 Kbytes. 212:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @retval FLASH_SIZE[15:0]: Flash memory size 213:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 214:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** __STATIC_INLINE uint32_t LL_GetFlashSize(void) 215:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** { 216:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** return (uint16_t)(READ_REG(*((uint32_t *)FLASHSIZE_BASE_ADDRESS))); 217:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** } 218:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 219:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 220:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 221:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @} 222:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 223:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 224:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** @defgroup UTILS_LL_EF_DELAY DELAY 225:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @{ 226:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 227:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** 228:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /** 229:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @brief This function configures the Cortex-M SysTick source of the time base. 230:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @param HCLKFrequency HCLK frequency in Hz (can be calculated thanks to RCC helper macro) 231:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @note When a RTOS is used, it is recommended to avoid changing the SysTick 232:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * configuration by calling this function, for a delay use rather osDelay RTOS service. 233:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @param Ticks Number of ticks 234:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** * @retval None 235:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** */ 236:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) 237:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** { 238:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** /* Configure the SysTick to have interrupt in 1ms time base */ 239:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ ARM GAS /tmp/ccFUt0tx.s page 76 375 .loc 5 239 0 376 0002 FA21 movs r1, #250 377 0004 8900 lsls r1, r1, #2 378 0006 FFF7FEFF bl __aeabi_uidiv 379 .LVL40: 380 000a 0138 subs r0, r0, #1 381 000c 034B ldr r3, .L30 382 000e 5860 str r0, [r3, #4] 240:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** SysTick->VAL = 0UL; /* Load the SysTick Counter Value */ 383 .loc 5 240 0 384 0010 0022 movs r2, #0 385 0012 9A60 str r2, [r3, #8] 241:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_utils.h **** SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | 386 .loc 5 241 0 387 0014 0532 adds r2, r2, #5 388 0016 1A60 str r2, [r3] 389 .LVL41: 390 .LBE87: 391 .LBE86: 163:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 392 .loc 1 163 0 393 @ sp needed 394 0018 10BD pop {r4, pc} 395 .L31: 396 001a C046 .align 2 397 .L30: 398 001c 10E000E0 .word -536813552 399 .cfi_endproc 400 .LFE271: 402 .section .text.LL_mDelay,"ax",%progbits 403 .align 1 404 .global LL_mDelay 405 .syntax unified 406 .code 16 407 .thumb_func 408 .fpu softvfp 410 LL_mDelay: 411 .LFB272: 176:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** __IO uint32_t tmp = SysTick->CTRL; /* Clear the COUNTFLAG first */ 412 .loc 1 176 0 413 .cfi_startproc 414 @ args = 0, pretend = 0, frame = 8 415 @ frame_needed = 0, uses_anonymous_args = 0 416 @ link register save eliminated. 417 .LVL42: 418 0000 82B0 sub sp, sp, #8 419 .LCFI2: 420 .cfi_def_cfa_offset 8 177:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* Add this code to indicate that local variable is not used */ 421 .loc 1 177 0 422 0002 084B ldr r3, .L38 423 0004 1B68 ldr r3, [r3] 424 0006 0193 str r3, [sp, #4] 179:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 425 .loc 1 179 0 426 0008 019B ldr r3, [sp, #4] 182:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { ARM GAS /tmp/ccFUt0tx.s page 77 427 .loc 1 182 0 428 000a 431C adds r3, r0, #1 429 000c 00D0 beq .L35 184:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 430 .loc 1 184 0 431 000e 0130 adds r0, r0, #1 432 .LVL43: 433 .L35: 187:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 434 .loc 1 187 0 435 0010 0028 cmp r0, #0 436 0012 05D0 beq .L37 189:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 437 .loc 1 189 0 438 0014 034B ldr r3, .L38 439 0016 1B68 ldr r3, [r3] 440 0018 DB03 lsls r3, r3, #15 441 001a F9D5 bpl .L35 191:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 442 .loc 1 191 0 443 001c 0138 subs r0, r0, #1 444 .LVL44: 445 001e F7E7 b .L35 446 .L37: 194:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 447 .loc 1 194 0 448 0020 02B0 add sp, sp, #8 449 @ sp needed 450 0022 7047 bx lr 451 .L39: 452 .align 2 453 .L38: 454 0024 10E000E0 .word -536813552 455 .cfi_endproc 456 .LFE272: 458 .section .text.LL_SetSystemCoreClock,"ax",%progbits 459 .align 1 460 .global LL_SetSystemCoreClock 461 .syntax unified 462 .code 16 463 .thumb_func 464 .fpu softvfp 466 LL_SetSystemCoreClock: 467 .LFB273: 238:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** /* HCLK clock frequency */ 468 .loc 1 238 0 469 .cfi_startproc 470 @ args = 0, pretend = 0, frame = 0 471 @ frame_needed = 0, uses_anonymous_args = 0 472 @ link register save eliminated. 473 .LVL45: 240:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 474 .loc 1 240 0 475 0000 014B ldr r3, .L41 476 0002 1860 str r0, [r3] 241:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 477 .loc 1 241 0 ARM GAS /tmp/ccFUt0tx.s page 78 478 @ sp needed 479 0004 7047 bx lr 480 .L42: 481 0006 C046 .align 2 482 .L41: 483 0008 00000000 .word SystemCoreClock 484 .cfi_endproc 485 .LFE273: 487 .section .text.LL_PLL_ConfigSystemClock_HSI,"ax",%progbits 488 .align 1 489 .global LL_PLL_ConfigSystemClock_HSI 490 .syntax unified 491 .code 16 492 .thumb_func 493 .fpu softvfp 495 LL_PLL_ConfigSystemClock_HSI: 496 .LFB274: 263:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ErrorStatus status = SUCCESS; 497 .loc 1 263 0 498 .cfi_startproc 499 @ args = 0, pretend = 0, frame = 0 500 @ frame_needed = 0, uses_anonymous_args = 0 501 .LVL46: 502 0000 70B5 push {r4, r5, r6, lr} 503 .LCFI3: 504 .cfi_def_cfa_offset 16 505 .cfi_offset 4, -16 506 .cfi_offset 5, -12 507 .cfi_offset 6, -8 508 .cfi_offset 14, -4 509 0002 0500 movs r5, r0 510 0004 0C00 movs r4, r1 511 .LVL47: 512 .LBB88: 513 .LBB89: 514 .LBB90: 515 .LBB91: 516 .loc 4 1837 0 517 0006 184B ldr r3, .L48 518 0008 1B68 ldr r3, [r3] 519 .LBE91: 520 .LBE90: 486:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 521 .loc 1 486 0 522 000a 9B01 lsls r3, r3, #6 523 000c 29D4 bmi .L47 524 .LVL48: 525 .LBE89: 526 .LBE88: 527 .LBB92: 528 .LBB93: 464:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** assert_param(IS_LL_UTILS_PLLVCO_OUTPUT(pllfreq)); 529 .loc 1 464 0 530 000e 0368 ldr r3, [r0] 531 0010 9B0C lsrs r3, r3, #18 532 0012 164A ldr r2, .L48+4 533 0014 D15C ldrb r1, [r2, r3] ARM GAS /tmp/ccFUt0tx.s page 79 534 .LVL49: 535 0016 4A01 lsls r2, r1, #5 536 0018 521A subs r2, r2, r1 537 001a 9301 lsls r3, r2, #6 538 001c 9B1A subs r3, r3, r2 539 001e DB00 lsls r3, r3, #3 540 0020 5B18 adds r3, r3, r1 541 0022 9802 lsls r0, r3, #10 542 .LVL50: 469:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** assert_param(IS_LL_UTILS_PLL_FREQUENCY(pllfreq)); 543 .loc 1 469 0 544 0024 6B68 ldr r3, [r5, #4] 545 0026 990D lsrs r1, r3, #22 546 0028 0131 adds r1, r1, #1 547 002a FFF7FEFF bl __aeabi_uidiv 548 .LVL51: 549 .LBE93: 550 .LBE92: 551 .LBB94: 552 .LBB95: 834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } 553 .loc 4 834 0 554 002e 0E4B ldr r3, .L48 555 0030 1B68 ldr r3, [r3] 556 .LBE95: 557 .LBE94: 274:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 558 .loc 1 274 0 559 0032 5B07 lsls r3, r3, #29 560 0034 08D4 bmi .L45 561 .LBB96: 562 .LBB97: 814:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } 563 .loc 4 814 0 564 0036 0C4A ldr r2, .L48 565 0038 1368 ldr r3, [r2] 566 003a 0121 movs r1, #1 567 003c 0B43 orrs r3, r1 568 003e 1360 str r3, [r2] 569 .L46: 570 .LBE97: 571 .LBE96: 572 .LBB98: 573 .LBB99: 834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } 574 .loc 4 834 0 discriminator 1 575 0040 094B ldr r3, .L48 576 0042 1B68 ldr r3, [r3] 577 .LBE99: 578 .LBE98: 277:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 579 .loc 1 277 0 discriminator 1 580 0044 5B07 lsls r3, r3, #29 581 0046 FBD5 bpl .L46 582 .L45: 284:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 583 .loc 1 284 0 ARM GAS /tmp/ccFUt0tx.s page 80 584 0048 2A68 ldr r2, [r5] 585 004a 6D68 ldr r5, [r5, #4] 586 .LVL52: 587 .LBB100: 588 .LBB101: 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 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 589 .loc 4 1866 0 590 004c 0649 ldr r1, .L48 591 004e CB68 ldr r3, [r1, #12] 592 0050 074E ldr r6, .L48+8 593 0052 3340 ands r3, r6 594 0054 2A43 orrs r2, r5 595 .LVL53: 596 0056 1343 orrs r3, r2 597 0058 CB60 str r3, [r1, #12] 598 .LVL54: 599 .LBE101: 600 .LBE100: 287:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 601 .loc 1 287 0 602 005a 2100 movs r1, r4 603 005c FFF7FEFF bl UTILS_EnablePLLAndSwitchSystem 604 .LVL55: 605 .L44: 296:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 606 .loc 1 296 0 607 @ sp needed 608 .LVL56: 609 0060 70BD pop {r4, r5, r6, pc} ARM GAS /tmp/ccFUt0tx.s page 81 610 .LVL57: 611 .L47: 292:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 612 .loc 1 292 0 613 0062 0020 movs r0, #0 614 .LVL58: 615 0064 FCE7 b .L44 616 .L49: 617 0066 C046 .align 2 618 .L48: 619 0068 00100240 .word 1073876992 620 006c 00000000 .word PLLMulTable 621 0070 FFFF02FF .word -16580609 622 .cfi_endproc 623 .LFE274: 625 .section .text.LL_PLL_ConfigSystemClock_HSE,"ax",%progbits 626 .align 1 627 .global LL_PLL_ConfigSystemClock_HSE 628 .syntax unified 629 .code 16 630 .thumb_func 631 .fpu softvfp 633 LL_PLL_ConfigSystemClock_HSE: 634 .LFB275: 322:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** ErrorStatus status = SUCCESS; 635 .loc 1 322 0 636 .cfi_startproc 637 @ args = 0, pretend = 0, frame = 0 638 @ frame_needed = 0, uses_anonymous_args = 0 639 .LVL59: 640 0000 F8B5 push {r3, r4, r5, r6, r7, lr} 641 .LCFI4: 642 .cfi_def_cfa_offset 24 643 .cfi_offset 3, -24 644 .cfi_offset 4, -20 645 .cfi_offset 5, -16 646 .cfi_offset 6, -12 647 .cfi_offset 7, -8 648 .cfi_offset 14, -4 649 0002 0D00 movs r5, r1 650 0004 1600 movs r6, r2 651 0006 1C00 movs r4, r3 652 .LVL60: 653 .LBB102: 654 .LBB103: 655 .LBB104: 656 .LBB105: 1837:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } 657 .loc 4 1837 0 658 0008 1D4B ldr r3, .L58 659 .LVL61: 660 000a 1B68 ldr r3, [r3] 661 .LBE105: 662 .LBE104: 486:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 663 .loc 1 486 0 664 000c 9B01 lsls r3, r3, #6 ARM GAS /tmp/ccFUt0tx.s page 82 665 000e 35D4 bmi .L56 666 .LVL62: 667 .LBE103: 668 .LBE102: 669 .LBB106: 670 .LBB107: 464:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** assert_param(IS_LL_UTILS_PLLVCO_OUTPUT(pllfreq)); 671 .loc 1 464 0 672 0010 1368 ldr r3, [r2] 673 0012 9B0C lsrs r3, r3, #18 674 0014 1B4A ldr r2, .L58+4 675 .LVL63: 676 0016 D35C ldrb r3, [r2, r3] 677 0018 5843 muls r0, r3 678 .LVL64: 469:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** assert_param(IS_LL_UTILS_PLL_FREQUENCY(pllfreq)); 679 .loc 1 469 0 680 001a 7368 ldr r3, [r6, #4] 681 001c 990D lsrs r1, r3, #22 682 .LVL65: 683 001e 0131 adds r1, r1, #1 684 0020 FFF7FEFF bl __aeabi_uidiv 685 .LVL66: 686 .LBE107: 687 .LBE106: 688 .LBB108: 689 .LBB109: 767:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } 690 .loc 4 767 0 691 0024 164B ldr r3, .L58 692 0026 1B68 ldr r3, [r3] 693 .LBE109: 694 .LBE108: 337:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 695 .loc 1 337 0 696 0028 9B03 lsls r3, r3, #14 697 002a 10D4 bmi .L52 340:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 698 .loc 1 340 0 699 002c 012D cmp r5, #1 700 002e 1ED0 beq .L57 701 .LBB110: 702 .LBB111: 737:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } 703 .loc 4 737 0 704 0030 134A ldr r2, .L58 705 0032 1368 ldr r3, [r2] 706 0034 1449 ldr r1, .L58+8 707 0036 0B40 ands r3, r1 708 0038 1360 str r3, [r2] 709 .L54: 710 .LBE111: 711 .LBE110: 712 .LBB112: 713 .LBB113: 747:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } 714 .loc 4 747 0 ARM GAS /tmp/ccFUt0tx.s page 83 715 003a 114A ldr r2, .L58 716 003c 1168 ldr r1, [r2] 717 003e 8023 movs r3, #128 718 0040 5B02 lsls r3, r3, #9 719 0042 0B43 orrs r3, r1 720 0044 1360 str r3, [r2] 721 .L55: 722 .LBE113: 723 .LBE112: 724 .LBB114: 725 .LBB115: 767:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } 726 .loc 4 767 0 discriminator 1 727 0046 0E4B ldr r3, .L58 728 0048 1B68 ldr r3, [r3] 729 .LBE115: 730 .LBE114: 351:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** { 731 .loc 1 351 0 discriminator 1 732 004a 9B03 lsls r3, r3, #14 733 004c FBD5 bpl .L55 734 .L52: 358:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 735 .loc 1 358 0 736 004e 3768 ldr r7, [r6] 737 0050 7268 ldr r2, [r6, #4] 738 .LVL67: 739 .LBB116: 740 .LBB117: 741 .loc 4 1866 0 742 0052 0B4D ldr r5, .L58 743 .LVL68: 744 0054 EB68 ldr r3, [r5, #12] 745 0056 0D49 ldr r1, .L58+12 746 0058 0B40 ands r3, r1 747 005a 8021 movs r1, #128 748 005c 4902 lsls r1, r1, #9 749 005e 3943 orrs r1, r7 750 0060 0A43 orrs r2, r1 751 .LVL69: 752 0062 1343 orrs r3, r2 753 0064 EB60 str r3, [r5, #12] 754 .LVL70: 755 .LBE117: 756 .LBE116: 361:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 757 .loc 1 361 0 758 0066 2100 movs r1, r4 759 0068 FFF7FEFF bl UTILS_EnablePLLAndSwitchSystem 760 .LVL71: 761 .L51: 370:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** 762 .loc 1 370 0 763 @ sp needed 764 .LVL72: 765 .LVL73: 766 006c F8BD pop {r3, r4, r5, r6, r7, pc} ARM GAS /tmp/ccFUt0tx.s page 84 767 .LVL74: 768 .L57: 769 .LBB118: 770 .LBB119: 727:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_rcc.h **** } 771 .loc 4 727 0 772 006e 044A ldr r2, .L58 773 0070 1168 ldr r1, [r2] 774 0072 8023 movs r3, #128 775 0074 DB02 lsls r3, r3, #11 776 0076 0B43 orrs r3, r1 777 0078 1360 str r3, [r2] 778 007a DEE7 b .L54 779 .LVL75: 780 .L56: 781 .LBE119: 782 .LBE118: 366:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_utils.c **** } 783 .loc 1 366 0 784 007c 0020 movs r0, #0 785 .LVL76: 786 007e F5E7 b .L51 787 .L59: 788 .align 2 789 .L58: 790 0080 00100240 .word 1073876992 791 0084 00000000 .word PLLMulTable 792 0088 FFFFFBFF .word -262145 793 008c FFFF02FF .word -16580609 794 .cfi_endproc 795 .LFE275: 797 .text 798 .Letext0: 799 .file 6 "/usr/arm-none-eabi/include/machine/_default_types.h" 800 .file 7 "/usr/arm-none-eabi/include/sys/_stdint.h" 801 .file 8 "Drivers/CMSIS/Include/core_cm0plus.h" 802 .file 9 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h" 803 .file 10 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h" 804 .file 11 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h" 805 .file 12 "/usr/arm-none-eabi/include/sys/lock.h" 806 .file 13 "/usr/arm-none-eabi/include/sys/_types.h" 807 .file 14 "/usr/lib/gcc/arm-none-eabi/7.2.0/include/stddef.h" 808 .file 15 "/usr/arm-none-eabi/include/sys/reent.h" ARM GAS /tmp/ccFUt0tx.s page 85 DEFINED SYMBOLS *ABS*:0000000000000000 stm32l0xx_ll_utils.c /tmp/ccFUt0tx.s:16 .text.UTILS_SetFlashLatency:0000000000000000 $t /tmp/ccFUt0tx.s:22 .text.UTILS_SetFlashLatency:0000000000000000 UTILS_SetFlashLatency /tmp/ccFUt0tx.s:156 .text.UTILS_SetFlashLatency:0000000000000070 $d /tmp/ccFUt0tx.s:165 .text.UTILS_EnablePLLAndSwitchSystem:0000000000000000 $t /tmp/ccFUt0tx.s:171 .text.UTILS_EnablePLLAndSwitchSystem:0000000000000000 UTILS_EnablePLLAndSwitchSystem /tmp/ccFUt0tx.s:340 .text.UTILS_EnablePLLAndSwitchSystem:0000000000000098 $d /tmp/ccFUt0tx.s:352 .text.LL_Init1msTick:0000000000000000 $t /tmp/ccFUt0tx.s:359 .text.LL_Init1msTick:0000000000000000 LL_Init1msTick /tmp/ccFUt0tx.s:398 .text.LL_Init1msTick:000000000000001c $d /tmp/ccFUt0tx.s:403 .text.LL_mDelay:0000000000000000 $t /tmp/ccFUt0tx.s:410 .text.LL_mDelay:0000000000000000 LL_mDelay /tmp/ccFUt0tx.s:454 .text.LL_mDelay:0000000000000024 $d /tmp/ccFUt0tx.s:459 .text.LL_SetSystemCoreClock:0000000000000000 $t /tmp/ccFUt0tx.s:466 .text.LL_SetSystemCoreClock:0000000000000000 LL_SetSystemCoreClock /tmp/ccFUt0tx.s:483 .text.LL_SetSystemCoreClock:0000000000000008 $d /tmp/ccFUt0tx.s:488 .text.LL_PLL_ConfigSystemClock_HSI:0000000000000000 $t /tmp/ccFUt0tx.s:495 .text.LL_PLL_ConfigSystemClock_HSI:0000000000000000 LL_PLL_ConfigSystemClock_HSI /tmp/ccFUt0tx.s:619 .text.LL_PLL_ConfigSystemClock_HSI:0000000000000068 $d /tmp/ccFUt0tx.s:626 .text.LL_PLL_ConfigSystemClock_HSE:0000000000000000 $t /tmp/ccFUt0tx.s:633 .text.LL_PLL_ConfigSystemClock_HSE:0000000000000000 LL_PLL_ConfigSystemClock_HSE /tmp/ccFUt0tx.s:790 .text.LL_PLL_ConfigSystemClock_HSE:0000000000000080 $d .debug_frame:0000000000000010 $d UNDEFINED SYMBOLS AHBPrescTable SystemCoreClock __aeabi_uidiv PLLMulTable