ARM GAS /tmp/ccA3AigR.s page 1 1 .cpu cortex-m3 2 .arch armv7-m 3 .fpu softvfp 4 .eabi_attribute 20, 1 5 .eabi_attribute 21, 1 6 .eabi_attribute 23, 3 7 .eabi_attribute 24, 1 8 .eabi_attribute 25, 1 9 .eabi_attribute 26, 1 10 .eabi_attribute 30, 1 11 .eabi_attribute 34, 1 12 .eabi_attribute 18, 4 13 .file "stm32f1xx_ll_gpio.c" 14 .text 15 .Ltext0: 16 .cfi_sections .debug_frame 17 .section .text.LL_GPIO_DeInit,"ax",%progbits 18 .align 1 19 .global LL_GPIO_DeInit 20 .syntax unified 21 .thumb 22 .thumb_func 24 LL_GPIO_DeInit: 25 .LVL0: 26 .LFB140: 27 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c" 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /** 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** ****************************************************************************** 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @file stm32f1xx_ll_gpio.c 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @author MCD Application Team 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @brief GPIO LL module driver. 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** ****************************************************************************** 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @attention 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * Copyright (c) 2016 STMicroelectronics. 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * All rights reserved. 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * This software is licensed under terms that can be found in the LICENSE file 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * in the root directory of this software component. 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** ****************************************************************************** 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** */ 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #if defined(USE_FULL_LL_DRIVER) 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Includes ------------------------------------------------------------------*/ 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #include "stm32f1xx_ll_gpio.h" 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #include "stm32f1xx_ll_bus.h" 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #ifdef USE_FULL_ASSERT 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #include "stm32_assert.h" 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #else 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #define assert_param(expr) ((void)0U) 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #endif 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /** @addtogroup STM32F1xx_LL_Driver 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @{ ARM GAS /tmp/ccA3AigR.s page 2 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** */ 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #if defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /** @addtogroup GPIO_LL 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @{ 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** */ 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Private types -------------------------------------------------------------*/ 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Private variables ---------------------------------------------------------*/ 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Private constants ---------------------------------------------------------*/ 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Private macros ------------------------------------------------------------*/ 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /** @addtogroup GPIO_LL_Private_Macros 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @{ 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** */ 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #define IS_LL_GPIO_PIN(__VALUE__) ((((__VALUE__) & LL_GPIO_PIN_ALL)!= 0u) &&\ 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** (((__VALUE__) & (~LL_GPIO_PIN_ALL))== 0u)) 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #define IS_LL_GPIO_MODE(__VALUE__) (((__VALUE__) == LL_GPIO_MODE_ANALOG) ||\ 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_MODE_FLOATING) ||\ 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_MODE_INPUT) ||\ 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_MODE_OUTPUT) ||\ 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_MODE_ALTERNATE)) 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #define IS_LL_GPIO_SPEED(__VALUE__) (((__VALUE__) == LL_GPIO_SPEED_FREQ_LOW) ||\ 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_SPEED_FREQ_MEDIUM) ||\ 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_SPEED_FREQ_HIGH)) 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #define IS_LL_GPIO_OUTPUT_TYPE(__VALUE__) (((__VALUE__) == LL_GPIO_OUTPUT_PUSHPULL) ||\ 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_OUTPUT_OPENDRAIN)) 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #define IS_LL_GPIO_PULL(__VALUE__) (((__VALUE__) == LL_GPIO_PULL_DOWN) ||\ 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_PULL_UP)) 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /** 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @} 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** */ 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Private function prototypes -----------------------------------------------*/ 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Exported functions --------------------------------------------------------*/ 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /** @addtogroup GPIO_LL_Exported_Functions 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @{ 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** */ 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /** @addtogroup GPIO_LL_EF_Init 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @{ 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** */ 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /** 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @brief De-initialize GPIO registers (Registers restored to their default values). 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @param GPIOx GPIO Port 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @retval An ErrorStatus enumeration value: 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * - SUCCESS: GPIO registers are de-initialized 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * - ERROR: Wrong GPIO Port 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** */ ARM GAS /tmp/ccA3AigR.s page 3 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** ErrorStatus LL_GPIO_DeInit(GPIO_TypeDef *GPIOx) 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 28 .loc 1 90 1 view -0 29 .cfi_startproc 30 @ args = 0, pretend = 0, frame = 0 31 @ frame_needed = 0, uses_anonymous_args = 0 32 @ link register save eliminated. 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** ErrorStatus status = SUCCESS; 33 .loc 1 91 3 view .LVU1 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Check the parameters */ 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); 34 .loc 1 94 3 view .LVU2 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Force and Release reset on clock of GPIOx Port */ 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** if (GPIOx == GPIOA) 35 .loc 1 97 3 view .LVU3 36 .loc 1 97 6 is_stmt 0 view .LVU4 37 0000 264B ldr r3, .L13 38 0002 9842 cmp r0, r3 39 0004 0DD0 beq .L8 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOA); 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOA); 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** else if (GPIOx == GPIOB) 40 .loc 1 102 8 is_stmt 1 view .LVU5 41 .loc 1 102 11 is_stmt 0 view .LVU6 42 0006 264B ldr r3, .L13+4 43 0008 9842 cmp r0, r3 44 000a 16D0 beq .L9 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOB); 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOB); 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** else if (GPIOx == GPIOC) 45 .loc 1 107 8 is_stmt 1 view .LVU7 46 .loc 1 107 11 is_stmt 0 view .LVU8 47 000c 254B ldr r3, .L13+8 48 000e 9842 cmp r0, r3 49 0010 1FD0 beq .L10 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOC); 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOC); 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** else if (GPIOx == GPIOD) 50 .loc 1 112 8 is_stmt 1 view .LVU9 51 .loc 1 112 11 is_stmt 0 view .LVU10 52 0012 254B ldr r3, .L13+12 53 0014 9842 cmp r0, r3 54 0016 28D0 beq .L11 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOD); 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOD); 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #if defined(GPIOE) 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** else if (GPIOx == GPIOE) ARM GAS /tmp/ccA3AigR.s page 4 55 .loc 1 118 8 is_stmt 1 view .LVU11 56 .loc 1 118 11 is_stmt 0 view .LVU12 57 0018 244B ldr r3, .L13+16 58 001a 9842 cmp r0, r3 59 001c 31D0 beq .L12 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOE); 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOE); 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #endif 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #if defined(GPIOF) 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** else if (GPIOx == GPIOF) 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOF); 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOF); 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #endif 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #if defined(GPIOG) 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** else if (GPIOx == GPIOG) 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_GPIOG); 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOG); 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** #endif 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** else 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** status = ERROR; 60 .loc 1 140 12 view .LVU13 61 001e 0120 movs r0, #1 62 .LVL1: 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** return (status); 63 .loc 1 143 3 is_stmt 1 view .LVU14 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 64 .loc 1 144 1 is_stmt 0 view .LVU15 65 0020 7047 bx lr 66 .LVL2: 67 .L8: 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOA); 68 .loc 1 99 5 is_stmt 1 view .LVU16 69 .LBB44: 70 .LBI44: 71 .file 2 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h" 1:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 2:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ****************************************************************************** 3:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @file stm32f1xx_ll_bus.h 4:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @author MCD Application Team 5:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Header file of BUS LL module. 6:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 7:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** @verbatim 8:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ##### RCC Limitations ##### 9:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ============================================================================== 10:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** [..] 11:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** A delay between an RCC peripheral clock enable and the effective peripheral 12:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** enabling should be taken into account in order to manage the peripheral read/write 13:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** from/to registers. ARM GAS /tmp/ccA3AigR.s page 5 14:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (+) This delay depends on the peripheral mapping. 15:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (++) AHB & APB peripherals, 1 dummy read is necessary 16:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 17:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** [..] 18:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** Workarounds: 19:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (#) For AHB & APB peripherals, a dummy read to the peripheral register has been 20:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** inserted in each LL_{BUS}_GRP{x}_EnableClock() function. 21:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 22:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** @endverbatim 23:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ****************************************************************************** 24:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @attention 25:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 26:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * Copyright (c) 2016 STMicroelectronics. 27:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * All rights reserved. 28:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 29:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * This software is licensed under terms that can be found in the LICENSE file in 30:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * the root directory of this software component. 31:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * If no LICENSE file comes with this software, it is provided AS-IS. 32:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ****************************************************************************** 33:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 34:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 35:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 36:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #ifndef __STM32F1xx_LL_BUS_H 37:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define __STM32F1xx_LL_BUS_H 38:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 39:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #ifdef __cplusplus 40:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** extern "C" { 41:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif 42:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 43:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Includes ------------------------------------------------------------------*/ 44:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #include "stm32f1xx.h" 45:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 46:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @addtogroup STM32F1xx_LL_Driver 47:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 48:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 49:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 50:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(RCC) 51:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 52:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL BUS 53:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 54:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 55:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 56:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Private types -------------------------------------------------------------*/ 57:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Private variables ---------------------------------------------------------*/ 58:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 59:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Private constants ---------------------------------------------------------*/ 60:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(RCC_AHBRSTR_OTGFSRST) || defined(RCC_AHBRSTR_ETHMACRST) 61:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define RCC_AHBRSTR_SUPPORT 62:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /* RCC_AHBRSTR_OTGFSRST || RCC_AHBRSTR_ETHMACRST */ 63:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 64:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Private macros ------------------------------------------------------------*/ 65:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 66:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Exported types ------------------------------------------------------------*/ 67:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Exported constants --------------------------------------------------------*/ 68:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Constants BUS Exported Constants 69:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 70:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ ARM GAS /tmp/ccA3AigR.s page 6 71:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 72:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EC_AHB1_GRP1_PERIPH AHB1 GRP1 PERIPH 73:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 74:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 75:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU 76:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRC RCC_AHBENR_CRCEN 77:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA1 RCC_AHBENR_DMA1EN 78:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(DMA2) 79:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA2 RCC_AHBENR_DMA2EN 80:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*DMA2*/ 81:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(ETH) 82:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ETHMAC RCC_AHBENR_ETHMACEN 83:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ETHMACRX RCC_AHBENR_ETHMACRXEN 84:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ETHMACTX RCC_AHBENR_ETHMACTXEN 85:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*ETH*/ 86:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_FLASH RCC_AHBENR_FLITFEN 87:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(FSMC_Bank1) 88:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_FSMC RCC_AHBENR_FSMCEN 89:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*FSMC_Bank1*/ 90:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(USB_OTG_FS) 91:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_OTGFS RCC_AHBENR_OTGFSEN 92:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*USB_OTG_FS*/ 93:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(SDIO) 94:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_SDIO RCC_AHBENR_SDIOEN 95:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*SDIO*/ 96:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_SRAM RCC_AHBENR_SRAMEN 97:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 98:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @} 99:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 100:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 101:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB1_GRP1_PERIPH APB1 GRP1 PERIPH 102:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 103:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 104:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU 105:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_BKP RCC_APB1ENR_BKPEN 106:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(CAN1) 107:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CAN1 RCC_APB1ENR_CAN1EN 108:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*CAN1*/ 109:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(CAN2) 110:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CAN2 RCC_APB1ENR_CAN2EN 111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*CAN2*/ 112:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(CEC) 113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CEC RCC_APB1ENR_CECEN 114:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*CEC*/ 115:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(DAC) 116:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_DAC1 RCC_APB1ENR_DACEN 117:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*DAC*/ 118:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C1 RCC_APB1ENR_I2C1EN 119:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(I2C2) 120:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C2 RCC_APB1ENR_I2C2EN 121:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*I2C2*/ 122:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_PWR RCC_APB1ENR_PWREN 123:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(SPI2) 124:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI2 RCC_APB1ENR_SPI2EN 125:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*SPI2*/ 126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(SPI3) 127:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI3 RCC_APB1ENR_SPI3EN ARM GAS /tmp/ccA3AigR.s page 7 128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*SPI3*/ 129:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM12) 130:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM12 RCC_APB1ENR_TIM12EN 131:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM12*/ 132:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM13) 133:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM13 RCC_APB1ENR_TIM13EN 134:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM13*/ 135:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM14) 136:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM14 RCC_APB1ENR_TIM14EN 137:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM14*/ 138:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM2 RCC_APB1ENR_TIM2EN 139:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM3 RCC_APB1ENR_TIM3EN 140:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM4) 141:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM4 RCC_APB1ENR_TIM4EN 142:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM4*/ 143:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM5) 144:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM5 RCC_APB1ENR_TIM5EN 145:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM5*/ 146:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM6) 147:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM6 RCC_APB1ENR_TIM6EN 148:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM6*/ 149:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM7) 150:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM7 RCC_APB1ENR_TIM7EN 151:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM7*/ 152:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(UART4) 153:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UART4 RCC_APB1ENR_UART4EN 154:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*UART4*/ 155:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(UART5) 156:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UART5 RCC_APB1ENR_UART5EN 157:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*UART5*/ 158:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART2 RCC_APB1ENR_USART2EN 159:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(USART3) 160:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART3 RCC_APB1ENR_USART3EN 161:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*USART3*/ 162:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(USB) 163:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USB RCC_APB1ENR_USBEN 164:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*USB*/ 165:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_WWDG RCC_APB1ENR_WWDGEN 166:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 167:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @} 168:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 169:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 170:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB2_GRP1_PERIPH APB2 GRP1 PERIPH 171:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 172:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 173:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ALL (uint32_t)0xFFFFFFFFU 174:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC1 RCC_APB2ENR_ADC1EN 175:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(ADC2) 176:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC2 RCC_APB2ENR_ADC2EN 177:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*ADC2*/ 178:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(ADC3) 179:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC3 RCC_APB2ENR_ADC3EN 180:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*ADC3*/ 181:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_AFIO RCC_APB2ENR_AFIOEN 182:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOA RCC_APB2ENR_IOPAEN 183:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOB RCC_APB2ENR_IOPBEN 184:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOC RCC_APB2ENR_IOPCEN ARM GAS /tmp/ccA3AigR.s page 8 185:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOD RCC_APB2ENR_IOPDEN 186:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(GPIOE) 187:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOE RCC_APB2ENR_IOPEEN 188:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*GPIOE*/ 189:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(GPIOF) 190:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOF RCC_APB2ENR_IOPFEN 191:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*GPIOF*/ 192:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(GPIOG) 193:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_GPIOG RCC_APB2ENR_IOPGEN 194:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*GPIOG*/ 195:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SPI1 RCC_APB2ENR_SPI1EN 196:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM10) 197:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM10 RCC_APB2ENR_TIM10EN 198:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM10*/ 199:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM11) 200:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM11 RCC_APB2ENR_TIM11EN 201:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM11*/ 202:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM15) 203:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM15 RCC_APB2ENR_TIM15EN 204:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM15*/ 205:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM16) 206:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM16 RCC_APB2ENR_TIM16EN 207:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM16*/ 208:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM17) 209:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM17 RCC_APB2ENR_TIM17EN 210:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM17*/ 211:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM1 RCC_APB2ENR_TIM1EN 212:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM8) 213:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM8 RCC_APB2ENR_TIM8EN 214:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM8*/ 215:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(TIM9) 216:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM9 RCC_APB2ENR_TIM9EN 217:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /*TIM9*/ 218:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_USART1 RCC_APB2ENR_USART1EN 219:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 220:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @} 221:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 222:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 223:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 224:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @} 225:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 226:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 227:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Exported macro ------------------------------------------------------------*/ 228:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 229:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Exported functions --------------------------------------------------------*/ 230:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Functions BUS Exported Functions 231:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 232:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 233:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 234:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EF_AHB1 AHB1 235:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 236:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 237:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 238:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 239:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Enable AHB1 peripherals clock. 240:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBENR CRCEN LL_AHB1_GRP1_EnableClock\n 241:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA1EN LL_AHB1_GRP1_EnableClock\n ARM GAS /tmp/ccA3AigR.s page 9 242:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA2EN LL_AHB1_GRP1_EnableClock\n 243:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACEN LL_AHB1_GRP1_EnableClock\n 244:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACRXEN LL_AHB1_GRP1_EnableClock\n 245:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACTXEN LL_AHB1_GRP1_EnableClock\n 246:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FLITFEN LL_AHB1_GRP1_EnableClock\n 247:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FSMCEN LL_AHB1_GRP1_EnableClock\n 248:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR OTGFSEN LL_AHB1_GRP1_EnableClock\n 249:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SDIOEN LL_AHB1_GRP1_EnableClock\n 250:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SRAMEN LL_AHB1_GRP1_EnableClock 251:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 252:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 253:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 254:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2 (*) 255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 256:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACRX (*) 257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACTX (*) 258:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH 259:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FSMC (*) 260:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*) 261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SDIO (*) 262:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM 263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 264:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 265:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 267:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClock(uint32_t Periphs) 268:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 269:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __IO uint32_t tmpreg; 270:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->AHBENR, Periphs); 271:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 272:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHBENR, Periphs); 273:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (void)tmpreg; 274:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 275:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 276:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 277:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Check if AHB1 peripheral clock is enabled or not 278:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBENR CRCEN LL_AHB1_GRP1_IsEnabledClock\n 279:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA1EN LL_AHB1_GRP1_IsEnabledClock\n 280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA2EN LL_AHB1_GRP1_IsEnabledClock\n 281:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACEN LL_AHB1_GRP1_IsEnabledClock\n 282:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACRXEN LL_AHB1_GRP1_IsEnabledClock\n 283:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACTXEN LL_AHB1_GRP1_IsEnabledClock\n 284:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FLITFEN LL_AHB1_GRP1_IsEnabledClock\n 285:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FSMCEN LL_AHB1_GRP1_IsEnabledClock\n 286:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR OTGFSEN LL_AHB1_GRP1_IsEnabledClock\n 287:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SDIOEN LL_AHB1_GRP1_IsEnabledClock\n 288:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SRAMEN LL_AHB1_GRP1_IsEnabledClock 289:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 290:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 291:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 292:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2 (*) 293:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 294:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACRX (*) 295:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACTX (*) 296:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH 297:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FSMC (*) 298:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*) ARM GAS /tmp/ccA3AigR.s page 10 299:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SDIO (*) 300:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM 301:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 302:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 303:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval State of Periphs (1 or 0). 304:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 305:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_AHB1_GRP1_IsEnabledClock(uint32_t Periphs) 306:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 307:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** return (READ_BIT(RCC->AHBENR, Periphs) == Periphs); 308:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 309:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 310:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 311:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Disable AHB1 peripherals clock. 312:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBENR CRCEN LL_AHB1_GRP1_DisableClock\n 313:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA1EN LL_AHB1_GRP1_DisableClock\n 314:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR DMA2EN LL_AHB1_GRP1_DisableClock\n 315:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACEN LL_AHB1_GRP1_DisableClock\n 316:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACRXEN LL_AHB1_GRP1_DisableClock\n 317:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR ETHMACTXEN LL_AHB1_GRP1_DisableClock\n 318:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FLITFEN LL_AHB1_GRP1_DisableClock\n 319:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR FSMCEN LL_AHB1_GRP1_DisableClock\n 320:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR OTGFSEN LL_AHB1_GRP1_DisableClock\n 321:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SDIOEN LL_AHB1_GRP1_DisableClock\n 322:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBENR SRAMEN LL_AHB1_GRP1_DisableClock 323:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 324:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 325:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 326:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2 (*) 327:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 328:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACRX (*) 329:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACTX (*) 330:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FLASH 331:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_FSMC (*) 332:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*) 333:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SDIO (*) 334:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_SRAM 335:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 336:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 337:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 338:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 339:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClock(uint32_t Periphs) 340:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 341:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->AHBENR, Periphs); 342:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 343:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 344:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #if defined(RCC_AHBRSTR_SUPPORT) 345:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 346:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Force AHB1 peripherals reset. 347:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBRSTR ETHMACRST LL_AHB1_GRP1_ForceReset\n 348:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBRSTR OTGFSRST LL_AHB1_GRP1_ForceReset 349:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 350:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL 351:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 352:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*) 353:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 354:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 355:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None ARM GAS /tmp/ccA3AigR.s page 11 356:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 357:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ForceReset(uint32_t Periphs) 358:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 359:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->AHBRSTR, Periphs); 360:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 361:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 362:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 363:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Release AHB1 peripherals reset. 364:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll AHBRSTR ETHMACRST LL_AHB1_GRP1_ReleaseReset\n 365:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * AHBRSTR OTGFSRST LL_AHB1_GRP1_ReleaseReset 366:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 367:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL 368:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 369:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGFS (*) 370:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 371:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 372:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 373:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 374:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ReleaseReset(uint32_t Periphs) 375:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 376:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->AHBRSTR, Periphs); 377:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 378:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** #endif /* RCC_AHBRSTR_SUPPORT */ 379:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 380:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 381:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @} 382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 383:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 384:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EF_APB1 APB1 385:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 386:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 387:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 388:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 389:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Enable APB1 peripherals clock. 390:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1ENR BKPEN LL_APB1_GRP1_EnableClock\n 391:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN1EN LL_APB1_GRP1_EnableClock\n 392:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN2EN LL_APB1_GRP1_EnableClock\n 393:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CECEN LL_APB1_GRP1_EnableClock\n 394:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_EnableClock\n 395:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_EnableClock\n 396:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_EnableClock\n 397:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_EnableClock\n 398:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_EnableClock\n 399:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI3EN LL_APB1_GRP1_EnableClock\n 400:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM12EN LL_APB1_GRP1_EnableClock\n 401:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM13EN LL_APB1_GRP1_EnableClock\n 402:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM14EN LL_APB1_GRP1_EnableClock\n 403:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM2EN LL_APB1_GRP1_EnableClock\n 404:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_EnableClock\n 405:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM4EN LL_APB1_GRP1_EnableClock\n 406:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM5EN LL_APB1_GRP1_EnableClock\n 407:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_EnableClock\n 408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_EnableClock\n 409:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART4EN LL_APB1_GRP1_EnableClock\n 410:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART5EN LL_APB1_GRP1_EnableClock\n 411:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_EnableClock\n 412:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART3EN LL_APB1_GRP1_EnableClock\n ARM GAS /tmp/ccA3AigR.s page 12 413:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_EnableClock\n 414:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_EnableClock 415:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 416:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP 417:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*) 418:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*) 419:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*) 420:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 421:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 423:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 424:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 425:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*) 426:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*) 427:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*) 428:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*) 429:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 430:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 431:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*) 432:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*) 433:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 434:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 435:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*) 436:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*) 437:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 438:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*) 439:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 440:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 441:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 442:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 443:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 444:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 445:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_EnableClock(uint32_t Periphs) 446:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 447:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __IO uint32_t tmpreg; 448:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->APB1ENR, Periphs); 449:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 450:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APB1ENR, Periphs); 451:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (void)tmpreg; 452:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 453:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 454:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 455:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Check if APB1 peripheral clock is enabled or not 456:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1ENR BKPEN LL_APB1_GRP1_IsEnabledClock\n 457:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN1EN LL_APB1_GRP1_IsEnabledClock\n 458:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN2EN LL_APB1_GRP1_IsEnabledClock\n 459:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CECEN LL_APB1_GRP1_IsEnabledClock\n 460:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_IsEnabledClock\n 461:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_IsEnabledClock\n 462:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_IsEnabledClock\n 463:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_IsEnabledClock\n 464:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_IsEnabledClock\n 465:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI3EN LL_APB1_GRP1_IsEnabledClock\n 466:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM12EN LL_APB1_GRP1_IsEnabledClock\n 467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM13EN LL_APB1_GRP1_IsEnabledClock\n 468:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM14EN LL_APB1_GRP1_IsEnabledClock\n 469:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM2EN LL_APB1_GRP1_IsEnabledClock\n ARM GAS /tmp/ccA3AigR.s page 13 470:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_IsEnabledClock\n 471:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM4EN LL_APB1_GRP1_IsEnabledClock\n 472:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM5EN LL_APB1_GRP1_IsEnabledClock\n 473:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_IsEnabledClock\n 474:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_IsEnabledClock\n 475:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART4EN LL_APB1_GRP1_IsEnabledClock\n 476:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART5EN LL_APB1_GRP1_IsEnabledClock\n 477:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_IsEnabledClock\n 478:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART3EN LL_APB1_GRP1_IsEnabledClock\n 479:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_IsEnabledClock\n 480:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_IsEnabledClock 481:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 482:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP 483:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*) 484:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*) 485:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*) 486:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 487:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 488:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 489:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 490:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 491:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*) 492:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*) 493:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*) 494:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*) 495:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 497:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*) 498:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*) 499:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 500:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 501:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*) 502:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*) 503:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 504:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*) 505:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 506:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 507:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 508:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 509:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval State of Periphs (1 or 0). 510:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 511:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_APB1_GRP1_IsEnabledClock(uint32_t Periphs) 512:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 513:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** return (READ_BIT(RCC->APB1ENR, Periphs) == Periphs); 514:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 515:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 516:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 517:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Disable APB1 peripherals clock. 518:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1ENR BKPEN LL_APB1_GRP1_DisableClock\n 519:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN1EN LL_APB1_GRP1_DisableClock\n 520:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CAN2EN LL_APB1_GRP1_DisableClock\n 521:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR CECEN LL_APB1_GRP1_DisableClock\n 522:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR DACEN LL_APB1_GRP1_DisableClock\n 523:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C1EN LL_APB1_GRP1_DisableClock\n 524:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR I2C2EN LL_APB1_GRP1_DisableClock\n 525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR PWREN LL_APB1_GRP1_DisableClock\n 526:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI2EN LL_APB1_GRP1_DisableClock\n ARM GAS /tmp/ccA3AigR.s page 14 527:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR SPI3EN LL_APB1_GRP1_DisableClock\n 528:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM12EN LL_APB1_GRP1_DisableClock\n 529:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM13EN LL_APB1_GRP1_DisableClock\n 530:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM14EN LL_APB1_GRP1_DisableClock\n 531:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM2EN LL_APB1_GRP1_DisableClock\n 532:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM3EN LL_APB1_GRP1_DisableClock\n 533:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM4EN LL_APB1_GRP1_DisableClock\n 534:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM5EN LL_APB1_GRP1_DisableClock\n 535:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM6EN LL_APB1_GRP1_DisableClock\n 536:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR TIM7EN LL_APB1_GRP1_DisableClock\n 537:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART4EN LL_APB1_GRP1_DisableClock\n 538:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR UART5EN LL_APB1_GRP1_DisableClock\n 539:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART2EN LL_APB1_GRP1_DisableClock\n 540:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USART3EN LL_APB1_GRP1_DisableClock\n 541:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR USBEN LL_APB1_GRP1_DisableClock\n 542:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1ENR WWDGEN LL_APB1_GRP1_DisableClock 543:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 544:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP 545:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*) 546:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*) 547:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*) 548:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 549:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 550:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 551:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 552:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 553:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*) 554:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*) 555:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*) 556:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*) 557:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 558:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 559:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*) 560:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*) 561:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 562:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 563:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*) 564:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*) 565:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 566:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*) 567:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 568:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 569:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 570:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 571:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 572:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 573:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_DisableClock(uint32_t Periphs) 574:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 575:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->APB1ENR, Periphs); 576:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 577:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 578:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 579:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Force APB1 peripherals reset. 580:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1RSTR BKPRST LL_APB1_GRP1_ForceReset\n 581:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CAN1RST LL_APB1_GRP1_ForceReset\n 582:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CAN2RST LL_APB1_GRP1_ForceReset\n 583:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CECRST LL_APB1_GRP1_ForceReset\n ARM GAS /tmp/ccA3AigR.s page 15 584:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR DACRST LL_APB1_GRP1_ForceReset\n 585:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR I2C1RST LL_APB1_GRP1_ForceReset\n 586:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR I2C2RST LL_APB1_GRP1_ForceReset\n 587:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR PWRRST LL_APB1_GRP1_ForceReset\n 588:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR SPI2RST LL_APB1_GRP1_ForceReset\n 589:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR SPI3RST LL_APB1_GRP1_ForceReset\n 590:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM12RST LL_APB1_GRP1_ForceReset\n 591:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM13RST LL_APB1_GRP1_ForceReset\n 592:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM14RST LL_APB1_GRP1_ForceReset\n 593:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM2RST LL_APB1_GRP1_ForceReset\n 594:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM3RST LL_APB1_GRP1_ForceReset\n 595:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM4RST LL_APB1_GRP1_ForceReset\n 596:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM5RST LL_APB1_GRP1_ForceReset\n 597:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM6RST LL_APB1_GRP1_ForceReset\n 598:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM7RST LL_APB1_GRP1_ForceReset\n 599:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR UART4RST LL_APB1_GRP1_ForceReset\n 600:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR UART5RST LL_APB1_GRP1_ForceReset\n 601:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USART2RST LL_APB1_GRP1_ForceReset\n 602:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USART3RST LL_APB1_GRP1_ForceReset\n 603:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USBRST LL_APB1_GRP1_ForceReset\n 604:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR WWDGRST LL_APB1_GRP1_ForceReset 605:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 606:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_ALL 607:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP 608:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*) 609:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*) 610:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*) 611:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 612:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 613:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 614:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 615:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 616:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*) 617:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*) 618:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*) 619:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*) 620:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 621:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 622:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*) 623:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*) 624:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 625:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 626:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*) 627:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*) 628:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 629:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*) 630:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 631:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 632:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 633:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 634:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 635:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 636:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_ForceReset(uint32_t Periphs) 637:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 638:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->APB1RSTR, Periphs); 639:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 640:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** ARM GAS /tmp/ccA3AigR.s page 16 641:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 642:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Release APB1 peripherals reset. 643:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB1RSTR BKPRST LL_APB1_GRP1_ReleaseReset\n 644:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CAN1RST LL_APB1_GRP1_ReleaseReset\n 645:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CAN2RST LL_APB1_GRP1_ReleaseReset\n 646:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR CECRST LL_APB1_GRP1_ReleaseReset\n 647:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR DACRST LL_APB1_GRP1_ReleaseReset\n 648:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR I2C1RST LL_APB1_GRP1_ReleaseReset\n 649:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR I2C2RST LL_APB1_GRP1_ReleaseReset\n 650:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR PWRRST LL_APB1_GRP1_ReleaseReset\n 651:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR SPI2RST LL_APB1_GRP1_ReleaseReset\n 652:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR SPI3RST LL_APB1_GRP1_ReleaseReset\n 653:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM12RST LL_APB1_GRP1_ReleaseReset\n 654:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM13RST LL_APB1_GRP1_ReleaseReset\n 655:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM14RST LL_APB1_GRP1_ReleaseReset\n 656:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM2RST LL_APB1_GRP1_ReleaseReset\n 657:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM3RST LL_APB1_GRP1_ReleaseReset\n 658:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM4RST LL_APB1_GRP1_ReleaseReset\n 659:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM5RST LL_APB1_GRP1_ReleaseReset\n 660:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM6RST LL_APB1_GRP1_ReleaseReset\n 661:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR TIM7RST LL_APB1_GRP1_ReleaseReset\n 662:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR UART4RST LL_APB1_GRP1_ReleaseReset\n 663:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR UART5RST LL_APB1_GRP1_ReleaseReset\n 664:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USART2RST LL_APB1_GRP1_ReleaseReset\n 665:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USART3RST LL_APB1_GRP1_ReleaseReset\n 666:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR USBRST LL_APB1_GRP1_ReleaseReset\n 667:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB1RSTR WWDGRST LL_APB1_GRP1_ReleaseReset 668:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 669:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_ALL 670:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_BKP 671:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN1 (*) 672:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CAN2 (*) 673:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_CEC (*) 674:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_DAC1 (*) 675:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C1 676:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_I2C2 (*) 677:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_PWR 678:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI2 (*) 679:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_SPI3 (*) 680:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM12 (*) 681:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM13 (*) 682:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM14 (*) 683:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM2 684:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM3 685:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM4 (*) 686:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM5 (*) 687:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM6 (*) 688:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_TIM7 (*) 689:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART4 (*) 690:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_UART5 (*) 691:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART2 692:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USART3 (*) 693:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_USB (*) 694:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB1_GRP1_PERIPH_WWDG 695:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 696:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 697:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None ARM GAS /tmp/ccA3AigR.s page 17 698:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 699:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB1_GRP1_ReleaseReset(uint32_t Periphs) 700:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 701:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->APB1RSTR, Periphs); 702:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 703:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 704:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 705:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @} 706:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 707:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 708:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** @defgroup BUS_LL_EF_APB2 APB2 709:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @{ 710:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 711:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 712:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 713:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Enable APB2 peripherals clock. 714:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2ENR ADC1EN LL_APB2_GRP1_EnableClock\n 715:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC2EN LL_APB2_GRP1_EnableClock\n 716:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC3EN LL_APB2_GRP1_EnableClock\n 717:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR AFIOEN LL_APB2_GRP1_EnableClock\n 718:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPAEN LL_APB2_GRP1_EnableClock\n 719:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPBEN LL_APB2_GRP1_EnableClock\n 720:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPCEN LL_APB2_GRP1_EnableClock\n 721:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPDEN LL_APB2_GRP1_EnableClock\n 722:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPEEN LL_APB2_GRP1_EnableClock\n 723:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPFEN LL_APB2_GRP1_EnableClock\n 724:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPGEN LL_APB2_GRP1_EnableClock\n 725:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_EnableClock\n 726:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM10EN LL_APB2_GRP1_EnableClock\n 727:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM11EN LL_APB2_GRP1_EnableClock\n 728:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM15EN LL_APB2_GRP1_EnableClock\n 729:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM16EN LL_APB2_GRP1_EnableClock\n 730:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM17EN LL_APB2_GRP1_EnableClock\n 731:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM1EN LL_APB2_GRP1_EnableClock\n 732:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM8EN LL_APB2_GRP1_EnableClock\n 733:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM9EN LL_APB2_GRP1_EnableClock\n 734:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_EnableClock 735:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 736:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 737:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*) 738:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*) 739:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO 740:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA 741:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB 742:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC 743:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD 744:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*) 745:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*) 746:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*) 747:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 748:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*) 749:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*) 750:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*) 751:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*) 752:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*) 753:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1 754:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*) ARM GAS /tmp/ccA3AigR.s page 18 755:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*) 756:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 757:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 758:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 759:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 760:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 761:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_EnableClock(uint32_t Periphs) 762:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 763:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __IO uint32_t tmpreg; 764:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->APB2ENR, Periphs); 765:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 766:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** tmpreg = READ_BIT(RCC->APB2ENR, Periphs); 767:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** (void)tmpreg; 768:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 769:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 770:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 771:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Check if APB2 peripheral clock is enabled or not 772:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2ENR ADC1EN LL_APB2_GRP1_IsEnabledClock\n 773:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC2EN LL_APB2_GRP1_IsEnabledClock\n 774:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC3EN LL_APB2_GRP1_IsEnabledClock\n 775:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR AFIOEN LL_APB2_GRP1_IsEnabledClock\n 776:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPAEN LL_APB2_GRP1_IsEnabledClock\n 777:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPBEN LL_APB2_GRP1_IsEnabledClock\n 778:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPCEN LL_APB2_GRP1_IsEnabledClock\n 779:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPDEN LL_APB2_GRP1_IsEnabledClock\n 780:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPEEN LL_APB2_GRP1_IsEnabledClock\n 781:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPFEN LL_APB2_GRP1_IsEnabledClock\n 782:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPGEN LL_APB2_GRP1_IsEnabledClock\n 783:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_IsEnabledClock\n 784:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM10EN LL_APB2_GRP1_IsEnabledClock\n 785:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM11EN LL_APB2_GRP1_IsEnabledClock\n 786:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM15EN LL_APB2_GRP1_IsEnabledClock\n 787:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM16EN LL_APB2_GRP1_IsEnabledClock\n 788:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM17EN LL_APB2_GRP1_IsEnabledClock\n 789:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM1EN LL_APB2_GRP1_IsEnabledClock\n 790:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM8EN LL_APB2_GRP1_IsEnabledClock\n 791:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM9EN LL_APB2_GRP1_IsEnabledClock\n 792:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_IsEnabledClock 793:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 794:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 795:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*) 796:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*) 797:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO 798:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA 799:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB 800:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC 801:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD 802:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*) 803:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*) 804:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*) 805:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 806:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*) 807:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*) 808:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*) 809:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*) 810:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*) 811:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1 ARM GAS /tmp/ccA3AigR.s page 19 812:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*) 813:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*) 814:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 815:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 816:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 817:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval State of Periphs (1 or 0). 818:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 819:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_APB2_GRP1_IsEnabledClock(uint32_t Periphs) 820:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 821:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** return (READ_BIT(RCC->APB2ENR, Periphs) == Periphs); 822:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 823:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 824:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 825:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Disable APB2 peripherals clock. 826:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2ENR ADC1EN LL_APB2_GRP1_DisableClock\n 827:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC2EN LL_APB2_GRP1_DisableClock\n 828:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR ADC3EN LL_APB2_GRP1_DisableClock\n 829:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR AFIOEN LL_APB2_GRP1_DisableClock\n 830:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPAEN LL_APB2_GRP1_DisableClock\n 831:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPBEN LL_APB2_GRP1_DisableClock\n 832:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPCEN LL_APB2_GRP1_DisableClock\n 833:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPDEN LL_APB2_GRP1_DisableClock\n 834:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPEEN LL_APB2_GRP1_DisableClock\n 835:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPFEN LL_APB2_GRP1_DisableClock\n 836:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR IOPGEN LL_APB2_GRP1_DisableClock\n 837:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR SPI1EN LL_APB2_GRP1_DisableClock\n 838:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM10EN LL_APB2_GRP1_DisableClock\n 839:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM11EN LL_APB2_GRP1_DisableClock\n 840:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM15EN LL_APB2_GRP1_DisableClock\n 841:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM16EN LL_APB2_GRP1_DisableClock\n 842:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM17EN LL_APB2_GRP1_DisableClock\n 843:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM1EN LL_APB2_GRP1_DisableClock\n 844:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM8EN LL_APB2_GRP1_DisableClock\n 845:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR TIM9EN LL_APB2_GRP1_DisableClock\n 846:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2ENR USART1EN LL_APB2_GRP1_DisableClock 847:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 848:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 849:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*) 850:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*) 851:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO 852:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA 853:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB 854:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC 855:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD 856:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*) 857:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*) 858:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*) 859:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 860:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*) 861:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*) 862:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*) 863:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*) 864:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*) 865:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1 866:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*) 867:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*) 868:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 ARM GAS /tmp/ccA3AigR.s page 20 869:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 870:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 871:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 872:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 873:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_DisableClock(uint32_t Periphs) 874:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 875:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->APB2ENR, Periphs); 876:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 877:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 878:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 879:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Force APB2 peripherals reset. 880:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2RSTR ADC1RST LL_APB2_GRP1_ForceReset\n 881:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR ADC2RST LL_APB2_GRP1_ForceReset\n 882:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR ADC3RST LL_APB2_GRP1_ForceReset\n 883:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR AFIORST LL_APB2_GRP1_ForceReset\n 884:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPARST LL_APB2_GRP1_ForceReset\n 885:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPBRST LL_APB2_GRP1_ForceReset\n 886:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPCRST LL_APB2_GRP1_ForceReset\n 887:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPDRST LL_APB2_GRP1_ForceReset\n 888:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPERST LL_APB2_GRP1_ForceReset\n 889:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPFRST LL_APB2_GRP1_ForceReset\n 890:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPGRST LL_APB2_GRP1_ForceReset\n 891:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR SPI1RST LL_APB2_GRP1_ForceReset\n 892:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM10RST LL_APB2_GRP1_ForceReset\n 893:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM11RST LL_APB2_GRP1_ForceReset\n 894:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM15RST LL_APB2_GRP1_ForceReset\n 895:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM16RST LL_APB2_GRP1_ForceReset\n 896:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM17RST LL_APB2_GRP1_ForceReset\n 897:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM1RST LL_APB2_GRP1_ForceReset\n 898:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM8RST LL_APB2_GRP1_ForceReset\n 899:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM9RST LL_APB2_GRP1_ForceReset\n 900:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR USART1RST LL_APB2_GRP1_ForceReset 901:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 902:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ALL 903:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 904:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*) 905:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*) 906:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO 907:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA 908:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB 909:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC 910:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD 911:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*) 912:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*) 913:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*) 914:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 915:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*) 916:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*) 917:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*) 918:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*) 919:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*) 920:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1 921:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*) 922:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*) 923:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 924:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 925:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. ARM GAS /tmp/ccA3AigR.s page 21 926:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 927:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_ForceReset(uint32_t Periphs) 72 .loc 2 928 22 view .LVU17 73 .LBB45: 929:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** SET_BIT(RCC->APB2RSTR, Periphs); 74 .loc 2 930 3 view .LVU18 75 0022 03F58433 add r3, r3, #67584 76 0026 DA68 ldr r2, [r3, #12] 77 0028 42F00402 orr r2, r2, #4 78 002c DA60 str r2, [r3, #12] 79 .LVL3: 80 .loc 2 930 3 is_stmt 0 view .LVU19 81 .LBE45: 82 .LBE44: 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 83 .loc 1 100 5 is_stmt 1 view .LVU20 84 .LBB46: 85 .LBI46: 931:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 932:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** 933:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** /** 934:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @brief Release APB2 peripherals reset. 935:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @rmtoll APB2RSTR ADC1RST LL_APB2_GRP1_ReleaseReset\n 936:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR ADC2RST LL_APB2_GRP1_ReleaseReset\n 937:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR ADC3RST LL_APB2_GRP1_ReleaseReset\n 938:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR AFIORST LL_APB2_GRP1_ReleaseReset\n 939:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPARST LL_APB2_GRP1_ReleaseReset\n 940:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPBRST LL_APB2_GRP1_ReleaseReset\n 941:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPCRST LL_APB2_GRP1_ReleaseReset\n 942:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPDRST LL_APB2_GRP1_ReleaseReset\n 943:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPERST LL_APB2_GRP1_ReleaseReset\n 944:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPFRST LL_APB2_GRP1_ReleaseReset\n 945:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR IOPGRST LL_APB2_GRP1_ReleaseReset\n 946:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR SPI1RST LL_APB2_GRP1_ReleaseReset\n 947:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM10RST LL_APB2_GRP1_ReleaseReset\n 948:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM11RST LL_APB2_GRP1_ReleaseReset\n 949:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM15RST LL_APB2_GRP1_ReleaseReset\n 950:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM16RST LL_APB2_GRP1_ReleaseReset\n 951:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM17RST LL_APB2_GRP1_ReleaseReset\n 952:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM1RST LL_APB2_GRP1_ReleaseReset\n 953:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM8RST LL_APB2_GRP1_ReleaseReset\n 954:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR TIM9RST LL_APB2_GRP1_ReleaseReset\n 955:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * APB2RSTR USART1RST LL_APB2_GRP1_ReleaseReset 956:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 957:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ALL 958:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC1 959:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC2 (*) 960:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_ADC3 (*) 961:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_AFIO 962:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOA 963:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOB 964:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOC 965:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOD 966:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOE (*) 967:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOF (*) ARM GAS /tmp/ccA3AigR.s page 22 968:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_GPIOG (*) 969:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_SPI1 970:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM10 (*) 971:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM11 (*) 972:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM15 (*) 973:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM16 (*) 974:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM17 (*) 975:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM1 976:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM8 (*) 977:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_TIM9 (*) 978:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @arg @ref LL_APB2_GRP1_PERIPH_USART1 979:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * 980:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * (*) value not defined in all devices. 981:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** * @retval None 982:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** */ 983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** __STATIC_INLINE void LL_APB2_GRP1_ReleaseReset(uint32_t Periphs) 86 .loc 2 983 22 view .LVU21 87 .LBB47: 984:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** CLEAR_BIT(RCC->APB2RSTR, Periphs); 88 .loc 2 985 3 view .LVU22 89 002e DA68 ldr r2, [r3, #12] 90 0030 22F00402 bic r2, r2, #4 91 0034 DA60 str r2, [r3, #12] 92 .LBE47: 93 .LBE46: 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 94 .loc 1 91 15 is_stmt 0 view .LVU23 95 0036 0020 movs r0, #0 96 .LVL4: 97 .LBB49: 98 .LBB48: 986:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 99 .loc 2 986 1 view .LVU24 100 0038 7047 bx lr 101 .LVL5: 102 .L9: 103 .loc 2 986 1 view .LVU25 104 .LBE48: 105 .LBE49: 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOB); 106 .loc 1 104 5 is_stmt 1 view .LVU26 107 .LBB50: 108 .LBI50: 928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 109 .loc 2 928 22 view .LVU27 110 .LBB51: 930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 111 .loc 2 930 3 view .LVU28 112 003a 03F58233 add r3, r3, #66560 113 003e DA68 ldr r2, [r3, #12] 114 0040 42F00802 orr r2, r2, #8 115 0044 DA60 str r2, [r3, #12] 116 .LVL6: 930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 117 .loc 2 930 3 is_stmt 0 view .LVU29 118 .LBE51: ARM GAS /tmp/ccA3AigR.s page 23 119 .LBE50: 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 120 .loc 1 105 5 is_stmt 1 view .LVU30 121 .LBB52: 122 .LBI52: 983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 123 .loc 2 983 22 view .LVU31 124 .LBB53: 985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 125 .loc 2 985 3 view .LVU32 126 0046 DA68 ldr r2, [r3, #12] 127 0048 22F00802 bic r2, r2, #8 128 004c DA60 str r2, [r3, #12] 129 .LBE53: 130 .LBE52: 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 131 .loc 1 91 15 is_stmt 0 view .LVU33 132 004e 0020 movs r0, #0 133 .LVL7: 134 .LBB55: 135 .LBB54: 136 .loc 2 986 1 view .LVU34 137 0050 7047 bx lr 138 .LVL8: 139 .L10: 140 .loc 2 986 1 view .LVU35 141 .LBE54: 142 .LBE55: 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOC); 143 .loc 1 109 5 is_stmt 1 view .LVU36 144 .LBB56: 145 .LBI56: 928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 146 .loc 2 928 22 view .LVU37 147 .LBB57: 930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 148 .loc 2 930 3 view .LVU38 149 0052 03F58033 add r3, r3, #65536 150 0056 DA68 ldr r2, [r3, #12] 151 0058 42F01002 orr r2, r2, #16 152 005c DA60 str r2, [r3, #12] 153 .LVL9: 930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 154 .loc 2 930 3 is_stmt 0 view .LVU39 155 .LBE57: 156 .LBE56: 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 157 .loc 1 110 5 is_stmt 1 view .LVU40 158 .LBB58: 159 .LBI58: 983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 160 .loc 2 983 22 view .LVU41 161 .LBB59: 985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 162 .loc 2 985 3 view .LVU42 163 005e DA68 ldr r2, [r3, #12] 164 0060 22F01002 bic r2, r2, #16 ARM GAS /tmp/ccA3AigR.s page 24 165 0064 DA60 str r2, [r3, #12] 166 .LBE59: 167 .LBE58: 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 168 .loc 1 91 15 is_stmt 0 view .LVU43 169 0066 0020 movs r0, #0 170 .LVL10: 171 .LBB61: 172 .LBB60: 173 .loc 2 986 1 view .LVU44 174 0068 7047 bx lr 175 .LVL11: 176 .L11: 177 .loc 2 986 1 view .LVU45 178 .LBE60: 179 .LBE61: 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOD); 180 .loc 1 114 5 is_stmt 1 view .LVU46 181 .LBB62: 182 .LBI62: 928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 183 .loc 2 928 22 view .LVU47 184 .LBB63: 930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 185 .loc 2 930 3 view .LVU48 186 006a 03F57C43 add r3, r3, #64512 187 006e DA68 ldr r2, [r3, #12] 188 0070 42F02002 orr r2, r2, #32 189 0074 DA60 str r2, [r3, #12] 190 .LVL12: 930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 191 .loc 2 930 3 is_stmt 0 view .LVU49 192 .LBE63: 193 .LBE62: 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 194 .loc 1 115 5 is_stmt 1 view .LVU50 195 .LBB64: 196 .LBI64: 983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 197 .loc 2 983 22 view .LVU51 198 .LBB65: 985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 199 .loc 2 985 3 view .LVU52 200 0076 DA68 ldr r2, [r3, #12] 201 0078 22F02002 bic r2, r2, #32 202 007c DA60 str r2, [r3, #12] 203 .LBE65: 204 .LBE64: 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 205 .loc 1 91 15 is_stmt 0 view .LVU53 206 007e 0020 movs r0, #0 207 .LVL13: 208 .LBB67: 209 .LBB66: 210 .loc 2 986 1 view .LVU54 211 0080 7047 bx lr 212 .LVL14: ARM GAS /tmp/ccA3AigR.s page 25 213 .L12: 214 .loc 2 986 1 view .LVU55 215 .LBE66: 216 .LBE67: 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_GPIOE); 217 .loc 1 120 5 is_stmt 1 view .LVU56 218 .LBB68: 219 .LBI68: 928:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 220 .loc 2 928 22 view .LVU57 221 .LBB69: 930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 222 .loc 2 930 3 view .LVU58 223 0082 03F57843 add r3, r3, #63488 224 0086 DA68 ldr r2, [r3, #12] 225 0088 42F04002 orr r2, r2, #64 226 008c DA60 str r2, [r3, #12] 227 .LVL15: 930:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 228 .loc 2 930 3 is_stmt 0 view .LVU59 229 .LBE69: 230 .LBE68: 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 231 .loc 1 121 5 is_stmt 1 view .LVU60 232 .LBB70: 233 .LBI70: 983:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** { 234 .loc 2 983 22 view .LVU61 235 .LBB71: 985:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_bus.h **** } 236 .loc 2 985 3 view .LVU62 237 008e DA68 ldr r2, [r3, #12] 238 0090 22F04002 bic r2, r2, #64 239 0094 DA60 str r2, [r3, #12] 240 .LBE71: 241 .LBE70: 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 242 .loc 1 91 15 is_stmt 0 view .LVU63 243 0096 0020 movs r0, #0 244 .LVL16: 245 .LBB73: 246 .LBB72: 247 .loc 2 986 1 view .LVU64 248 0098 7047 bx lr 249 .L14: 250 009a 00BF .align 2 251 .L13: 252 009c 00080140 .word 1073809408 253 00a0 000C0140 .word 1073810432 254 00a4 00100140 .word 1073811456 255 00a8 00140140 .word 1073812480 256 00ac 00180140 .word 1073813504 257 .LBE72: 258 .LBE73: 259 .cfi_endproc 260 .LFE140: 262 .section .text.LL_GPIO_Init,"ax",%progbits ARM GAS /tmp/ccA3AigR.s page 26 263 .align 1 264 .global LL_GPIO_Init 265 .syntax unified 266 .thumb 267 .thumb_func 269 LL_GPIO_Init: 270 .LVL17: 271 .LFB141: 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /** 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @brief Initialize GPIO registers according to the specified parameters in GPIO_InitStruct. 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @param GPIOx GPIO Port 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @param GPIO_InitStruct: pointer to a @ref LL_GPIO_InitTypeDef structure 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * that contains the configuration information for the specified GPIO peripheral. 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @retval An ErrorStatus enumeration value: 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * - SUCCESS: GPIO registers are initialized according to GPIO_InitStruct content 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * - ERROR: Not applicable 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** */ 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct) 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 272 .loc 1 156 1 is_stmt 1 view -0 273 .cfi_startproc 274 @ args = 0, pretend = 0, frame = 0 275 @ frame_needed = 0, uses_anonymous_args = 0 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** uint32_t pinmask; 276 .loc 1 157 3 view .LVU66 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** uint32_t pinpos; 277 .loc 1 158 3 view .LVU67 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** uint32_t currentpin; 278 .loc 1 159 3 view .LVU68 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Check the parameters */ 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); 279 .loc 1 162 3 view .LVU69 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** assert_param(IS_LL_GPIO_PIN(GPIO_InitStruct->Pin)); 280 .loc 1 163 3 view .LVU70 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* ------------------------- Configure the port pins ---------------- */ 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Initialize pinpos on first pin set */ 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** pinmask = ((GPIO_InitStruct->Pin) << GPIO_PIN_MASK_POS) >> GPIO_PIN_NB; 281 .loc 1 168 3 view .LVU71 282 .loc 1 168 30 is_stmt 0 view .LVU72 283 0000 0B68 ldr r3, [r1] 284 .loc 1 168 11 view .LVU73 285 0002 C3F30F2C ubfx ip, r3, #8, #16 286 .LVL18: 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** pinpos = POSITION_VAL(pinmask); 287 .loc 1 169 3 is_stmt 1 view .LVU74 288 .LBB98: 289 .LBI98: 290 .file 3 "Drivers/CMSIS/Include/cmsis_gcc.h" 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//** 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.0.4 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 09. April 2018 ARM GAS /tmp/ccA3AigR.s page 27 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/ 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /* 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved. 9:Drivers/CMSIS/Include/cmsis_gcc.h **** * 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0 11:Drivers/CMSIS/Include/cmsis_gcc.h **** * 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License. 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at 15:Drivers/CMSIS/Include/cmsis_gcc.h **** * 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0 17:Drivers/CMSIS/Include/cmsis_gcc.h **** * 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License. 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 24:Drivers/CMSIS/Include/cmsis_gcc.h **** 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H 27:Drivers/CMSIS/Include/cmsis_gcc.h **** 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */ 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion" 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion" 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter" 33:Drivers/CMSIS/Include/cmsis_gcc.h **** 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */ 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0) 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 38:Drivers/CMSIS/Include/cmsis_gcc.h **** 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */ 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__)) 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used)) 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak)) 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1))) ARM GAS /tmp/ccA3AigR.s page 28 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1))) 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1))) 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */ 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked" 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes" 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; }; 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked" 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes" 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; }; 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))- 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked" 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes" 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; }; 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked" 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes" 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; }; 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))- 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked" 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes" 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; }; 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x))) 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 116:Drivers/CMSIS/Include/cmsis_gcc.h **** 117:Drivers/CMSIS/Include/cmsis_gcc.h **** 118:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */ 119:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface ARM GAS /tmp/ccA3AigR.s page 29 120:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions 121:Drivers/CMSIS/Include/cmsis_gcc.h **** @{ 122:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 123:Drivers/CMSIS/Include/cmsis_gcc.h **** 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR. 127:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes. 128:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 129:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void) 130:Drivers/CMSIS/Include/cmsis_gcc.h **** { 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory"); 132:Drivers/CMSIS/Include/cmsis_gcc.h **** } 133:Drivers/CMSIS/Include/cmsis_gcc.h **** 134:Drivers/CMSIS/Include/cmsis_gcc.h **** 135:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 136:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts 137:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR. 138:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes. 139:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 140:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void) 141:Drivers/CMSIS/Include/cmsis_gcc.h **** { 142:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory"); 143:Drivers/CMSIS/Include/cmsis_gcc.h **** } 144:Drivers/CMSIS/Include/cmsis_gcc.h **** 145:Drivers/CMSIS/Include/cmsis_gcc.h **** 146:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 147:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register 148:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register. 149:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value 150:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 151:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void) 152:Drivers/CMSIS/Include/cmsis_gcc.h **** { 153:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 154:Drivers/CMSIS/Include/cmsis_gcc.h **** 155:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) ); 156:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 157:Drivers/CMSIS/Include/cmsis_gcc.h **** } 158:Drivers/CMSIS/Include/cmsis_gcc.h **** 159:Drivers/CMSIS/Include/cmsis_gcc.h **** 160:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 161:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 162:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure) 163:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode. 164:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value 165:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 166:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void) 167:Drivers/CMSIS/Include/cmsis_gcc.h **** { 168:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 169:Drivers/CMSIS/Include/cmsis_gcc.h **** 170:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) ); 171:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 172:Drivers/CMSIS/Include/cmsis_gcc.h **** } 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 174:Drivers/CMSIS/Include/cmsis_gcc.h **** 175:Drivers/CMSIS/Include/cmsis_gcc.h **** 176:Drivers/CMSIS/Include/cmsis_gcc.h **** /** ARM GAS /tmp/ccA3AigR.s page 30 177:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register 178:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register. 179:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set 180:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 181:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control) 182:Drivers/CMSIS/Include/cmsis_gcc.h **** { 183:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory"); 184:Drivers/CMSIS/Include/cmsis_gcc.h **** } 185:Drivers/CMSIS/Include/cmsis_gcc.h **** 186:Drivers/CMSIS/Include/cmsis_gcc.h **** 187:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 188:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 189:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure) 190:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state. 191:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set 192:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 193:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control) 194:Drivers/CMSIS/Include/cmsis_gcc.h **** { 195:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory"); 196:Drivers/CMSIS/Include/cmsis_gcc.h **** } 197:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 198:Drivers/CMSIS/Include/cmsis_gcc.h **** 199:Drivers/CMSIS/Include/cmsis_gcc.h **** 200:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 201:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register 202:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register. 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value 204:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 205:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void) 206:Drivers/CMSIS/Include/cmsis_gcc.h **** { 207:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 208:Drivers/CMSIS/Include/cmsis_gcc.h **** 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) ); 210:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 211:Drivers/CMSIS/Include/cmsis_gcc.h **** } 212:Drivers/CMSIS/Include/cmsis_gcc.h **** 213:Drivers/CMSIS/Include/cmsis_gcc.h **** 214:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register. 217:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value 218:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 219:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void) 220:Drivers/CMSIS/Include/cmsis_gcc.h **** { 221:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 222:Drivers/CMSIS/Include/cmsis_gcc.h **** 223:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) ); 224:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 225:Drivers/CMSIS/Include/cmsis_gcc.h **** } 226:Drivers/CMSIS/Include/cmsis_gcc.h **** 227:Drivers/CMSIS/Include/cmsis_gcc.h **** 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register. 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void) ARM GAS /tmp/ccA3AigR.s page 31 234:Drivers/CMSIS/Include/cmsis_gcc.h **** { 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 236:Drivers/CMSIS/Include/cmsis_gcc.h **** 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) ); 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 239:Drivers/CMSIS/Include/cmsis_gcc.h **** } 240:Drivers/CMSIS/Include/cmsis_gcc.h **** 241:Drivers/CMSIS/Include/cmsis_gcc.h **** 242:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 243:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP). 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value 246:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 247:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void) 248:Drivers/CMSIS/Include/cmsis_gcc.h **** { 249:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 250:Drivers/CMSIS/Include/cmsis_gcc.h **** 251:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) ); 252:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 253:Drivers/CMSIS/Include/cmsis_gcc.h **** } 254:Drivers/CMSIS/Include/cmsis_gcc.h **** 255:Drivers/CMSIS/Include/cmsis_gcc.h **** 256:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 257:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure) 259:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s 260:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value 261:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void) 263:Drivers/CMSIS/Include/cmsis_gcc.h **** { 264:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 265:Drivers/CMSIS/Include/cmsis_gcc.h **** 266:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) ); 267:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 268:Drivers/CMSIS/Include/cmsis_gcc.h **** } 269:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 270:Drivers/CMSIS/Include/cmsis_gcc.h **** 271:Drivers/CMSIS/Include/cmsis_gcc.h **** 272:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 273:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer 274:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP). 275:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set 276:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 277:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack) 278:Drivers/CMSIS/Include/cmsis_gcc.h **** { 279:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : ); 280:Drivers/CMSIS/Include/cmsis_gcc.h **** } 281:Drivers/CMSIS/Include/cmsis_gcc.h **** 282:Drivers/CMSIS/Include/cmsis_gcc.h **** 283:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 284:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 285:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure) 286:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta 287:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set 288:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 289:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack) 290:Drivers/CMSIS/Include/cmsis_gcc.h **** { ARM GAS /tmp/ccA3AigR.s page 32 291:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : ); 292:Drivers/CMSIS/Include/cmsis_gcc.h **** } 293:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 294:Drivers/CMSIS/Include/cmsis_gcc.h **** 295:Drivers/CMSIS/Include/cmsis_gcc.h **** 296:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP). 299:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value 300:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 301:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void) 302:Drivers/CMSIS/Include/cmsis_gcc.h **** { 303:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 304:Drivers/CMSIS/Include/cmsis_gcc.h **** 305:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) ); 306:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 307:Drivers/CMSIS/Include/cmsis_gcc.h **** } 308:Drivers/CMSIS/Include/cmsis_gcc.h **** 309:Drivers/CMSIS/Include/cmsis_gcc.h **** 310:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 311:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure) 313:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat 314:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value 315:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 316:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void) 317:Drivers/CMSIS/Include/cmsis_gcc.h **** { 318:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 319:Drivers/CMSIS/Include/cmsis_gcc.h **** 320:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) ); 321:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 322:Drivers/CMSIS/Include/cmsis_gcc.h **** } 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 324:Drivers/CMSIS/Include/cmsis_gcc.h **** 325:Drivers/CMSIS/Include/cmsis_gcc.h **** 326:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer 328:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP). 329:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set 330:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 331:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack) 332:Drivers/CMSIS/Include/cmsis_gcc.h **** { 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : ); 334:Drivers/CMSIS/Include/cmsis_gcc.h **** } 335:Drivers/CMSIS/Include/cmsis_gcc.h **** 336:Drivers/CMSIS/Include/cmsis_gcc.h **** 337:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 338:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 339:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure) 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state. 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set 342:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 343:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack) 344:Drivers/CMSIS/Include/cmsis_gcc.h **** { 345:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : ); 346:Drivers/CMSIS/Include/cmsis_gcc.h **** } 347:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif ARM GAS /tmp/ccA3AigR.s page 33 348:Drivers/CMSIS/Include/cmsis_gcc.h **** 349:Drivers/CMSIS/Include/cmsis_gcc.h **** 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure) 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state. 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void) 357:Drivers/CMSIS/Include/cmsis_gcc.h **** { 358:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 359:Drivers/CMSIS/Include/cmsis_gcc.h **** 360:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) ); 361:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 362:Drivers/CMSIS/Include/cmsis_gcc.h **** } 363:Drivers/CMSIS/Include/cmsis_gcc.h **** 364:Drivers/CMSIS/Include/cmsis_gcc.h **** 365:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure) 367:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state. 368:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set 369:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 370:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack) 371:Drivers/CMSIS/Include/cmsis_gcc.h **** { 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : ); 373:Drivers/CMSIS/Include/cmsis_gcc.h **** } 374:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 375:Drivers/CMSIS/Include/cmsis_gcc.h **** 376:Drivers/CMSIS/Include/cmsis_gcc.h **** 377:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 378:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register. 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value 381:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 382:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void) 383:Drivers/CMSIS/Include/cmsis_gcc.h **** { 384:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 385:Drivers/CMSIS/Include/cmsis_gcc.h **** 386:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory"); 387:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 388:Drivers/CMSIS/Include/cmsis_gcc.h **** } 389:Drivers/CMSIS/Include/cmsis_gcc.h **** 390:Drivers/CMSIS/Include/cmsis_gcc.h **** 391:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 392:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 393:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure) 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value 396:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 397:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void) 398:Drivers/CMSIS/Include/cmsis_gcc.h **** { 399:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 400:Drivers/CMSIS/Include/cmsis_gcc.h **** 401:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory"); 402:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 403:Drivers/CMSIS/Include/cmsis_gcc.h **** } 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif ARM GAS /tmp/ccA3AigR.s page 34 405:Drivers/CMSIS/Include/cmsis_gcc.h **** 406:Drivers/CMSIS/Include/cmsis_gcc.h **** 407:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask 409:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register. 410:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask 411:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask) 413:Drivers/CMSIS/Include/cmsis_gcc.h **** { 414:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory"); 415:Drivers/CMSIS/Include/cmsis_gcc.h **** } 416:Drivers/CMSIS/Include/cmsis_gcc.h **** 417:Drivers/CMSIS/Include/cmsis_gcc.h **** 418:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 419:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask (non-secure) 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Priority Mask Register when in secure state. 422:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask 423:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 424:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PRIMASK_NS(uint32_t priMask) 425:Drivers/CMSIS/Include/cmsis_gcc.h **** { 426:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask_ns, %0" : : "r" (priMask) : "memory"); 427:Drivers/CMSIS/Include/cmsis_gcc.h **** } 428:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 429:Drivers/CMSIS/Include/cmsis_gcc.h **** 430:Drivers/CMSIS/Include/cmsis_gcc.h **** 431:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \ 432:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \ 433:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) 434:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable FIQ 436:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables FIQ interrupts by clearing the F-bit in the CPSR. 437:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes. 438:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_fault_irq(void) 440:Drivers/CMSIS/Include/cmsis_gcc.h **** { 441:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie f" : : : "memory"); 442:Drivers/CMSIS/Include/cmsis_gcc.h **** } 443:Drivers/CMSIS/Include/cmsis_gcc.h **** 444:Drivers/CMSIS/Include/cmsis_gcc.h **** 445:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable FIQ 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables FIQ interrupts by setting the F-bit in the CPSR. 448:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes. 449:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 450:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_fault_irq(void) 451:Drivers/CMSIS/Include/cmsis_gcc.h **** { 452:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid f" : : : "memory"); 453:Drivers/CMSIS/Include/cmsis_gcc.h **** } 454:Drivers/CMSIS/Include/cmsis_gcc.h **** 455:Drivers/CMSIS/Include/cmsis_gcc.h **** 456:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 457:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority 458:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Base Priority register. 459:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value 460:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 461:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_BASEPRI(void) ARM GAS /tmp/ccA3AigR.s page 35 462:Drivers/CMSIS/Include/cmsis_gcc.h **** { 463:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 464:Drivers/CMSIS/Include/cmsis_gcc.h **** 465:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri" : "=r" (result) ); 466:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 467:Drivers/CMSIS/Include/cmsis_gcc.h **** } 468:Drivers/CMSIS/Include/cmsis_gcc.h **** 469:Drivers/CMSIS/Include/cmsis_gcc.h **** 470:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 471:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 472:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority (non-secure) 473:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Base Priority register when in secure state. 474:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value 475:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 476:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_BASEPRI_NS(void) 477:Drivers/CMSIS/Include/cmsis_gcc.h **** { 478:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 479:Drivers/CMSIS/Include/cmsis_gcc.h **** 480:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri_ns" : "=r" (result) ); 481:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 482:Drivers/CMSIS/Include/cmsis_gcc.h **** } 483:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 484:Drivers/CMSIS/Include/cmsis_gcc.h **** 485:Drivers/CMSIS/Include/cmsis_gcc.h **** 486:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 487:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority 488:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register. 489:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set 490:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 491:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI(uint32_t basePri) 492:Drivers/CMSIS/Include/cmsis_gcc.h **** { 493:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri, %0" : : "r" (basePri) : "memory"); 494:Drivers/CMSIS/Include/cmsis_gcc.h **** } 495:Drivers/CMSIS/Include/cmsis_gcc.h **** 496:Drivers/CMSIS/Include/cmsis_gcc.h **** 497:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 498:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 499:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority (non-secure) 500:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Base Priority register when in secure state. 501:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set 502:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 503:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_BASEPRI_NS(uint32_t basePri) 504:Drivers/CMSIS/Include/cmsis_gcc.h **** { 505:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_ns, %0" : : "r" (basePri) : "memory"); 506:Drivers/CMSIS/Include/cmsis_gcc.h **** } 507:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 508:Drivers/CMSIS/Include/cmsis_gcc.h **** 509:Drivers/CMSIS/Include/cmsis_gcc.h **** 510:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 511:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority with condition 512:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register only if BASEPRI masking is disable 513:Drivers/CMSIS/Include/cmsis_gcc.h **** or the new value increases the BASEPRI priority level. 514:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set 515:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 516:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI_MAX(uint32_t basePri) 517:Drivers/CMSIS/Include/cmsis_gcc.h **** { 518:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_max, %0" : : "r" (basePri) : "memory"); ARM GAS /tmp/ccA3AigR.s page 36 519:Drivers/CMSIS/Include/cmsis_gcc.h **** } 520:Drivers/CMSIS/Include/cmsis_gcc.h **** 521:Drivers/CMSIS/Include/cmsis_gcc.h **** 522:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 523:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask 524:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Fault Mask register. 525:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value 526:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 527:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FAULTMASK(void) 528:Drivers/CMSIS/Include/cmsis_gcc.h **** { 529:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 530:Drivers/CMSIS/Include/cmsis_gcc.h **** 531:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask" : "=r" (result) ); 532:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 533:Drivers/CMSIS/Include/cmsis_gcc.h **** } 534:Drivers/CMSIS/Include/cmsis_gcc.h **** 535:Drivers/CMSIS/Include/cmsis_gcc.h **** 536:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 537:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 538:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask (non-secure) 539:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Fault Mask register when in secure state. 540:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value 541:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 542:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_FAULTMASK_NS(void) 543:Drivers/CMSIS/Include/cmsis_gcc.h **** { 544:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 545:Drivers/CMSIS/Include/cmsis_gcc.h **** 546:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask_ns" : "=r" (result) ); 547:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 548:Drivers/CMSIS/Include/cmsis_gcc.h **** } 549:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 550:Drivers/CMSIS/Include/cmsis_gcc.h **** 551:Drivers/CMSIS/Include/cmsis_gcc.h **** 552:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 553:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask 554:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Fault Mask register. 555:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set 556:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 557:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FAULTMASK(uint32_t faultMask) 558:Drivers/CMSIS/Include/cmsis_gcc.h **** { 559:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory"); 560:Drivers/CMSIS/Include/cmsis_gcc.h **** } 561:Drivers/CMSIS/Include/cmsis_gcc.h **** 562:Drivers/CMSIS/Include/cmsis_gcc.h **** 563:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 564:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 565:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask (non-secure) 566:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Fault Mask register when in secure state. 567:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set 568:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 569:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_FAULTMASK_NS(uint32_t faultMask) 570:Drivers/CMSIS/Include/cmsis_gcc.h **** { 571:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask_ns, %0" : : "r" (faultMask) : "memory"); 572:Drivers/CMSIS/Include/cmsis_gcc.h **** } 573:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 574:Drivers/CMSIS/Include/cmsis_gcc.h **** 575:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \ ARM GAS /tmp/ccA3AigR.s page 37 576:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \ 577:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) */ 578:Drivers/CMSIS/Include/cmsis_gcc.h **** 579:Drivers/CMSIS/Include/cmsis_gcc.h **** 580:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \ 581:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) 582:Drivers/CMSIS/Include/cmsis_gcc.h **** 583:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 584:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit 585:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 586:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure 587:Drivers/CMSIS/Include/cmsis_gcc.h **** mode. 588:Drivers/CMSIS/Include/cmsis_gcc.h **** 589:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer Limit (PSPLIM). 590:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value 591:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 592:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSPLIM(void) 593:Drivers/CMSIS/Include/cmsis_gcc.h **** { 594:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \ 595:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3))) 596:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI 597:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U; 598:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 599:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 600:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim" : "=r" (result) ); 601:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 602:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 603:Drivers/CMSIS/Include/cmsis_gcc.h **** } 604:Drivers/CMSIS/Include/cmsis_gcc.h **** 605:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3)) 606:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 607:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit (non-secure) 608:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 609:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always. 610:Drivers/CMSIS/Include/cmsis_gcc.h **** 611:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in 612:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value 613:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 614:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSPLIM_NS(void) 615:Drivers/CMSIS/Include/cmsis_gcc.h **** { 616:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1))) 617:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI 618:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U; 619:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 620:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 621:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim_ns" : "=r" (result) ); 622:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 623:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 624:Drivers/CMSIS/Include/cmsis_gcc.h **** } 625:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 626:Drivers/CMSIS/Include/cmsis_gcc.h **** 627:Drivers/CMSIS/Include/cmsis_gcc.h **** 628:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 629:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer Limit 630:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 631:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure 632:Drivers/CMSIS/Include/cmsis_gcc.h **** mode. ARM GAS /tmp/ccA3AigR.s page 38 633:Drivers/CMSIS/Include/cmsis_gcc.h **** 634:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer Limit (PSPLIM). 635:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set 636:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 637:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSPLIM(uint32_t ProcStackPtrLimit) 638:Drivers/CMSIS/Include/cmsis_gcc.h **** { 639:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \ 640:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3))) 641:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI 642:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit; 643:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 644:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim, %0" : : "r" (ProcStackPtrLimit)); 645:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 646:Drivers/CMSIS/Include/cmsis_gcc.h **** } 647:Drivers/CMSIS/Include/cmsis_gcc.h **** 648:Drivers/CMSIS/Include/cmsis_gcc.h **** 649:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 650:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 651:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure) 652:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 653:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored. 654:Drivers/CMSIS/Include/cmsis_gcc.h **** 655:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in s 656:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set 657:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 658:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSPLIM_NS(uint32_t ProcStackPtrLimit) 659:Drivers/CMSIS/Include/cmsis_gcc.h **** { 660:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1))) 661:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI 662:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit; 663:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 664:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim_ns, %0\n" : : "r" (ProcStackPtrLimit)); 665:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 666:Drivers/CMSIS/Include/cmsis_gcc.h **** } 667:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 668:Drivers/CMSIS/Include/cmsis_gcc.h **** 669:Drivers/CMSIS/Include/cmsis_gcc.h **** 670:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 671:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit 672:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 673:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure 674:Drivers/CMSIS/Include/cmsis_gcc.h **** mode. 675:Drivers/CMSIS/Include/cmsis_gcc.h **** 676:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer Limit (MSPLIM). 677:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value 678:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 679:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSPLIM(void) 680:Drivers/CMSIS/Include/cmsis_gcc.h **** { 681:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \ 682:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3))) 683:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI 684:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U; 685:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 686:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 687:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim" : "=r" (result) ); 688:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 689:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif ARM GAS /tmp/ccA3AigR.s page 39 690:Drivers/CMSIS/Include/cmsis_gcc.h **** } 691:Drivers/CMSIS/Include/cmsis_gcc.h **** 692:Drivers/CMSIS/Include/cmsis_gcc.h **** 693:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 694:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 695:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit (non-secure) 696:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 697:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always. 698:Drivers/CMSIS/Include/cmsis_gcc.h **** 699:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in sec 700:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value 701:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 702:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSPLIM_NS(void) 703:Drivers/CMSIS/Include/cmsis_gcc.h **** { 704:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1))) 705:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI 706:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U; 707:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 708:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 709:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim_ns" : "=r" (result) ); 710:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 711:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 712:Drivers/CMSIS/Include/cmsis_gcc.h **** } 713:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 714:Drivers/CMSIS/Include/cmsis_gcc.h **** 715:Drivers/CMSIS/Include/cmsis_gcc.h **** 716:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 717:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit 718:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 719:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure 720:Drivers/CMSIS/Include/cmsis_gcc.h **** mode. 721:Drivers/CMSIS/Include/cmsis_gcc.h **** 722:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer Limit (MSPLIM). 723:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer Limit value to set 724:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 725:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSPLIM(uint32_t MainStackPtrLimit) 726:Drivers/CMSIS/Include/cmsis_gcc.h **** { 727:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \ 728:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3))) 729:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI 730:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit; 731:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 732:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim, %0" : : "r" (MainStackPtrLimit)); 733:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 734:Drivers/CMSIS/Include/cmsis_gcc.h **** } 735:Drivers/CMSIS/Include/cmsis_gcc.h **** 736:Drivers/CMSIS/Include/cmsis_gcc.h **** 737:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 738:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 739:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit (non-secure) 740:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 741:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored. 742:Drivers/CMSIS/Include/cmsis_gcc.h **** 743:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secu 744:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer value to set 745:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 746:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSPLIM_NS(uint32_t MainStackPtrLimit) ARM GAS /tmp/ccA3AigR.s page 40 747:Drivers/CMSIS/Include/cmsis_gcc.h **** { 748:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1))) 749:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI 750:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit; 751:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 752:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim_ns, %0" : : "r" (MainStackPtrLimit)); 753:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 754:Drivers/CMSIS/Include/cmsis_gcc.h **** } 755:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 756:Drivers/CMSIS/Include/cmsis_gcc.h **** 757:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \ 758:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) */ 759:Drivers/CMSIS/Include/cmsis_gcc.h **** 760:Drivers/CMSIS/Include/cmsis_gcc.h **** 761:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 762:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get FPSCR 763:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Floating Point Status/Control register. 764:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Floating Point Status/Control register value 765:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 766:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FPSCR(void) 767:Drivers/CMSIS/Include/cmsis_gcc.h **** { 768:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \ 769:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) ) 770:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_get_fpscr) 771:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed 772:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2) 773:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */ 774:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_arm_get_fpscr(); 775:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 776:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 777:Drivers/CMSIS/Include/cmsis_gcc.h **** 778:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMRS %0, fpscr" : "=r" (result) ); 779:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 780:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 781:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 782:Drivers/CMSIS/Include/cmsis_gcc.h **** return(0U); 783:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 784:Drivers/CMSIS/Include/cmsis_gcc.h **** } 785:Drivers/CMSIS/Include/cmsis_gcc.h **** 786:Drivers/CMSIS/Include/cmsis_gcc.h **** 787:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 788:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set FPSCR 789:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Floating Point Status/Control register. 790:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] fpscr Floating Point Status/Control value to set 791:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 792:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FPSCR(uint32_t fpscr) 793:Drivers/CMSIS/Include/cmsis_gcc.h **** { 794:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \ 795:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) ) 796:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_set_fpscr) 797:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed 798:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2) 799:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */ 800:Drivers/CMSIS/Include/cmsis_gcc.h **** __builtin_arm_set_fpscr(fpscr); 801:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 802:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc", "memory"); 803:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif ARM GAS /tmp/ccA3AigR.s page 41 804:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 805:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)fpscr; 806:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 807:Drivers/CMSIS/Include/cmsis_gcc.h **** } 808:Drivers/CMSIS/Include/cmsis_gcc.h **** 809:Drivers/CMSIS/Include/cmsis_gcc.h **** 810:Drivers/CMSIS/Include/cmsis_gcc.h **** /*@} end of CMSIS_Core_RegAccFunctions */ 811:Drivers/CMSIS/Include/cmsis_gcc.h **** 812:Drivers/CMSIS/Include/cmsis_gcc.h **** 813:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################## Core Instruction Access ######################### */ 814:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface 815:Drivers/CMSIS/Include/cmsis_gcc.h **** Access to dedicated instructions 816:Drivers/CMSIS/Include/cmsis_gcc.h **** @{ 817:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 818:Drivers/CMSIS/Include/cmsis_gcc.h **** 819:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Define macros for porting to both thumb1 and thumb2. 820:Drivers/CMSIS/Include/cmsis_gcc.h **** * For thumb1, use low register (r0-r7), specified by constraint "l" 821:Drivers/CMSIS/Include/cmsis_gcc.h **** * Otherwise, use general registers, specified by constraint "r" */ 822:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined (__thumb__) && !defined (__thumb2__) 823:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=l" (r) 824:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+l" (r) 825:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "l" (r) 826:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 827:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=r" (r) 828:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+r" (r) 829:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "r" (r) 830:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 831:Drivers/CMSIS/Include/cmsis_gcc.h **** 832:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 833:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief No Operation 834:Drivers/CMSIS/Include/cmsis_gcc.h **** \details No Operation does nothing. This instruction can be used for code alignment purposes. 835:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 836:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NOP() __ASM volatile ("nop") 837:Drivers/CMSIS/Include/cmsis_gcc.h **** 838:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 839:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Interrupt 840:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Interrupt is a hint instruction that suspends execution until one of a number o 841:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 842:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFI() __ASM volatile ("wfi") 843:Drivers/CMSIS/Include/cmsis_gcc.h **** 844:Drivers/CMSIS/Include/cmsis_gcc.h **** 845:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 846:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Event 847:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Event is a hint instruction that permits the processor to enter 848:Drivers/CMSIS/Include/cmsis_gcc.h **** a low-power state until one of a number of events occurs. 849:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 850:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFE() __ASM volatile ("wfe") 851:Drivers/CMSIS/Include/cmsis_gcc.h **** 852:Drivers/CMSIS/Include/cmsis_gcc.h **** 853:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 854:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Send Event 855:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Send Event is a hint instruction. It causes an event to be signaled to the CPU. 856:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 857:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __SEV() __ASM volatile ("sev") 858:Drivers/CMSIS/Include/cmsis_gcc.h **** 859:Drivers/CMSIS/Include/cmsis_gcc.h **** 860:Drivers/CMSIS/Include/cmsis_gcc.h **** /** ARM GAS /tmp/ccA3AigR.s page 42 861:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Instruction Synchronization Barrier 862:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Instruction Synchronization Barrier flushes the pipeline in the processor, 863:Drivers/CMSIS/Include/cmsis_gcc.h **** so that all instructions following the ISB are fetched from cache or memory, 864:Drivers/CMSIS/Include/cmsis_gcc.h **** after the instruction has been completed. 865:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 866:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __ISB(void) 867:Drivers/CMSIS/Include/cmsis_gcc.h **** { 868:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("isb 0xF":::"memory"); 869:Drivers/CMSIS/Include/cmsis_gcc.h **** } 870:Drivers/CMSIS/Include/cmsis_gcc.h **** 871:Drivers/CMSIS/Include/cmsis_gcc.h **** 872:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 873:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Synchronization Barrier 874:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Acts as a special kind of Data Memory Barrier. 875:Drivers/CMSIS/Include/cmsis_gcc.h **** It completes when all explicit memory accesses before this instruction complete. 876:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 877:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DSB(void) 878:Drivers/CMSIS/Include/cmsis_gcc.h **** { 879:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dsb 0xF":::"memory"); 880:Drivers/CMSIS/Include/cmsis_gcc.h **** } 881:Drivers/CMSIS/Include/cmsis_gcc.h **** 882:Drivers/CMSIS/Include/cmsis_gcc.h **** 883:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 884:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Memory Barrier 885:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Ensures the apparent order of the explicit memory operations before 886:Drivers/CMSIS/Include/cmsis_gcc.h **** and after the instruction, without ensuring their completion. 887:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 888:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DMB(void) 889:Drivers/CMSIS/Include/cmsis_gcc.h **** { 890:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dmb 0xF":::"memory"); 891:Drivers/CMSIS/Include/cmsis_gcc.h **** } 892:Drivers/CMSIS/Include/cmsis_gcc.h **** 893:Drivers/CMSIS/Include/cmsis_gcc.h **** 894:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 895:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (32 bit) 896:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order in unsigned integer value. For example, 0x12345678 becomes 0x785 897:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse 898:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value 899:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 900:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __REV(uint32_t value) 901:Drivers/CMSIS/Include/cmsis_gcc.h **** { 902:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) 903:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_bswap32(value); 904:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 905:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 906:Drivers/CMSIS/Include/cmsis_gcc.h **** 907:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rev %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); 908:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 909:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 910:Drivers/CMSIS/Include/cmsis_gcc.h **** } 911:Drivers/CMSIS/Include/cmsis_gcc.h **** 912:Drivers/CMSIS/Include/cmsis_gcc.h **** 913:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 914:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (16 bit) 915:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order within each halfword of a word. For example, 0x12345678 becomes 916:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse 917:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value ARM GAS /tmp/ccA3AigR.s page 43 918:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 919:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __REV16(uint32_t value) 920:Drivers/CMSIS/Include/cmsis_gcc.h **** { 921:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 922:Drivers/CMSIS/Include/cmsis_gcc.h **** 923:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rev16 %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); 924:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 925:Drivers/CMSIS/Include/cmsis_gcc.h **** } 926:Drivers/CMSIS/Include/cmsis_gcc.h **** 927:Drivers/CMSIS/Include/cmsis_gcc.h **** 928:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 929:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (16 bit) 930:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order in a 16-bit value and returns the signed 16-bit result. For exam 931:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse 932:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value 933:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 934:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE int16_t __REVSH(int16_t value) 935:Drivers/CMSIS/Include/cmsis_gcc.h **** { 936:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8) 937:Drivers/CMSIS/Include/cmsis_gcc.h **** return (int16_t)__builtin_bswap16(value); 938:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 939:Drivers/CMSIS/Include/cmsis_gcc.h **** int16_t result; 940:Drivers/CMSIS/Include/cmsis_gcc.h **** 941:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("revsh %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); 942:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 943:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 944:Drivers/CMSIS/Include/cmsis_gcc.h **** } 945:Drivers/CMSIS/Include/cmsis_gcc.h **** 946:Drivers/CMSIS/Include/cmsis_gcc.h **** 947:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 948:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Rotate Right in unsigned value (32 bit) 949:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Rotate Right (immediate) provides the value of the contents of a register rotated by a v 950:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] op1 Value to rotate 951:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] op2 Number of Bits to rotate 952:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Rotated value 953:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 954:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __ROR(uint32_t op1, uint32_t op2) 955:Drivers/CMSIS/Include/cmsis_gcc.h **** { 956:Drivers/CMSIS/Include/cmsis_gcc.h **** op2 %= 32U; 957:Drivers/CMSIS/Include/cmsis_gcc.h **** if (op2 == 0U) 958:Drivers/CMSIS/Include/cmsis_gcc.h **** { 959:Drivers/CMSIS/Include/cmsis_gcc.h **** return op1; 960:Drivers/CMSIS/Include/cmsis_gcc.h **** } 961:Drivers/CMSIS/Include/cmsis_gcc.h **** return (op1 >> op2) | (op1 << (32U - op2)); 962:Drivers/CMSIS/Include/cmsis_gcc.h **** } 963:Drivers/CMSIS/Include/cmsis_gcc.h **** 964:Drivers/CMSIS/Include/cmsis_gcc.h **** 965:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 966:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Breakpoint 967:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Causes the processor to enter Debug state. 968:Drivers/CMSIS/Include/cmsis_gcc.h **** Debug tools can use this to investigate system state when the instruction at a particula 969:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value is ignored by the processor. 970:Drivers/CMSIS/Include/cmsis_gcc.h **** If required, a debugger can use it to store additional information about the break 971:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 972:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __BKPT(value) __ASM volatile ("bkpt "#value) 973:Drivers/CMSIS/Include/cmsis_gcc.h **** 974:Drivers/CMSIS/Include/cmsis_gcc.h **** ARM GAS /tmp/ccA3AigR.s page 44 975:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 976:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse bit order of value 977:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the bit order of the given value. 978:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse 979:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value 980:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 981:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __RBIT(uint32_t value) 291 .loc 3 981 31 view .LVU75 292 .LBB99: 982:Drivers/CMSIS/Include/cmsis_gcc.h **** { 983:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 293 .loc 3 983 3 view .LVU76 984:Drivers/CMSIS/Include/cmsis_gcc.h **** 985:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \ 986:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \ 987:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) 988:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rbit %0, %1" : "=r" (result) : "r" (value) ); 294 .loc 3 988 4 view .LVU77 295 .syntax unified 296 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 297 0006 9CFAACF2 rbit r2, ip 298 @ 0 "" 2 299 .LVL19: 989:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 990:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t s = (4U /*sizeof(v)*/ * 8U) - 1U; /* extra shift needed at end */ 991:Drivers/CMSIS/Include/cmsis_gcc.h **** 992:Drivers/CMSIS/Include/cmsis_gcc.h **** result = value; /* r will be reversed bits of v; first get LSB of v */ 993:Drivers/CMSIS/Include/cmsis_gcc.h **** for (value >>= 1U; value != 0U; value >>= 1U) 994:Drivers/CMSIS/Include/cmsis_gcc.h **** { 995:Drivers/CMSIS/Include/cmsis_gcc.h **** result <<= 1U; 996:Drivers/CMSIS/Include/cmsis_gcc.h **** result |= value & 1U; 997:Drivers/CMSIS/Include/cmsis_gcc.h **** s--; 998:Drivers/CMSIS/Include/cmsis_gcc.h **** } 999:Drivers/CMSIS/Include/cmsis_gcc.h **** result <<= s; /* shift when v's highest bits are zero */ 1000:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 1001:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 300 .loc 3 1001 3 view .LVU78 301 .loc 3 1001 3 is_stmt 0 view .LVU79 302 .thumb 303 .syntax unified 304 .LBE99: 305 .LBE98: 306 .loc 1 169 10 view .LVU80 307 000a B2FA82F2 clz r2, r2 308 .LVL20: 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Configure the port pins */ 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** while ((pinmask >> pinpos) != 0u) 309 .loc 1 172 3 is_stmt 1 view .LVU81 310 .loc 1 172 9 is_stmt 0 view .LVU82 311 000e 76E0 b .L24 312 .L18: 313 .LCFI0: 314 .cfi_def_cfa_offset 20 315 .cfi_offset 4, -20 316 .cfi_offset 5, -16 317 .cfi_offset 6, -12 ARM GAS /tmp/ccA3AigR.s page 45 318 .cfi_offset 7, -8 319 .cfi_offset 14, -4 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* skip if bit is not set */ 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** if ((pinmask & (1u << pinpos)) != 0u) 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Get current io position */ 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** if (pinpos < GPIO_PIN_MASK_POS) 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** currentpin = (0x00000101uL << pinpos); 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** else 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** currentpin = ((0x00010001u << (pinpos - GPIO_PIN_MASK_POS)) | 0x04000000u); 320 .loc 1 184 9 is_stmt 1 view .LVU83 321 .loc 1 184 47 is_stmt 0 view .LVU84 322 0010 A2F10804 sub r4, r2, #8 323 .loc 1 184 36 view .LVU85 324 0014 4FF00113 mov r3, #65537 325 0018 A340 lsls r3, r3, r4 326 .loc 1 184 20 view .LVU86 327 001a 43F08063 orr r3, r3, #67108864 328 .LVL21: 329 .L19: 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** if (GPIO_InitStruct->Mode == LL_GPIO_MODE_INPUT) 330 .loc 1 187 7 is_stmt 1 view .LVU87 331 .loc 1 187 26 is_stmt 0 view .LVU88 332 001e 4C68 ldr r4, [r1, #4] 333 .loc 1 187 10 view .LVU89 334 0020 082C cmp r4, #8 335 0022 2CD0 beq .L30 336 .L20: 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Check The Pull parameter */ 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** assert_param(IS_LL_GPIO_PULL(GPIO_InitStruct->Pull)); 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Pull-up Pull-down resistor configuration*/ 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_GPIO_SetPinPull(GPIOx, currentpin, GPIO_InitStruct->Pull); 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Check Pin Mode parameters */ 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** assert_param(IS_LL_GPIO_MODE(GPIO_InitStruct->Mode)); 337 .loc 1 197 7 is_stmt 1 view .LVU90 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Pin Mode configuration */ 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_GPIO_SetPinMode(GPIOx, currentpin, GPIO_InitStruct->Mode); 338 .loc 1 200 7 view .LVU91 339 .LVL22: 340 .LBB100: 341 .LBI100: 342 .file 4 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h" 1:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 2:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** ****************************************************************************** 3:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @file stm32f1xx_ll_gpio.h 4:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @author MCD Application Team ARM GAS /tmp/ccA3AigR.s page 46 5:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @brief Header file of GPIO LL module. 6:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** ****************************************************************************** 7:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @attention 8:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * 9:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * Copyright (c) 2016 STMicroelectronics. 10:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * All rights reserved. 11:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * 12:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * This software is licensed under terms that can be found in the LICENSE file 13:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * in the root directory of this software component. 14:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * If no LICENSE file comes with this software, it is provided AS-IS. 15:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * 16:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** ****************************************************************************** 17:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 18:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 19:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 20:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #ifndef STM32F1xx_LL_GPIO_H 21:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define STM32F1xx_LL_GPIO_H 22:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 23:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #ifdef __cplusplus 24:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** extern "C" { 25:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #endif 26:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 27:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /* Includes ------------------------------------------------------------------*/ 28:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #include "stm32f1xx.h" 29:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 30:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @addtogroup STM32F1xx_LL_Driver 31:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 32:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 33:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 34:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #if defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || 35:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 36:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL GPIO 37:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 38:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 39:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 40:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /* Private types -------------------------------------------------------------*/ 41:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /* Private variables ---------------------------------------------------------*/ 42:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /* Private constants ---------------------------------------------------------*/ 43:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 44:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_Private_Constants GPIO Private Constants 45:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 46:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 47:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /* Defines used for Pin Mask Initialization */ 48:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define GPIO_PIN_MASK_POS 8U 49:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define GPIO_PIN_NB 16U 50:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 51:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} 52:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 53:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 54:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /* Private macros ------------------------------------------------------------*/ 55:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #if defined(USE_FULL_LL_DRIVER) 56:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_Private_Macros GPIO Private Macros 57:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 58:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 59:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 60:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 61:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} ARM GAS /tmp/ccA3AigR.s page 47 62:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 63:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #endif /*USE_FULL_LL_DRIVER*/ 64:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 65:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /* Exported types ------------------------------------------------------------*/ 66:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #if defined(USE_FULL_LL_DRIVER) 67:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_ES_INIT GPIO Exported Init structures 68:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 69:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 70:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 71:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 72:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @brief LL GPIO Init Structure definition 73:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 74:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** typedef struct 75:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** { 76:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** uint32_t Pin; /*!< Specifies the GPIO pins to be configured. 77:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** This parameter can be any value of @ref GPIO_LL_EC_PIN */ 78:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 79:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** uint32_t Mode; /*!< Specifies the operating mode for the selected pins. 80:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** This parameter can be a value of @ref GPIO_LL_EC_MODE. 81:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 82:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** GPIO HW configuration can be modified afterwards using unitary functi 83:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 84:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** uint32_t Speed; /*!< Specifies the speed for the selected pins. 85:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** This parameter can be a value of @ref GPIO_LL_EC_SPEED. 86:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 87:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** GPIO HW configuration can be modified afterwards using unitary functi 88:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 89:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** uint32_t OutputType; /*!< Specifies the operating output type for the selected pins. 90:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** This parameter can be a value of @ref GPIO_LL_EC_OUTPUT. 91:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 92:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** GPIO HW configuration can be modified afterwards using unitary functi 93:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 94:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** uint32_t Pull; /*!< Specifies the operating Pull-up/Pull down for the selected pins. 95:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** This parameter can be a value of @ref GPIO_LL_EC_PULL. 96:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 97:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** GPIO HW configuration can be modified afterwards using unitary functi 98:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** } LL_GPIO_InitTypeDef; 99:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 100:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 101:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} 102:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 103:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #endif /* USE_FULL_LL_DRIVER */ 104:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 105:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /* Exported constants --------------------------------------------------------*/ 106:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_Exported_Constants GPIO Exported Constants 107:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 108:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 109:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 110:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_PIN PIN 111:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 112:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 113:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_0 ((GPIO_BSRR_BS0 << GPIO_PIN_MASK_POS) | 0x00000001U) /*! 114:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_1 ((GPIO_BSRR_BS1 << GPIO_PIN_MASK_POS) | 0x00000002U) /*! 115:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_2 ((GPIO_BSRR_BS2 << GPIO_PIN_MASK_POS) | 0x00000004U) /*! 116:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_3 ((GPIO_BSRR_BS3 << GPIO_PIN_MASK_POS) | 0x00000008U) /*! 117:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_4 ((GPIO_BSRR_BS4 << GPIO_PIN_MASK_POS) | 0x00000010U) /*! 118:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_5 ((GPIO_BSRR_BS5 << GPIO_PIN_MASK_POS) | 0x00000020U) /*! ARM GAS /tmp/ccA3AigR.s page 48 119:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_6 ((GPIO_BSRR_BS6 << GPIO_PIN_MASK_POS) | 0x00000040U) /*! 120:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_7 ((GPIO_BSRR_BS7 << GPIO_PIN_MASK_POS) | 0x00000080U) /*! 121:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_8 ((GPIO_BSRR_BS8 << GPIO_PIN_MASK_POS) | 0x04000001U) /*! 122:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_9 ((GPIO_BSRR_BS9 << GPIO_PIN_MASK_POS) | 0x04000002U) /*! 123:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_10 ((GPIO_BSRR_BS10 << GPIO_PIN_MASK_POS) | 0x04000004U) /*! 124:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_11 ((GPIO_BSRR_BS11 << GPIO_PIN_MASK_POS) | 0x04000008U) /*! 125:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_12 ((GPIO_BSRR_BS12 << GPIO_PIN_MASK_POS) | 0x04000010U) /*! 126:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_13 ((GPIO_BSRR_BS13 << GPIO_PIN_MASK_POS) | 0x04000020U) /*! 127:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_14 ((GPIO_BSRR_BS14 << GPIO_PIN_MASK_POS) | 0x04000040U) /*! 128:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_15 ((GPIO_BSRR_BS15 << GPIO_PIN_MASK_POS) | 0x04000080U) /*! 129:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PIN_ALL (LL_GPIO_PIN_0 | LL_GPIO_PIN_1 | LL_GPIO_PIN_2 | \ 130:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** LL_GPIO_PIN_3 | LL_GPIO_PIN_4 | LL_GPIO_PIN_5 | \ 131:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** LL_GPIO_PIN_6 | LL_GPIO_PIN_7 | LL_GPIO_PIN_8 | \ 132:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** LL_GPIO_PIN_9 | LL_GPIO_PIN_10 | LL_GPIO_PIN_11 | \ 133:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** LL_GPIO_PIN_12 | LL_GPIO_PIN_13 | LL_GPIO_PIN_14 | \ 134:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** LL_GPIO_PIN_15) /*!< 135:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 136:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} 137:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 138:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 139:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_MODE Mode 140:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 141:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 142:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_MODE_ANALOG 0x00000000U /*!< Select analog mode */ 143:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_MODE_FLOATING GPIO_CRL_CNF0_0 /*!< Select floating mode */ 144:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_MODE_INPUT GPIO_CRL_CNF0_1 /*!< Select input mode */ 145:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_MODE_OUTPUT GPIO_CRL_MODE0_0 /*!< Select general purpose output mode 146:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_MODE_ALTERNATE (GPIO_CRL_CNF0_1 | GPIO_CRL_MODE0_0) /*!< Select alternate 147:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 148:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} 149:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 150:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 151:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_OUTPUT Output Type 152:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 153:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 154:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_OUTPUT_PUSHPULL 0x00000000U /*!< Select push-pull as output 155:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_OUTPUT_OPENDRAIN GPIO_CRL_CNF0_0 /*!< Select open-drain as outpu 156:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 157:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} 158:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 159:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 160:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_SPEED Output Speed 161:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 162:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 163:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_MODE_OUTPUT_10MHz GPIO_CRL_MODE0_0 /*!< Select Output mode, max s 164:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_MODE_OUTPUT_2MHz GPIO_CRL_MODE0_1 /*!< Select Output mode, max s 165:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_MODE_OUTPUT_50MHz GPIO_CRL_MODE0 /*!< Select Output mode, max s 166:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 167:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} 168:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 169:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 170:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_SPEED_FREQ_LOW LL_GPIO_MODE_OUTPUT_2MHz /*!< Select I/O low output spe 171:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_SPEED_FREQ_MEDIUM LL_GPIO_MODE_OUTPUT_10MHz /*!< Select I/O medium output 172:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_SPEED_FREQ_HIGH LL_GPIO_MODE_OUTPUT_50MHz /*!< Select I/O high output sp 173:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 174:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_PULL Pull Up Pull Down 175:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ ARM GAS /tmp/ccA3AigR.s page 49 176:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 177:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PULL_DOWN 0x00000000U /*!< Select I/O pull down */ 178:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_PULL_UP GPIO_ODR_ODR0 /*!< Select I/O pull up */ 179:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 180:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 181:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} 182:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 183:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 184:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_EVENTOUT_PIN EVENTOUT Pin 185:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 186:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 187:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 188:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_0 AFIO_EVCR_PIN_PX0 /*!< EVENTOUT on pin 0 */ 189:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_1 AFIO_EVCR_PIN_PX1 /*!< EVENTOUT on pin 1 */ 190:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_2 AFIO_EVCR_PIN_PX2 /*!< EVENTOUT on pin 2 */ 191:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_3 AFIO_EVCR_PIN_PX3 /*!< EVENTOUT on pin 3 */ 192:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_4 AFIO_EVCR_PIN_PX4 /*!< EVENTOUT on pin 4 */ 193:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_5 AFIO_EVCR_PIN_PX5 /*!< EVENTOUT on pin 5 */ 194:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_6 AFIO_EVCR_PIN_PX6 /*!< EVENTOUT on pin 6 */ 195:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_7 AFIO_EVCR_PIN_PX7 /*!< EVENTOUT on pin 7 */ 196:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_8 AFIO_EVCR_PIN_PX8 /*!< EVENTOUT on pin 8 */ 197:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_9 AFIO_EVCR_PIN_PX9 /*!< EVENTOUT on pin 9 */ 198:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_10 AFIO_EVCR_PIN_PX10 /*!< EVENTOUT on pin 10 */ 199:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_11 AFIO_EVCR_PIN_PX11 /*!< EVENTOUT on pin 11 */ 200:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_12 AFIO_EVCR_PIN_PX12 /*!< EVENTOUT on pin 12 */ 201:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_13 AFIO_EVCR_PIN_PX13 /*!< EVENTOUT on pin 13 */ 202:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_14 AFIO_EVCR_PIN_PX14 /*!< EVENTOUT on pin 14 */ 203:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PIN_15 AFIO_EVCR_PIN_PX15 /*!< EVENTOUT on pin 15 */ 204:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 205:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 206:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} 207:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 208:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 209:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_EVENTOUT_PORT EVENTOUT Port 210:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 211:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 212:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 213:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PORT_A AFIO_EVCR_PORT_PA /*!< EVENTOUT on port A */ 214:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PORT_B AFIO_EVCR_PORT_PB /*!< EVENTOUT on port B */ 215:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PORT_C AFIO_EVCR_PORT_PC /*!< EVENTOUT on port C */ 216:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PORT_D AFIO_EVCR_PORT_PD /*!< EVENTOUT on port D */ 217:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EVENTOUT_PORT_E AFIO_EVCR_PORT_PE /*!< EVENTOUT on port E */ 218:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 219:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 220:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} 221:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 222:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 223:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_EXTI_PORT GPIO EXTI PORT 224:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 225:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 226:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_PORTA 0U /*!< EXTI PORT A */ 227:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_PORTB 1U /*!< EXTI PORT B */ 228:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_PORTC 2U /*!< EXTI PORT C */ 229:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_PORTD 3U /*!< EXTI PORT D */ 230:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_PORTE 4U /*!< EXTI PORT E */ 231:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_PORTF 5U /*!< EXTI PORT F */ 232:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_PORTG 6U /*!< EXTI PORT G */ ARM GAS /tmp/ccA3AigR.s page 50 233:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 234:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} 235:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 236:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 237:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_EXTI_LINE GPIO EXTI LINE 238:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 239:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 240:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE0 (0x000FU << 16U | 0U) /*!< EXTI_POSITION_0 | EXTICR[0] * 241:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE1 (0x00F0U << 16U | 0U) /*!< EXTI_POSITION_4 | EXTICR[0] * 242:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE2 (0x0F00U << 16U | 0U) /*!< EXTI_POSITION_8 | EXTICR[0] * 243:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE3 (0xF000U << 16U | 0U) /*!< EXTI_POSITION_12 | EXTICR[0] * 244:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE4 (0x000FU << 16U | 1U) /*!< EXTI_POSITION_0 | EXTICR[1] * 245:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE5 (0x00F0U << 16U | 1U) /*!< EXTI_POSITION_4 | EXTICR[1] * 246:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE6 (0x0F00U << 16U | 1U) /*!< EXTI_POSITION_8 | EXTICR[1] * 247:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE7 (0xF000U << 16U | 1U) /*!< EXTI_POSITION_12 | EXTICR[1] * 248:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE8 (0x000FU << 16U | 2U) /*!< EXTI_POSITION_0 | EXTICR[2] * 249:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE9 (0x00F0U << 16U | 2U) /*!< EXTI_POSITION_4 | EXTICR[2] * 250:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE10 (0x0F00U << 16U | 2U) /*!< EXTI_POSITION_8 | EXTICR[2] * 251:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE11 (0xF000U << 16U | 2U) /*!< EXTI_POSITION_12 | EXTICR[2] * 252:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE12 (0x000FU << 16U | 3U) /*!< EXTI_POSITION_0 | EXTICR[3] * 253:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE13 (0x00F0U << 16U | 3U) /*!< EXTI_POSITION_4 | EXTICR[3] * 254:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE14 (0x0F00U << 16U | 3U) /*!< EXTI_POSITION_8 | EXTICR[3] * 255:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_AF_EXTI_LINE15 (0xF000U << 16U | 3U) /*!< EXTI_POSITION_12 | EXTICR[3] * 256:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 257:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} 258:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 259:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 260:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 261:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} 262:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 263:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 264:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /* Exported macro ------------------------------------------------------------*/ 265:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_Exported_Macros GPIO Exported Macros 266:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 267:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 268:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 269:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_EM_WRITE_READ Common Write and read registers Macros 270:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 271:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 272:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 273:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 274:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @brief Write a value in GPIO register 275:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param __INSTANCE__ GPIO Instance 276:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param __REG__ Register to be written 277:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param __VALUE__ Value to be written in the register 278:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @retval None 279:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 280:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALU 281:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 282:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 283:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @brief Read a value in GPIO register 284:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param __INSTANCE__ GPIO Instance 285:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param __REG__ Register to be read 286:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @retval Register value 287:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 288:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** #define LL_GPIO_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__) 289:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** ARM GAS /tmp/ccA3AigR.s page 51 290:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} 291:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 292:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 293:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 294:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @} 295:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 296:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 297:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /* Exported functions --------------------------------------------------------*/ 298:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_Exported_Functions GPIO Exported Functions 299:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 300:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 301:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 302:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** @defgroup GPIO_LL_EF_Port_Configuration Port Configuration 303:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @{ 304:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 305:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 306:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 307:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @brief Configure gpio mode for a dedicated pin on dedicated port. 308:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @note I/O mode can be Analog, Floating input, Input with pull-up/pull-down, General purpose O 309:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * Alternate function Output. 310:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 311:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRL CNFy LL_GPIO_SetPinMode 312:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRL MODEy LL_GPIO_SetPinMode 313:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRH CNFy LL_GPIO_SetPinMode 314:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRH MODEy LL_GPIO_SetPinMode 315:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param GPIOx GPIO Port 316:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 317:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 318:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 319:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 320:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 321:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 322:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 323:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 324:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 325:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 326:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 327:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 328:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 329:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 330:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 331:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 332:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 333:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param Mode This parameter can be one of the following values: 334:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_ANALOG 335:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_FLOATING 336:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_INPUT 337:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_OUTPUT 338:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_ALTERNATE 339:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @retval None 340:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 341:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) 343 .loc 4 341 22 view .LVU92 344 .LBB101: 342:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** { 343:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** register uint32_t *pReg = (uint32_t *)((uint32_t)((uint32_t)(&GPIOx->CRL) + (Pin >> 24))); 345 .loc 4 343 3 view .LVU93 ARM GAS /tmp/ccA3AigR.s page 52 346 .loc 4 343 84 is_stmt 0 view .LVU94 347 0024 1D0E lsrs r5, r3, #24 348 .LVL23: 344:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** MODIFY_REG(*pReg, ((GPIO_CRL_CNF0 | GPIO_CRL_MODE0) << (POSITION_VAL(Pin) * 4U)), (Mode << (POSIT 349 .loc 4 344 3 is_stmt 1 view .LVU95 350 .LBB102: 351 .LBI102: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 352 .loc 3 981 31 view .LVU96 353 .LBB103: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 354 .loc 3 983 3 view .LVU97 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 355 .loc 3 988 4 view .LVU98 356 .syntax unified 357 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 358 0026 93FAA3F4 rbit r4, r3 359 @ 0 "" 2 360 .LVL24: 361 .loc 3 1001 3 view .LVU99 362 .loc 3 1001 3 is_stmt 0 view .LVU100 363 .thumb 364 .syntax unified 365 .LBE103: 366 .LBE102: 367 .loc 4 344 3 view .LVU101 368 002a B4FA84F4 clz r4, r4 369 002e A400 lsls r4, r4, #2 370 0030 4FF00F0E mov lr, #15 371 0034 0EFA04F4 lsl r4, lr, r4 372 0038 4659 ldr r6, [r0, r5] 373 003a 26EA0404 bic r4, r6, r4 374 .LVL25: 375 .LBB104: 376 .LBI104: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 377 .loc 3 981 31 is_stmt 1 view .LVU102 378 .LBB105: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 379 .loc 3 983 3 view .LVU103 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 380 .loc 3 988 4 view .LVU104 381 .syntax unified 382 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 383 003e 93FAA3FE rbit lr, r3 384 @ 0 "" 2 385 .LVL26: 386 .loc 3 1001 3 view .LVU105 387 .loc 3 1001 3 is_stmt 0 view .LVU106 388 .thumb 389 .syntax unified 390 .LBE105: 391 .LBE104: 392 .loc 4 344 3 view .LVU107 393 0042 BEFA8EFE clz lr, lr 394 0046 4FEA8E0E lsl lr, lr, #2 395 004a 4E68 ldr r6, [r1, #4] ARM GAS /tmp/ccA3AigR.s page 53 396 004c 06FA0EFE lsl lr, r6, lr 397 0050 44EA0E04 orr r4, r4, lr 398 0054 4451 str r4, [r0, r5] 399 .LVL27: 400 .loc 4 344 3 view .LVU108 401 .LBE101: 402 .LBE100: 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ 403 .loc 1 202 7 is_stmt 1 view .LVU109 404 .loc 1 202 27 is_stmt 0 view .LVU110 405 0056 4C68 ldr r4, [r1, #4] 406 .loc 1 202 10 view .LVU111 407 0058 012C cmp r4, #1 408 005a 1ED0 beq .L21 409 .loc 1 202 58 discriminator 1 view .LVU112 410 005c 092C cmp r4, #9 411 005e 1CD0 beq .L21 412 .LVL28: 413 .L17: 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Check speed and Output mode parameters */ 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** assert_param(IS_LL_GPIO_SPEED(GPIO_InitStruct->Speed)); 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** assert_param(IS_LL_GPIO_OUTPUT_TYPE(GPIO_InitStruct->OutputType)); 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Speed mode configuration */ 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_GPIO_SetPinSpeed(GPIOx, currentpin, GPIO_InitStruct->Speed); 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Output mode configuration*/ 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** LL_GPIO_SetPinOutputType(GPIOx, currentpin, GPIO_InitStruct->OutputType); 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** pinpos++; 414 .loc 1 215 5 is_stmt 1 view .LVU113 415 .loc 1 215 11 is_stmt 0 view .LVU114 416 0060 0132 adds r2, r2, #1 417 .LVL29: 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 418 .loc 1 172 9 is_stmt 1 view .LVU115 419 0062 3CFA02F3 lsrs r3, ip, r2 420 0066 47D0 beq .L31 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 421 .loc 1 175 5 view .LVU116 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 422 .loc 1 175 24 is_stmt 0 view .LVU117 423 0068 0123 movs r3, #1 424 006a 9340 lsls r3, r3, r2 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 425 .loc 1 175 8 view .LVU118 426 006c 13EA0C0F tst r3, ip 427 0070 F6D0 beq .L17 428 .L25: 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 429 .loc 1 178 7 is_stmt 1 view .LVU119 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 430 .loc 1 178 10 is_stmt 0 view .LVU120 431 0072 072A cmp r2, #7 ARM GAS /tmp/ccA3AigR.s page 54 432 0074 CCD8 bhi .L18 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 433 .loc 1 180 9 is_stmt 1 view .LVU121 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 434 .loc 1 180 20 is_stmt 0 view .LVU122 435 0076 40F20113 movw r3, #257 436 007a 9340 lsls r3, r3, r2 437 .LVL30: 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 438 .loc 1 180 20 view .LVU123 439 007c CFE7 b .L19 440 .L30: 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 441 .loc 1 190 9 is_stmt 1 view .LVU124 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 442 .loc 1 193 9 view .LVU125 443 007e 0D69 ldr r5, [r1, #16] 444 .LVL31: 445 .LBB106: 446 .LBI106: 345:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** } 346:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 347:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 348:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @brief Return gpio mode for a dedicated pin on dedicated port. 349:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @note I/O mode can be Analog, Floating input, Input with pull-up/pull-down, General purpose O 350:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * Alternate function Output. 351:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 352:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRL CNFy LL_GPIO_GetPinMode 353:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRL MODEy LL_GPIO_GetPinMode 354:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRH CNFy LL_GPIO_GetPinMode 355:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRH MODEy LL_GPIO_GetPinMode 356:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param GPIOx GPIO Port 357:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 358:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 359:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 360:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 361:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 362:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 363:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 364:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 365:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 366:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 367:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 368:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 369:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 370:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 371:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 372:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 373:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 374:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @retval Returned value can be one of the following values: 375:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_ANALOG 376:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_FLOATING 377:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_INPUT 378:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_OUTPUT 379:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_ALTERNATE 380:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 381:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) ARM GAS /tmp/ccA3AigR.s page 55 382:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** { 383:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** register uint32_t *pReg = (uint32_t *)((uint32_t)((uint32_t)(&GPIOx->CRL) + (Pin >> 24))); 384:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** return (READ_BIT(*pReg, ((GPIO_CRL_CNF0 | GPIO_CRL_MODE0) << (POSITION_VAL(Pin) * 4U))) >> (POSIT 385:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** } 386:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 387:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 388:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @brief Configure gpio speed for a dedicated pin on dedicated port. 389:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @note I/O speed can be Low, Medium or Fast speed. 390:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 391:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @note Refer to datasheet for frequency specifications and the power 392:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * supply and load conditions for each speed. 393:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRL MODEy LL_GPIO_SetPinSpeed 394:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRH MODEy LL_GPIO_SetPinSpeed 395:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param GPIOx GPIO Port 396:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 397:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 398:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 399:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 400:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 401:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 402:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 403:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 404:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 405:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 406:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 407:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 408:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 409:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 410:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 411:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 412:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 413:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param Speed This parameter can be one of the following values: 414:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_LOW 415:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_MEDIUM 416:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_HIGH 417:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @retval None 418:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 419:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) 420:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** { 421:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** register uint32_t *pReg = (uint32_t *)((uint32_t)((uint32_t)(&GPIOx->CRL) + (Pin >> 24))); 422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** MODIFY_REG(*pReg, (GPIO_CRL_MODE0 << (POSITION_VAL(Pin) * 4U)), 423:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** (Speed << (POSITION_VAL(Pin) * 4U))); 424:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** } 425:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 426:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 427:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @brief Return gpio speed for a dedicated pin on dedicated port. 428:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @note I/O speed can be Low, Medium, Fast or High speed. 429:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 430:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @note Refer to datasheet for frequency specifications and the power 431:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * supply and load conditions for each speed. 432:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRL MODEy LL_GPIO_GetPinSpeed 433:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRH MODEy LL_GPIO_GetPinSpeed 434:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param GPIOx GPIO Port 435:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 436:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 437:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 438:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 ARM GAS /tmp/ccA3AigR.s page 56 439:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 440:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 441:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 442:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 443:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 444:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 445:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 446:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 447:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 448:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 449:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 450:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 451:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 452:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @retval Returned value can be one of the following values: 453:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_LOW 454:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_MEDIUM 455:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_HIGH 456:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 457:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** __STATIC_INLINE uint32_t LL_GPIO_GetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin) 458:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** { 459:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** register uint32_t *pReg = (uint32_t *)((uint32_t)((uint32_t)(&GPIOx->CRL) + (Pin >> 24))); 460:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** return (READ_BIT(*pReg, (GPIO_CRL_MODE0 << (POSITION_VAL(Pin) * 4U))) >> (POSITION_VAL(Pin) * 4U) 461:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** } 462:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 463:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 464:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @brief Configure gpio output type for several pins on dedicated port. 465:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @note Output type as to be set when gpio pin is in output or 466:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * alternate modes. Possible type are Push-pull or Open-drain. 467:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRL MODEy LL_GPIO_SetPinOutputType 468:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRH MODEy LL_GPIO_SetPinOutputType 469:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param GPIOx GPIO Port 470:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param Pin This parameter can be a combination of the following values: 471:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 472:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 473:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 474:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 475:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 476:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 477:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 478:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 479:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 480:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 481:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 482:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 483:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 484:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 485:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 486:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 487:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_ALL 488:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param OutputType This parameter can be one of the following values: 489:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_OUTPUT_PUSHPULL 490:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_OUTPUT_OPENDRAIN 491:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @retval None 492:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 493:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t OutputTyp 494:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** { 495:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** register uint32_t *pReg = (uint32_t *)((uint32_t)((uint32_t)(&GPIOx->CRL) + (Pin >> 24))); ARM GAS /tmp/ccA3AigR.s page 57 496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** MODIFY_REG(*pReg, (GPIO_CRL_CNF0_0 << (POSITION_VAL(Pin) * 4U)), 497:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** (OutputType << (POSITION_VAL(Pin) * 4U))); 498:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** } 499:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 500:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 501:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @brief Return gpio output type for several pins on dedicated port. 502:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @note Output type as to be set when gpio pin is in output or 503:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * alternate modes. Possible type are Push-pull or Open-drain. 504:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 505:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRL MODEy LL_GPIO_GetPinOutputType 506:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll CRH MODEy LL_GPIO_GetPinOutputType 507:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param GPIOx GPIO Port 508:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 509:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 510:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 511:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 512:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 513:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 514:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 515:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 516:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 517:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 518:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 519:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 520:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 521:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 522:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 523:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 524:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 525:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_ALL 526:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @retval Returned value can be one of the following values: 527:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_OUTPUT_PUSHPULL 528:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_OUTPUT_OPENDRAIN 529:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 530:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) 531:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** { 532:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** register uint32_t *pReg = (uint32_t *)((uint32_t)((uint32_t)(&GPIOx->CRL) + (Pin >> 24))); 533:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** return (READ_BIT(*pReg, (GPIO_CRL_CNF0_0 << (POSITION_VAL(Pin) * 4U))) >> (POSITION_VAL(Pin) * 4U 534:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 535:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** } 536:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 537:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** /** 538:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @brief Configure gpio pull-up or pull-down for a dedicated pin on a dedicated port. 539:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 540:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @rmtoll ODR ODR LL_GPIO_SetPinPull 541:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param GPIOx GPIO Port 542:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 543:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 544:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 545:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 546:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 547:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 548:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 549:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 550:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 551:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 552:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 ARM GAS /tmp/ccA3AigR.s page 58 553:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 554:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 555:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 556:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 557:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 558:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 559:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @param Pull This parameter can be one of the following values: 560:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PULL_DOWN 561:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @arg @ref LL_GPIO_PULL_UP 562:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** * @retval None 563:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** */ 564:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetPinPull(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Pull) 447 .loc 4 564 22 view .LVU126 448 .LBB107: 565:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** { 566:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** MODIFY_REG(GPIOx->ODR, (Pin >> GPIO_PIN_MASK_POS), Pull << (POSITION_VAL(Pin >> GPIO_PIN_MASK_POS 449 .loc 4 566 3 view .LVU127 450 0080 C668 ldr r6, [r0, #12] 451 0082 1C0A lsrs r4, r3, #8 452 0084 26EA1326 bic r6, r6, r3, lsr #8 453 .LBB108: 454 .LBI108: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 455 .loc 3 981 31 view .LVU128 456 .LBB109: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 457 .loc 3 983 3 view .LVU129 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 458 .loc 3 988 4 view .LVU130 459 .syntax unified 460 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 461 0088 94FAA4F4 rbit r4, r4 462 @ 0 "" 2 463 .LVL32: 464 .loc 3 1001 3 view .LVU131 465 .loc 3 1001 3 is_stmt 0 view .LVU132 466 .thumb 467 .syntax unified 468 .LBE109: 469 .LBE108: 470 .loc 4 566 3 view .LVU133 471 008c B4FA84F4 clz r4, r4 472 0090 05FA04F4 lsl r4, r5, r4 473 0094 3443 orrs r4, r4, r6 474 0096 C460 str r4, [r0, #12] 567:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** } 475 .loc 4 567 1 view .LVU134 476 0098 C4E7 b .L20 477 .LVL33: 478 .L21: 479 .loc 4 567 1 view .LVU135 480 .LBE107: 481 .LBE106: 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** assert_param(IS_LL_GPIO_OUTPUT_TYPE(GPIO_InitStruct->OutputType)); 482 .loc 1 205 9 is_stmt 1 view .LVU136 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 483 .loc 1 206 9 view .LVU137 ARM GAS /tmp/ccA3AigR.s page 59 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 484 .loc 1 209 9 view .LVU138 485 .LBB110: 486 .LBI110: 419:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** { 487 .loc 4 419 22 view .LVU139 488 .LBB111: 421:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** MODIFY_REG(*pReg, (GPIO_CRL_MODE0 << (POSITION_VAL(Pin) * 4U)), 489 .loc 4 421 3 view .LVU140 421:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** MODIFY_REG(*pReg, (GPIO_CRL_MODE0 << (POSITION_VAL(Pin) * 4U)), 490 .loc 4 421 84 is_stmt 0 view .LVU141 491 009a 4FEA136E lsr lr, r3, #24 492 .LVL34: 422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** (Speed << (POSITION_VAL(Pin) * 4U))); 493 .loc 4 422 3 is_stmt 1 view .LVU142 494 009e 50F80E40 ldr r4, [r0, lr] 495 .LVL35: 496 .LBB112: 497 .LBI112: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 498 .loc 3 981 31 view .LVU143 499 .LBB113: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 500 .loc 3 983 3 view .LVU144 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 501 .loc 3 988 4 view .LVU145 502 .syntax unified 503 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 504 00a2 93FAA3F5 rbit r5, r3 505 @ 0 "" 2 506 .LVL36: 507 .loc 3 1001 3 view .LVU146 508 .loc 3 1001 3 is_stmt 0 view .LVU147 509 .thumb 510 .syntax unified 511 .LBE113: 512 .LBE112: 422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** (Speed << (POSITION_VAL(Pin) * 4U))); 513 .loc 4 422 3 view .LVU148 514 00a6 B5FA85F5 clz r5, r5 515 00aa AD00 lsls r5, r5, #2 516 00ac 0326 movs r6, #3 517 00ae 06FA05F5 lsl r5, r6, r5 518 00b2 24EA0504 bic r4, r4, r5 519 .LVL37: 520 .LBB114: 521 .LBI114: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 522 .loc 3 981 31 is_stmt 1 view .LVU149 523 .LBB115: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 524 .loc 3 983 3 view .LVU150 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 525 .loc 3 988 4 view .LVU151 526 .syntax unified 527 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 528 00b6 93FAA3F5 rbit r5, r3 ARM GAS /tmp/ccA3AigR.s page 60 529 @ 0 "" 2 530 .LVL38: 531 .loc 3 1001 3 view .LVU152 532 .loc 3 1001 3 is_stmt 0 view .LVU153 533 .thumb 534 .syntax unified 535 .LBE115: 536 .LBE114: 422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** (Speed << (POSITION_VAL(Pin) * 4U))); 537 .loc 4 422 3 view .LVU154 538 00ba B5FA85F5 clz r5, r5 539 00be AD00 lsls r5, r5, #2 540 00c0 8E68 ldr r6, [r1, #8] 541 00c2 06FA05F5 lsl r5, r6, r5 542 00c6 2543 orrs r5, r5, r4 543 00c8 40F80E50 str r5, [r0, lr] 544 .LVL39: 422:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** (Speed << (POSITION_VAL(Pin) * 4U))); 545 .loc 4 422 3 view .LVU155 546 .LBE111: 547 .LBE110: 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 548 .loc 1 212 9 is_stmt 1 view .LVU156 549 00cc CC68 ldr r4, [r1, #12] 550 .LVL40: 551 .LBB116: 552 .LBI116: 493:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** { 553 .loc 4 493 22 view .LVU157 554 .LBB117: 495:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** MODIFY_REG(*pReg, (GPIO_CRL_CNF0_0 << (POSITION_VAL(Pin) * 4U)), 555 .loc 4 495 3 view .LVU158 496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** (OutputType << (POSITION_VAL(Pin) * 4U))); 556 .loc 4 496 3 view .LVU159 557 .LBB118: 558 .LBI118: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 559 .loc 3 981 31 view .LVU160 560 .LBB119: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 561 .loc 3 983 3 view .LVU161 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 562 .loc 3 988 4 view .LVU162 563 .syntax unified 564 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 565 00ce 93FAA3F6 rbit r6, r3 566 @ 0 "" 2 567 .LVL41: 568 .loc 3 1001 3 view .LVU163 569 .loc 3 1001 3 is_stmt 0 view .LVU164 570 .thumb 571 .syntax unified 572 .LBE119: 573 .LBE118: 496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** (OutputType << (POSITION_VAL(Pin) * 4U))); 574 .loc 4 496 3 view .LVU165 575 00d2 B6FA86F6 clz r6, r6 ARM GAS /tmp/ccA3AigR.s page 61 576 00d6 B600 lsls r6, r6, #2 577 00d8 0427 movs r7, #4 578 00da 07FA06F6 lsl r6, r7, r6 579 00de 25EA0605 bic r5, r5, r6 580 .LVL42: 581 .LBB120: 582 .LBI120: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 583 .loc 3 981 31 is_stmt 1 view .LVU166 584 .LBB121: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 585 .loc 3 983 3 view .LVU167 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 586 .loc 3 988 4 view .LVU168 587 .syntax unified 588 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 589 00e2 93FAA3F3 rbit r3, r3 590 @ 0 "" 2 591 .LVL43: 592 .loc 3 1001 3 view .LVU169 593 .loc 3 1001 3 is_stmt 0 view .LVU170 594 .thumb 595 .syntax unified 596 .LBE121: 597 .LBE120: 496:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** (OutputType << (POSITION_VAL(Pin) * 4U))); 598 .loc 4 496 3 view .LVU171 599 00e6 B3FA83F3 clz r3, r3 600 00ea 9B00 lsls r3, r3, #2 601 00ec 04FA03F3 lsl r3, r4, r3 602 00f0 2B43 orrs r3, r3, r5 603 00f2 40F80E30 str r3, [r0, lr] 498:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 604 .loc 4 498 1 view .LVU172 605 00f6 B3E7 b .L17 606 .LVL44: 607 .L31: 498:Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_gpio.h **** 608 .loc 4 498 1 view .LVU173 609 .LBE117: 610 .LBE116: 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** return (SUCCESS); 611 .loc 1 217 3 is_stmt 1 view .LVU174 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 612 .loc 1 218 1 is_stmt 0 view .LVU175 613 00f8 0020 movs r0, #0 614 .LVL45: 615 .loc 1 218 1 view .LVU176 616 00fa F0BD pop {r4, r5, r6, r7, pc} 617 .LVL46: 618 .L33: 619 .LCFI1: 620 .cfi_def_cfa_offset 0 621 .cfi_restore 4 622 .cfi_restore 5 623 .cfi_restore 6 ARM GAS /tmp/ccA3AigR.s page 62 624 .cfi_restore 7 625 .cfi_restore 14 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 626 .loc 1 215 5 is_stmt 1 view .LVU177 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 627 .loc 1 215 11 is_stmt 0 view .LVU178 628 00fc 0132 adds r2, r2, #1 629 .LVL47: 630 .L24: 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 631 .loc 1 172 9 is_stmt 1 view .LVU179 632 00fe 3CFA02F3 lsrs r3, ip, r2 633 0102 06D0 beq .L32 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 634 .loc 1 175 5 view .LVU180 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 635 .loc 1 175 24 is_stmt 0 view .LVU181 636 0104 0123 movs r3, #1 637 0106 9340 lsls r3, r3, r2 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 638 .loc 1 175 8 view .LVU182 639 0108 13EA0C0F tst r3, ip 640 010c F6D0 beq .L33 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** uint32_t pinmask; 641 .loc 1 156 1 view .LVU183 642 010e F0B5 push {r4, r5, r6, r7, lr} 643 .LCFI2: 644 .cfi_def_cfa_offset 20 645 .cfi_offset 4, -20 646 .cfi_offset 5, -16 647 .cfi_offset 6, -12 648 .cfi_offset 7, -8 649 .cfi_offset 14, -4 650 0110 AFE7 b .L25 651 .L32: 652 .LCFI3: 653 .cfi_def_cfa_offset 0 654 .cfi_restore 4 655 .cfi_restore 5 656 .cfi_restore 6 657 .cfi_restore 7 658 .cfi_restore 14 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 659 .loc 1 217 3 is_stmt 1 view .LVU184 660 .loc 1 218 1 is_stmt 0 view .LVU185 661 0112 0020 movs r0, #0 662 .LVL48: 663 .loc 1 218 1 view .LVU186 664 0114 7047 bx lr 665 .cfi_endproc 666 .LFE141: 668 .section .text.LL_GPIO_StructInit,"ax",%progbits 669 .align 1 670 .global LL_GPIO_StructInit 671 .syntax unified 672 .thumb 673 .thumb_func ARM GAS /tmp/ccA3AigR.s page 63 675 LL_GPIO_StructInit: 676 .LVL49: 677 .LFB142: 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /** 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @brief Set each @ref LL_GPIO_InitTypeDef field to default value. 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @param GPIO_InitStruct: pointer to a @ref LL_GPIO_InitTypeDef structure 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * whose fields will be set to default values. 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** * @retval None 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** */ 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** void LL_GPIO_StructInit(LL_GPIO_InitTypeDef *GPIO_InitStruct) 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** { 678 .loc 1 228 1 is_stmt 1 view -0 679 .cfi_startproc 680 @ args = 0, pretend = 0, frame = 0 681 @ frame_needed = 0, uses_anonymous_args = 0 682 @ link register save eliminated. 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** /* Reset GPIO init structure parameters values */ 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** GPIO_InitStruct->Pin = LL_GPIO_PIN_ALL; 683 .loc 1 230 3 view .LVU188 684 .loc 1 230 31 is_stmt 0 view .LVU189 685 0000 6FF07B43 mvn r3, #-83886080 686 0004 0360 str r3, [r0] 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** GPIO_InitStruct->Mode = LL_GPIO_MODE_FLOATING; 687 .loc 1 231 3 is_stmt 1 view .LVU190 688 .loc 1 231 31 is_stmt 0 view .LVU191 689 0006 0423 movs r3, #4 690 0008 4360 str r3, [r0, #4] 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** GPIO_InitStruct->Speed = LL_GPIO_SPEED_FREQ_LOW; 691 .loc 1 232 3 is_stmt 1 view .LVU192 692 .loc 1 232 31 is_stmt 0 view .LVU193 693 000a 0222 movs r2, #2 694 000c 8260 str r2, [r0, #8] 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** GPIO_InitStruct->OutputType = LL_GPIO_OUTPUT_OPENDRAIN; 695 .loc 1 233 3 is_stmt 1 view .LVU194 696 .loc 1 233 31 is_stmt 0 view .LVU195 697 000e C360 str r3, [r0, #12] 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** GPIO_InitStruct->Pull = LL_GPIO_PULL_DOWN; 698 .loc 1 234 3 is_stmt 1 view .LVU196 699 .loc 1 234 31 is_stmt 0 view .LVU197 700 0010 0023 movs r3, #0 701 0012 0361 str r3, [r0, #16] 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_gpio.c **** } 702 .loc 1 235 1 view .LVU198 703 0014 7047 bx lr 704 .cfi_endproc 705 .LFE142: 707 .text 708 .Letext0: 709 .file 5 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h" 710 .file 6 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h" 711 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h" 712 .file 8 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h" ARM GAS /tmp/ccA3AigR.s page 64 DEFINED SYMBOLS *ABS*:0000000000000000 stm32f1xx_ll_gpio.c /tmp/ccA3AigR.s:18 .text.LL_GPIO_DeInit:0000000000000000 $t /tmp/ccA3AigR.s:24 .text.LL_GPIO_DeInit:0000000000000000 LL_GPIO_DeInit /tmp/ccA3AigR.s:252 .text.LL_GPIO_DeInit:000000000000009c $d /tmp/ccA3AigR.s:263 .text.LL_GPIO_Init:0000000000000000 $t /tmp/ccA3AigR.s:269 .text.LL_GPIO_Init:0000000000000000 LL_GPIO_Init /tmp/ccA3AigR.s:669 .text.LL_GPIO_StructInit:0000000000000000 $t /tmp/ccA3AigR.s:675 .text.LL_GPIO_StructInit:0000000000000000 LL_GPIO_StructInit NO UNDEFINED SYMBOLS