ARM GAS /tmp/ccBr5UzG.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_hal_exti.c" 14 .text 15 .Ltext0: 16 .cfi_sections .debug_frame 17 .section .text.HAL_EXTI_SetConfigLine,"ax",%progbits 18 .align 1 19 .global HAL_EXTI_SetConfigLine 20 .syntax unified 21 .thumb 22 .thumb_func 24 HAL_EXTI_SetConfigLine: 25 .LVL0: 26 .LFB65: 27 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c" 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ****************************************************************************** 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @file stm32f1xx_hal_exti.c 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @author MCD Application Team 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief EXTI HAL module driver. 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This file provides firmware functions to manage the following 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * functionalities of the Extended Interrupts and events controller (EXTI) peripheral: 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * + Initialization and de-initialization functions 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * + IO operation functions 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ****************************************************************************** 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @attention 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * Copyright (c) 2019 STMicroelectronics. 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * All rights reserved. 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This software is licensed under terms that can be found in the LICENSE file 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * in the root directory of this software component. 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ****************************************************************************** 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** @verbatim 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ============================================================================== 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ##### EXTI Peripheral features ##### 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ============================================================================== 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** [..] 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (+) Each Exti line can be configured within this driver. 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (+) Exti line can be configured in 3 different modes 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Interrupt 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Event ARM GAS /tmp/ccBr5UzG.s page 2 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Both of them 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (+) Configurable Exti lines can be configured with 3 different triggers 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Rising 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Falling 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Both of them 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (+) When set in interrupt mode, configurable Exti lines have two different 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** interrupts pending registers which allow to distinguish which transition 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** occurs: 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Rising edge pending interrupt 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Falling 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (+) Exti lines 0 to 15 are linked to gpio pin number 0 to 15. Gpio port can 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** be selected through multiplexer. 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ##### How to use this driver ##### 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ============================================================================== 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** [..] 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (#) Configure the EXTI line using HAL_EXTI_SetConfigLine(). 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Choose the interrupt line number by setting "Line" member from 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI_ConfigTypeDef structure. 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Configure the interrupt and/or event mode using "Mode" member from 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI_ConfigTypeDef structure. 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) For configurable lines, configure rising and/or falling trigger 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** "Trigger" member from EXTI_ConfigTypeDef structure. 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) For Exti lines linked to gpio, choose gpio port using "GPIOSel" 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** member from GPIO_InitTypeDef structure. 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (#) Get current Exti configuration of a dedicated line using 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_EXTI_GetConfigLine(). 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Provide exiting handle as parameter. 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Provide pointer on EXTI_ConfigTypeDef structure as second parameter. 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (#) Clear Exti configuration of a dedicated line using HAL_EXTI_ClearConfigLine(). 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Provide exiting handle as parameter. 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (#) Register callback to treat Exti interrupts using HAL_EXTI_RegisterCallback(). 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Provide exiting handle as first parameter. 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Provide which callback will be registered using one value from 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI_CallbackIDTypeDef. 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Provide callback function pointer. 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (#) Get interrupt pending bit using HAL_EXTI_GetPending(). 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (#) Clear interrupt pending bit using HAL_EXTI_ClearPending(). 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (#) Generate software interrupt using HAL_EXTI_GenerateSWI(). 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** @endverbatim 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Includes ------------------------------------------------------------------*/ 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** #include "stm32f1xx_hal.h" 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** @addtogroup STM32F1xx_HAL_Driver ARM GAS /tmp/ccBr5UzG.s page 3 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @{ 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** @addtogroup EXTI 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @{ 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** MISRA C:2012 deviation rule has been granted for following rule: 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * Rule-18.1_b - Medium: Array `EXTICR' 1st subscript interval [0,7] may be out 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * of bounds [0,3] in following API : 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * HAL_EXTI_SetConfigLine 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * HAL_EXTI_GetConfigLine 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * HAL_EXTI_ClearConfigLine 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** #ifdef HAL_EXTI_MODULE_ENABLED 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Private typedef -----------------------------------------------------------*/ 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Private defines -----------------------------------------------------------*/ 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** @defgroup EXTI_Private_Constants EXTI Private Constants 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @{ 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @} 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Private macros ------------------------------------------------------------*/ 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Private variables ---------------------------------------------------------*/ 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Private function prototypes -----------------------------------------------*/ 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Exported functions --------------------------------------------------------*/ 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** @addtogroup EXTI_Exported_Functions 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @{ 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** @addtogroup EXTI_Exported_Functions_Group1 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Configuration functions 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** @verbatim 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** =============================================================================== 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ##### Configuration functions ##### 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** =============================================================================== 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** @endverbatim 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @{ 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Set configuration of a dedicated Exti line. 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle. 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param pExtiConfig Pointer on EXTI configuration to be set. 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval HAL Status. 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_SetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 28 .loc 1 143 1 view -0 29 .cfi_startproc ARM GAS /tmp/ccBr5UzG.s page 4 30 @ args = 0, pretend = 0, frame = 0 31 @ frame_needed = 0, uses_anonymous_args = 0 32 @ link register save eliminated. 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval; 33 .loc 1 144 3 view .LVU1 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t linepos; 34 .loc 1 145 3 view .LVU2 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t maskline; 35 .loc 1 146 3 view .LVU3 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check null pointer */ 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((hexti == NULL) || (pExtiConfig == NULL)) 36 .loc 1 149 3 view .LVU4 37 .loc 1 149 6 is_stmt 0 view .LVU5 38 0000 0028 cmp r0, #0 39 0002 60D0 beq .L11 40 .loc 1 149 23 discriminator 1 view .LVU6 41 0004 0029 cmp r1, #0 42 0006 60D0 beq .L12 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval; 43 .loc 1 143 1 view .LVU7 44 0008 70B4 push {r4, r5, r6} 45 .LCFI0: 46 .cfi_def_cfa_offset 12 47 .cfi_offset 4, -12 48 .cfi_offset 5, -8 49 .cfi_offset 6, -4 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_ERROR; 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check parameters */ 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_LINE(pExtiConfig->Line)); 50 .loc 1 155 3 is_stmt 1 view .LVU8 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_MODE(pExtiConfig->Mode)); 51 .loc 1 156 3 view .LVU9 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Assign line number to handle */ 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** hexti->Line = pExtiConfig->Line; 52 .loc 1 159 3 view .LVU10 53 .loc 1 159 28 is_stmt 0 view .LVU11 54 000a 0B68 ldr r3, [r1] 55 .loc 1 159 15 view .LVU12 56 000c 0360 str r3, [r0] 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Compute line mask */ 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** linepos = (pExtiConfig->Line & EXTI_PIN_MASK); 57 .loc 1 162 3 is_stmt 1 view .LVU13 58 .loc 1 162 11 is_stmt 0 view .LVU14 59 000e 03F01F02 and r2, r3, #31 60 .LVL1: 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** maskline = (1uL << linepos); 61 .loc 1 163 3 is_stmt 1 view .LVU15 62 .loc 1 163 12 is_stmt 0 view .LVU16 63 0012 0120 movs r0, #1 64 .LVL2: 65 .loc 1 163 12 view .LVU17 ARM GAS /tmp/ccBr5UzG.s page 5 66 0014 9040 lsls r0, r0, r2 67 .LVL3: 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Configure triggers for configurable lines */ 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Line & EXTI_CONFIG) != 0x00u) 68 .loc 1 166 3 is_stmt 1 view .LVU18 69 .loc 1 166 6 is_stmt 0 view .LVU19 70 0016 13F0007F tst r3, #33554432 71 001a 15D0 beq .L3 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_TRIGGER(pExtiConfig->Trigger)); 72 .loc 1 168 5 is_stmt 1 view .LVU20 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Configure rising trigger */ 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Mask or set line */ 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Trigger & EXTI_TRIGGER_RISING) != 0x00u) 73 .loc 1 172 5 view .LVU21 74 .loc 1 172 8 is_stmt 0 view .LVU22 75 001c 8C68 ldr r4, [r1, #8] 76 001e 14F0010F tst r4, #1 77 0022 24D0 beq .L4 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->RTSR |= maskline; 78 .loc 1 174 7 is_stmt 1 view .LVU23 79 .loc 1 174 18 is_stmt 0 view .LVU24 80 0024 2A4D ldr r5, .L18 81 0026 AC68 ldr r4, [r5, #8] 82 0028 0443 orrs r4, r4, r0 83 002a AC60 str r4, [r5, #8] 84 .L5: 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->RTSR &= ~maskline; 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Configure falling trigger */ 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Mask or set line */ 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Trigger & EXTI_TRIGGER_FALLING) != 0x00u) 85 .loc 1 183 5 is_stmt 1 view .LVU25 86 .loc 1 183 8 is_stmt 0 view .LVU26 87 002c 8C68 ldr r4, [r1, #8] 88 002e 14F0020F tst r4, #2 89 0032 22D0 beq .L6 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->FTSR |= maskline; 90 .loc 1 185 7 is_stmt 1 view .LVU27 91 .loc 1 185 18 is_stmt 0 view .LVU28 92 0034 264D ldr r5, .L18 93 0036 EC68 ldr r4, [r5, #12] 94 0038 0443 orrs r4, r4, r0 95 003a EC60 str r4, [r5, #12] 96 .L7: 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->FTSR &= ~maskline; ARM GAS /tmp/ccBr5UzG.s page 6 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Configure gpio port selection in case of gpio exti line */ 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Line & EXTI_GPIO) == EXTI_GPIO) 97 .loc 1 194 5 is_stmt 1 view .LVU29 98 .loc 1 194 28 is_stmt 0 view .LVU30 99 003c 0C68 ldr r4, [r1] 100 003e 04F0C06C and ip, r4, #100663296 101 .loc 1 194 8 view .LVU31 102 0042 BCF1C06F cmp ip, #100663296 103 0046 1ED0 beq .L17 104 .LVL4: 105 .L3: 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_GPIO_PORT(pExtiConfig->GPIOSel)); 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_GPIO_PIN(linepos)); 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval = AFIO->EXTICR[linepos >> 2u]; 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval &= ~(AFIO_EXTICR1_EXTI0 << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))); 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval |= (pExtiConfig->GPIOSel << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))); 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** AFIO->EXTICR[linepos >> 2u] = regval; 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Configure interrupt mode : read current mode */ 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Mask or set line */ 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Mode & EXTI_MODE_INTERRUPT) != 0x00u) 106 .loc 1 208 3 is_stmt 1 view .LVU32 107 .loc 1 208 19 is_stmt 0 view .LVU33 108 0048 4B68 ldr r3, [r1, #4] 109 .loc 1 208 6 view .LVU34 110 004a 13F0010F tst r3, #1 111 004e 2DD0 beq .L8 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->IMR |= maskline; 112 .loc 1 210 5 is_stmt 1 view .LVU35 113 .loc 1 210 15 is_stmt 0 view .LVU36 114 0050 1F4A ldr r2, .L18 115 0052 1368 ldr r3, [r2] 116 0054 0343 orrs r3, r3, r0 117 0056 1360 str r3, [r2] 118 .L9: 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->IMR &= ~maskline; 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Configure event mode : read current mode */ 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Mask or set line */ 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Mode & EXTI_MODE_EVENT) != 0x00u) 119 .loc 1 219 3 is_stmt 1 view .LVU37 120 .loc 1 219 19 is_stmt 0 view .LVU38 121 0058 4B68 ldr r3, [r1, #4] 122 .loc 1 219 6 view .LVU39 123 005a 13F0020F tst r3, #2 ARM GAS /tmp/ccBr5UzG.s page 7 124 005e 2BD0 beq .L10 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->EMR |= maskline; 125 .loc 1 221 5 is_stmt 1 view .LVU40 126 .loc 1 221 15 is_stmt 0 view .LVU41 127 0060 1B4A ldr r2, .L18 128 0062 5368 ldr r3, [r2, #4] 129 0064 1843 orrs r0, r0, r3 130 .LVL5: 131 .loc 1 221 15 view .LVU42 132 0066 5060 str r0, [r2, #4] 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->EMR &= ~maskline; 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_OK; 133 .loc 1 228 10 view .LVU43 134 0068 0020 movs r0, #0 135 .L2: 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 136 .loc 1 229 1 view .LVU44 137 006a 70BC pop {r4, r5, r6} 138 .LCFI1: 139 .cfi_remember_state 140 .cfi_restore 6 141 .cfi_restore 5 142 .cfi_restore 4 143 .cfi_def_cfa_offset 0 144 006c 7047 bx lr 145 .LVL6: 146 .L4: 147 .LCFI2: 148 .cfi_restore_state 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 149 .loc 1 178 7 is_stmt 1 view .LVU45 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 150 .loc 1 178 18 is_stmt 0 view .LVU46 151 006e 184D ldr r5, .L18 152 0070 AC68 ldr r4, [r5, #8] 153 0072 24EA0004 bic r4, r4, r0 154 0076 AC60 str r4, [r5, #8] 155 0078 D8E7 b .L5 156 .L6: 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 157 .loc 1 189 7 is_stmt 1 view .LVU47 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 158 .loc 1 189 18 is_stmt 0 view .LVU48 159 007a 154D ldr r5, .L18 160 007c EC68 ldr r4, [r5, #12] 161 007e 24EA0004 bic r4, r4, r0 162 0082 EC60 str r4, [r5, #12] 163 0084 DAE7 b .L7 164 .L17: 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_GPIO_PIN(linepos)); 165 .loc 1 196 7 is_stmt 1 view .LVU49 ARM GAS /tmp/ccBr5UzG.s page 8 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 166 .loc 1 197 7 view .LVU50 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval &= ~(AFIO_EXTICR1_EXTI0 << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))); 167 .loc 1 199 7 view .LVU51 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval &= ~(AFIO_EXTICR1_EXTI0 << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))); 168 .loc 1 199 37 is_stmt 0 view .LVU52 169 0086 9208 lsrs r2, r2, #2 170 .LVL7: 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval &= ~(AFIO_EXTICR1_EXTI0 << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))); 171 .loc 1 199 14 view .LVU53 172 0088 124E ldr r6, .L18+4 173 008a 0232 adds r2, r2, #2 174 008c 56F82240 ldr r4, [r6, r2, lsl #2] 175 .LVL8: 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval |= (pExtiConfig->GPIOSel << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))); 176 .loc 1 200 7 is_stmt 1 view .LVU54 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval |= (pExtiConfig->GPIOSel << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))); 177 .loc 1 200 76 is_stmt 0 view .LVU55 178 0090 03F00303 and r3, r3, #3 179 .LVL9: 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval |= (pExtiConfig->GPIOSel << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))); 180 .loc 1 200 65 view .LVU56 181 0094 9B00 lsls r3, r3, #2 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval |= (pExtiConfig->GPIOSel << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))); 182 .loc 1 200 38 view .LVU57 183 0096 0F25 movs r5, #15 184 0098 9D40 lsls r5, r5, r3 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval |= (pExtiConfig->GPIOSel << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))); 185 .loc 1 200 14 view .LVU58 186 009a 24EA0504 bic r4, r4, r5 187 .LVL10: 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** AFIO->EXTICR[linepos >> 2u] = regval; 188 .loc 1 201 7 is_stmt 1 view .LVU59 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** AFIO->EXTICR[linepos >> 2u] = regval; 189 .loc 1 201 39 is_stmt 0 view .LVU60 190 009e CD68 ldr r5, [r1, #12] 191 00a0 05FA03F3 lsl r3, r5, r3 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** AFIO->EXTICR[linepos >> 2u] = regval; 192 .loc 1 201 14 view .LVU61 193 00a4 2343 orrs r3, r3, r4 194 .LVL11: 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 195 .loc 1 202 7 is_stmt 1 view .LVU62 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 196 .loc 1 202 35 is_stmt 0 view .LVU63 197 00a6 46F82230 str r3, [r6, r2, lsl #2] 198 00aa CDE7 b .L3 199 .LVL12: 200 .L8: 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 201 .loc 1 214 5 is_stmt 1 view .LVU64 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 202 .loc 1 214 15 is_stmt 0 view .LVU65 203 00ac 084A ldr r2, .L18 204 00ae 1368 ldr r3, [r2] 205 00b0 23EA0003 bic r3, r3, r0 206 00b4 1360 str r3, [r2] ARM GAS /tmp/ccBr5UzG.s page 9 207 00b6 CFE7 b .L9 208 .L10: 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 209 .loc 1 225 5 is_stmt 1 view .LVU66 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 210 .loc 1 225 15 is_stmt 0 view .LVU67 211 00b8 054A ldr r2, .L18 212 00ba 5368 ldr r3, [r2, #4] 213 00bc 23EA0000 bic r0, r3, r0 214 .LVL13: 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 215 .loc 1 225 15 view .LVU68 216 00c0 5060 str r0, [r2, #4] 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 217 .loc 1 228 10 view .LVU69 218 00c2 0020 movs r0, #0 219 00c4 D1E7 b .L2 220 .LVL14: 221 .L11: 222 .LCFI3: 223 .cfi_def_cfa_offset 0 224 .cfi_restore 4 225 .cfi_restore 5 226 .cfi_restore 6 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 227 .loc 1 151 12 view .LVU70 228 00c6 0120 movs r0, #1 229 .LVL15: 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 230 .loc 1 151 12 view .LVU71 231 00c8 7047 bx lr 232 .LVL16: 233 .L12: 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 234 .loc 1 151 12 view .LVU72 235 00ca 0120 movs r0, #1 236 .LVL17: 237 .loc 1 229 1 view .LVU73 238 00cc 7047 bx lr 239 .L19: 240 00ce 00BF .align 2 241 .L18: 242 00d0 00040140 .word 1073808384 243 00d4 00000140 .word 1073807360 244 .cfi_endproc 245 .LFE65: 247 .section .text.HAL_EXTI_GetConfigLine,"ax",%progbits 248 .align 1 249 .global HAL_EXTI_GetConfigLine 250 .syntax unified 251 .thumb 252 .thumb_func 254 HAL_EXTI_GetConfigLine: 255 .LVL18: 256 .LFB66: 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** ARM GAS /tmp/ccBr5UzG.s page 10 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Get configuration of a dedicated Exti line. 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle. 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param pExtiConfig Pointer on structure to store Exti configuration. 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval HAL Status. 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_GetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 257 .loc 1 238 1 is_stmt 1 view -0 258 .cfi_startproc 259 @ args = 0, pretend = 0, frame = 0 260 @ frame_needed = 0, uses_anonymous_args = 0 261 @ link register save eliminated. 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval; 262 .loc 1 239 3 view .LVU75 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t linepos; 263 .loc 1 240 3 view .LVU76 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t maskline; 264 .loc 1 241 3 view .LVU77 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check null pointer */ 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((hexti == NULL) || (pExtiConfig == NULL)) 265 .loc 1 244 3 view .LVU78 266 .loc 1 244 6 is_stmt 0 view .LVU79 267 0000 0028 cmp r0, #0 268 0002 48D0 beq .L27 269 .loc 1 244 23 discriminator 1 view .LVU80 270 0004 0029 cmp r1, #0 271 0006 48D0 beq .L28 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval; 272 .loc 1 238 1 view .LVU81 273 0008 10B4 push {r4} 274 .LCFI4: 275 .cfi_def_cfa_offset 4 276 .cfi_offset 4, -4 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_ERROR; 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check the parameter */ 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line)); 277 .loc 1 250 3 is_stmt 1 view .LVU82 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Store handle line number to configuration structure */ 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Line = hexti->Line; 278 .loc 1 253 3 view .LVU83 279 .loc 1 253 28 is_stmt 0 view .LVU84 280 000a 0468 ldr r4, [r0] 281 .loc 1 253 21 view .LVU85 282 000c 0C60 str r4, [r1] 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Compute line mask */ 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** linepos = (pExtiConfig->Line & EXTI_PIN_MASK); 283 .loc 1 256 3 is_stmt 1 view .LVU86 284 .loc 1 256 11 is_stmt 0 view .LVU87 285 000e 04F01F0C and ip, r4, #31 286 .LVL19: 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** maskline = (1uL << linepos); ARM GAS /tmp/ccBr5UzG.s page 11 287 .loc 1 257 3 is_stmt 1 view .LVU88 288 .loc 1 257 12 is_stmt 0 view .LVU89 289 0012 0123 movs r3, #1 290 0014 03FA0CF3 lsl r3, r3, ip 291 .LVL20: 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* 1] Get core mode : interrupt */ 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check if selected line is enable */ 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((EXTI->IMR & maskline) != 0x00u) 292 .loc 1 262 3 is_stmt 1 view .LVU90 293 .loc 1 262 12 is_stmt 0 view .LVU91 294 0018 2248 ldr r0, .L36 295 .LVL21: 296 .loc 1 262 12 view .LVU92 297 001a 0068 ldr r0, [r0] 298 .loc 1 262 6 view .LVU93 299 001c 1842 tst r0, r3 300 001e 27D0 beq .L22 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Mode = EXTI_MODE_INTERRUPT; 301 .loc 1 264 5 is_stmt 1 view .LVU94 302 .loc 1 264 23 is_stmt 0 view .LVU95 303 0020 0122 movs r2, #1 304 0022 4A60 str r2, [r1, #4] 305 .L23: 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Mode = EXTI_MODE_NONE; 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Get event mode */ 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check if selected line is enable */ 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((EXTI->EMR & maskline) != 0x00u) 306 .loc 1 273 3 is_stmt 1 view .LVU96 307 .loc 1 273 12 is_stmt 0 view .LVU97 308 0024 1F48 ldr r0, .L36 309 0026 4068 ldr r0, [r0, #4] 310 .loc 1 273 6 view .LVU98 311 0028 1842 tst r0, r3 312 002a 03D0 beq .L24 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Mode |= EXTI_MODE_EVENT; 313 .loc 1 275 5 is_stmt 1 view .LVU99 314 .loc 1 275 23 is_stmt 0 view .LVU100 315 002c 4868 ldr r0, [r1, #4] 316 002e 40F00200 orr r0, r0, #2 317 0032 4860 str r0, [r1, #4] 318 .L24: 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Get default Trigger and GPIOSel configuration */ 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Trigger = EXTI_TRIGGER_NONE; 319 .loc 1 279 3 is_stmt 1 view .LVU101 320 .loc 1 279 24 is_stmt 0 view .LVU102 321 0034 0022 movs r2, #0 ARM GAS /tmp/ccBr5UzG.s page 12 322 0036 8A60 str r2, [r1, #8] 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->GPIOSel = 0x00u; 323 .loc 1 280 3 is_stmt 1 view .LVU103 324 .loc 1 280 24 is_stmt 0 view .LVU104 325 0038 CA60 str r2, [r1, #12] 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* 2] Get trigger for configurable lines : rising */ 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Line & EXTI_CONFIG) != 0x00u) 326 .loc 1 283 3 is_stmt 1 view .LVU105 327 .loc 1 283 6 is_stmt 0 view .LVU106 328 003a 14F0007F tst r4, #33554432 329 003e 2ED0 beq .L29 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check if configuration of selected line is enable */ 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((EXTI->RTSR & maskline) != 0x00u) 330 .loc 1 286 5 is_stmt 1 view .LVU107 331 .loc 1 286 14 is_stmt 0 view .LVU108 332 0040 02F18042 add r2, r2, #1073741824 333 0044 02F58232 add r2, r2, #66560 334 0048 9268 ldr r2, [r2, #8] 335 .loc 1 286 8 view .LVU109 336 004a 1A42 tst r2, r3 337 004c 01D0 beq .L25 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Trigger = EXTI_TRIGGER_RISING; 338 .loc 1 288 7 is_stmt 1 view .LVU110 339 .loc 1 288 28 is_stmt 0 view .LVU111 340 004e 0122 movs r2, #1 341 0050 8A60 str r2, [r1, #8] 342 .L25: 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Get falling configuration */ 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check if configuration of selected line is enable */ 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((EXTI->FTSR & maskline) != 0x00u) 343 .loc 1 293 5 is_stmt 1 view .LVU112 344 .loc 1 293 14 is_stmt 0 view .LVU113 345 0052 144A ldr r2, .L36 346 0054 D268 ldr r2, [r2, #12] 347 .loc 1 293 8 view .LVU114 348 0056 1A42 tst r2, r3 349 0058 03D0 beq .L26 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Trigger |= EXTI_TRIGGER_FALLING; 350 .loc 1 295 7 is_stmt 1 view .LVU115 351 .loc 1 295 28 is_stmt 0 view .LVU116 352 005a 8B68 ldr r3, [r1, #8] 353 .LVL22: 354 .loc 1 295 28 view .LVU117 355 005c 43F00203 orr r3, r3, #2 356 0060 8B60 str r3, [r1, #8] 357 .L26: 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Get Gpio port selection for gpio lines */ 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Line & EXTI_GPIO) == EXTI_GPIO) 358 .loc 1 299 5 is_stmt 1 view .LVU118 ARM GAS /tmp/ccBr5UzG.s page 13 359 .loc 1 299 28 is_stmt 0 view .LVU119 360 0062 04F0C063 and r3, r4, #100663296 361 .loc 1 299 8 view .LVU120 362 0066 B3F1C06F cmp r3, #100663296 363 006a 04D0 beq .L35 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_GPIO_PIN(linepos)); 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval = AFIO->EXTICR[linepos >> 2u]; 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->GPIOSel = (regval >> (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))) & AFIO_EXTICR 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_OK; 364 .loc 1 308 10 view .LVU121 365 006c 0020 movs r0, #0 366 006e 17E0 b .L21 367 .LVL23: 368 .L22: 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 369 .loc 1 268 5 is_stmt 1 view .LVU122 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 370 .loc 1 268 23 is_stmt 0 view .LVU123 371 0070 0022 movs r2, #0 372 0072 4A60 str r2, [r1, #4] 373 0074 D6E7 b .L23 374 .LVL24: 375 .L35: 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 376 .loc 1 301 7 is_stmt 1 view .LVU124 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->GPIOSel = (regval >> (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))) & AFIO_EXTICR 377 .loc 1 303 7 view .LVU125 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->GPIOSel = (regval >> (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))) & AFIO_EXTICR 378 .loc 1 303 37 is_stmt 0 view .LVU126 379 0076 4FEA9C02 lsr r2, ip, #2 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->GPIOSel = (regval >> (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))) & AFIO_EXTICR 380 .loc 1 303 14 view .LVU127 381 007a 0232 adds r2, r2, #2 382 007c 0A4B ldr r3, .L36+4 383 007e 53F82220 ldr r2, [r3, r2, lsl #2] 384 .LVL25: 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 385 .loc 1 304 7 is_stmt 1 view .LVU128 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 386 .loc 1 304 76 is_stmt 0 view .LVU129 387 0082 04F00303 and r3, r4, #3 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 388 .loc 1 304 65 view .LVU130 389 0086 9B00 lsls r3, r3, #2 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 390 .loc 1 304 38 view .LVU131 391 0088 22FA03F3 lsr r3, r2, r3 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 392 .loc 1 304 87 view .LVU132 393 008c 03F00F03 and r3, r3, #15 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 394 .loc 1 304 28 view .LVU133 ARM GAS /tmp/ccBr5UzG.s page 14 395 0090 CB60 str r3, [r1, #12] 396 .loc 1 308 10 view .LVU134 397 0092 0020 movs r0, #0 398 0094 04E0 b .L21 399 .LVL26: 400 .L27: 401 .LCFI5: 402 .cfi_def_cfa_offset 0 403 .cfi_restore 4 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 404 .loc 1 246 12 view .LVU135 405 0096 0120 movs r0, #1 406 .LVL27: 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 407 .loc 1 246 12 view .LVU136 408 0098 7047 bx lr 409 .LVL28: 410 .L28: 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 411 .loc 1 246 12 view .LVU137 412 009a 0120 movs r0, #1 413 .LVL29: 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 414 .loc 1 309 1 view .LVU138 415 009c 7047 bx lr 416 .LVL30: 417 .L29: 418 .LCFI6: 419 .cfi_def_cfa_offset 4 420 .cfi_offset 4, -4 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 421 .loc 1 308 10 view .LVU139 422 009e 0020 movs r0, #0 423 .LVL31: 424 .L21: 425 .loc 1 309 1 view .LVU140 426 00a0 10BC pop {r4} 427 .LCFI7: 428 .cfi_restore 4 429 .cfi_def_cfa_offset 0 430 00a2 7047 bx lr 431 .L37: 432 .align 2 433 .L36: 434 00a4 00040140 .word 1073808384 435 00a8 00000140 .word 1073807360 436 .cfi_endproc 437 .LFE66: 439 .section .text.HAL_EXTI_ClearConfigLine,"ax",%progbits 440 .align 1 441 .global HAL_EXTI_ClearConfigLine 442 .syntax unified 443 .thumb 444 .thumb_func 446 HAL_EXTI_ClearConfigLine: 447 .LVL32: 448 .LFB67: ARM GAS /tmp/ccBr5UzG.s page 15 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Clear whole configuration of a dedicated Exti line. 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle. 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval HAL Status. 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_ClearConfigLine(EXTI_HandleTypeDef *hexti) 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 449 .loc 1 317 1 is_stmt 1 view -0 450 .cfi_startproc 451 @ args = 0, pretend = 0, frame = 0 452 @ frame_needed = 0, uses_anonymous_args = 0 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval; 453 .loc 1 318 3 view .LVU142 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t linepos; 454 .loc 1 319 3 view .LVU143 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t maskline; 455 .loc 1 320 3 view .LVU144 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check null pointer */ 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if (hexti == NULL) 456 .loc 1 323 3 view .LVU145 457 .loc 1 323 6 is_stmt 0 view .LVU146 458 0000 0028 cmp r0, #0 459 0002 38D0 beq .L40 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval; 460 .loc 1 317 1 view .LVU147 461 0004 10B5 push {r4, lr} 462 .LCFI8: 463 .cfi_def_cfa_offset 8 464 .cfi_offset 4, -8 465 .cfi_offset 14, -4 466 0006 8446 mov ip, r0 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_ERROR; 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check the parameter */ 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line)); 467 .loc 1 329 3 is_stmt 1 view .LVU148 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* compute line mask */ 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** linepos = (hexti->Line & EXTI_PIN_MASK); 468 .loc 1 332 3 view .LVU149 469 .loc 1 332 19 is_stmt 0 view .LVU150 470 0008 0468 ldr r4, [r0] 471 .loc 1 332 11 view .LVU151 472 000a 04F01F00 and r0, r4, #31 473 .LVL33: 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** maskline = (1uL << linepos); 474 .loc 1 333 3 is_stmt 1 view .LVU152 475 .loc 1 333 12 is_stmt 0 view .LVU153 476 000e 0123 movs r3, #1 477 0010 8340 lsls r3, r3, r0 478 .LVL34: 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* 1] Clear interrupt mode */ ARM GAS /tmp/ccBr5UzG.s page 16 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->IMR = (EXTI->IMR & ~maskline); 479 .loc 1 336 3 is_stmt 1 view .LVU154 480 .loc 1 336 20 is_stmt 0 view .LVU155 481 0012 1B4A ldr r2, .L48 482 0014 1168 ldr r1, [r2] 483 .loc 1 336 28 view .LVU156 484 0016 6FEA030E mvn lr, r3 485 .loc 1 336 26 view .LVU157 486 001a 21EA0301 bic r1, r1, r3 487 .loc 1 336 13 view .LVU158 488 001e 1160 str r1, [r2] 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* 2] Clear event mode */ 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->EMR = (EXTI->EMR & ~maskline); 489 .loc 1 339 3 is_stmt 1 view .LVU159 490 .loc 1 339 20 is_stmt 0 view .LVU160 491 0020 5168 ldr r1, [r2, #4] 492 .loc 1 339 26 view .LVU161 493 0022 21EA0303 bic r3, r1, r3 494 .LVL35: 495 .loc 1 339 13 view .LVU162 496 0026 5360 str r3, [r2, #4] 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* 3] Clear triggers in case of configurable lines */ 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((hexti->Line & EXTI_CONFIG) != 0x00u) 497 .loc 1 342 3 is_stmt 1 view .LVU163 498 .loc 1 342 13 is_stmt 0 view .LVU164 499 0028 DCF80030 ldr r3, [ip] 500 .loc 1 342 6 view .LVU165 501 002c 13F0007F tst r3, #33554432 502 0030 23D0 beq .L41 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->RTSR = (EXTI->RTSR & ~maskline); 503 .loc 1 344 5 is_stmt 1 view .LVU166 504 .loc 1 344 23 is_stmt 0 view .LVU167 505 0032 9368 ldr r3, [r2, #8] 506 .loc 1 344 30 view .LVU168 507 0034 0EEA0303 and r3, lr, r3 508 .loc 1 344 16 view .LVU169 509 0038 9360 str r3, [r2, #8] 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->FTSR = (EXTI->FTSR & ~maskline); 510 .loc 1 345 5 is_stmt 1 view .LVU170 511 .loc 1 345 23 is_stmt 0 view .LVU171 512 003a D368 ldr r3, [r2, #12] 513 .loc 1 345 30 view .LVU172 514 003c 0EEA0303 and r3, lr, r3 515 .loc 1 345 16 view .LVU173 516 0040 D360 str r3, [r2, #12] 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Get Gpio port selection for gpio lines */ 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((hexti->Line & EXTI_GPIO) == EXTI_GPIO) 517 .loc 1 348 5 is_stmt 1 view .LVU174 518 .loc 1 348 15 is_stmt 0 view .LVU175 519 0042 DCF80030 ldr r3, [ip] 520 .loc 1 348 22 view .LVU176 521 0046 03F0C063 and r3, r3, #100663296 522 .loc 1 348 8 view .LVU177 ARM GAS /tmp/ccBr5UzG.s page 17 523 004a B3F1C06F cmp r3, #100663296 524 004e 01D0 beq .L47 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_GPIO_PIN(linepos)); 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval = AFIO->EXTICR[linepos >> 2u]; 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval &= ~(AFIO_EXTICR1_EXTI0 << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))); 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** AFIO->EXTICR[linepos >> 2u] = regval; 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_OK; 525 .loc 1 358 10 view .LVU178 526 0050 0020 movs r0, #0 527 .LVL36: 528 .loc 1 358 10 view .LVU179 529 0052 13E0 b .L39 530 .LVL37: 531 .L47: 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 532 .loc 1 350 7 is_stmt 1 view .LVU180 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval &= ~(AFIO_EXTICR1_EXTI0 << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))); 533 .loc 1 352 7 view .LVU181 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval &= ~(AFIO_EXTICR1_EXTI0 << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))); 534 .loc 1 352 37 is_stmt 0 view .LVU182 535 0054 8008 lsrs r0, r0, #2 536 .LVL38: 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval &= ~(AFIO_EXTICR1_EXTI0 << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u))); 537 .loc 1 352 14 view .LVU183 538 0056 0B49 ldr r1, .L48+4 539 0058 0230 adds r0, r0, #2 540 005a 51F82030 ldr r3, [r1, r0, lsl #2] 541 .LVL39: 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** AFIO->EXTICR[linepos >> 2u] = regval; 542 .loc 1 353 7 is_stmt 1 view .LVU184 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** AFIO->EXTICR[linepos >> 2u] = regval; 543 .loc 1 353 76 is_stmt 0 view .LVU185 544 005e 04F00304 and r4, r4, #3 545 .LVL40: 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** AFIO->EXTICR[linepos >> 2u] = regval; 546 .loc 1 353 65 view .LVU186 547 0062 A400 lsls r4, r4, #2 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** AFIO->EXTICR[linepos >> 2u] = regval; 548 .loc 1 353 38 view .LVU187 549 0064 0F22 movs r2, #15 550 0066 02FA04F4 lsl r4, r2, r4 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** AFIO->EXTICR[linepos >> 2u] = regval; 551 .loc 1 353 14 view .LVU188 552 006a 23EA0404 bic r4, r3, r4 553 .LVL41: 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 554 .loc 1 354 7 is_stmt 1 view .LVU189 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 555 .loc 1 354 35 is_stmt 0 view .LVU190 556 006e 41F82040 str r4, [r1, r0, lsl #2] 557 .loc 1 358 10 view .LVU191 558 0072 0020 movs r0, #0 ARM GAS /tmp/ccBr5UzG.s page 18 559 0074 02E0 b .L39 560 .LVL42: 561 .L40: 562 .LCFI9: 563 .cfi_def_cfa_offset 0 564 .cfi_restore 4 565 .cfi_restore 14 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 566 .loc 1 325 12 view .LVU192 567 0076 0120 movs r0, #1 568 .LVL43: 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 569 .loc 1 359 1 view .LVU193 570 0078 7047 bx lr 571 .LVL44: 572 .L41: 573 .LCFI10: 574 .cfi_def_cfa_offset 8 575 .cfi_offset 4, -8 576 .cfi_offset 14, -4 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 577 .loc 1 358 10 view .LVU194 578 007a 0020 movs r0, #0 579 .LVL45: 580 .L39: 581 .loc 1 359 1 view .LVU195 582 007c 10BD pop {r4, pc} 583 .L49: 584 007e 00BF .align 2 585 .L48: 586 0080 00040140 .word 1073808384 587 0084 00000140 .word 1073807360 588 .cfi_endproc 589 .LFE67: 591 .section .text.HAL_EXTI_RegisterCallback,"ax",%progbits 592 .align 1 593 .global HAL_EXTI_RegisterCallback 594 .syntax unified 595 .thumb 596 .thumb_func 598 HAL_EXTI_RegisterCallback: 599 .LVL46: 600 .LFB68: 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Register callback for a dedicated Exti line. 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle. 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param CallbackID User callback identifier. 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This parameter can be one of @arg @ref EXTI_CallbackIDTypeDef values. 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param pPendingCbfn function pointer to be stored as callback. 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval HAL Status. 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_RegisterCallback(EXTI_HandleTypeDef *hexti, EXTI_CallbackIDTypeDef Callb 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 601 .loc 1 370 1 is_stmt 1 view -0 602 .cfi_startproc 603 @ args = 0, pretend = 0, frame = 0 ARM GAS /tmp/ccBr5UzG.s page 19 604 @ frame_needed = 0, uses_anonymous_args = 0 605 @ link register save eliminated. 606 .loc 1 370 1 is_stmt 0 view .LVU197 607 0000 0346 mov r3, r0 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_StatusTypeDef status = HAL_OK; 608 .loc 1 371 3 is_stmt 1 view .LVU198 609 .LVL47: 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** switch (CallbackID) 610 .loc 1 373 3 view .LVU199 611 0002 0846 mov r0, r1 612 .LVL48: 613 .loc 1 373 3 is_stmt 0 view .LVU200 614 0004 09B9 cbnz r1, .L52 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** case HAL_EXTI_COMMON_CB_ID: 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** hexti->PendingCallback = pPendingCbfn; 615 .loc 1 376 7 is_stmt 1 view .LVU201 616 .loc 1 376 30 is_stmt 0 view .LVU202 617 0006 5A60 str r2, [r3, #4] 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** break; 618 .loc 1 377 7 is_stmt 1 view .LVU203 619 0008 7047 bx lr 620 .L52: 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** default: 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** status = HAL_ERROR; 621 .loc 1 380 14 is_stmt 0 view .LVU204 622 000a 0120 movs r0, #1 623 .LVL49: 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** break; 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return status; 624 .loc 1 384 3 is_stmt 1 view .LVU205 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 625 .loc 1 385 1 is_stmt 0 view .LVU206 626 000c 7047 bx lr 627 .cfi_endproc 628 .LFE68: 630 .section .text.HAL_EXTI_GetHandle,"ax",%progbits 631 .align 1 632 .global HAL_EXTI_GetHandle 633 .syntax unified 634 .thumb 635 .thumb_func 637 HAL_EXTI_GetHandle: 638 .LVL50: 639 .LFB69: 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Store line number as handle private field. 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle. 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param ExtiLine Exti line number. 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This parameter can be from 0 to @ref EXTI_LINE_NB. 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval HAL Status. 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ ARM GAS /tmp/ccBr5UzG.s page 20 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_GetHandle(EXTI_HandleTypeDef *hexti, uint32_t ExtiLine) 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 640 .loc 1 395 1 is_stmt 1 view -0 641 .cfi_startproc 642 @ args = 0, pretend = 0, frame = 0 643 @ frame_needed = 0, uses_anonymous_args = 0 644 @ link register save eliminated. 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check the parameters */ 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_LINE(ExtiLine)); 645 .loc 1 397 3 view .LVU208 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check null pointer */ 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if (hexti == NULL) 646 .loc 1 400 3 view .LVU209 647 .loc 1 400 6 is_stmt 0 view .LVU210 648 0000 10B1 cbz r0, .L55 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_ERROR; 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Store line number as handle private field */ 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** hexti->Line = ExtiLine; 649 .loc 1 407 5 is_stmt 1 view .LVU211 650 .loc 1 407 17 is_stmt 0 view .LVU212 651 0002 0160 str r1, [r0] 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_OK; 652 .loc 1 409 5 is_stmt 1 view .LVU213 653 .loc 1 409 12 is_stmt 0 view .LVU214 654 0004 0020 movs r0, #0 655 .LVL51: 656 .loc 1 409 12 view .LVU215 657 0006 7047 bx lr 658 .LVL52: 659 .L55: 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 660 .loc 1 402 12 view .LVU216 661 0008 0120 movs r0, #1 662 .LVL53: 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 663 .loc 1 411 1 view .LVU217 664 000a 7047 bx lr 665 .cfi_endproc 666 .LFE69: 668 .section .text.HAL_EXTI_IRQHandler,"ax",%progbits 669 .align 1 670 .global HAL_EXTI_IRQHandler 671 .syntax unified 672 .thumb 673 .thumb_func 675 HAL_EXTI_IRQHandler: 676 .LVL54: 677 .LFB70: 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** ARM GAS /tmp/ccBr5UzG.s page 21 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @} 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** @addtogroup EXTI_Exported_Functions_Group2 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief EXTI IO functions. 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** @verbatim 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** =============================================================================== 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ##### IO operation functions ##### 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** =============================================================================== 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** @endverbatim 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @{ 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Handle EXTI interrupt request. 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle. 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval none. 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** void HAL_EXTI_IRQHandler(EXTI_HandleTypeDef *hexti) 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 678 .loc 1 435 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 .loc 1 435 1 is_stmt 0 view .LVU219 683 0000 08B5 push {r3, lr} 684 .LCFI11: 685 .cfi_def_cfa_offset 8 686 .cfi_offset 3, -8 687 .cfi_offset 14, -4 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval; 688 .loc 1 436 3 is_stmt 1 view .LVU220 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t maskline; 689 .loc 1 437 3 view .LVU221 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Compute line mask */ 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** maskline = (1uL << (hexti->Line & EXTI_PIN_MASK)); 690 .loc 1 440 3 view .LVU222 691 .loc 1 440 28 is_stmt 0 view .LVU223 692 0002 0368 ldr r3, [r0] 693 .loc 1 440 35 view .LVU224 694 0004 03F01F02 and r2, r3, #31 695 .loc 1 440 12 view .LVU225 696 0008 0123 movs r3, #1 697 000a 9340 lsls r3, r3, r2 698 .LVL55: 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Get pending bit */ 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval = (EXTI->PR & maskline); 699 .loc 1 443 3 is_stmt 1 view .LVU226 700 .loc 1 443 17 is_stmt 0 view .LVU227 701 000c 044A ldr r2, .L59 702 000e 5269 ldr r2, [r2, #20] 703 .LVL56: 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if (regval != 0x00u) ARM GAS /tmp/ccBr5UzG.s page 22 704 .loc 1 444 3 is_stmt 1 view .LVU228 705 .loc 1 444 6 is_stmt 0 view .LVU229 706 0010 1A42 tst r2, r3 707 0012 04D0 beq .L56 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Clear pending bit */ 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->PR = maskline; 708 .loc 1 447 5 is_stmt 1 view .LVU230 709 .loc 1 447 14 is_stmt 0 view .LVU231 710 0014 024A ldr r2, .L59 711 .LVL57: 712 .loc 1 447 14 view .LVU232 713 0016 5361 str r3, [r2, #20] 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Call callback */ 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if (hexti->PendingCallback != NULL) 714 .loc 1 450 5 is_stmt 1 view .LVU233 715 .loc 1 450 14 is_stmt 0 view .LVU234 716 0018 4368 ldr r3, [r0, #4] 717 .LVL58: 718 .loc 1 450 8 view .LVU235 719 001a 03B1 cbz r3, .L56 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** hexti->PendingCallback(); 720 .loc 1 452 7 is_stmt 1 view .LVU236 721 001c 9847 blx r3 722 .LVL59: 723 .L56: 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 724 .loc 1 455 1 is_stmt 0 view .LVU237 725 001e 08BD pop {r3, pc} 726 .L60: 727 .align 2 728 .L59: 729 0020 00040140 .word 1073808384 730 .cfi_endproc 731 .LFE70: 733 .section .text.HAL_EXTI_GetPending,"ax",%progbits 734 .align 1 735 .global HAL_EXTI_GetPending 736 .syntax unified 737 .thumb 738 .thumb_func 740 HAL_EXTI_GetPending: 741 .LVL60: 742 .LFB71: 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Get interrupt pending bit of a dedicated line. 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle. 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param Edge Specify which pending edge as to be checked. 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This parameter can be one of the following values: 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @arg @ref EXTI_TRIGGER_RISING_FALLING 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This parameter is kept for compatibility with other series. 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval 1 if interrupt is pending else 0. ARM GAS /tmp/ccBr5UzG.s page 23 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t HAL_EXTI_GetPending(EXTI_HandleTypeDef *hexti, uint32_t Edge) 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 743 .loc 1 467 1 is_stmt 1 view -0 744 .cfi_startproc 745 @ args = 0, pretend = 0, frame = 0 746 @ frame_needed = 0, uses_anonymous_args = 0 747 @ link register save eliminated. 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval; 748 .loc 1 468 3 view .LVU239 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t maskline; 749 .loc 1 469 3 view .LVU240 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t linepos; 750 .loc 1 470 3 view .LVU241 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check parameters */ 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line)); 751 .loc 1 473 3 view .LVU242 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_CONFIG_LINE(hexti->Line)); 752 .loc 1 474 3 view .LVU243 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_PENDING_EDGE(Edge)); 753 .loc 1 475 3 view .LVU244 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Prevent unused argument compilation warning */ 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** UNUSED(Edge); 754 .loc 1 478 3 view .LVU245 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Compute line mask */ 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** linepos = (hexti->Line & EXTI_PIN_MASK); 755 .loc 1 481 3 view .LVU246 756 .loc 1 481 19 is_stmt 0 view .LVU247 757 0000 0368 ldr r3, [r0] 758 .loc 1 481 11 view .LVU248 759 0002 03F01F03 and r3, r3, #31 760 .LVL61: 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** maskline = (1uL << linepos); 761 .loc 1 482 3 is_stmt 1 view .LVU249 762 .loc 1 482 12 is_stmt 0 view .LVU250 763 0006 0120 movs r0, #1 764 .LVL62: 765 .loc 1 482 12 view .LVU251 766 0008 00FA03F2 lsl r2, r0, r3 767 .LVL63: 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* return 1 if bit is set else 0 */ 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval = ((EXTI->PR & maskline) >> linepos); 768 .loc 1 485 3 is_stmt 1 view .LVU252 769 .loc 1 485 18 is_stmt 0 view .LVU253 770 000c 0249 ldr r1, .L62 771 .LVL64: 772 .loc 1 485 18 view .LVU254 773 000e 4869 ldr r0, [r1, #20] 774 .loc 1 485 23 view .LVU255 775 0010 1040 ands r0, r0, r2 776 .LVL65: 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return regval; 777 .loc 1 486 3 is_stmt 1 view .LVU256 ARM GAS /tmp/ccBr5UzG.s page 24 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 778 .loc 1 487 1 is_stmt 0 view .LVU257 779 0012 D840 lsrs r0, r0, r3 780 .LVL66: 781 .loc 1 487 1 view .LVU258 782 0014 7047 bx lr 783 .L63: 784 0016 00BF .align 2 785 .L62: 786 0018 00040140 .word 1073808384 787 .cfi_endproc 788 .LFE71: 790 .section .text.HAL_EXTI_ClearPending,"ax",%progbits 791 .align 1 792 .global HAL_EXTI_ClearPending 793 .syntax unified 794 .thumb 795 .thumb_func 797 HAL_EXTI_ClearPending: 798 .LVL67: 799 .LFB72: 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Clear interrupt pending bit of a dedicated line. 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle. 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param Edge Specify which pending edge as to be clear. 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This parameter can be one of the following values: 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @arg @ref EXTI_TRIGGER_RISING_FALLING 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This parameter is kept for compatibility with other series. 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval None. 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** void HAL_EXTI_ClearPending(EXTI_HandleTypeDef *hexti, uint32_t Edge) 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 800 .loc 1 499 1 is_stmt 1 view -0 801 .cfi_startproc 802 @ args = 0, pretend = 0, frame = 0 803 @ frame_needed = 0, uses_anonymous_args = 0 804 @ link register save eliminated. 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t maskline; 805 .loc 1 500 3 view .LVU260 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check parameters */ 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line)); 806 .loc 1 503 3 view .LVU261 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_CONFIG_LINE(hexti->Line)); 807 .loc 1 504 3 view .LVU262 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_PENDING_EDGE(Edge)); 808 .loc 1 505 3 view .LVU263 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Prevent unused argument compilation warning */ 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** UNUSED(Edge); 809 .loc 1 508 3 view .LVU264 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Compute line mask */ 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** maskline = (1uL << (hexti->Line & EXTI_PIN_MASK)); 810 .loc 1 511 3 view .LVU265 811 .loc 1 511 28 is_stmt 0 view .LVU266 ARM GAS /tmp/ccBr5UzG.s page 25 812 0000 0268 ldr r2, [r0] 813 .loc 1 511 35 view .LVU267 814 0002 02F01F02 and r2, r2, #31 815 .loc 1 511 12 view .LVU268 816 0006 0123 movs r3, #1 817 0008 9340 lsls r3, r3, r2 818 .LVL68: 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Clear Pending bit */ 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->PR = maskline; 819 .loc 1 514 3 is_stmt 1 view .LVU269 820 .loc 1 514 12 is_stmt 0 view .LVU270 821 000a 014A ldr r2, .L65 822 000c 5361 str r3, [r2, #20] 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 823 .loc 1 515 1 view .LVU271 824 000e 7047 bx lr 825 .L66: 826 .align 2 827 .L65: 828 0010 00040140 .word 1073808384 829 .cfi_endproc 830 .LFE72: 832 .section .text.HAL_EXTI_GenerateSWI,"ax",%progbits 833 .align 1 834 .global HAL_EXTI_GenerateSWI 835 .syntax unified 836 .thumb 837 .thumb_func 839 HAL_EXTI_GenerateSWI: 840 .LVL69: 841 .LFB73: 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Generate a software interrupt for a dedicated line. 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle. 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval None. 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */ 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** void HAL_EXTI_GenerateSWI(EXTI_HandleTypeDef *hexti) 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** { 842 .loc 1 523 1 is_stmt 1 view -0 843 .cfi_startproc 844 @ args = 0, pretend = 0, frame = 0 845 @ frame_needed = 0, uses_anonymous_args = 0 846 @ link register save eliminated. 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t maskline; 847 .loc 1 524 3 view .LVU273 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check parameters */ 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line)); 848 .loc 1 527 3 view .LVU274 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_CONFIG_LINE(hexti->Line)); 849 .loc 1 528 3 view .LVU275 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Compute line mask */ 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** maskline = (1uL << (hexti->Line & EXTI_PIN_MASK)); 850 .loc 1 531 3 view .LVU276 ARM GAS /tmp/ccBr5UzG.s page 26 851 .loc 1 531 28 is_stmt 0 view .LVU277 852 0000 0268 ldr r2, [r0] 853 .loc 1 531 35 view .LVU278 854 0002 02F01F02 and r2, r2, #31 855 .loc 1 531 12 view .LVU279 856 0006 0123 movs r3, #1 857 0008 9340 lsls r3, r3, r2 858 .LVL70: 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Generate Software interrupt */ 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->SWIER = maskline; 859 .loc 1 534 3 is_stmt 1 view .LVU280 860 .loc 1 534 15 is_stmt 0 view .LVU281 861 000a 014A ldr r2, .L68 862 000c 1361 str r3, [r2, #16] 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** } 863 .loc 1 535 1 view .LVU282 864 000e 7047 bx lr 865 .L69: 866 .align 2 867 .L68: 868 0010 00040140 .word 1073808384 869 .cfi_endproc 870 .LFE73: 872 .text 873 .Letext0: 874 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h" 875 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h" 876 .file 4 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h" 877 .file 5 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h" 878 .file 6 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h" ARM GAS /tmp/ccBr5UzG.s page 27 DEFINED SYMBOLS *ABS*:0000000000000000 stm32f1xx_hal_exti.c /tmp/ccBr5UzG.s:18 .text.HAL_EXTI_SetConfigLine:0000000000000000 $t /tmp/ccBr5UzG.s:24 .text.HAL_EXTI_SetConfigLine:0000000000000000 HAL_EXTI_SetConfigLine /tmp/ccBr5UzG.s:242 .text.HAL_EXTI_SetConfigLine:00000000000000d0 $d /tmp/ccBr5UzG.s:248 .text.HAL_EXTI_GetConfigLine:0000000000000000 $t /tmp/ccBr5UzG.s:254 .text.HAL_EXTI_GetConfigLine:0000000000000000 HAL_EXTI_GetConfigLine /tmp/ccBr5UzG.s:434 .text.HAL_EXTI_GetConfigLine:00000000000000a4 $d /tmp/ccBr5UzG.s:440 .text.HAL_EXTI_ClearConfigLine:0000000000000000 $t /tmp/ccBr5UzG.s:446 .text.HAL_EXTI_ClearConfigLine:0000000000000000 HAL_EXTI_ClearConfigLine /tmp/ccBr5UzG.s:586 .text.HAL_EXTI_ClearConfigLine:0000000000000080 $d /tmp/ccBr5UzG.s:592 .text.HAL_EXTI_RegisterCallback:0000000000000000 $t /tmp/ccBr5UzG.s:598 .text.HAL_EXTI_RegisterCallback:0000000000000000 HAL_EXTI_RegisterCallback /tmp/ccBr5UzG.s:631 .text.HAL_EXTI_GetHandle:0000000000000000 $t /tmp/ccBr5UzG.s:637 .text.HAL_EXTI_GetHandle:0000000000000000 HAL_EXTI_GetHandle /tmp/ccBr5UzG.s:669 .text.HAL_EXTI_IRQHandler:0000000000000000 $t /tmp/ccBr5UzG.s:675 .text.HAL_EXTI_IRQHandler:0000000000000000 HAL_EXTI_IRQHandler /tmp/ccBr5UzG.s:729 .text.HAL_EXTI_IRQHandler:0000000000000020 $d /tmp/ccBr5UzG.s:734 .text.HAL_EXTI_GetPending:0000000000000000 $t /tmp/ccBr5UzG.s:740 .text.HAL_EXTI_GetPending:0000000000000000 HAL_EXTI_GetPending /tmp/ccBr5UzG.s:786 .text.HAL_EXTI_GetPending:0000000000000018 $d /tmp/ccBr5UzG.s:791 .text.HAL_EXTI_ClearPending:0000000000000000 $t /tmp/ccBr5UzG.s:797 .text.HAL_EXTI_ClearPending:0000000000000000 HAL_EXTI_ClearPending /tmp/ccBr5UzG.s:828 .text.HAL_EXTI_ClearPending:0000000000000010 $d /tmp/ccBr5UzG.s:833 .text.HAL_EXTI_GenerateSWI:0000000000000000 $t /tmp/ccBr5UzG.s:839 .text.HAL_EXTI_GenerateSWI:0000000000000000 HAL_EXTI_GenerateSWI /tmp/ccBr5UzG.s:868 .text.HAL_EXTI_GenerateSWI:0000000000000010 $d NO UNDEFINED SYMBOLS