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

© COPYRIGHT(c) 2016 STMicroelectronics

10:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * 11:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * Redistribution and use in source and binary forms, with or without modification, 12:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * are permitted provided that the following conditions are met: 13:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * 1. Redistributions of source code must retain the above copyright notice, 14:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * this list of conditions and the following disclaimer. 15:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * 2. Redistributions in binary form must reproduce the above copyright notice, 16:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * this list of conditions and the following disclaimer in the documentation 17:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * and/or other materials provided with the distribution. 18:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 19:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * may be used to endorse or promote products derived from this software 20:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * without specific prior written permission. 21:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * 22:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 26:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * 33:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** ****************************************************************************** ARM GAS /tmp/cc2Dksgr.s page 2 34:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** */ 35:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #if defined(USE_FULL_LL_DRIVER) 36:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 37:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* Includes ------------------------------------------------------------------*/ 38:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #include "stm32l0xx_ll_lptim.h" 39:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #include "stm32l0xx_ll_bus.h" 40:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 41:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #ifdef USE_FULL_ASSERT 42:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #include "stm32_assert.h" 43:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #else 44:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #define assert_param(expr) ((void)0U) 45:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #endif 46:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 47:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /** @addtogroup STM32L0xx_LL_Driver 48:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @{ 49:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** */ 50:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 51:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #if defined (LPTIM1) || defined (LPTIM2) 52:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 53:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /** @addtogroup LPTIM_LL 54:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @{ 55:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** */ 56:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 57:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* Private types -------------------------------------------------------------*/ 58:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* Private variables ---------------------------------------------------------*/ 59:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* Private constants ---------------------------------------------------------*/ 60:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* Private macros ------------------------------------------------------------*/ 61:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /** @addtogroup LPTIM_LL_Private_Macros 62:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @{ 63:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** */ 64:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #define IS_LPTIM_CLOCK_SOURCE(__VALUE__) (((__VALUE__) == LL_LPTIM_CLK_SOURCE_INTERNAL) \ 65:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** || ((__VALUE__) == LL_LPTIM_CLK_SOURCE_EXTERNAL)) 66:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 67:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #define IS_LPTIM_CLOCK_PRESCALER(__VALUE__) (((__VALUE__) == LL_LPTIM_PRESCALER_DIV1) \ 68:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** || ((__VALUE__) == LL_LPTIM_PRESCALER_DIV2) \ 69:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** || ((__VALUE__) == LL_LPTIM_PRESCALER_DIV4) \ 70:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** || ((__VALUE__) == LL_LPTIM_PRESCALER_DIV8) \ 71:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** || ((__VALUE__) == LL_LPTIM_PRESCALER_DIV16) \ 72:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** || ((__VALUE__) == LL_LPTIM_PRESCALER_DIV32) \ 73:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** || ((__VALUE__) == LL_LPTIM_PRESCALER_DIV64) \ 74:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** || ((__VALUE__) == LL_LPTIM_PRESCALER_DIV128)) 75:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 76:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #define IS_LPTIM_WAVEFORM(__VALUE__) (((__VALUE__) == LL_LPTIM_OUTPUT_WAVEFORM_PWM) \ 77:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** || ((__VALUE__) == LL_LPTIM_OUTPUT_WAVEFORM_SETONCE)) 78:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 79:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #define IS_LPTIM_OUTPUT_POLARITY(__VALUE__) (((__VALUE__) == LL_LPTIM_OUTPUT_POLARITY_REGULAR) \ 80:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** || ((__VALUE__) == LL_LPTIM_OUTPUT_POLARITY_INVERSE)) 81:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /** 82:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @} 83:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** */ 84:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 85:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 86:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* Private function prototypes -----------------------------------------------*/ 87:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* Exported functions --------------------------------------------------------*/ 88:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /** @addtogroup LPTIM_LL_Exported_Functions 89:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @{ 90:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** */ ARM GAS /tmp/cc2Dksgr.s page 3 91:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 92:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /** @addtogroup LPTIM_LL_EF_Init 93:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @{ 94:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** */ 95:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 96:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /** 97:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @brief Set LPTIMx registers to their reset values. 98:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @param LPTIMx LP Timer instance 99:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @retval An ErrorStatus enumeration value: 100:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * - SUCCESS: LPTIMx registers are de-initialized 101:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * - ERROR: invalid LPTIMx instance 102:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** */ 103:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** ErrorStatus LL_LPTIM_DeInit(LPTIM_TypeDef* LPTIMx) 104:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** { 26 .loc 1 104 0 27 .cfi_startproc 28 @ args = 0, pretend = 0, frame = 0 29 @ frame_needed = 0, uses_anonymous_args = 0 30 @ link register save eliminated. 31 .LVL0: 105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** ErrorStatus result = SUCCESS; 106:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 107:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* Check the parameters */ 108:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** assert_param(IS_LPTIM_INSTANCE(LPTIMx)); 109:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 110:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** if (LPTIMx == LPTIM1) 32 .loc 1 110 0 33 0000 084B ldr r3, .L5 34 0002 9842 cmp r0, r3 35 0004 01D0 beq .L4 111:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** { 112:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_LPTIM1); 113:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_LPTIM1); 114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** } 115:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #if defined(LPTIM2) 116:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** else if (LPTIMx == LPTIM2) 117:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** { 118:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** LL_APB1_GRP2_ForceReset(LL_APB1_GRP2_PERIPH_LPTIM2); 119:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** LL_APB1_GRP2_ReleaseReset(LL_APB1_GRP2_PERIPH_LPTIM2); 120:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** } 121:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** #endif 122:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** else 123:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** { 124:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** result = ERROR; 36 .loc 1 124 0 37 0006 0020 movs r0, #0 38 .LVL1: 39 .L2: 125:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** } 126:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 127:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** return result; 128:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** } 40 .loc 1 128 0 41 @ sp needed 42 0008 7047 bx lr 43 .LVL2: 44 .L4: ARM GAS /tmp/cc2Dksgr.s page 4 45 .LBB8: 46 .LBB9: 47 .file 2 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h" 1:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 2:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** ****************************************************************************** 3:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @file stm32l0xx_ll_bus.h 4:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @author MCD Application Team 5:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Header file of BUS LL module. 6:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 7:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** @verbatim 8:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** ##### RCC Limitations ##### 9:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** ============================================================================== 10:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** [..] 11:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** A delay between an RCC peripheral clock enable and the effective peripheral 12:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** enabling should be taken into account in order to manage the peripheral read/write 13:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** from/to registers. 14:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (+) This delay depends on the peripheral mapping. 15:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (++) AHB & APB peripherals, 1 dummy read is necessary 16:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 17:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** [..] 18:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** Workarounds: 19:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (#) For AHB & APB peripherals, a dummy read to the peripheral register has been 20:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** inserted in each LL_{BUS}_GRP{x}_EnableClock() function. 21:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 22:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** @endverbatim 23:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** ****************************************************************************** 24:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @attention 25:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 26:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** *

