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

© COPYRIGHT(c) 2016 STMicroelectronics

10:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * 11:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * Redistribution and use in source and binary forms, with or without modification, 12:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * are permitted provided that the following conditions are met: 13:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * 1. Redistributions of source code must retain the above copyright notice, 14:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * this list of conditions and the following disclaimer. 15:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * 2. Redistributions in binary form must reproduce the above copyright notice, 16:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * this list of conditions and the following disclaimer in the documentation 17:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * and/or other materials provided with the distribution. 18:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 19:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * may be used to endorse or promote products derived from this software 20:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * without specific prior written permission. 21:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * 22:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 26:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * 33:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ****************************************************************************** ARM GAS /tmp/ccKYQ5mH.s page 2 34:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** */ 35:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #if defined(USE_FULL_LL_DRIVER) 36:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 37:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Includes ------------------------------------------------------------------*/ 38:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #include "stm32l0xx_ll_gpio.h" 39:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #include "stm32l0xx_ll_bus.h" 40:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #ifdef USE_FULL_ASSERT 41:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #include "stm32_assert.h" 42:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #else 43:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #define assert_param(expr) ((void)0U) 44:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #endif 45:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 46:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /** @addtogroup STM32L0xx_LL_Driver 47:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @{ 48:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** */ 49:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 50:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #if defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || 51:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 52:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /** @addtogroup GPIO_LL 53:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @{ 54:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** */ 55:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 56:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Private types -------------------------------------------------------------*/ 57:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Private variables ---------------------------------------------------------*/ 58:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Private constants ---------------------------------------------------------*/ 59:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Private macros ------------------------------------------------------------*/ 60:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /** @addtogroup GPIO_LL_Private_Macros 61:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @{ 62:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** */ 63:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #define IS_LL_GPIO_PIN(__VALUE__) ((((uint32_t)0x00000000U) < (__VALUE__)) && ((__VALUE__) 64:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 65:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #define IS_LL_GPIO_MODE(__VALUE__) (((__VALUE__) == LL_GPIO_MODE_INPUT) ||\ 66:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_MODE_OUTPUT) ||\ 67:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_MODE_ALTERNATE) ||\ 68:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_MODE_ANALOG)) 69:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 70:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #define IS_LL_GPIO_OUTPUT_TYPE(__VALUE__) (((__VALUE__) == LL_GPIO_OUTPUT_PUSHPULL) ||\ 71:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_OUTPUT_OPENDRAIN)) 72:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 73:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #define IS_LL_GPIO_SPEED(__VALUE__) (((__VALUE__) == LL_GPIO_SPEED_FREQ_LOW) ||\ 74:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_SPEED_FREQ_MEDIUM) ||\ 75:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_SPEED_FREQ_HIGH) ||\ 76:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_SPEED_FREQ_VERY_HIGH)) 77:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 78:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #define IS_LL_GPIO_PULL(__VALUE__) (((__VALUE__) == LL_GPIO_PULL_NO) ||\ 79:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_PULL_UP) ||\ 80:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_PULL_DOWN)) 81:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 82:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #define IS_LL_GPIO_ALTERNATE(__VALUE__) (((__VALUE__) == LL_GPIO_AF_0 ) ||\ 83:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_1 ) ||\ 84:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_2 ) ||\ 85:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_3 ) ||\ 86:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_4 ) ||\ 87:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_5 ) ||\ 88:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_6 ) ||\ 89:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_7 )) 90:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /** ARM GAS /tmp/ccKYQ5mH.s page 3 91:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @} 92:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** */ 93:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 94:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Private function prototypes -----------------------------------------------*/ 95:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 96:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Exported functions --------------------------------------------------------*/ 97:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /** @addtogroup GPIO_LL_Exported_Functions 98:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @{ 99:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** */ 100:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 101:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /** @addtogroup GPIO_LL_EF_Init 102:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @{ 103:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** */ 104:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /** 106:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @brief De-initialize GPIO registers (Registers restored to their default values). 107:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @param GPIOx GPIO Port 108:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @retval An ErrorStatus enumeration value: 109:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * - SUCCESS: GPIO registers are de-initialized 110:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * - ERROR: Wrong GPIO Port 111:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** */ 112:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ErrorStatus LL_GPIO_DeInit(GPIO_TypeDef *GPIOx) 113:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 26 .loc 1 113 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: 114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ErrorStatus status = SUCCESS; 115:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 116:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Check the parameters */ 117:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); 118:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 119:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Force and Release reset on clock of GPIOx Port */ 120:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** if (GPIOx == GPIOA) 32 .loc 1 120 0 33 0000 A023 movs r3, #160 34 0002 DB05 lsls r3, r3, #23 35 0004 9842 cmp r0, r3 36 0006 10D0 beq .L9 121:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 122:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_IOP_GRP1_ForceReset(LL_IOP_GRP1_PERIPH_GPIOA); 123:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_IOP_GRP1_ReleaseReset(LL_IOP_GRP1_PERIPH_GPIOA); 124:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 125:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** else if (GPIOx == GPIOB) 37 .loc 1 125 0 38 0008 264B ldr r3, .L15 39 000a 9842 cmp r0, r3 40 000c 17D0 beq .L10 126:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 127:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_IOP_GRP1_ForceReset(LL_IOP_GRP1_PERIPH_GPIOB); 128:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_IOP_GRP1_ReleaseReset(LL_IOP_GRP1_PERIPH_GPIOB); 129:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 130:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** else if (GPIOx == GPIOC) 41 .loc 1 130 0 42 000e 264B ldr r3, .L15+4 ARM GAS /tmp/ccKYQ5mH.s page 4 43 0010 9842 cmp r0, r3 44 0012 1ED0 beq .L11 131:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 132:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_IOP_GRP1_ForceReset(LL_IOP_GRP1_PERIPH_GPIOC); 133:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_IOP_GRP1_ReleaseReset(LL_IOP_GRP1_PERIPH_GPIOC); 134:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 135:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #if defined(GPIOD) 136:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** else if (GPIOx == GPIOD) 45 .loc 1 136 0 46 0014 254B ldr r3, .L15+8 47 0016 9842 cmp r0, r3 48 0018 25D0 beq .L12 137:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 138:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_IOP_GRP1_ForceReset(LL_IOP_GRP1_PERIPH_GPIOD); 139:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_IOP_GRP1_ReleaseReset(LL_IOP_GRP1_PERIPH_GPIOD); 140:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 141:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #endif /* GPIOD */ 142:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #if defined(GPIOE) 143:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** else if (GPIOx == GPIOE) 49 .loc 1 143 0 50 001a 254B ldr r3, .L15+12 51 001c 9842 cmp r0, r3 52 001e 2CD0 beq .L13 144:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 145:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_IOP_GRP1_ForceReset(LL_IOP_GRP1_PERIPH_GPIOE); 146:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_IOP_GRP1_ReleaseReset(LL_IOP_GRP1_PERIPH_GPIOE); 147:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 148:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #endif /* GPIOE */ 149:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #if defined(GPIOH) 150:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** else if (GPIOx == GPIOH) 53 .loc 1 150 0 54 0020 244B ldr r3, .L15+16 55 0022 9842 cmp r0, r3 56 0024 33D0 beq .L14 151:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 152:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_IOP_GRP1_ForceReset(LL_IOP_GRP1_PERIPH_GPIOH); 153:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_IOP_GRP1_ReleaseReset(LL_IOP_GRP1_PERIPH_GPIOH); 154:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 155:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** #endif /* GPIOH */ 156:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** else 157:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 158:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** status = ERROR; 57 .loc 1 158 0 58 0026 0020 movs r0, #0 59 .LVL1: 60 0028 08E0 b .L3 61 .LVL2: 62 .L9: 63 .LBB38: 64 .LBB39: 65 .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 **** ARM GAS /tmp/ccKYQ5mH.s page 5 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 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 **** ARM GAS /tmp/ccKYQ5mH.s page 6 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 **** */ 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) ARM GAS /tmp/ccKYQ5mH.s page 7 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 */ 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 ARM GAS /tmp/ccKYQ5mH.s page 8 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 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 (*) ARM GAS /tmp/ccKYQ5mH.s page 9 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 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 **** */ ARM GAS /tmp/ccKYQ5mH.s page 10 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. 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. ARM GAS /tmp/ccKYQ5mH.s page 11 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 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 **** */ ARM GAS /tmp/ccKYQ5mH.s page 12 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. 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; ARM GAS /tmp/ccKYQ5mH.s page 13 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) 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 ARM GAS /tmp/ccKYQ5mH.s page 14 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 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 ARM GAS /tmp/ccKYQ5mH.s page 15 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); 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 ARM GAS /tmp/ccKYQ5mH.s page 16 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); 665:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 666:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 667:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 668:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Enable APB1 peripherals clock during Low Power (Sleep) mode. 669:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1SMENR TIM2SMEN LL_APB1_GRP1_EnableClockSleep\n 670:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR TIM3SMEN LL_APB1_GRP1_EnableClockSleep\n 671:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR TIM6SMEN LL_APB1_GRP1_EnableClockSleep\n 672:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR TIM7SMEN LL_APB1_GRP1_EnableClockSleep\n 673:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR LCDSMEN LL_APB1_GRP1_EnableClockSleep\n 674:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR WWDGSMEN LL_APB1_GRP1_EnableClockSleep\n 675:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR SPI2SMEN LL_APB1_GRP1_EnableClockSleep\n 676:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USART2SMEN LL_APB1_GRP1_EnableClockSleep\n 677:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR LPUART1SMEN LL_APB1_GRP1_EnableClockSleep\n 678:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USART4SMEN LL_APB1_GRP1_EnableClockSleep\n 679:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USART5SMEN LL_APB1_GRP1_EnableClockSleep\n 680:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR I2C1SMEN LL_APB1_GRP1_EnableClockSleep\n 681:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR I2C2SMEN LL_APB1_GRP1_EnableClockSleep\n 682:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USBSMEN LL_APB1_GRP1_EnableClockSleep\n 683:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR CRSSMEN LL_APB1_GRP1_EnableClockSleep\n 684:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR PWRSMEN LL_APB1_GRP1_EnableClockSleep\n 685:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR DACSMEN LL_APB1_GRP1_EnableClockSleep\n 686:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR I2C3SMEN LL_APB1_GRP1_EnableClockSleep\n 687:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR LPTIM1SMEN LL_APB1_GRP1_EnableClockSleep 688:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 689:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 690:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*) ARM GAS /tmp/ccKYQ5mH.s page 17 691:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 692:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 693:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*) 694:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 695:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 696:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 697:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 698:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (*) 699:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (*) 700:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 701:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 702:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 703:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CRS (*) 704:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 705:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 706:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (*) 707:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 708:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 709:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 710:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 711:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 712:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_EnableClockSleep(uint32_t Periphs) 713:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 714:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __IO uint32_t tmpreg; 715:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->APB1SMENR, Periphs); 716:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 717:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APB1SMENR, Periphs); 718:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (void)tmpreg; 719:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 720:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 721:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 722:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Disable APB1 peripherals clock during Low Power (Sleep) mode. 723:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB1SMENR TIM2SMEN LL_APB1_GRP1_DisableClockSleep\n 724:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR TIM3SMEN LL_APB1_GRP1_DisableClockSleep\n 725:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR TIM6SMEN LL_APB1_GRP1_DisableClockSleep\n 726:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR TIM7SMEN LL_APB1_GRP1_DisableClockSleep\n 727:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR LCDSMEN LL_APB1_GRP1_DisableClockSleep\n 728:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR WWDGSMEN LL_APB1_GRP1_DisableClockSleep\n 729:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR SPI2SMEN LL_APB1_GRP1_DisableClockSleep\n 730:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USART2SMEN LL_APB1_GRP1_DisableClockSleep\n 731:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR LPUART1SMEN LL_APB1_GRP1_DisableClockSleep\n 732:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USART4SMEN LL_APB1_GRP1_DisableClockSleep\n 733:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USART5SMEN LL_APB1_GRP1_DisableClockSleep\n 734:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR I2C1SMEN LL_APB1_GRP1_DisableClockSleep\n 735:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR I2C2SMEN LL_APB1_GRP1_DisableClockSleep\n 736:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR USBSMEN LL_APB1_GRP1_DisableClockSleep\n 737:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR CRSSMEN LL_APB1_GRP1_DisableClockSleep\n 738:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR PWRSMEN LL_APB1_GRP1_DisableClockSleep\n 739:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR DACSMEN LL_APB1_GRP1_DisableClockSleep\n 740:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR I2C3SMEN LL_APB1_GRP1_DisableClockSleep\n 741:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB1SMENR LPTIM1SMEN LL_APB1_GRP1_DisableClockSleep 742:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 743:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 744:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 (*) 745:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 746:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 747:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LCD (*) ARM GAS /tmp/ccKYQ5mH.s page 18 748:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 749:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 750:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 751:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPUART1 752:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART4 (*) 753:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART5 (*) 754:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 755:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 756:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 757:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CRS (*) 758:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 759:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 760:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C3 (*) 761:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_LPTIM1 762:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 763:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 764:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 765:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 766:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_DisableClockSleep(uint32_t Periphs) 767:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 768:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->APB1SMENR, Periphs); 769:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 770:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 771:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 772:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 773:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 774:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 775:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_APB2 APB2 776:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 777:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 778:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 779:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 780:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Enable APB2 peripherals clock. 781:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB2ENR SYSCFGEN LL_APB2_GRP1_EnableClock\n 782:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR TIM21EN LL_APB2_GRP1_EnableClock\n 783:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR TIM22EN LL_APB2_GRP1_EnableClock\n 784:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR FWEN LL_APB2_GRP1_EnableClock\n 785:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR ADCEN LL_APB2_GRP1_EnableClock\n 786:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_EnableClock\n 787:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_EnableClock\n 788:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR DBGEN LL_APB2_GRP1_EnableClock 789:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 790:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SYSCFG 791:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM21 792:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM22 (*) 793:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_FW 794:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 795:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 796:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 (*) 797:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_DBGMCU 798:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 799:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 800:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 801:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 802:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_EnableClock(uint32_t Periphs) 803:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 804:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __IO uint32_t tmpreg; ARM GAS /tmp/ccKYQ5mH.s page 19 805:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->APB2ENR, Periphs); 806:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 807:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APB2ENR, Periphs); 808:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (void)tmpreg; 809:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 810:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 811:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 812:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Check if APB2 peripheral clock is enabled or not 813:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB2ENR SYSCFGEN LL_APB2_GRP1_IsEnabledClock\n 814:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR TIM21EN LL_APB2_GRP1_IsEnabledClock\n 815:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR TIM22EN LL_APB2_GRP1_IsEnabledClock\n 816:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR FWEN LL_APB2_GRP1_IsEnabledClock\n 817:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR ADCEN LL_APB2_GRP1_IsEnabledClock\n 818:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_IsEnabledClock\n 819:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_IsEnabledClock\n 820:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR DBGEN LL_APB2_GRP1_IsEnabledClock 821:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 822:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SYSCFG 823:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM21 824:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM22 (*) 825:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_FW 826:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 827:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 828:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 (*) 829:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_DBGMCU 830:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 831:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 832:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval State of Periphs (1 or 0). 833:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 834:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_APB2_GRP1_IsEnabledClock(uint32_t Periphs) 835:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 836:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** return (READ_BIT(RCC->APB2ENR, Periphs) == Periphs); 837:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 838:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 839:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 840:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Disable APB2 peripherals clock. 841:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB2ENR SYSCFGEN LL_APB2_GRP1_DisableClock\n 842:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR TIM21EN LL_APB2_GRP1_DisableClock\n 843:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR TIM22EN LL_APB2_GRP1_DisableClock\n 844:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR FWEN LL_APB2_GRP1_DisableClock\n 845:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR ADCEN LL_APB2_GRP1_DisableClock\n 846:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_DisableClock\n 847:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_DisableClock\n 848:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2ENR DBGEN LL_APB2_GRP1_DisableClock 849:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 850:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SYSCFG 851:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM21 852:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM22 (*) 853:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_FW 854:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 855:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 856:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 (*) 857:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_DBGMCU 858:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 859:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 860:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 861:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ ARM GAS /tmp/ccKYQ5mH.s page 20 862:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_DisableClock(uint32_t Periphs) 863:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 864:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->APB2ENR, Periphs); 865:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 866:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 867:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 868:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Force APB2 peripherals reset. 869:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB2RSTR SYSCFGRST LL_APB2_GRP1_ForceReset\n 870:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR TIM21RST LL_APB2_GRP1_ForceReset\n 871:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR TIM22RST LL_APB2_GRP1_ForceReset\n 872:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR ADCRST LL_APB2_GRP1_ForceReset\n 873:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR SPI1RST LL_APB2_GRP1_ForceReset\n 874:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR USART1RST LL_APB2_GRP1_ForceReset\n 875:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR DBGRST LL_APB2_GRP1_ForceReset 876:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 877:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ALL 878:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SYSCFG 879:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM21 880:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM22 (*) 881:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 882:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 883:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 (*) 884:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_DBGMCU 885:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 886:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 887:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 888:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 889:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_ForceReset(uint32_t Periphs) 890:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 891:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->APB2RSTR, Periphs); 892:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 893:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 894:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 895:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Release APB2 peripherals reset. 896:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB2RSTR SYSCFGRST LL_APB2_GRP1_ReleaseReset\n 897:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR TIM21RST LL_APB2_GRP1_ReleaseReset\n 898:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR TIM22RST LL_APB2_GRP1_ReleaseReset\n 899:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR ADCRST LL_APB2_GRP1_ReleaseReset\n 900:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR SPI1RST LL_APB2_GRP1_ReleaseReset\n 901:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR USART1RST LL_APB2_GRP1_ReleaseReset\n 902:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2RSTR DBGRST LL_APB2_GRP1_ReleaseReset 903:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 904:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ALL 905:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SYSCFG 906:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM21 907:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM22 (*) 908:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 909:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 910:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 (*) 911:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_DBGMCU 912:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 913:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 914:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 915:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 916:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_ReleaseReset(uint32_t Periphs) 917:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 918:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->APB2RSTR, Periphs); ARM GAS /tmp/ccKYQ5mH.s page 21 919:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 920:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 921:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 922:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Enable APB2 peripherals clock during Low Power (Sleep) mode. 923:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB2SMENR SYSCFGSMEN LL_APB2_GRP1_EnableClockSleep\n 924:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2SMENR TIM21SMEN LL_APB2_GRP1_EnableClockSleep\n 925:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2SMENR TIM22SMEN LL_APB2_GRP1_EnableClockSleep\n 926:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2SMENR ADCSMEN LL_APB2_GRP1_EnableClockSleep\n 927:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2SMENR SPI1SMEN LL_APB2_GRP1_EnableClockSleep\n 928:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2SMENR USART1SMEN LL_APB2_GRP1_EnableClockSleep\n 929:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2SMENR DBGSMEN LL_APB2_GRP1_EnableClockSleep 930:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 931:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SYSCFG 932:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM21 933:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM22 (*) 934:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 935:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 936:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 (*) 937:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_DBGMCU 938:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 939:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 940:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 941:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 942:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_EnableClockSleep(uint32_t Periphs) 943:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 944:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __IO uint32_t tmpreg; 945:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->APB2SMENR, Periphs); 946:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 947:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APB2SMENR, Periphs); 948:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (void)tmpreg; 949:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 950:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 951:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 952:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Disable APB2 peripherals clock during Low Power (Sleep) mode. 953:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll APB2SMENR SYSCFGSMEN LL_APB2_GRP1_DisableClockSleep\n 954:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2SMENR TIM21SMEN LL_APB2_GRP1_DisableClockSleep\n 955:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2SMENR TIM22SMEN LL_APB2_GRP1_DisableClockSleep\n 956:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2SMENR ADCSMEN LL_APB2_GRP1_DisableClockSleep\n 957:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2SMENR SPI1SMEN LL_APB2_GRP1_DisableClockSleep\n 958:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2SMENR USART1SMEN LL_APB2_GRP1_DisableClockSleep\n 959:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * APB2SMENR DBGSMEN LL_APB2_GRP1_DisableClockSleep 960:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 961:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SYSCFG 962:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM21 963:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM22 (*) 964:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 965:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 966:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 (*) 967:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_DBGMCU 968:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 969:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 970:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 971:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 972:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_DisableClockSleep(uint32_t Periphs) 973:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 974:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->APB2SMENR, Periphs); 975:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } ARM GAS /tmp/ccKYQ5mH.s page 22 976:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 977:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 978:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @} 979:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 980:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** @defgroup BUS_LL_EF_IOP IOP 981:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @{ 982:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 983:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 984:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 985:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Enable IOP peripherals clock. 986:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll IOPENR GPIOAEN LL_IOP_GRP1_EnableClock\n 987:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIOBEN LL_IOP_GRP1_EnableClock\n 988:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIOCEN LL_IOP_GRP1_EnableClock\n 989:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIODEN LL_IOP_GRP1_EnableClock\n 990:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIOEEN LL_IOP_GRP1_EnableClock\n 991:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIOHEN LL_IOP_GRP1_EnableClock 992:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 993:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOA 994:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOB 995:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOC 996:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOD (*) 997:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOE (*) 998:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOH (*) 999:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 1000:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 1001:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 1002:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 1003:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_IOP_GRP1_EnableClock(uint32_t Periphs) 1004:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 1005:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __IO uint32_t tmpreg; 1006:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->IOPENR, Periphs); 1007:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 1008:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** tmpreg = READ_BIT(RCC->IOPENR, Periphs); 1009:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** (void)tmpreg; 1010:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 1011:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 1012:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 1013:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Check if IOP peripheral clock is enabled or not 1014:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll IOPENR GPIOAEN LL_IOP_GRP1_IsEnabledClock\n 1015:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIOBEN LL_IOP_GRP1_IsEnabledClock\n 1016:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIOCEN LL_IOP_GRP1_IsEnabledClock\n 1017:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIODEN LL_IOP_GRP1_IsEnabledClock\n 1018:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIOEEN LL_IOP_GRP1_IsEnabledClock\n 1019:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIOHEN LL_IOP_GRP1_IsEnabledClock 1020:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 1021:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOA 1022:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOB 1023:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOC 1024:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOD (*) 1025:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOE (*) 1026:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOH (*) 1027:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 1028:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 1029:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval State of Periphs (1 or 0). 1030:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 1031:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_IOP_GRP1_IsEnabledClock(uint32_t Periphs) 1032:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { ARM GAS /tmp/ccKYQ5mH.s page 23 1033:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** return (READ_BIT(RCC->IOPENR, Periphs) == Periphs); 1034:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 1035:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 1036:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 1037:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Disable IOP peripherals clock. 1038:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll IOPENR GPIOAEN LL_IOP_GRP1_DisableClock\n 1039:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIOBEN LL_IOP_GRP1_DisableClock\n 1040:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIOCEN LL_IOP_GRP1_DisableClock\n 1041:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIODEN LL_IOP_GRP1_DisableClock\n 1042:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIOEEN LL_IOP_GRP1_DisableClock\n 1043:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPENR GPIOHEN LL_IOP_GRP1_DisableClock 1044:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 1045:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOA 1046:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOB 1047:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOC 1048:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOD (*) 1049:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOE (*) 1050:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOH (*) 1051:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 1052:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 1053:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 1054:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 1055:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_IOP_GRP1_DisableClock(uint32_t Periphs) 1056:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 1057:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->IOPENR, Periphs); 1058:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 1059:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 1060:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 1061:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Disable IOP peripherals clock. 1062:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll IOPRSTR GPIOASMEN LL_IOP_GRP1_ForceReset\n 1063:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPRSTR GPIOBSMEN LL_IOP_GRP1_ForceReset\n 1064:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPRSTR GPIOCSMEN LL_IOP_GRP1_ForceReset\n 1065:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPRSTR GPIODSMEN LL_IOP_GRP1_ForceReset\n 1066:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPRSTR GPIOESMEN LL_IOP_GRP1_ForceReset\n 1067:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPRSTR GPIOHSMEN LL_IOP_GRP1_ForceReset 1068:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 1069:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_ALL 1070:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOA 1071:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOB 1072:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOC 1073:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOD (*) 1074:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOE (*) 1075:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOH (*) 1076:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 1077:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 1078:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 1079:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 1080:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_IOP_GRP1_ForceReset(uint32_t Periphs) 1081:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 1082:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** SET_BIT(RCC->IOPRSTR, Periphs); 66 .loc 2 1082 0 67 002a 234B ldr r3, .L15+20 68 002c DA69 ldr r2, [r3, #28] 69 002e 0121 movs r1, #1 70 0030 0A43 orrs r2, r1 71 0032 DA61 str r2, [r3, #28] 72 .LVL3: ARM GAS /tmp/ccKYQ5mH.s page 24 73 .LBE39: 74 .LBE38: 75 .LBB40: 76 .LBB41: 1083:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 1084:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** 1085:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** /** 1086:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @brief Release IOP peripherals reset. 1087:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @rmtoll IOPRSTR GPIOASMEN LL_IOP_GRP1_ReleaseReset\n 1088:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPRSTR GPIOBSMEN LL_IOP_GRP1_ReleaseReset\n 1089:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPRSTR GPIOCSMEN LL_IOP_GRP1_ReleaseReset\n 1090:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPRSTR GPIODSMEN LL_IOP_GRP1_ReleaseReset\n 1091:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPRSTR GPIOESMEN LL_IOP_GRP1_ReleaseReset\n 1092:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * IOPRSTR GPIOHSMEN LL_IOP_GRP1_ReleaseReset 1093:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 1094:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_ALL 1095:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOA 1096:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOB 1097:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOC 1098:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOD (*) 1099:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOE (*) 1100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @arg @ref LL_IOP_GRP1_PERIPH_GPIOH (*) 1101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * 1102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * (*) value not defined in all devices. 1103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** * @retval None 1104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** */ 1105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** __STATIC_INLINE void LL_IOP_GRP1_ReleaseReset(uint32_t Periphs) 1106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** { 1107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** CLEAR_BIT(RCC->IOPRSTR, Periphs); 77 .loc 2 1107 0 78 0034 DA69 ldr r2, [r3, #28] 79 0036 8A43 bics r2, r1 80 0038 DA61 str r2, [r3, #28] 81 .LBE41: 82 .LBE40: 114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 83 .loc 1 114 0 84 003a 0120 movs r0, #1 85 .LVL4: 86 .L3: 159:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 160:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 161:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** return (status); 162:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 87 .loc 1 162 0 88 @ sp needed 89 003c 7047 bx lr 90 .LVL5: 91 .L10: 92 .LBB42: 93 .LBB43: 1082:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 94 .loc 2 1082 0 95 003e 1E4B ldr r3, .L15+20 96 0040 DA69 ldr r2, [r3, #28] 97 0042 0221 movs r1, #2 98 0044 0A43 orrs r2, r1 ARM GAS /tmp/ccKYQ5mH.s page 25 99 0046 DA61 str r2, [r3, #28] 100 .LVL6: 101 .LBE43: 102 .LBE42: 103 .LBB44: 104 .LBB45: 105 .loc 2 1107 0 106 0048 DA69 ldr r2, [r3, #28] 107 004a 8A43 bics r2, r1 108 004c DA61 str r2, [r3, #28] 109 .LBE45: 110 .LBE44: 114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 111 .loc 1 114 0 112 004e 0120 movs r0, #1 113 .LVL7: 114 0050 F4E7 b .L3 115 .LVL8: 116 .L11: 117 .LBB46: 118 .LBB47: 1082:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 119 .loc 2 1082 0 120 0052 194B ldr r3, .L15+20 121 0054 DA69 ldr r2, [r3, #28] 122 0056 0421 movs r1, #4 123 0058 0A43 orrs r2, r1 124 005a DA61 str r2, [r3, #28] 125 .LVL9: 126 .LBE47: 127 .LBE46: 128 .LBB48: 129 .LBB49: 130 .loc 2 1107 0 131 005c DA69 ldr r2, [r3, #28] 132 005e 8A43 bics r2, r1 133 0060 DA61 str r2, [r3, #28] 134 .LBE49: 135 .LBE48: 114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 136 .loc 1 114 0 137 0062 0120 movs r0, #1 138 .LVL10: 139 0064 EAE7 b .L3 140 .LVL11: 141 .L12: 142 .LBB50: 143 .LBB51: 1082:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 144 .loc 2 1082 0 145 0066 144B ldr r3, .L15+20 146 0068 DA69 ldr r2, [r3, #28] 147 006a 0821 movs r1, #8 148 006c 0A43 orrs r2, r1 149 006e DA61 str r2, [r3, #28] 150 .LVL12: 151 .LBE51: ARM GAS /tmp/ccKYQ5mH.s page 26 152 .LBE50: 153 .LBB52: 154 .LBB53: 155 .loc 2 1107 0 156 0070 DA69 ldr r2, [r3, #28] 157 0072 8A43 bics r2, r1 158 0074 DA61 str r2, [r3, #28] 159 .LBE53: 160 .LBE52: 114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 161 .loc 1 114 0 162 0076 0120 movs r0, #1 163 .LVL13: 164 0078 E0E7 b .L3 165 .LVL14: 166 .L13: 167 .LBB54: 168 .LBB55: 1082:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 169 .loc 2 1082 0 170 007a 0F4B ldr r3, .L15+20 171 007c DA69 ldr r2, [r3, #28] 172 007e 1021 movs r1, #16 173 0080 0A43 orrs r2, r1 174 0082 DA61 str r2, [r3, #28] 175 .LVL15: 176 .LBE55: 177 .LBE54: 178 .LBB56: 179 .LBB57: 180 .loc 2 1107 0 181 0084 DA69 ldr r2, [r3, #28] 182 0086 8A43 bics r2, r1 183 0088 DA61 str r2, [r3, #28] 184 .LBE57: 185 .LBE56: 114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 186 .loc 1 114 0 187 008a 0120 movs r0, #1 188 .LVL16: 189 008c D6E7 b .L3 190 .LVL17: 191 .L14: 192 .LBB58: 193 .LBB59: 1082:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_bus.h **** } 194 .loc 2 1082 0 195 008e 0A4B ldr r3, .L15+20 196 0090 DA69 ldr r2, [r3, #28] 197 0092 8021 movs r1, #128 198 0094 0A43 orrs r2, r1 199 0096 DA61 str r2, [r3, #28] 200 .LVL18: 201 .LBE59: 202 .LBE58: 203 .LBB60: 204 .LBB61: ARM GAS /tmp/ccKYQ5mH.s page 27 205 .loc 2 1107 0 206 0098 DA69 ldr r2, [r3, #28] 207 009a 8A43 bics r2, r1 208 009c DA61 str r2, [r3, #28] 209 .LBE61: 210 .LBE60: 114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 211 .loc 1 114 0 212 009e 0120 movs r0, #1 213 .LVL19: 214 00a0 CCE7 b .L3 215 .L16: 216 00a2 C046 .align 2 217 .L15: 218 00a4 00040050 .word 1342178304 219 00a8 00080050 .word 1342179328 220 00ac 000C0050 .word 1342180352 221 00b0 00100050 .word 1342181376 222 00b4 001C0050 .word 1342184448 223 00b8 00100240 .word 1073876992 224 .cfi_endproc 225 .LFE90: 227 .section .text.LL_GPIO_Init,"ax",%progbits 228 .align 1 229 .global LL_GPIO_Init 230 .syntax unified 231 .code 16 232 .thumb_func 233 .fpu softvfp 235 LL_GPIO_Init: 236 .LFB91: 163:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 164:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /** 165:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @brief Initialize GPIO registers according to the specified parameters in GPIO_InitStruct. 166:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @param GPIOx GPIO Port 167:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @param GPIO_InitStruct: pointer to a @ref LL_GPIO_InitTypeDef structure 168:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * that contains the configuration information for the specified GPIO peripheral. 169:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @retval An ErrorStatus enumeration value: 170:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * - SUCCESS: GPIO registers are initialized according to GPIO_InitStruct content 171:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * - ERROR: Not applicable 172:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** */ 173:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct) 174:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 237 .loc 1 174 0 238 .cfi_startproc 239 @ args = 0, pretend = 0, frame = 0 240 @ frame_needed = 0, uses_anonymous_args = 0 241 .LVL20: 242 0000 F0B5 push {r4, r5, r6, r7, lr} 243 .LCFI0: 244 .cfi_def_cfa_offset 20 245 .cfi_offset 4, -20 246 .cfi_offset 5, -16 247 .cfi_offset 6, -12 248 .cfi_offset 7, -8 249 .cfi_offset 14, -4 250 .LVL21: ARM GAS /tmp/ccKYQ5mH.s page 28 175:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** uint32_t pinpos = 0x00000000U; 251 .loc 1 175 0 252 0002 0022 movs r2, #0 176:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** uint32_t currentpin = 0x00000000U; 177:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 178:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Check the parameters */ 179:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); 180:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** assert_param(IS_LL_GPIO_PIN(GPIO_InitStruct->Pin)); 181:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** assert_param(IS_LL_GPIO_MODE(GPIO_InitStruct->Mode)); 182:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** assert_param(IS_LL_GPIO_PULL(GPIO_InitStruct->Pull)); 183:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 184:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* ------------------------- Configure the port pins ---------------- */ 185:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Initialize pinpos on first pin set */ 186:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* pinpos = 0; useless as already done in default initialization */ 187:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 188:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Configure the port pins */ 189:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** while (((GPIO_InitStruct->Pin) >> pinpos) != 0x00000000U) 253 .loc 1 189 0 254 0004 09E0 b .L18 255 .LVL22: 256 .L20: 257 .LBB62: 258 .LBB63: 259 .file 3 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h" 1:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 2:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** ****************************************************************************** 3:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @file stm32l0xx_ll_gpio.h 4:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @author MCD Application Team 5:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief Header file of GPIO LL module. 6:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** ****************************************************************************** 7:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @attention 8:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * 9:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** *

