ARM GAS /tmp/cc0YfHRw.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_gpio_ex.c" 14 .text 15 .Ltext0: 16 .cfi_sections .debug_frame 17 .section .text.HAL_GPIOEx_ConfigEventout,"ax",%progbits 18 .align 1 19 .global HAL_GPIOEx_ConfigEventout 20 .syntax unified 21 .thumb 22 .thumb_func 24 HAL_GPIOEx_ConfigEventout: 25 .LVL0: 26 .LFB65: 27 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c" 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /** 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ****************************************************************************** 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @file stm32f1xx_hal_gpio_ex.c 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @author MCD Application Team 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @brief GPIO Extension HAL module driver. 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * This file provides firmware functions to manage the following 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * functionalities of the General Purpose Input/Output (GPIO) extension peripheral. 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * + Extended features functions 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ****************************************************************************** 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @attention 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * Copyright (c) 2016 STMicroelectronics. 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * All rights reserved. 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * This software is licensed under terms that can be found in the LICENSE file 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * in the root directory of this software component. 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ****************************************************************************** 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** @verbatim 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ============================================================================== 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ##### GPIO Peripheral extension features ##### 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ============================================================================== 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** [..] GPIO module on STM32F1 family, manage also the AFIO register: 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** (+) Possibility to use the EVENTOUT Cortex feature 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ##### How to use this driver ##### 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ============================================================================== 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** [..] This driver provides functions to use EVENTOUT Cortex feature 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** (#) Configure EVENTOUT Cortex feature using the function HAL_GPIOEx_ConfigEventout() ARM GAS /tmp/cc0YfHRw.s page 2 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** (#) Activate EVENTOUT Cortex feature using the HAL_GPIOEx_EnableEventout() 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** (#) Deactivate EVENTOUT Cortex feature using the HAL_GPIOEx_DisableEventout() 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** @endverbatim 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ****************************************************************************** 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */ 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /* Includes ------------------------------------------------------------------*/ 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** #include "stm32f1xx_hal.h" 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /** @addtogroup STM32F1xx_HAL_Driver 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @{ 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */ 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /** @defgroup GPIOEx GPIOEx 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @brief GPIO HAL module driver 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @{ 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */ 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** #ifdef HAL_GPIO_MODULE_ENABLED 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /** @defgroup GPIOEx_Exported_Functions GPIOEx Exported Functions 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @{ 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */ 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /** @defgroup GPIOEx_Exported_Functions_Group1 Extended features functions 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @brief Extended features functions 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** @verbatim 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ============================================================================== 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ##### Extended features functions ##### 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ============================================================================== 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** [..] This section provides functions allowing to: 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** (+) Configure EVENTOUT Cortex feature using the function HAL_GPIOEx_ConfigEventout() 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** (+) Activate EVENTOUT Cortex feature using the HAL_GPIOEx_EnableEventout() 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** (+) Deactivate EVENTOUT Cortex feature using the HAL_GPIOEx_DisableEventout() 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** @endverbatim 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @{ 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */ 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /** 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @brief Configures the port and pin on which the EVENTOUT Cortex signal will be connected. 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @param GPIO_PortSource Select the port used to output the Cortex EVENTOUT signal. 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * This parameter can be a value of @ref GPIOEx_EVENTOUT_PORT. 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @param GPIO_PinSource Select the pin used to output the Cortex EVENTOUT signal. 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * This parameter can be a value of @ref GPIOEx_EVENTOUT_PIN. 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @retval None 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */ 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** void HAL_GPIOEx_ConfigEventout(uint32_t GPIO_PortSource, uint32_t GPIO_PinSource) 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** { 28 .loc 1 82 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. 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /* Verify the parameters */ ARM GAS /tmp/cc0YfHRw.s page 3 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** assert_param(IS_AFIO_EVENTOUT_PORT(GPIO_PortSource)); 33 .loc 1 84 3 view .LVU1 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** assert_param(IS_AFIO_EVENTOUT_PIN(GPIO_PinSource)); 34 .loc 1 85 3 view .LVU2 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /* Apply the new configuration */ 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** MODIFY_REG(AFIO->EVCR, (AFIO_EVCR_PORT) | (AFIO_EVCR_PIN), (GPIO_PortSource) | (GPIO_PinSource)); 35 .loc 1 88 3 view .LVU3 36 0000 034A ldr r2, .L2 37 0002 1368 ldr r3, [r2] 38 0004 23F07F03 bic r3, r3, #127 39 0008 0843 orrs r0, r0, r1 40 .LVL1: 41 .loc 1 88 3 is_stmt 0 view .LVU4 42 000a 0343 orrs r3, r3, r0 43 000c 1360 str r3, [r2] 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** } 44 .loc 1 89 1 view .LVU5 45 000e 7047 bx lr 46 .L3: 47 .align 2 48 .L2: 49 0010 00000140 .word 1073807360 50 .cfi_endproc 51 .LFE65: 53 .section .text.HAL_GPIOEx_EnableEventout,"ax",%progbits 54 .align 1 55 .global HAL_GPIOEx_EnableEventout 56 .syntax unified 57 .thumb 58 .thumb_func 60 HAL_GPIOEx_EnableEventout: 61 .LFB66: 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /** 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @brief Enables the Event Output. 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @retval None 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */ 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** void HAL_GPIOEx_EnableEventout(void) 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** { 62 .loc 1 96 1 is_stmt 1 view -0 63 .cfi_startproc 64 @ args = 0, pretend = 0, frame = 0 65 @ frame_needed = 0, uses_anonymous_args = 0 66 @ link register save eliminated. 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** SET_BIT(AFIO->EVCR, AFIO_EVCR_EVOE); 67 .loc 1 97 3 view .LVU7 68 0000 024A ldr r2, .L5 69 0002 1368 ldr r3, [r2] 70 0004 43F08003 orr r3, r3, #128 71 0008 1360 str r3, [r2] 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** } 72 .loc 1 98 1 is_stmt 0 view .LVU8 73 000a 7047 bx lr 74 .L6: 75 .align 2 76 .L5: ARM GAS /tmp/cc0YfHRw.s page 4 77 000c 00000140 .word 1073807360 78 .cfi_endproc 79 .LFE66: 81 .section .text.HAL_GPIOEx_DisableEventout,"ax",%progbits 82 .align 1 83 .global HAL_GPIOEx_DisableEventout 84 .syntax unified 85 .thumb 86 .thumb_func 88 HAL_GPIOEx_DisableEventout: 89 .LFB67: 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /** 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @brief Disables the Event Output. 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @retval None 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */ 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** void HAL_GPIOEx_DisableEventout(void) 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** { 90 .loc 1 105 1 is_stmt 1 view -0 91 .cfi_startproc 92 @ args = 0, pretend = 0, frame = 0 93 @ frame_needed = 0, uses_anonymous_args = 0 94 @ link register save eliminated. 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** CLEAR_BIT(AFIO->EVCR, AFIO_EVCR_EVOE); 95 .loc 1 106 3 view .LVU10 96 0000 024A ldr r2, .L8 97 0002 1368 ldr r3, [r2] 98 0004 23F08003 bic r3, r3, #128 99 0008 1360 str r3, [r2] 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** } 100 .loc 1 107 1 is_stmt 0 view .LVU11 101 000a 7047 bx lr 102 .L9: 103 .align 2 104 .L8: 105 000c 00000140 .word 1073807360 106 .cfi_endproc 107 .LFE67: 109 .text 110 .Letext0: 111 .file 2 "/opt/gcc-arm/arm-none-eabi/include/machine/_default_types.h" 112 .file 3 "/opt/gcc-arm/arm-none-eabi/include/sys/_stdint.h" 113 .file 4 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h" ARM GAS /tmp/cc0YfHRw.s page 5 DEFINED SYMBOLS *ABS*:0000000000000000 stm32f1xx_hal_gpio_ex.c /tmp/cc0YfHRw.s:18 .text.HAL_GPIOEx_ConfigEventout:0000000000000000 $t /tmp/cc0YfHRw.s:24 .text.HAL_GPIOEx_ConfigEventout:0000000000000000 HAL_GPIOEx_ConfigEventout /tmp/cc0YfHRw.s:49 .text.HAL_GPIOEx_ConfigEventout:0000000000000010 $d /tmp/cc0YfHRw.s:54 .text.HAL_GPIOEx_EnableEventout:0000000000000000 $t /tmp/cc0YfHRw.s:60 .text.HAL_GPIOEx_EnableEventout:0000000000000000 HAL_GPIOEx_EnableEventout /tmp/cc0YfHRw.s:77 .text.HAL_GPIOEx_EnableEventout:000000000000000c $d /tmp/cc0YfHRw.s:82 .text.HAL_GPIOEx_DisableEventout:0000000000000000 $t /tmp/cc0YfHRw.s:88 .text.HAL_GPIOEx_DisableEventout:0000000000000000 HAL_GPIOEx_DisableEventout /tmp/cc0YfHRw.s:105 .text.HAL_GPIOEx_DisableEventout:000000000000000c $d NO UNDEFINED SYMBOLS