© COPYRIGHT(c) 2016 STMicroelectronics

27:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 28:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * Redistribution and use in source and binary forms, with or without modification, 29:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * are permitted provided that the following conditions are met: 30:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 1. Redistributions of source code must retain the above copyright notice, 31:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * this list of conditions and the following disclaimer. 32:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 2. Redistributions in binary form must reproduce the above copyright notice, 33:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * this list of conditions and the following disclaimer in the documentation 34:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * and/or other materials provided with the distribution. 35:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 36:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * may be used to endorse or promote products derived from this software 37:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * without specific prior written permission. 38:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 39:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 40:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 41:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 42:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 43:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 44:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 45:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 46:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 47:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 48:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 49:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 50:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** ****************************************************************************** 51:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 52:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 53:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 54:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #ifndef __STM32L0xx_LL_BUS_H ARM GAS /tmp/cc2Dksgr.s page 5 55:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define __STM32L0xx_LL_BUS_H 56:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 57:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #ifdef __cplusplus 58:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** extern "C" { 59:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 60:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 61:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Includes ------------------------------------------------------------------*/ 62:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #include "stm32l0xx.h" 63:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 64:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @addtogroup STM32L0xx_LL_Driver 65:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 66:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 67:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 68:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(RCC) 69:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 70:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL BUS 71:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 72:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 73:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 74:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Private types -------------------------------------------------------------*/ 75:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Private variables ---------------------------------------------------------*/ 76:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 77:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Private constants ---------------------------------------------------------*/ 78:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 79:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Private macros ------------------------------------------------------------*/ 80:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 81:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Exported types ------------------------------------------------------------*/ 82:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Exported constants --------------------------------------------------------*/ 83:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Constants BUS Exported Constants 84:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 85:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 86:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 87:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_AHB1_GRP1_PERIPH AHB1 GRP1 PERIPH 88:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 89:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 90:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU 91:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA1 RCC_AHBENR_DMA1EN /*!< DMA1 clock enable */ 92:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_MIF RCC_AHBENR_MIFEN /*!< MIF clock enable */ 93:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_SRAM RCC_AHBSMENR_SRAMSMEN /*!< Sleep Mode SRAM clock enable 94:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRC RCC_AHBENR_CRCEN /*!< CRC clock enable */ 95:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(TSC) 96:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_TSC RCC_AHBENR_TSCEN /*!< TSC clock enable */ 97:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*TSC*/ 98:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(RNG) 99:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_RNG RCC_AHBENR_RNGEN /*!< RNG clock enable */ 100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*RNG*/ 101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(AES) 102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRYP RCC_AHBENR_CRYPEN /*!< CRYP clock enable */ 103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*AES*/ 104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 108:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 109:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB1_GRP1_PERIPH APB1 GRP1 PERIPH 110:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 111:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ ARM GAS /tmp/cc2Dksgr.s page 6 112:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU 113:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM2 RCC_APB1ENR_TIM2EN /*!< TIM2 clock enable */ 114:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(TIM3) 115:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM3 RCC_APB1ENR_TIM3EN /*!< TIM3 clock enable */ 116:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 117:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(TIM6) 118:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM6 RCC_APB1ENR_TIM6EN /*!< TIM6 clock enable */ 119:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 120:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(TIM7) 121:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM7 RCC_APB1ENR_TIM7EN /*!< TIM7 clock enable */ 122:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 123:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(LCD) 124:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LCD RCC_APB1ENR_LCDEN /*!< LCD clock enable */ 125:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*LCD*/ 126:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_WWDG RCC_APB1ENR_WWDGEN /*!< WWDG clock enable */ 127:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(SPI2) 128:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI2 RCC_APB1ENR_SPI2EN /*!< SPI2 clock enable */ 129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 130:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART2 RCC_APB1ENR_USART2EN /*!< USART2 clock enable */ 131:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPUART1 RCC_APB1ENR_LPUART1EN /*!< LPUART1 clock enable */ 132:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(USART4) 133:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART4 RCC_APB1ENR_USART4EN /*!< USART4 clock enable */ 134:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 135:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(USART5) 136:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART5 RCC_APB1ENR_USART5EN /*!< USART5 clock enable */ 137:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 138:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C1 RCC_APB1ENR_I2C1EN /*!< I2C1 clock enable */ 139:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(I2C2) 140:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C2 RCC_APB1ENR_I2C2EN /*!< I2C2 clock enable */ 141:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 142:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(USB) 143:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USB RCC_APB1ENR_USBEN /*!< USB clock enable */ 144:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*USB*/ 145:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(CRS) 146:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CRS RCC_APB1ENR_CRSEN /*!< CRS clock enable */ 147:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*CRS*/ 148:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_PWR RCC_APB1ENR_PWREN /*!< PWR clock enable */ 149:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(DAC) 150:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_DAC1 RCC_APB1ENR_DACEN /*!< DAC clock enable */ 151:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 152:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(I2C3) 153:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C3 RCC_APB1ENR_I2C3EN /*!< I2C3 clock enable */ 154:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 155:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPTIM1 RCC_APB1ENR_LPTIM1EN /*!< LPTIM1 clock enable */ 156:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 157:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 158:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 159:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 160:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 161:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 162:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 163:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB2_GRP1_PERIPH APB2 GRP1 PERIPH 164:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 165:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 166:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU 167:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SYSCFG RCC_APB2ENR_SYSCFGEN /*!< SYSCFG clock enable */ 168:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM21 RCC_APB2ENR_TIM21EN /*!< TIM21 clock enable */ ARM GAS /tmp/cc2Dksgr.s page 7 169:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(TIM22) 170:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM22 RCC_APB2ENR_TIM22EN /*!< TIM22 clock enable */ 171:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 172:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_FW RCC_APB2ENR_FWEN /*!< FireWall clock enable */ 173:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC1 RCC_APB2ENR_ADC1EN /*!< ADC1 clock enable */ 174:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SPI1 RCC_APB2ENR_SPI1EN /*!< SPI1 clock enable */ 175:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(USART1) 176:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_USART1 RCC_APB2ENR_USART1EN /*!< USART1 clock enable */ 177:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif 178:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_DBGMCU RCC_APB2ENR_DBGMCUEN /*!< DBGMCU clock enable */ 179:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 180:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 181:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 182:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 183:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 184:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 185:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 186:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EC_IOP_GRP1_PERIPH IOP GRP1 PERIPH 187:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 188:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 189:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU 190:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOA RCC_IOPENR_GPIOAEN /*!< GPIO port A control */ 191:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOB RCC_IOPENR_GPIOBEN /*!< GPIO port B control */ 192:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOC RCC_IOPENR_GPIOCEN /*!< GPIO port C control */ 193:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(GPIOD) 194:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOD RCC_IOPENR_GPIODEN /*!< GPIO port D control */ 195:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*GPIOD*/ 196:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(GPIOE) 197:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOE RCC_IOPENR_GPIOEEN /*!< GPIO port H control */ 198:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*GPIOE*/ 199:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #if defined(GPIOH) 200:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #define LL_IOP_GRP1_PERIPH_GPIOH RCC_IOPENR_GPIOHEN /*!< GPIO port H control */ 201:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** #endif /*GPIOH*/ 202:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 203:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 204:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 205:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 206:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 207:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 208:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 209:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 210:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 211:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Exported macro ------------------------------------------------------------*/ 212:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Exported functions --------------------------------------------------------*/ 213:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Functions BUS Exported Functions 214:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 215:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 216:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 217:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_AHB1 AHB1 218:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 219:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 220:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 221:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 222:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Enable AHB1 peripherals clock. 223:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll AHBENR DMAEN LL_AHB1_GRP1_EnableClock\n 224:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR MIFEN LL_AHB1_GRP1_EnableClock\n 225:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_EnableClock\n ARM GAS /tmp/cc2Dksgr.s page 8 226:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR TSCEN LL_AHB1_GRP1_EnableClock\n 227:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_EnableClock\n 228:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR CRYPEN LL_AHB1_GRP1_EnableClock 229:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 230:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 231:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_MIF 232:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 233:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_TSC (*) 234:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*) 235:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*) 236:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 237:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 238:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 239:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 240:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClock(uint32_t Periphs) 241:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 242:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __IO uint32_t tmpreg; 243:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->AHBENR, Periphs); 244:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 245:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBENR, Periphs); 246:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (void)tmpreg; 247:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 248:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 249:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 250:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Check if AHB1 peripheral clock is enabled or not 251:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll AHBENR DMAEN LL_AHB1_GRP1_IsEnabledClock\n 252:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR MIFEN LL_AHB1_GRP1_IsEnabledClock\n 253:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_IsEnabledClock\n 254:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR TSCEN LL_AHB1_GRP1_IsEnabledClock\n 255:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_IsEnabledClock\n 256:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR CRYPEN LL_AHB1_GRP1_IsEnabledClock 257:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 258:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 259:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_MIF 260:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 261:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_TSC (*) 262:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*) 263:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*) 264:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 265:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 266:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval State of Periphs (1 or 0). 267:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 268:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_AHB1_GRP1_IsEnabledClock(uint32_t Periphs) 269:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 270:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** return (READ_BIT(RCC->AHBENR, Periphs) == Periphs); 271:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 272:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 273:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 274:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Disable AHB1 peripherals clock. 275:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll AHBENR DMAEN LL_AHB1_GRP1_DisableClock\n 276:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR MIFEN LL_AHB1_GRP1_DisableClock\n 277:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR CRCEN LL_AHB1_GRP1_DisableClock\n 278:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR TSCEN LL_AHB1_GRP1_DisableClock\n 279:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR RNGEN LL_AHB1_GRP1_DisableClock\n 280:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBENR CRYPEN LL_AHB1_GRP1_DisableClock 281:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 282:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 ARM GAS /tmp/cc2Dksgr.s page 9 283:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_MIF 284:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 285:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_TSC (*) 286:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*) 287:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*) 288:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 289:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 290:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 291:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 292:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClock(uint32_t Periphs) 293:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 294:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBENR, Periphs); 295:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 296:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 297:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 298:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Force AHB1 peripherals reset. 299:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll AHBRSTR DMARST LL_AHB1_GRP1_ForceReset\n 300:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR MIFRST LL_AHB1_GRP1_ForceReset\n 301:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR CRCRST LL_AHB1_GRP1_ForceReset\n 302:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR TSCRST LL_AHB1_GRP1_ForceReset\n 303:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR RNGRST LL_AHB1_GRP1_ForceReset\n 304:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR CRYPRST LL_AHB1_GRP1_ForceReset 305:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 306:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL 307:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 308:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_MIF 309:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 310:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_TSC (*) 311:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*) 312:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*) 313:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 314:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 315:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 316:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 317:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ForceReset(uint32_t Periphs) 318:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 319:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->AHBRSTR, Periphs); 320:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 321:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 322:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 323:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Release AHB1 peripherals reset. 324:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll AHBRSTR DMARST LL_AHB1_GRP1_ReleaseReset\n 325:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR MIFRST LL_AHB1_GRP1_ReleaseReset\n 326:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR CRCRST LL_AHB1_GRP1_ReleaseReset\n 327:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR TSCRST LL_AHB1_GRP1_ReleaseReset\n 328:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR RNGRST LL_AHB1_GRP1_ReleaseReset\n 329:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBRSTR CRYPRST LL_AHB1_GRP1_ReleaseReset 330:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 331:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL 332:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 333:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_MIF 334:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 335:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_TSC (*) 336:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*) 337:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*) 338:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 339:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. ARM GAS /tmp/cc2Dksgr.s page 10 340:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 341:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 342:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ReleaseReset(uint32_t Periphs) 343:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 344:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBRSTR, Periphs); 345:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 346:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 347:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 348:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Enable AHB1 peripherals clock during Low Power (Sleep) mode. 349:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll AHBSMENR DMASMEN LL_AHB1_GRP1_EnableClockSleep\n 350:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR MIFSMEN LL_AHB1_GRP1_EnableClockSleep\n 351:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR SRAMSMEN LL_AHB1_GRP1_EnableClockSleep\n 352:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR CRCSMEN LL_AHB1_GRP1_EnableClockSleep\n 353:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR TSCSMEN LL_AHB1_GRP1_EnableClockSleep\n 354:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR RNGSMEN LL_AHB1_GRP1_EnableClockSleep\n 355:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR CRYPSMEN LL_AHB1_GRP1_EnableClockSleep 356:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 357:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 358:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_MIF 359:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM 360:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 361:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_TSC (*) 362:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*) 363:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*) 364:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 365:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 366:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 367:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 368:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClockSleep(uint32_t Periphs) 369:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 370:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __IO uint32_t tmpreg; 371:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->AHBSMENR, Periphs); 372:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 373:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBSMENR, Periphs); 374:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (void)tmpreg; 375:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 376:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 377:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 378:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Disable AHB1 peripherals clock during Low Power (Sleep) mode. 379:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll AHBSMENR DMASMEN LL_AHB1_GRP1_DisableClockSleep\n 380:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR MIFSMEN LL_AHB1_GRP1_DisableClockSleep\n 381:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR SRAMSMEN LL_AHB1_GRP1_DisableClockSleep\n 382:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR CRCSMEN LL_AHB1_GRP1_DisableClockSleep\n 383:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR TSCSMEN LL_AHB1_GRP1_DisableClockSleep\n 384:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR RNGSMEN LL_AHB1_GRP1_DisableClockSleep\n 385:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * AHBSMENR CRYPSMEN LL_AHB1_GRP1_DisableClockSleep 386:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 387:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 388:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_MIF 389:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM 390:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 391:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_TSC (*) 392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_RNG (*) 393:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRYP (*) 394:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 395:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 396:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None ARM GAS /tmp/cc2Dksgr.s page 11 397:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 398:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClockSleep(uint32_t Periphs) 399:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 400:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->AHBSMENR, Periphs); 401:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 402:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 403:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 404:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 405:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 406:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_APB1 APB1 408:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 409:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 410:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 411:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 412:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Enable APB1 peripherals clock. 413:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1ENR TIM2EN LL_APB1_GRP1_EnableClock\n 414:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_EnableClock\n 415:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_EnableClock\n 416:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_EnableClock\n 417:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LCDEN LL_APB1_GRP1_EnableClock\n 418:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_EnableClock\n 419:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_EnableClock\n 420:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_EnableClock\n 421:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LPUART1EN LL_APB1_GRP1_EnableClock\n 422:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART4EN LL_APB1_GRP1_EnableClock\n 423:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART5EN LL_APB1_GRP1_EnableClock\n 424:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_EnableClock\n 425:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_EnableClock\n 426:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_EnableClock\n 427:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR CRSEN LL_APB1_GRP1_EnableClock\n 428:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_EnableClock\n 429:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_EnableClock\n 430:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C3EN LL_APB1_GRP1_EnableClock\n 431:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LPTIM1EN LL_APB1_GRP1_EnableClock 432:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 433:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 434:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*) 435:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 436:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 437:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*) 438:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 439:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 440:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 441:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 442:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (*) 443:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (*) 444:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 445:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 446:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 447:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CRS (*) 448:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 449:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 450:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (*) 451:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 452:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 453:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. ARM GAS /tmp/cc2Dksgr.s page 12 454:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 455:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 456:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_EnableClock(uint32_t Periphs) 457:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 458:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __IO uint32_t tmpreg; 459:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->APB1ENR, Periphs); 460:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 461:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APB1ENR, Periphs); 462:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (void)tmpreg; 463:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 464:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 465:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 466:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Check if APB1 peripheral clock is enabled or not 467:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1ENR TIM2EN LL_APB1_GRP1_IsEnabledClock\n 468:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_IsEnabledClock\n 469:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_IsEnabledClock\n 470:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_IsEnabledClock\n 471:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LCDEN LL_APB1_GRP1_IsEnabledClock\n 472:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_IsEnabledClock\n 473:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_IsEnabledClock\n 474:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_IsEnabledClock\n 475:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LPUART1EN LL_APB1_GRP1_IsEnabledClock\n 476:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART4EN LL_APB1_GRP1_IsEnabledClock\n 477:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART5EN LL_APB1_GRP1_IsEnabledClock\n 478:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_IsEnabledClock\n 479:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_IsEnabledClock\n 480:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_IsEnabledClock\n 481:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR CRSEN LL_APB1_GRP1_IsEnabledClock\n 482:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_IsEnabledClock\n 483:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_IsEnabledClock\n 484:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C3EN LL_APB1_GRP1_IsEnabledClock\n 485:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LPTIM1EN LL_APB1_GRP1_IsEnabledClock 486:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 487:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 488:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*) 489:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 490:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 491:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*) 492:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 493:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 494:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 495:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 496:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (*) 497:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (*) 498:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 499:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 500:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 501:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CRS (*) 502:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 503:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 504:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (*) 505:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 506:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 507:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 508:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval State of Periphs (1 or 0). 509:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 510:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_APB1_GRP1_IsEnabledClock(uint32_t Periphs) ARM GAS /tmp/cc2Dksgr.s page 13 511:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 512:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** return (READ_BIT(RCC->APB1ENR, Periphs) == Periphs); 513:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 514:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 515:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 516:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Disable APB1 peripherals clock. 517:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1ENR TIM2EN LL_APB1_GRP1_DisableClock\n 518:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_DisableClock\n 519:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_DisableClock\n 520:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_DisableClock\n 521:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LCDEN LL_APB1_GRP1_DisableClock\n 522:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_DisableClock\n 523:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_DisableClock\n 524:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_DisableClock\n 525:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LPUART1EN LL_APB1_GRP1_DisableClock\n 526:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART4EN LL_APB1_GRP1_DisableClock\n 527:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USART5EN LL_APB1_GRP1_DisableClock\n 528:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_DisableClock\n 529:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_DisableClock\n 530:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_DisableClock\n 531:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR CRSEN LL_APB1_GRP1_DisableClock\n 532:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_DisableClock\n 533:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_DisableClock\n 534:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR I2C3EN LL_APB1_GRP1_DisableClock\n 535:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1ENR LPTIM1EN LL_APB1_GRP1_DisableClock 536:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 537:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 538:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*) 539:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 540:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 541:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*) 542:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 543:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 544:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 545:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 546:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (*) 547:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (*) 548:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 549:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 550:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 551:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CRS (*) 552:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 553:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 554:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (*) 555:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 556:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 557:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 558:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 559:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 560:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_DisableClock(uint32_t Periphs) 561:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 562:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->APB1ENR, Periphs); 563:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 564:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 565:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 566:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Force APB1 peripherals reset. 567:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1RSTR TIM2RST LL_APB1_GRP1_ForceReset\n ARM GAS /tmp/cc2Dksgr.s page 14 568:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM3RST LL_APB1_GRP1_ForceReset\n 569:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM6RST LL_APB1_GRP1_ForceReset\n 570:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM7RST LL_APB1_GRP1_ForceReset\n 571:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LCDRST LL_APB1_GRP1_ForceReset\n 572:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR WWDGRST LL_APB1_GRP1_ForceReset\n 573:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR SPI2RST LL_APB1_GRP1_ForceReset\n 574:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART2RST LL_APB1_GRP1_ForceReset\n 575:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LPUART1RST LL_APB1_GRP1_ForceReset\n 576:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART4RST LL_APB1_GRP1_ForceReset\n 577:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART5RST LL_APB1_GRP1_ForceReset\n 578:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C1RST LL_APB1_GRP1_ForceReset\n 579:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C2RST LL_APB1_GRP1_ForceReset\n 580:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USBRST LL_APB1_GRP1_ForceReset\n 581:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR CRSRST LL_APB1_GRP1_ForceReset\n 582:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR PWRRST LL_APB1_GRP1_ForceReset\n 583:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR DACRST LL_APB1_GRP1_ForceReset\n 584:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C3RST LL_APB1_GRP1_ForceReset\n 585:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LPTIM1RST LL_APB1_GRP1_ForceReset 586:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 587:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_ALL 588:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 589:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*) 590:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 591:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 592:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*) 593:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 594:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 595:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 596:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 597:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (*) 598:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (*) 599:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 600:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 601:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 602:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CRS (*) 603:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 604:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 605:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (*) 606:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 607:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 608:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 609:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 610:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 611:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_ForceReset(uint32_t Periphs) 612:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->APB1RSTR, Periphs); 48 .loc 2 613 0 49 000a 074A ldr r2, .L5+4 50 000c 916A ldr r1, [r2, #40] 51 000e 8023 movs r3, #128 52 0010 1B06 lsls r3, r3, #24 53 0012 0B43 orrs r3, r1 54 0014 9362 str r3, [r2, #40] 55 .LVL3: 56 .LBE9: 57 .LBE8: 58 .LBB10: ARM GAS /tmp/cc2Dksgr.s page 15 59 .LBB11: 614:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 615:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 616:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 617:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Release APB1 peripherals reset. 618:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1RSTR TIM2RST LL_APB1_GRP1_ReleaseReset\n 619:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM3RST LL_APB1_GRP1_ReleaseReset\n 620:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM6RST LL_APB1_GRP1_ReleaseReset\n 621:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR TIM7RST LL_APB1_GRP1_ReleaseReset\n 622:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LCDRST LL_APB1_GRP1_ReleaseReset\n 623:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR WWDGRST LL_APB1_GRP1_ReleaseReset\n 624:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR SPI2RST LL_APB1_GRP1_ReleaseReset\n 625:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART2RST LL_APB1_GRP1_ReleaseReset\n 626:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LPUART1RST LL_APB1_GRP1_ReleaseReset\n 627:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART4RST LL_APB1_GRP1_ReleaseReset\n 628:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USART5RST LL_APB1_GRP1_ReleaseReset\n 629:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C1RST LL_APB1_GRP1_ReleaseReset\n 630:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C2RST LL_APB1_GRP1_ReleaseReset\n 631:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR USBRST LL_APB1_GRP1_ReleaseReset\n 632:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR CRSRST LL_APB1_GRP1_ReleaseReset\n 633:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR PWRRST LL_APB1_GRP1_ReleaseReset\n 634:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR DACRST LL_APB1_GRP1_ReleaseReset\n 635:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR I2C3RST LL_APB1_GRP1_ReleaseReset\n 636:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1RSTR LPTIM1RST LL_APB1_GRP1_ReleaseReset 637:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 638:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_ALL 639:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 640:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*) 641:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 642:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 643:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*) 644:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 645:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 646:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 647:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 648:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (*) 649:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (*) 650:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 651:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 652:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 653:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CRS (*) 654:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 655:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 656:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (*) 657:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 658:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 659:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 660:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 661:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 662:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_ReleaseReset(uint32_t Periphs) 663:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 664:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->APB1RSTR, Periphs); 60 .loc 2 664 0 61 0016 936A ldr r3, [r2, #40] 62 0018 5B00 lsls r3, r3, #1 63 001a 5B08 lsrs r3, r3, #1 64 001c 9362 str r3, [r2, #40] ARM GAS /tmp/cc2Dksgr.s page 16 65 .LBE11: 66 .LBE10: 105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 67 .loc 1 105 0 68 001e 0120 movs r0, #1 69 .LVL4: 70 0020 F2E7 b .L2 71 .L6: 72 0022 C046 .align 2 73 .L5: 74 0024 007C0040 .word 1073773568 75 0028 00100240 .word 1073876992 76 .cfi_endproc 77 .LFE140: 79 .section .text.LL_LPTIM_StructInit,"ax",%progbits 80 .align 1 81 .global LL_LPTIM_StructInit 82 .syntax unified 83 .code 16 84 .thumb_func 85 .fpu softvfp 87 LL_LPTIM_StructInit: 88 .LFB141: 129:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 130:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /** 131:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @brief Set each fields of the LPTIM_InitStruct structure to its default 132:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * value. 133:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @param LPTIM_InitStruct pointer to a @ref LL_LPTIM_InitTypeDef structure 134:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @retval None 135:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** */ 136:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** void LL_LPTIM_StructInit(LL_LPTIM_InitTypeDef* LPTIM_InitStruct) 137:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** { 89 .loc 1 137 0 90 .cfi_startproc 91 @ args = 0, pretend = 0, frame = 0 92 @ frame_needed = 0, uses_anonymous_args = 0 93 @ link register save eliminated. 94 .LVL5: 138:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* Set the default configuration */ 139:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** LPTIM_InitStruct->ClockSource = LL_LPTIM_CLK_SOURCE_INTERNAL; 95 .loc 1 139 0 96 0000 0023 movs r3, #0 97 0002 0360 str r3, [r0] 140:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** LPTIM_InitStruct->Prescaler = LL_LPTIM_PRESCALER_DIV1; 98 .loc 1 140 0 99 0004 4360 str r3, [r0, #4] 141:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** LPTIM_InitStruct->Waveform = LL_LPTIM_OUTPUT_WAVEFORM_PWM; 100 .loc 1 141 0 101 0006 8360 str r3, [r0, #8] 142:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** LPTIM_InitStruct->Polarity = LL_LPTIM_OUTPUT_POLARITY_REGULAR; 102 .loc 1 142 0 103 0008 C360 str r3, [r0, #12] 143:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** } 104 .loc 1 143 0 105 @ sp needed 106 000a 7047 bx lr 107 .cfi_endproc ARM GAS /tmp/cc2Dksgr.s page 17 108 .LFE141: 110 .section .text.LL_LPTIM_Init,"ax",%progbits 111 .align 1 112 .global LL_LPTIM_Init 113 .syntax unified 114 .code 16 115 .thumb_func 116 .fpu softvfp 118 LL_LPTIM_Init: 119 .LFB142: 144:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 145:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /** 146:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @brief Configure the LPTIMx peripheral according to the specified parameters. 147:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @note LL_LPTIM_Init can only be called when the LPTIM instance is disabled. 148:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @note LPTIMx can be disabled using unitary function @ref LL_LPTIM_Disable(). 149:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @param LPTIMx LP Timer Instance 150:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @param LPTIM_InitStruct pointer to a @ref LL_LPTIM_InitTypeDef structure 151:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * @retval An ErrorStatus enumeration value: 152:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * - SUCCESS: LPTIMx instance has been initialized 153:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** * - ERROR: LPTIMx instance hasn't been initialized 154:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** */ 155:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** ErrorStatus LL_LPTIM_Init(LPTIM_TypeDef * LPTIMx, LL_LPTIM_InitTypeDef* LPTIM_InitStruct) 156:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** { 120 .loc 1 156 0 121 .cfi_startproc 122 @ args = 0, pretend = 0, frame = 0 123 @ frame_needed = 0, uses_anonymous_args = 0 124 .LVL6: 125 0000 10B5 push {r4, lr} 126 .LCFI0: 127 .cfi_def_cfa_offset 8 128 .cfi_offset 4, -8 129 .cfi_offset 14, -4 130 .LVL7: 131 .LBB12: 132 .LBB13: 133 .file 3 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h" 1:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** 2:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** ****************************************************************************** 3:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @file stm32l0xx_ll_lptim.h 4:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @author MCD Application Team 5:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @brief Header file of LPTIM LL module. 6:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** ****************************************************************************** 7:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @attention 8:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * 9:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** *