© COPYRIGHT(c) 2016 STMicroelectronics

10:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * 11:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * Redistribution and use in source and binary forms, with or without modification, 12:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * are permitted provided that the following conditions are met: 13:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * 1. Redistributions of source code must retain the above copyright notice, 14:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * this list of conditions and the following disclaimer. 15:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * 2. Redistributions in binary form must reproduce the above copyright notice, 16:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * this list of conditions and the following disclaimer in the documentation 17:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * and/or other materials provided with the distribution. 18:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 19:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * may be used to endorse or promote products derived from this software 20:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * without specific prior written permission. 21:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * 22:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 23:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 25:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 26:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 28:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 31:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * 33:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** ****************************************************************************** ARM GAS /tmp/ccKYQ5mH.s page 29 34:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 35:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 36:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 37:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #ifndef __STM32L0xx_LL_GPIO_H 38:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define __STM32L0xx_LL_GPIO_H 39:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 40:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #ifdef __cplusplus 41:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** extern "C" { 42:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #endif 43:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 44:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /* Includes ------------------------------------------------------------------*/ 45:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #include "stm32l0xx.h" 46:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 47:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @addtogroup STM32L0xx_LL_Driver 48:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 49:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 50:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 51:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #if defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || 52:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 53:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @defgroup GPIO_LL GPIO 54:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 55:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 56:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 57:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /* Private types -------------------------------------------------------------*/ 58:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /* Private variables ---------------------------------------------------------*/ 59:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /* Private constants ---------------------------------------------------------*/ 60:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /* Private macros ------------------------------------------------------------*/ 61:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #if defined(USE_FULL_LL_DRIVER) 62:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @defgroup GPIO_LL_Private_Macros GPIO Private Macros 63:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 64:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 65:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 66:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 67:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @} 68:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 69:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #endif /*USE_FULL_LL_DRIVER*/ 70:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 71:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /* Exported types ------------------------------------------------------------*/ 72:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #if defined(USE_FULL_LL_DRIVER) 73:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @defgroup GPIO_LL_ES_INIT GPIO Exported Init structures 74:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 75:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 76:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 77:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 78:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief LL GPIO Init Structure definition 79:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 80:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** typedef struct 81:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** { 82:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** uint32_t Pin; /*!< Specifies the GPIO pins to be configured. 83:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** This parameter can be any value of @ref GPIO_LL_EC_PIN */ 84:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 85:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** uint32_t Mode; /*!< Specifies the operating mode for the selected pins. 86:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** This parameter can be a value of @ref GPIO_LL_EC_MODE. 87:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 88:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** GPIO HW configuration can be modified afterwards using unitary functi 89:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 90:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** uint32_t Speed; /*!< Specifies the speed for the selected pins. ARM GAS /tmp/ccKYQ5mH.s page 30 91:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** This parameter can be a value of @ref GPIO_LL_EC_SPEED. 92:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 93:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** GPIO HW configuration can be modified afterwards using unitary functi 94:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 95:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** uint32_t OutputType; /*!< Specifies the operating output type for the selected pins. 96:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** This parameter can be a value of @ref GPIO_LL_EC_OUTPUT. 97:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 98:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** GPIO HW configuration can be modified afterwards using unitary functi 99:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 100:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** uint32_t Pull; /*!< Specifies the operating Pull-up/Pull down for the selected pins. 101:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** This parameter can be a value of @ref GPIO_LL_EC_PULL. 102:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 103:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** GPIO HW configuration can be modified afterwards using unitary functi 104:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 105:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** uint32_t Alternate; /*!< Specifies the Peripheral to be connected to the selected pins. 106:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** This parameter can be a value of @ref GPIO_LL_EC_AF. 107:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 108:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** GPIO HW configuration can be modified afterwards using unitary functi 109:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** } LL_GPIO_InitTypeDef; 110:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 111:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 112:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @} 113:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 114:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #endif /* USE_FULL_LL_DRIVER */ 115:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 116:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /* Exported constants --------------------------------------------------------*/ 117:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @defgroup GPIO_LL_Exported_Constants GPIO Exported Constants 118:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 119:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 120:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 121:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_PIN PIN 122:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 123:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 124:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_0 GPIO_BSRR_BS_0 /*!< Select pin 0 */ 125:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_1 GPIO_BSRR_BS_1 /*!< Select pin 1 */ 126:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_2 GPIO_BSRR_BS_2 /*!< Select pin 2 */ 127:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_3 GPIO_BSRR_BS_3 /*!< Select pin 3 */ 128:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_4 GPIO_BSRR_BS_4 /*!< Select pin 4 */ 129:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_5 GPIO_BSRR_BS_5 /*!< Select pin 5 */ 130:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_6 GPIO_BSRR_BS_6 /*!< Select pin 6 */ 131:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_7 GPIO_BSRR_BS_7 /*!< Select pin 7 */ 132:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_8 GPIO_BSRR_BS_8 /*!< Select pin 8 */ 133:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_9 GPIO_BSRR_BS_9 /*!< Select pin 9 */ 134:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_10 GPIO_BSRR_BS_10 /*!< Select pin 10 */ 135:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_11 GPIO_BSRR_BS_11 /*!< Select pin 11 */ 136:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_12 GPIO_BSRR_BS_12 /*!< Select pin 12 */ 137:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_13 GPIO_BSRR_BS_13 /*!< Select pin 13 */ 138:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_14 GPIO_BSRR_BS_14 /*!< Select pin 14 */ 139:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_15 GPIO_BSRR_BS_15 /*!< Select pin 15 */ 140:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PIN_ALL (GPIO_BSRR_BS_0 | GPIO_BSRR_BS_1 | GPIO_BSRR_BS_2 | \ 141:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** GPIO_BSRR_BS_3 | GPIO_BSRR_BS_4 | GPIO_BSRR_BS_5 | \ 142:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** GPIO_BSRR_BS_6 | GPIO_BSRR_BS_7 | GPIO_BSRR_BS_8 | \ 143:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** GPIO_BSRR_BS_9 | GPIO_BSRR_BS_10 | GPIO_BSRR_BS_11 | \ 144:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** GPIO_BSRR_BS_12 | GPIO_BSRR_BS_13 | GPIO_BSRR_BS_14 | \ 145:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** GPIO_BSRR_BS_15) /*!< Select all pins */ 146:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 147:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @} ARM GAS /tmp/ccKYQ5mH.s page 31 148:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 149:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 150:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_MODE Mode 151:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 152:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 153:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_MODE_INPUT ((uint32_t)0x00000000U) /*!< Select input mode */ 154:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_MODE_OUTPUT GPIO_MODER_MODE0_0 /*!< Select output mode */ 155:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_MODE_ALTERNATE GPIO_MODER_MODE0_1 /*!< Select alternate function mode 156:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_MODE_ANALOG GPIO_MODER_MODE0 /*!< Select analog mode */ 157:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 158:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @} 159:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 160:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 161:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_OUTPUT Output Type 162:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 163:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 164:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_OUTPUT_PUSHPULL ((uint32_t)0x00000000U) /*!< Select push-pull as output 165:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_OUTPUT_OPENDRAIN GPIO_OTYPER_OT_0 /*!< Select open-drain as output type * 166:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 167:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @} 168:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 169:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 170:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_SPEED Output Speed 171:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 172:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 173:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_SPEED_FREQ_LOW ((uint32_t)0x00000000U) /*!< Select I/O low output speed 174:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_SPEED_FREQ_MEDIUM GPIO_OSPEEDER_OSPEED0_0 /*!< Select I/O medium output sp 175:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_SPEED_FREQ_HIGH GPIO_OSPEEDER_OSPEED0_1 /*!< Select I/O fast output spee 176:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_SPEED_FREQ_VERY_HIGH GPIO_OSPEEDER_OSPEED0 /*!< Select I/O high output spee 177:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 178:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @} 179:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 180:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_SPEED_LOW LL_GPIO_SPEED_FREQ_LOW 181:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_SPEED_MEDIUM LL_GPIO_SPEED_FREQ_MEDIUM 182:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_SPEED_FAST LL_GPIO_SPEED_FREQ_HIGH 183:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_SPEED_HIGH LL_GPIO_SPEED_FREQ_VERY_HIGH 184:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 185:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_PULL Pull Up Pull Down 186:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 187:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 188:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PULL_NO ((uint32_t)0x00000000U) /*!< Select I/O no pull */ 189:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PULL_UP GPIO_PUPDR_PUPD0_0 /*!< Select I/O pull up */ 190:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_PULL_DOWN GPIO_PUPDR_PUPD0_1 /*!< Select I/O pull down */ 191:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 192:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @} 193:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 194:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 195:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_AF Alternate Function 196:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 197:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 198:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_AF_0 ((uint32_t)0x0000000U) /*!< Select alternate function 0 199:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_AF_1 ((uint32_t)0x0000001U) /*!< Select alternate function 1 200:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_AF_2 ((uint32_t)0x0000002U) /*!< Select alternate function 2 201:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_AF_3 ((uint32_t)0x0000003U) /*!< Select alternate function 3 202:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_AF_4 ((uint32_t)0x0000004U) /*!< Select alternate function 4 203:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_AF_5 ((uint32_t)0x0000005U) /*!< Select alternate function 5 204:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_AF_6 ((uint32_t)0x0000006U) /*!< Select alternate function 6 ARM GAS /tmp/ccKYQ5mH.s page 32 205:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_AF_7 ((uint32_t)0x0000007U) /*!< Select alternate function 7 206:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 207:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @} 208:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 209:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 210:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 211:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @} 212:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 213:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 214:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /* Exported macro ------------------------------------------------------------*/ 215:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @defgroup GPIO_LL_Exported_Macros GPIO Exported Macros 216:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 217:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 218:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 219:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @defgroup GPIO_LL_EM_WRITE_READ Common Write and read registers Macros 220:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 221:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 222:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 223:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 224:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief Write a value in GPIO register 225:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param __INSTANCE__ GPIO Instance 226:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param __REG__ Register to be written 227:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param __VALUE__ Value to be written in the register 228:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @retval None 229:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 230:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALU 231:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 232:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 233:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief Read a value in GPIO register 234:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param __INSTANCE__ GPIO Instance 235:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param __REG__ Register to be read 236:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @retval Register value 237:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 238:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** #define LL_GPIO_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__) 239:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 240:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @} 241:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 242:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 243:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 244:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @} 245:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 246:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 247:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /* Exported functions --------------------------------------------------------*/ 248:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @defgroup GPIO_LL_Exported_Functions GPIO Exported Functions 249:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 250:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 251:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 252:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** @defgroup GPIO_LL_EF_Port_Configuration Port Configuration 253:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @{ 254:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 255:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 256:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 257:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief Configure gpio mode for a dedicated pin on dedicated port. 258:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note I/O mode can be Input mode, General purpose output, Alternate function mode or Analog. 259:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 260:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @rmtoll MODER MODEy LL_GPIO_SetPinMode 261:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param GPIOx GPIO Port ARM GAS /tmp/ccKYQ5mH.s page 33 262:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 263:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 264:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 265:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 266:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 267:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 268:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 269:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 270:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 271:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 272:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 273:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 274:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 275:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 276:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 277:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 278:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 279:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Mode This parameter can be one of the following values: 280:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_INPUT 281:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_OUTPUT 282:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_ALTERNATE 283:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_ANALOG 284:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @retval None 285:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 286:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) 287:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** { 288:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** MODIFY_REG(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0), ((Pin * Pin) * Mode)); 289:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** } 290:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 291:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 292:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief Return gpio mode for a dedicated pin on dedicated port. 293:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note I/O mode can be Input mode, General purpose output, Alternate function mode or Analog. 294:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 295:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @rmtoll MODER MODEy LL_GPIO_GetPinMode 296:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param GPIOx GPIO Port 297:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 298:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 299:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 300:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 301:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 302:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 303:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 304:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 305:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 306:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 307:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 308:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 309:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 310:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 311:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 312:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 313:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 314:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @retval Returned value can be one of the following values: 315:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_INPUT 316:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_OUTPUT 317:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_ALTERNATE 318:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_ANALOG ARM GAS /tmp/ccKYQ5mH.s page 34 319:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 320:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) 321:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** { 322:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** return (uint32_t)(READ_BIT(GPIOx->MODER, ((Pin * Pin) * GPIO_MODER_MODE0)) / (Pin * Pin)); 323:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** } 324:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 325:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 326:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief Configure gpio output type for several pins on dedicated port. 327:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Output type as to be set when gpio pin is in output or 328:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * alternate modes. Possible type are Push-pull or Open-drain. 329:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @rmtoll OTYPER OTy LL_GPIO_SetPinOutputType 330:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param GPIOx GPIO Port 331:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param PinMask This parameter can be a combination of the following values: 332:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 333:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 334:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 335:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 336:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 337:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 338:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 339:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 340:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 341:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 342:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 343:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 344:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 345:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 346:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 347:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 348:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_ALL 349:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param OutputType This parameter can be one of the following values: 350:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_OUTPUT_PUSHPULL 351:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_OUTPUT_OPENDRAIN 352:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @retval None 353:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 354:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t PinMask, uint32_t Outpu 355:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** { 356:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** MODIFY_REG(GPIOx->OTYPER, PinMask, (PinMask * OutputType)); 357:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** } 358:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 359:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 360:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief Return gpio output type for several pins on dedicated port. 361:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Output type as to be set when gpio pin is in output or 362:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * alternate modes. Possible type are Push-pull or Open-drain. 363:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 364:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @rmtoll OTYPER OTy LL_GPIO_GetPinOutputType 365:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param GPIOx GPIO Port 366:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 367:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 368:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 369:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 370:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 371:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 372:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 373:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 374:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 375:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 ARM GAS /tmp/ccKYQ5mH.s page 35 376:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 377:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 378:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 379:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 380:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 381:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 382:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 383:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_ALL 384:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @retval Returned value can be one of the following values: 385:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_OUTPUT_PUSHPULL 386:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_OUTPUT_OPENDRAIN 387:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 388:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) 389:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** { 390:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) / Pin); 391:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** } 392:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 393:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 394:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief Configure gpio speed for a dedicated pin on dedicated port. 395:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note I/O speed can be Low, Medium, Fast or High speed. 396:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 397:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Refer to datasheet for frequency specifications and the power 398:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * supply and load conditions for each speed. 399:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @rmtoll OSPEEDR OSPEEDy LL_GPIO_SetPinSpeed 400:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param GPIOx GPIO Port 401:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 402:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 403:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 404:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 405:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 406:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 407:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 408:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 409:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 410:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 411:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 412:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 413:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 414:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 415:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 416:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 417:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 418:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Speed This parameter can be one of the following values: 419:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_LOW 420:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_MEDIUM 421:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_HIGH 422:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_VERY_HIGH 423:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @retval None 424:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 425:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) 426:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** { 427:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** MODIFY_REG(GPIOx->OSPEEDR, ((Pin * Pin) * GPIO_OSPEEDER_OSPEED0), ((Pin * Pin) * Speed)); 428:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** } 429:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 430:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 431:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief Return gpio speed for a dedicated pin on dedicated port. 432:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note I/O speed can be Low, Medium, Fast or High speed. ARM GAS /tmp/ccKYQ5mH.s page 36 433:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 434:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Refer to datasheet for frequency specifications and the power 435:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * supply and load conditions for each speed. 436:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @rmtoll OSPEEDR OSPEEDy LL_GPIO_GetPinSpeed 437:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param GPIOx GPIO Port 438:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 439:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 440:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 441:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 442:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 443:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 444:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 445:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 446:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 447:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 448:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 449:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 450:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 451:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 452:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 453:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 454:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 455:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @retval Returned value can be one of the following values: 456:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_LOW 457:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_MEDIUM 458:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_HIGH 459:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_VERY_HIGH 460:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 461:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** __STATIC_INLINE uint32_t LL_GPIO_GetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin) 462:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** { 463:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** return (uint32_t)(READ_BIT(GPIOx->OSPEEDR, ((Pin * Pin) * GPIO_OSPEEDER_OSPEED0)) / (Pin * Pin)); 464:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** } 465:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 466:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 467:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief Configure gpio pull-up or pull-down for a dedicated pin on a dedicated port. 468:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 469:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @rmtoll PUPDR PUPDy LL_GPIO_SetPinPull 470:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param GPIOx GPIO Port 471:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 472:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 473:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 474:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 475:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 476:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 477:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 478:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 479:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 480:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 481:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 482:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 483:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 484:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 485:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 486:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 487:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 488:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Pull This parameter can be one of the following values: 489:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PULL_NO ARM GAS /tmp/ccKYQ5mH.s page 37 490:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PULL_UP 491:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PULL_DOWN 492:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @retval None 493:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 494:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetPinPull(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Pull) 495:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** { 496:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** MODIFY_REG(GPIOx->PUPDR, ((Pin * Pin) * GPIO_PUPDR_PUPD0), ((Pin * Pin) * Pull)); 260 .loc 3 496 0 261 0006 C668 ldr r6, [r0, #12] 262 0008 3440 ands r4, r6 263 000a 0E69 ldr r6, [r1, #16] 264 000c 6E43 muls r6, r5 265 000e 3443 orrs r4, r6 266 0010 C460 str r4, [r0, #12] 267 .LVL23: 268 .LBE63: 269 .LBE62: 190:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 191:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Get current io position */ 192:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** currentpin = (GPIO_InitStruct->Pin) & (0x00000001U << pinpos); 193:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 194:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** if (currentpin) 195:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 196:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Pin Mode configuration */ 197:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_GPIO_SetPinMode(GPIOx, currentpin, GPIO_InitStruct->Mode); 198:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 199:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ 200:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 201:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Check Speed mode parameters */ 202:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** assert_param(IS_LL_GPIO_SPEED(GPIO_InitStruct->Speed)); 203:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 204:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Speed mode configuration */ 205:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_GPIO_SetPinSpeed(GPIOx, currentpin, GPIO_InitStruct->Speed); 206:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 207:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 208:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Pull-up Pull down resistor configuration*/ 209:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_GPIO_SetPinPull(GPIOx, currentpin, GPIO_InitStruct->Pull); 210:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 211:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** if (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTERNATE) 270 .loc 1 211 0 271 0012 4C68 ldr r4, [r1, #4] 272 0014 022C cmp r4, #2 273 0016 1ED0 beq .L24 274 .LVL24: 275 .L19: 212:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 213:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Check Alternate parameter */ 214:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** assert_param(IS_LL_GPIO_ALTERNATE(GPIO_InitStruct->Alternate)); 215:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 216:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Speed mode configuration */ 217:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** if (currentpin < LL_GPIO_PIN_8) 218:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 219:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_GPIO_SetAFPin_0_7(GPIOx, currentpin, GPIO_InitStruct->Alternate); 220:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 221:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** else 222:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 223:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_GPIO_SetAFPin_8_15(GPIOx, currentpin, GPIO_InitStruct->Alternate); ARM GAS /tmp/ccKYQ5mH.s page 38 224:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 225:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 226:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 227:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** pinpos++; 276 .loc 1 227 0 277 0018 0132 adds r2, r2, #1 278 .LVL25: 279 .L18: 189:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 280 .loc 1 189 0 281 001a 0B68 ldr r3, [r1] 282 001c 1C00 movs r4, r3 283 001e D440 lsrs r4, r4, r2 284 0020 34D0 beq .L25 192:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 285 .loc 1 192 0 286 0022 0124 movs r4, #1 287 0024 9440 lsls r4, r4, r2 288 0026 2340 ands r3, r4 289 .LVL26: 194:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 290 .loc 1 194 0 291 0028 F6D0 beq .L19 292 .LVL27: 293 .LBB64: 294 .LBB65: 288:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** } 295 .loc 3 288 0 296 002a 0668 ldr r6, [r0] 297 002c 1D00 movs r5, r3 298 002e 5D43 muls r5, r3 299 0030 6C00 lsls r4, r5, #1 300 0032 6419 adds r4, r4, r5 301 0034 E443 mvns r4, r4 302 0036 2640 ands r6, r4 303 0038 4F68 ldr r7, [r1, #4] 304 003a 6F43 muls r7, r5 305 003c 3E43 orrs r6, r7 306 003e 0660 str r6, [r0] 307 .LVL28: 308 .LBE65: 309 .LBE64: 199:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 310 .loc 1 199 0 311 0040 4E68 ldr r6, [r1, #4] 312 0042 013E subs r6, r6, #1 313 0044 012E cmp r6, #1 314 0046 DED8 bhi .L20 315 .LVL29: 316 .LBB66: 317 .LBB67: 427:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** } 318 .loc 3 427 0 319 0048 8668 ldr r6, [r0, #8] 320 004a 2640 ands r6, r4 321 004c 8F68 ldr r7, [r1, #8] 322 004e 6F43 muls r7, r5 ARM GAS /tmp/ccKYQ5mH.s page 39 323 0050 3E43 orrs r6, r7 324 0052 8660 str r6, [r0, #8] 325 .LVL30: 326 0054 D7E7 b .L20 327 .LVL31: 328 .L24: 329 .LBE67: 330 .LBE66: 217:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 331 .loc 1 217 0 332 0056 FF2B cmp r3, #255 333 0058 0AD8 bhi .L21 334 .LVL32: 335 .LBB68: 336 .LBB69: 497:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** } 498:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 499:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 500:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief Return gpio pull-up or pull-down for a dedicated pin on a dedicated port 501:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 502:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @rmtoll PUPDR PUPDy LL_GPIO_GetPinPull 503:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param GPIOx GPIO Port 504:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 505:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 506:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 507:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 508:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 509:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 510:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 511:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 512:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 513:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 514:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 515:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 516:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 517:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 518:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 519:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 520:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 521:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @retval Returned value can be one of the following values: 522:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PULL_NO 523:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PULL_UP 524:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PULL_DOWN 525:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 526:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** __STATIC_INLINE uint32_t LL_GPIO_GetPinPull(GPIO_TypeDef *GPIOx, uint32_t Pin) 527:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** { 528:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** return (uint32_t)(READ_BIT(GPIOx->PUPDR, ((Pin * Pin) * GPIO_PUPDR_PUPD0)) / (Pin * Pin)); 529:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** } 530:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 531:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 532:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief Configure gpio alternate function of a dedicated pin from 0 to 7 for a dedicated port. 533:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Possible values are from AF0 to AF7 depending on target. 534:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 535:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @rmtoll AFRL AFSELy LL_GPIO_SetAFPin_0_7 536:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param GPIOx GPIO Port 537:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 538:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 ARM GAS /tmp/ccKYQ5mH.s page 40 539:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 540:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 541:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 542:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 543:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 544:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 545:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 546:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Alternate This parameter can be one of the following values: 547:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_0 548:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_1 549:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_2 550:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_3 551:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_4 552:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_5 553:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_6 554:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_7 555:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @retval None 556:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 557:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetAFPin_0_7(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Alternate) 558:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** { 559:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** MODIFY_REG(GPIOx->AFR[0], ((((Pin * Pin) * Pin) * Pin) * GPIO_AFRL_AFRL0), 337 .loc 3 559 0 338 005a 046A ldr r4, [r0, #32] 339 005c 5D43 muls r5, r3 340 005e 6B43 muls r3, r5 341 .LVL33: 342 0060 1D01 lsls r5, r3, #4 343 0062 ED1A subs r5, r5, r3 344 0064 AC43 bics r4, r5 345 0066 4D69 ldr r5, [r1, #20] 346 0068 6B43 muls r3, r5 347 006a 2343 orrs r3, r4 348 006c 0362 str r3, [r0, #32] 349 .LVL34: 350 006e D3E7 b .L19 351 .LVL35: 352 .L21: 353 .LBE69: 354 .LBE68: 355 .LBB70: 356 .LBB71: 560:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** ((((Pin * Pin) * Pin) * Pin) * Alternate)); 561:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** } 562:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 563:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 564:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief Return gpio alternate function of a dedicated pin from 0 to 7 for a dedicated port. 565:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @rmtoll AFRL AFSELy LL_GPIO_GetAFPin_0_7 566:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param GPIOx GPIO Port 567:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 568:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 569:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 570:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 571:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 572:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 573:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 574:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 575:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 ARM GAS /tmp/ccKYQ5mH.s page 41 576:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @retval Returned value can be one of the following values: 577:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_0 578:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_1 579:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_2 580:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_3 581:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_4 582:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_5 583:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_6 584:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_7 585:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 586:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** __STATIC_INLINE uint32_t LL_GPIO_GetAFPin_0_7(GPIO_TypeDef *GPIOx, uint32_t Pin) 587:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** { 588:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** return (uint32_t)(READ_BIT(GPIOx->AFR[0], 589:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** ((((Pin * Pin) * Pin) * Pin) * GPIO_AFRL_AFRL0)) / (((Pin * Pin) * Pin 590:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** } 591:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** 592:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** /** 593:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @brief Configure gpio alternate function of a dedicated pin from 8 to 15 for a dedicated port. 594:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Possible values are from AF0 to AF7 depending on target. 595:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 596:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @rmtoll AFRH AFSELy LL_GPIO_SetAFPin_8_15 597:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param GPIOx GPIO Port 598:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 599:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 600:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 601:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 602:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 603:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 604:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 605:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 606:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 607:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @param Alternate This parameter can be one of the following values: 608:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_0 609:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_1 610:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_2 611:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_3 612:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_4 613:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_5 614:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_6 615:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_7 616:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** * @retval None 617:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** */ 618:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetAFPin_8_15(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Alternate) 619:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** { 620:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** MODIFY_REG(GPIOx->AFR[1], (((((Pin >> 8U) * (Pin >> 8U)) * (Pin >> 8U)) * (Pin >> 8U)) * GPIO_AFR 357 .loc 3 620 0 358 0070 456A ldr r5, [r0, #36] 359 0072 1B0A lsrs r3, r3, #8 360 .LVL36: 361 0074 1C00 movs r4, r3 362 0076 5C43 muls r4, r3 363 0078 5C43 muls r4, r3 364 007a 6343 muls r3, r4 365 007c 1C01 lsls r4, r3, #4 366 007e E41A subs r4, r4, r3 367 0080 A543 bics r5, r4 368 0082 4C69 ldr r4, [r1, #20] ARM GAS /tmp/ccKYQ5mH.s page 42 369 0084 6343 muls r3, r4 370 0086 2B43 orrs r3, r5 371 0088 4362 str r3, [r0, #36] 372 .LVL37: 373 008a C5E7 b .L19 374 .LVL38: 375 .L25: 376 .LBE71: 377 .LBE70: 228:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 229:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 230:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTE 378 .loc 1 230 0 379 008c 4A68 ldr r2, [r1, #4] 380 .LVL39: 381 008e 013A subs r2, r2, #1 382 0090 012A cmp r2, #1 383 0092 01D9 bls .L26 384 .LVL40: 385 .L23: 231:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 232:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Check Output mode parameters */ 233:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** assert_param(IS_LL_GPIO_OUTPUT_TYPE(GPIO_InitStruct->OutputType)); 234:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 235:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Output mode configuration*/ 236:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** LL_GPIO_SetPinOutputType(GPIOx, GPIO_InitStruct->Pin, GPIO_InitStruct->OutputType); 237:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 238:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 239:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** return (SUCCESS); 240:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 386 .loc 1 240 0 387 0094 0120 movs r0, #1 388 .LVL41: 389 @ sp needed 390 0096 F0BD pop {r4, r5, r6, r7, pc} 391 .LVL42: 392 .L26: 236:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 393 .loc 1 236 0 394 0098 C968 ldr r1, [r1, #12] 395 .LVL43: 396 .LBB72: 397 .LBB73: 356:Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_ll_gpio.h **** } 398 .loc 3 356 0 399 009a 4268 ldr r2, [r0, #4] 400 009c 9A43 bics r2, r3 401 009e 4B43 muls r3, r1 402 .LVL44: 403 00a0 1343 orrs r3, r2 404 00a2 4360 str r3, [r0, #4] 405 .LVL45: 406 00a4 F6E7 b .L23 407 .LBE73: 408 .LBE72: 409 .cfi_endproc 410 .LFE91: ARM GAS /tmp/ccKYQ5mH.s page 43 412 .section .text.LL_GPIO_StructInit,"ax",%progbits 413 .align 1 414 .global LL_GPIO_StructInit 415 .syntax unified 416 .code 16 417 .thumb_func 418 .fpu softvfp 420 LL_GPIO_StructInit: 421 .LFB92: 241:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 242:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /** 243:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @brief Set each @ref LL_GPIO_InitTypeDef field to default value. 244:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @param GPIO_InitStruct: pointer to a @ref LL_GPIO_InitTypeDef structure 245:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * whose fields will be set to default values. 246:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** * @retval None 247:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** */ 248:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** 249:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** void LL_GPIO_StructInit(LL_GPIO_InitTypeDef *GPIO_InitStruct) 250:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** { 422 .loc 1 250 0 423 .cfi_startproc 424 @ args = 0, pretend = 0, frame = 0 425 @ frame_needed = 0, uses_anonymous_args = 0 426 @ link register save eliminated. 427 .LVL46: 251:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** /* Reset GPIO init structure parameters values */ 252:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** GPIO_InitStruct->Pin = LL_GPIO_PIN_ALL; 428 .loc 1 252 0 429 0000 044B ldr r3, .L28 430 0002 0360 str r3, [r0] 253:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** GPIO_InitStruct->Mode = LL_GPIO_MODE_ANALOG; 431 .loc 1 253 0 432 0004 0323 movs r3, #3 433 0006 4360 str r3, [r0, #4] 254:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** GPIO_InitStruct->Speed = LL_GPIO_SPEED_FREQ_LOW; 434 .loc 1 254 0 435 0008 0023 movs r3, #0 436 000a 8360 str r3, [r0, #8] 255:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** GPIO_InitStruct->OutputType = LL_GPIO_OUTPUT_PUSHPULL; 437 .loc 1 255 0 438 000c C360 str r3, [r0, #12] 256:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** GPIO_InitStruct->Pull = LL_GPIO_PULL_NO; 439 .loc 1 256 0 440 000e 0361 str r3, [r0, #16] 257:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** GPIO_InitStruct->Alternate = LL_GPIO_AF_0; 441 .loc 1 257 0 442 0010 4361 str r3, [r0, #20] 258:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_ll_gpio.c **** } 443 .loc 1 258 0 444 @ sp needed 445 0012 7047 bx lr 446 .L29: 447 .align 2 448 .L28: 449 0014 FFFF0000 .word 65535 450 .cfi_endproc 451 .LFE92: ARM GAS /tmp/ccKYQ5mH.s page 44 453 .text 454 .Letext0: 455 .file 4 "/usr/arm-none-eabi/include/machine/_default_types.h" 456 .file 5 "/usr/arm-none-eabi/include/sys/_stdint.h" 457 .file 6 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h" 458 .file 7 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h" 459 .file 8 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h" 460 .file 9 "/usr/arm-none-eabi/include/sys/lock.h" 461 .file 10 "/usr/arm-none-eabi/include/sys/_types.h" 462 .file 11 "/usr/lib/gcc/arm-none-eabi/7.2.0/include/stddef.h" 463 .file 12 "/usr/arm-none-eabi/include/sys/reent.h" ARM GAS /tmp/ccKYQ5mH.s page 45 DEFINED SYMBOLS *ABS*:0000000000000000 stm32l0xx_ll_gpio.c /tmp/ccKYQ5mH.s:16 .text.LL_GPIO_DeInit:0000000000000000 $t /tmp/ccKYQ5mH.s:23 .text.LL_GPIO_DeInit:0000000000000000 LL_GPIO_DeInit /tmp/ccKYQ5mH.s:218 .text.LL_GPIO_DeInit:00000000000000a4 $d /tmp/ccKYQ5mH.s:228 .text.LL_GPIO_Init:0000000000000000 $t /tmp/ccKYQ5mH.s:235 .text.LL_GPIO_Init:0000000000000000 LL_GPIO_Init /tmp/ccKYQ5mH.s:413 .text.LL_GPIO_StructInit:0000000000000000 $t /tmp/ccKYQ5mH.s:420 .text.LL_GPIO_StructInit:0000000000000000 LL_GPIO_StructInit /tmp/ccKYQ5mH.s:449 .text.LL_GPIO_StructInit:0000000000000014 $d .debug_frame:0000000000000010 $d NO UNDEFINED SYMBOLS