© COPYRIGHT(c) 2016 STMicroelectronics

10:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * 11:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * Redistribution and use in source and binary forms, with or without modification, 12:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * are permitted provided that the following conditions are met: 13:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * 1. Redistributions of source code must retain the above copyright notice, 14:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * this list of conditions and the following disclaimer. 15:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * 2. Redistributions in binary form must reproduce the above copyright notice, 16:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * this list of conditions and the following disclaimer in the documentation 17:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * and/or other materials provided with the distribution. 18:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 19:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * may be used to endorse or promote products derived from this software 20:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * without specific prior written permission. ARM GAS /tmp/cc2Dksgr.s page 18 21:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * 22:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 26:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * 33:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** ****************************************************************************** 34:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 35:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 36:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 37:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #ifndef __STM32L0xx_LL_LPTIM_H 38:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define __STM32L0xx_LL_LPTIM_H 39:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 40:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #ifdef __cplusplus 41:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** extern "C" { 42:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #endif 43:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 44:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /* Includes ------------------------------------------------------------------*/ 45:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #include "stm32l0xx.h" 46:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 47:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** @addtogroup STM32L0xx_LL_Driver 48:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @{ 49:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 50:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #if defined (LPTIM1) 51:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 52:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** @defgroup LPTIM_LL LPTIM 53:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @{ 54:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 55:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 56:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /* Private types -------------------------------------------------------------*/ 57:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /* Private variables ---------------------------------------------------------*/ 58:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 59:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /* Private constants ---------------------------------------------------------*/ 60:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 61:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /* Private macros ------------------------------------------------------------*/ 62:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /* Private macros ------------------------------------------------------------*/ 63:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #if defined(USE_FULL_LL_DRIVER) 64:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** @defgroup LPTIM_LL_Private_Macros LPTIM Private Macros 65:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @{ 66:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 67:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** 68:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @} 69:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 70:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #endif /*USE_FULL_LL_DRIVER*/ 71:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 72:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /* Exported types ------------------------------------------------------------*/ 73:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #if defined(USE_FULL_LL_DRIVER) 74:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** @defgroup LPTIM_LL_ES_INIT LPTIM Exported Init structure 75:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @{ 76:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 77:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** ARM GAS /tmp/cc2Dksgr.s page 19 78:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** 79:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @brief LPTIM Init structure definition 80:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 81:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** typedef struct 82:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** { 83:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** uint32_t ClockSource; /*!< Specifies the source of the clock used by the LPTIM instance. 84:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** This parameter can be a value of @ref LPTIM_LL_EC_CLK_SOURCE. 85:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 86:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** This feature can be modified afterwards using unitary function @ref 87:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 88:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** uint32_t Prescaler; /*!< Specifies the prescaler division ratio. 89:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** This parameter can be a value of @ref LPTIM_LL_EC_PRESCALER. 90:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 91:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** This feature can be modified afterwards using using unitary functio 92:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 93:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** uint32_t Waveform; /*!< Specifies the waveform shape. 94:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** This parameter can be a value of @ref LPTIM_LL_EC_OUTPUT_WAVEFORM. 95:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 96:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** This feature can be modified afterwards using unitary function @ref 97:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 98:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** uint32_t Polarity; /*!< Specifies waveform polarity. 99:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** This parameter can be a value of @ref LPTIM_LL_EC_OUTPUT_POLARITY. 100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** This feature can be modified afterwards using unitary function @ref 102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** } LL_LPTIM_InitTypeDef; 103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** 105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @} 106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #endif /* USE_FULL_LL_DRIVER */ 108:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 109:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /* Exported constants --------------------------------------------------------*/ 110:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** @defgroup LPTIM_LL_Exported_Constants LPTIM Exported Constants 111:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @{ 112:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 113:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 114:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** @defgroup LPTIM_LL_EC_GET_FLAG Get Flags Defines 115:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @brief Flags defines which can be used with LL_LPTIM_ReadReg function 116:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @{ 117:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 118:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_ISR_CMPM LPTIM_ISR_CMPM /*!< Compare match */ 119:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_ISR_ARRM LPTIM_ISR_ARRM /*!< Autoreload match */ 120:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_ISR_EXTTRIG LPTIM_ISR_EXTTRIG /*!< External trigger edge event * 121:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_ISR_CMPOK LPTIM_ISR_CMPOK /*!< Compare register update OK */ 122:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_ISR_ARROK LPTIM_ISR_ARROK /*!< Autoreload register update OK 123:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_ISR_UP LPTIM_ISR_UP /*!< Counter direction change down 124:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_ISR_DOWN LPTIM_ISR_DOWN /*!< Counter direction change up t 125:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** 126:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @} 127:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 128:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** @defgroup LPTIM_LL_EC_IT IT Defines 130:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @brief IT defines which can be used with LL_LPTIM_ReadReg and LL_LPTIM_WriteReg functions 131:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @{ 132:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 133:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_IER_CMPMIE LPTIM_IER_CMPMIE /*!< Compare match Interrupt E 134:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_IER_ARRMIE LPTIM_IER_ARRMIE /*!< Autoreload match Interrup ARM GAS /tmp/cc2Dksgr.s page 20 135:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_IER_EXTTRIGIE LPTIM_IER_EXTTRIGIE /*!< External trigger valid ed 136:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_IER_CMPOKIE LPTIM_IER_CMPOKIE /*!< Compare register update O 137:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_IER_ARROKIE LPTIM_IER_ARROKIE /*!< Autoreload register updat 138:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_IER_UPIE LPTIM_IER_UPIE /*!< Direction change to UP In 139:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_IER_DOWNIE LPTIM_IER_DOWNIE /*!< Direction change to down 140:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** 141:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @} 142:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 143:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 144:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** @defgroup LPTIM_LL_EC_OPERATING_MODE Operating Mode 145:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @{ 146:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 147:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_OPERATING_MODE_CONTINUOUS LPTIM_CR_CNTSTRT /*!__REG__, (__VAL 302:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 303:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** 304:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @brief Read a value in LPTIM register 305:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @param __INSTANCE__ LPTIM Instance ARM GAS /tmp/cc2Dksgr.s page 23 306:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @param __REG__ Register to be read 307:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @retval Register value 308:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 309:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** #define LL_LPTIM_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__) 310:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** 311:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @} 312:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 313:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 314:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** 315:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @} 316:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 317:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 318:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 319:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /* Exported functions --------------------------------------------------------*/ 320:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** @defgroup LPTIM_LL_Exported_Functions LPTIM Exported Functions 321:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @{ 322:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 323:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 324:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** @defgroup LPTIM_LL_EF_LPTIM_Configuration LPTIM Configuration 325:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @{ 326:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 327:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 328:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** 329:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @brief Enable the LPTIM instance 330:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @note After setting the ENABLE bit, a delay of two counter clock is needed 331:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * before the LPTIM instance is actually enabled. 332:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @rmtoll CR ENABLE LL_LPTIM_Enable 333:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @param LPTIMx Low-Power Timer instance 334:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @retval None 335:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 336:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** __STATIC_INLINE void LL_LPTIM_Enable(LPTIM_TypeDef *LPTIMx) 337:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** { 338:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** SET_BIT(LPTIMx->CR, LPTIM_CR_ENABLE); 339:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** } 340:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 341:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** 342:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @brief Disable the LPTIM instance 343:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @rmtoll CR ENABLE LL_LPTIM_Disable 344:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @param LPTIMx Low-Power Timer instance 345:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @retval None 346:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 347:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** __STATIC_INLINE void LL_LPTIM_Disable(LPTIM_TypeDef *LPTIMx) 348:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** { 349:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** CLEAR_BIT(LPTIMx->CR, LPTIM_CR_ENABLE); 350:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** } 351:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** 352:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** /** 353:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @brief Indicates whether the LPTIM instance is enabled. 354:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @rmtoll CR ENABLE LL_LPTIM_IsEnabled 355:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @param LPTIMx Low-Power Timer instance 356:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** * @retval State of bit (1 or 0). 357:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** */ 358:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** __STATIC_INLINE uint32_t LL_LPTIM_IsEnabled(LPTIM_TypeDef *LPTIMx) 359:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** { 360:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_lptim.h **** return (READ_BIT(LPTIMx->CR, LPTIM_CR_ENABLE) == (LPTIM_CR_ENABLE)); 134 .loc 3 360 0 135 0002 0369 ldr r3, [r0, #16] ARM GAS /tmp/cc2Dksgr.s page 24 136 .LVL8: 137 .LBE13: 138 .LBE12: 157:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** ErrorStatus result = SUCCESS; 158:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 159:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* The LPTIMx_CFGR register must only be modified when the LPTIM is disabled 160:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** (ENABLE bit is reset to 0). 161:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** */ 162:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** if (LL_LPTIM_IsEnabled(LPTIMx)) 139 .loc 1 162 0 140 0004 DB07 lsls r3, r3, #31 141 0006 0DD4 bmi .L10 163:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** { 164:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** result = ERROR; 165:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** } 166:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** else 167:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** { 168:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* Check the parameters */ 169:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** assert_param(IS_LPTIM_INSTANCE(LPTIMx)); 170:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** assert_param(IS_LPTIM_CLOCK_SOURCE(LPTIM_InitStruct->ClockSource)); 171:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** assert_param(IS_LPTIM_CLOCK_PRESCALER(LPTIM_InitStruct->Prescaler)); 172:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** assert_param(IS_LPTIM_WAVEFORM(LPTIM_InitStruct->Waveform)); 173:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** assert_param(IS_LPTIM_OUTPUT_POLARITY(LPTIM_InitStruct->Polarity)); 174:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 175:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* Set CKSEL bitfield according to ClockSource value */ 176:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* Set PRESC bitfield according to Prescaler value */ 177:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* Set WAVE bitfield according to Waveform value */ 178:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** /* Set WAVEPOL bitfield according to Polarity value */ 179:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** MODIFY_REG(LPTIMx->CFGR, 142 .loc 1 179 0 143 0008 C368 ldr r3, [r0, #12] 144 000a 074A ldr r2, .L11 145 000c 1A40 ands r2, r3 146 000e 0B68 ldr r3, [r1] 147 0010 4C68 ldr r4, [r1, #4] 148 0012 2343 orrs r3, r4 149 0014 8C68 ldr r4, [r1, #8] 150 0016 2343 orrs r3, r4 151 0018 C968 ldr r1, [r1, #12] 152 .LVL9: 153 001a 0B43 orrs r3, r1 154 001c 1343 orrs r3, r2 155 001e C360 str r3, [r0, #12] 157:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** ErrorStatus result = SUCCESS; 156 .loc 1 157 0 157 0020 0120 movs r0, #1 158 .LVL10: 159 .L9: 180:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** (LPTIM_CFGR_CKSEL | LPTIM_CFGR_PRESC | LPTIM_CFGR_WAVE| LPTIM_CFGR_WAVPOL), 181:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** LPTIM_InitStruct->ClockSource | \ 182:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** LPTIM_InitStruct->Prescaler | \ 183:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** LPTIM_InitStruct->Waveform | \ 184:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** LPTIM_InitStruct->Polarity); 185:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** } 186:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** 187:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** return result; 188:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** } ARM GAS /tmp/cc2Dksgr.s page 25 160 .loc 1 188 0 161 @ sp needed 162 0022 10BD pop {r4, pc} 163 .LVL11: 164 .L10: 164:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_lptim.c **** } 165 .loc 1 164 0 166 0024 0020 movs r0, #0 167 .LVL12: 168 0026 FCE7 b .L9 169 .L12: 170 .align 2 171 .L11: 172 0028 FEF1CFFF .word -3149314 173 .cfi_endproc 174 .LFE142: 176 .text 177 .Letext0: 178 .file 4 "/usr/arm-none-eabi/include/machine/_default_types.h" 179 .file 5 "/usr/arm-none-eabi/include/sys/_stdint.h" 180 .file 6 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h" 181 .file 7 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h" 182 .file 8 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h" 183 .file 9 "/usr/arm-none-eabi/include/sys/lock.h" 184 .file 10 "/usr/arm-none-eabi/include/sys/_types.h" 185 .file 11 "/usr/lib/gcc/arm-none-eabi/7.2.0/include/stddef.h" 186 .file 12 "/usr/arm-none-eabi/include/sys/reent.h" ARM GAS /tmp/cc2Dksgr.s page 26 DEFINED SYMBOLS *ABS*:0000000000000000 stm32l0xx_ll_lptim.c /tmp/cc2Dksgr.s:16 .text.LL_LPTIM_DeInit:0000000000000000 $t /tmp/cc2Dksgr.s:23 .text.LL_LPTIM_DeInit:0000000000000000 LL_LPTIM_DeInit /tmp/cc2Dksgr.s:74 .text.LL_LPTIM_DeInit:0000000000000024 $d /tmp/cc2Dksgr.s:80 .text.LL_LPTIM_StructInit:0000000000000000 $t /tmp/cc2Dksgr.s:87 .text.LL_LPTIM_StructInit:0000000000000000 LL_LPTIM_StructInit /tmp/cc2Dksgr.s:111 .text.LL_LPTIM_Init:0000000000000000 $t /tmp/cc2Dksgr.s:118 .text.LL_LPTIM_Init:0000000000000000 LL_LPTIM_Init /tmp/cc2Dksgr.s:172 .text.LL_LPTIM_Init:0000000000000028 $d .debug_frame:0000000000000010 $d NO UNDEFINED SYMBOLS