ARM GAS /tmp/ccJCJaQH.s page 1 1 .cpu cortex-m0plus 2 .eabi_attribute 20, 1 3 .eabi_attribute 21, 1 4 .eabi_attribute 23, 3 5 .eabi_attribute 24, 1 6 .eabi_attribute 25, 1 7 .eabi_attribute 26, 1 8 .eabi_attribute 30, 1 9 .eabi_attribute 34, 0 10 .eabi_attribute 18, 4 11 .file "stm32l0xx_hal_dma.c" 12 .text 13 .Ltext0: 14 .cfi_sections .debug_frame 15 .section .text.HAL_DMA_Init,"ax",%progbits 16 .align 1 17 .global HAL_DMA_Init 18 .syntax unified 19 .code 16 20 .thumb_func 21 .fpu softvfp 23 HAL_DMA_Init: 24 .LFB39: 25 .file 1 "./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c" 1:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 2:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ****************************************************************************** 3:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @file stm32l0xx_hal_dma.c 4:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @author MCD Application Team 5:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief DMA HAL module driver. 6:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * 7:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * This file provides firmware functions to manage the following 8:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * functionalities of the Direct Memory Access (DMA) peripheral: 9:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * + Initialization/de-initialization functions 10:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * + I/O operation functions 11:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * + Peripheral State functions 12:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * 13:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * 14:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** @verbatim 15:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ============================================================================== 16:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ##### How to use this driver ##### 17:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ============================================================================== 18:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** [..] 19:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (#) Enable and configure the peripheral to be connected to the DMA Channel 20:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (except for internal SRAM / FLASH memories: no initialization is 21:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** necessary). 22:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 23:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (#) For a given Channel, program the required configuration through the following parameters: 24:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** Channel request, Transfer Direction, Source and Destination data formats, 25:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** Circular, Normal or peripheral flow control mode, Channel Priority level, 26:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** Source and Destination Increment mode using HAL_DMA_Init() function. 27:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 28:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** *** Polling mode IO operation *** 29:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ================================= 30:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** [..] 31:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) Use HAL_DMA_Start() to start DMA transfer after the configuration of Source 32:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** address and destination address and the Length of data to be transferred 33:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) Use HAL_DMA_PollForTransfer() to poll for the end of current transfer, in this ARM GAS /tmp/ccJCJaQH.s page 2 34:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** case a fixed Timeout can be configured by User depending from his application. 35:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 36:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** *** Interrupt mode IO operation *** 37:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** =================================== 38:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** [..] 39:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) Configure the DMA interrupt priority using HAL_NVIC_SetPriority() 40:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) Enable the DMA IRQ handler using HAL_NVIC_EnableIRQ() 41:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) Use HAL_DMA_Start_IT() to start DMA transfer after the configuration of 42:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** Source address and destination address and the Length of data to be transferred. In t 43:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** case the DMA interrupt is configured 44:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) Use HAL_DMA_IRQHandler() called under DMA_IRQHandler() Interrupt subroutine 45:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) At the end of data transfer HAL_DMA_IRQHandler() function is executed and user can 46:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** add his own function by customization of function pointer XferCpltCallback and 47:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** XferErrorCallback (i.e a member of DMA handle structure). 48:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 49:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (#) Use HAL_DMA_GetState() function to return the DMA state and HAL_DMA_GetError() in case of er 50:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** detection. 51:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 52:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (#) Use HAL_DMA_Abort() function to abort the current transfer 53:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 54:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** -@- In Memory-to-Memory transfer mode, Circular mode is not allowed. 55:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 56:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** @endverbatim 57:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ****************************************************************************** 58:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @attention 59:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * 60:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** *

© COPYRIGHT(c) 2016 STMicroelectronics

61:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * 62:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * Redistribution and use in source and binary forms, with or without modification, 63:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * are permitted provided that the following conditions are met: 64:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * 1. Redistributions of source code must retain the above copyright notice, 65:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * this list of conditions and the following disclaimer. 66:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * 2. Redistributions in binary form must reproduce the above copyright notice, 67:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * this list of conditions and the following disclaimer in the documentation 68:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * and/or other materials provided with the distribution. 69:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * 3. Neither the name of STMicroelectronics nor the names of its contributors 70:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * may be used to endorse or promote products derived from this software 71:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * without specific prior written permission. 72:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * 73:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 74:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 75:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 76:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 77:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 78:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 79:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 80:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 81:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 82:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 83:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * 84:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ****************************************************************************** 85:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 86:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 87:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Includes ------------------------------------------------------------------*/ 88:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** #include "stm32l0xx_hal.h" 89:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 90:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** @addtogroup STM32L0xx_HAL_Driver ARM GAS /tmp/ccJCJaQH.s page 3 91:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @{ 92:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 93:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** #ifdef HAL_DMA_MODULE_ENABLED 94:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 95:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** @addtogroup DMA DMA 96:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief DMA HAL module driver 97:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @{ 98:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 99:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 100:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Private typedef -----------------------------------------------------------*/ 101:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** @addtogroup DMA_Private 102:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * 103:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @{ 104:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** #define HAL_TIMEOUT_DMA_ABORT ((uint32_t)1000U) /* 1s */ 106:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 107:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 108:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32 109:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 110:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @} 111:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 112:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 113:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** @addtogroup DMA_Exported_Functions DMA Exported Functions 114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @{ 115:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 116:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 117:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** @addtogroup DMA_Exported_Functions_Group1 118:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief Initialization/de-initialization functions 119:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * 120:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** @verbatim 121:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** =============================================================================== 122:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ##### Initialization and de-initialization functions ##### 123:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** =============================================================================== 124:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** [..] This section provides functions allowing to: 125:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) Initialize and configure the DMA 126:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) De-Initialize the DMA 127:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 128:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** @endverbatim 129:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @{ 130:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 131:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 132:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 133:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief Initializes the DMA according to the specified 134:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * parameters in the DMA_InitTypeDef and create the associated handle. 135:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param hdma: Pointer to a DMA_HandleTypeDef structure that contains 136:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 137:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @retval HAL status 138:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 139:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma) 140:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 26 .loc 1 140 0 27 .cfi_startproc 28 @ args = 0, pretend = 0, frame = 0 29 @ frame_needed = 0, uses_anonymous_args = 0 30 .LVL0: 31 0000 10B5 push {r4, lr} 32 .LCFI0: ARM GAS /tmp/ccJCJaQH.s page 4 33 .cfi_def_cfa_offset 8 34 .cfi_offset 4, -8 35 .cfi_offset 14, -4 36 .LVL1: 141:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** uint32_t tmp = 0U; 142:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 143:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Check the DMA peripheral state */ 144:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(hdma == NULL) 37 .loc 1 144 0 38 0002 0028 cmp r0, #0 39 0004 00D1 bne .LCB12 40 0006 82E0 b .L11 @long jump 41 .LCB12: 145:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 146:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return HAL_ERROR; 147:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 148:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 149:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Check the parameters */ 150:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance)); 151:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** assert_param(IS_DMA_ALL_REQUEST(hdma->Init.Request)); 152:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction)); 153:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc)); 154:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc)); 155:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment)); 156:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment)); 157:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode)); 158:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority)); 159:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 160:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(hdma->State == HAL_DMA_STATE_RESET) 42 .loc 1 160 0 43 0008 2523 movs r3, #37 44 000a C35C ldrb r3, [r0, r3] 45 000c 002B cmp r3, #0 46 000e 02D1 bne .L3 161:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 162:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Allocate lock resource and initialize it */ 163:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Lock = HAL_UNLOCKED; 47 .loc 1 163 0 48 0010 2433 adds r3, r3, #36 49 0012 0022 movs r2, #0 50 0014 C254 strb r2, [r0, r3] 51 .L3: 164:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 165:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 166:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Change DMA peripheral state */ 167:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY; 52 .loc 1 167 0 53 0016 2523 movs r3, #37 54 0018 0222 movs r2, #2 55 001a C254 strb r2, [r0, r3] 168:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 169:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Get the CR register value */ 170:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** tmp = hdma->Instance->CCR; 56 .loc 1 170 0 57 001c 0168 ldr r1, [r0] 58 001e 0B68 ldr r3, [r1] 59 .LVL2: ARM GAS /tmp/ccJCJaQH.s page 5 171:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 172:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Clear PL, MSIZE, PSIZE, MINC, PINC, CIRC, DIR bits */ 173:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** tmp &= ((uint32_t)~(DMA_CCR_PL | DMA_CCR_MSIZE | DMA_CCR_PSIZE | \ 60 .loc 1 173 0 61 0020 3C4A ldr r2, .L18 62 0022 1A40 ands r2, r3 63 .LVL3: 174:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \ 175:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA_CCR_DIR)); 176:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 177:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Prepare the DMA Channel configuration */ 178:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** tmp |= hdma->Init.Direction | 64 .loc 1 178 0 65 0024 8368 ldr r3, [r0, #8] 66 0026 C468 ldr r4, [r0, #12] 67 0028 2343 orrs r3, r4 179:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | 68 .loc 1 179 0 69 002a 0469 ldr r4, [r0, #16] 70 002c 2343 orrs r3, r4 71 002e 4469 ldr r4, [r0, #20] 72 0030 2343 orrs r3, r4 180:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | 73 .loc 1 180 0 74 0032 8469 ldr r4, [r0, #24] 75 0034 2343 orrs r3, r4 76 0036 C469 ldr r4, [r0, #28] 77 0038 2343 orrs r3, r4 181:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority; 78 .loc 1 181 0 79 003a 046A ldr r4, [r0, #32] 80 003c 2343 orrs r3, r4 178:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | 81 .loc 1 178 0 82 003e 1343 orrs r3, r2 83 .LVL4: 182:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 183:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Write to DMA Channel CR register */ 184:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Instance->CCR = tmp; 84 .loc 1 184 0 85 0040 0B60 str r3, [r1] 185:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 186:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Write to DMA channel selection register */ 187:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if (hdma->Instance == DMA1_Channel1) 86 .loc 1 187 0 87 0042 0368 ldr r3, [r0] 88 .LVL5: 89 0044 344A ldr r2, .L18+4 90 0046 9342 cmp r3, r2 91 0048 1CD0 beq .L12 188:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 189:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /*Reset request selection for DMA1 Channel1*/ 190:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR &= ~DMA_CSELR_C1S; 191:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 192:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Configure request selection for DMA1 Channel1 */ 193:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR |= hdma->Init.Request; 194:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } ARM GAS /tmp/ccJCJaQH.s page 6 195:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else if (hdma->Instance == DMA1_Channel2) 92 .loc 1 195 0 93 004a 344A ldr r2, .L18+8 94 004c 9342 cmp r3, r2 95 004e 27D0 beq .L13 196:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 197:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /*Reset request selection for DMA1 Channel2*/ 198:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR &= ~DMA_CSELR_C2S; 199:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 200:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Configure request selection for DMA1 Channel2 */ 201:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR |= (uint32_t)(hdma->Init.Request << 4U); 202:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 203:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else if (hdma->Instance == DMA1_Channel3) 96 .loc 1 203 0 97 0050 334A ldr r2, .L18+12 98 0052 9342 cmp r3, r2 99 0054 2FD0 beq .L14 204:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 205:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /*Reset request selection for DMA1 Channel3*/ 206:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR &= ~DMA_CSELR_C3S; 207:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 208:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Configure request selection for DMA1 Channel3 */ 209:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR |= (uint32_t) (hdma->Init.Request << 8U); 210:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 211:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else if (hdma->Instance == DMA1_Channel4) 100 .loc 1 211 0 101 0056 334A ldr r2, .L18+16 102 0058 9342 cmp r3, r2 103 005a 37D0 beq .L15 212:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 213:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /*Reset request selection for DMA1 Channel4*/ 214:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR &= ~DMA_CSELR_C4S; 215:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 216:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Configure request selection for DMA1 Channel4 */ 217:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR |= (uint32_t) (hdma->Init.Request << 12U); 218:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 219:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else if (hdma->Instance == DMA1_Channel5) 104 .loc 1 219 0 105 005c 324A ldr r2, .L18+20 106 005e 9342 cmp r3, r2 107 0060 3FD0 beq .L16 220:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 221:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /*Reset request selection for DMA1 Channel5*/ 222:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR &= ~DMA_CSELR_C5S; 223:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 224:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Configure request selection for DMA1 Channel5 */ 225:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR |= (uint32_t) (hdma->Init.Request << 16U); 226:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 227:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** #if !defined (STM32L011xx) && !defined (STM32L021xx) 228:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else if (hdma->Instance == DMA1_Channel6) 108 .loc 1 228 0 109 0062 324A ldr r2, .L18+24 110 0064 9342 cmp r3, r2 111 0066 47D0 beq .L17 229:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 230:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /*Reset request selection for DMA1 Channel6*/ 231:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR &= ~DMA_CSELR_C6S; ARM GAS /tmp/ccJCJaQH.s page 7 232:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 233:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Configure request selection for DMA1 Channel6 */ 234:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR |= (uint32_t) (hdma->Init.Request << 20U); 235:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 236:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else if (hdma->Instance == DMA1_Channel7) 112 .loc 1 236 0 113 0068 314A ldr r2, .L18+28 114 006a 9342 cmp r3, r2 115 006c 13D1 bne .L5 237:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 238:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /*Reset request selection for DMA1 Channel7*/ 239:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR &= ~DMA_CSELR_C7S; 116 .loc 1 239 0 117 006e 314B ldr r3, .L18+32 118 0070 1A68 ldr r2, [r3] 119 0072 3149 ldr r1, .L18+36 120 .LVL6: 121 0074 0A40 ands r2, r1 122 0076 1A60 str r2, [r3] 240:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 241:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Configure request selection for DMA1 Channel7 */ 242:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR |= (uint32_t) (hdma->Init.Request << 24U); 123 .loc 1 242 0 124 0078 1A68 ldr r2, [r3] 125 007a 4168 ldr r1, [r0, #4] 126 007c 0906 lsls r1, r1, #24 127 007e 0A43 orrs r2, r1 128 0080 1A60 str r2, [r3] 129 0082 08E0 b .L5 130 .LVL7: 131 .L12: 190:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 132 .loc 1 190 0 133 0084 2B4B ldr r3, .L18+32 134 0086 1A68 ldr r2, [r3] 135 0088 0F21 movs r1, #15 136 .LVL8: 137 008a 8A43 bics r2, r1 138 008c 1A60 str r2, [r3] 193:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 139 .loc 1 193 0 140 008e 1A68 ldr r2, [r3] 141 0090 4168 ldr r1, [r0, #4] 142 0092 0A43 orrs r2, r1 143 0094 1A60 str r2, [r3] 144 .L5: 243:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 244:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** #endif 245:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Initialize the DMA state*/ 246:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 145 .loc 1 246 0 146 0096 2523 movs r3, #37 147 0098 0122 movs r2, #1 148 009a C254 strb r2, [r0, r3] 247:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 248:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return HAL_OK; 149 .loc 1 248 0 ARM GAS /tmp/ccJCJaQH.s page 8 150 009c 0020 movs r0, #0 151 .LVL9: 152 .L2: 249:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 153 .loc 1 249 0 154 @ sp needed 155 009e 10BD pop {r4, pc} 156 .LVL10: 157 .L13: 198:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 158 .loc 1 198 0 159 00a0 244B ldr r3, .L18+32 160 00a2 1A68 ldr r2, [r3] 161 00a4 F021 movs r1, #240 162 .LVL11: 163 00a6 8A43 bics r2, r1 164 00a8 1A60 str r2, [r3] 201:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 165 .loc 1 201 0 166 00aa 1A68 ldr r2, [r3] 167 00ac 4168 ldr r1, [r0, #4] 168 00ae 0901 lsls r1, r1, #4 169 00b0 0A43 orrs r2, r1 170 00b2 1A60 str r2, [r3] 171 00b4 EFE7 b .L5 172 .LVL12: 173 .L14: 206:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 174 .loc 1 206 0 175 00b6 1F4B ldr r3, .L18+32 176 00b8 1A68 ldr r2, [r3] 177 00ba 2049 ldr r1, .L18+40 178 .LVL13: 179 00bc 0A40 ands r2, r1 180 00be 1A60 str r2, [r3] 209:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 181 .loc 1 209 0 182 00c0 1A68 ldr r2, [r3] 183 00c2 4168 ldr r1, [r0, #4] 184 00c4 0902 lsls r1, r1, #8 185 00c6 0A43 orrs r2, r1 186 00c8 1A60 str r2, [r3] 187 00ca E4E7 b .L5 188 .LVL14: 189 .L15: 214:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 190 .loc 1 214 0 191 00cc 194B ldr r3, .L18+32 192 00ce 1A68 ldr r2, [r3] 193 00d0 1B49 ldr r1, .L18+44 194 .LVL15: 195 00d2 0A40 ands r2, r1 196 00d4 1A60 str r2, [r3] 217:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 197 .loc 1 217 0 198 00d6 1A68 ldr r2, [r3] 199 00d8 4168 ldr r1, [r0, #4] ARM GAS /tmp/ccJCJaQH.s page 9 200 00da 0903 lsls r1, r1, #12 201 00dc 0A43 orrs r2, r1 202 00de 1A60 str r2, [r3] 203 00e0 D9E7 b .L5 204 .LVL16: 205 .L16: 222:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 206 .loc 1 222 0 207 00e2 144B ldr r3, .L18+32 208 00e4 1A68 ldr r2, [r3] 209 00e6 1749 ldr r1, .L18+48 210 .LVL17: 211 00e8 0A40 ands r2, r1 212 00ea 1A60 str r2, [r3] 225:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 213 .loc 1 225 0 214 00ec 1A68 ldr r2, [r3] 215 00ee 4168 ldr r1, [r0, #4] 216 00f0 0904 lsls r1, r1, #16 217 00f2 0A43 orrs r2, r1 218 00f4 1A60 str r2, [r3] 219 00f6 CEE7 b .L5 220 .LVL18: 221 .L17: 231:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 222 .loc 1 231 0 223 00f8 0E4B ldr r3, .L18+32 224 00fa 1A68 ldr r2, [r3] 225 00fc 1249 ldr r1, .L18+52 226 .LVL19: 227 00fe 0A40 ands r2, r1 228 0100 1A60 str r2, [r3] 234:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 229 .loc 1 234 0 230 0102 1A68 ldr r2, [r3] 231 0104 4168 ldr r1, [r0, #4] 232 0106 0905 lsls r1, r1, #20 233 0108 0A43 orrs r2, r1 234 010a 1A60 str r2, [r3] 235 010c C3E7 b .L5 236 .LVL20: 237 .L11: 146:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 238 .loc 1 146 0 239 010e 0120 movs r0, #1 240 .LVL21: 241 0110 C5E7 b .L2 242 .L19: 243 0112 C046 .align 2 244 .L18: 245 0114 0FC0FFFF .word -16369 246 0118 08000240 .word 1073872904 247 011c 1C000240 .word 1073872924 248 0120 30000240 .word 1073872944 249 0124 44000240 .word 1073872964 250 0128 58000240 .word 1073872984 251 012c 6C000240 .word 1073873004 ARM GAS /tmp/ccJCJaQH.s page 10 252 0130 80000240 .word 1073873024 253 0134 A8000240 .word 1073873064 254 0138 FFFFFFF0 .word -251658241 255 013c FFF0FFFF .word -3841 256 0140 FF0FFFFF .word -61441 257 0144 FFFFF0FF .word -983041 258 0148 FFFF0FFF .word -15728641 259 .cfi_endproc 260 .LFE39: 262 .section .text.HAL_DMA_DeInit,"ax",%progbits 263 .align 1 264 .global HAL_DMA_DeInit 265 .syntax unified 266 .code 16 267 .thumb_func 268 .fpu softvfp 270 HAL_DMA_DeInit: 271 .LFB40: 250:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 251:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 252:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief DeInitializes the DMA peripheral 253:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains 254:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 255:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @retval HAL status 256:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 257:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma) 258:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 272 .loc 1 258 0 273 .cfi_startproc 274 @ args = 0, pretend = 0, frame = 0 275 @ frame_needed = 0, uses_anonymous_args = 0 276 .LVL22: 277 0000 00B5 push {lr} 278 .LCFI1: 279 .cfi_def_cfa_offset 4 280 .cfi_offset 14, -4 259:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Check the DMA peripheral state */ 260:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(hdma == NULL) 281 .loc 1 260 0 282 0002 0028 cmp r0, #0 283 0004 00D1 bne .LCB261 284 0006 F5E0 b .L33 @long jump 285 .LCB261: 261:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 262:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return HAL_ERROR; 263:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 264:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 265:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Check the DMA peripheral state */ 266:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(hdma->State == HAL_DMA_STATE_BUSY) 286 .loc 1 266 0 287 0008 2523 movs r3, #37 288 000a C35C ldrb r3, [r0, r3] 289 000c 022B cmp r3, #2 290 000e 00D1 bne .LCB266 291 0010 F2E0 b .L34 @long jump 292 .LCB266: 267:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { ARM GAS /tmp/ccJCJaQH.s page 11 268:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return HAL_ERROR; 269:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 270:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 271:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Disable the selected DMA Channelx */ 272:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); 293 .loc 1 272 0 294 0012 0268 ldr r2, [r0] 295 0014 1368 ldr r3, [r2] 296 0016 0121 movs r1, #1 297 0018 8B43 bics r3, r1 298 001a 1360 str r3, [r2] 273:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 274:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Reset DMA Channel control register */ 275:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Instance->CCR = 0U; 299 .loc 1 275 0 300 001c 0268 ldr r2, [r0] 301 001e 0023 movs r3, #0 302 0020 1360 str r3, [r2] 276:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 277:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Reset DMA Channel Number of Data to Transfer register */ 278:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Instance->CNDTR = 0U; 303 .loc 1 278 0 304 0022 0268 ldr r2, [r0] 305 0024 5360 str r3, [r2, #4] 279:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 280:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Reset DMA Channel peripheral address register */ 281:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Instance->CPAR = 0U; 306 .loc 1 281 0 307 0026 0268 ldr r2, [r0] 308 0028 9360 str r3, [r2, #8] 282:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 283:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Reset DMA Channel memory address register */ 284:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Instance->CMAR = 0U; 309 .loc 1 284 0 310 002a 0268 ldr r2, [r0] 311 002c D360 str r3, [r2, #12] 285:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 286:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Clear all flags */ 287:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_GI_FLAG_INDEX(hdma)); 312 .loc 1 287 0 313 002e 0368 ldr r3, [r0] 314 0030 724A ldr r2, .L69 315 0032 9342 cmp r3, r2 316 0034 14D0 beq .L35 317 .loc 1 287 0 is_stmt 0 discriminator 1 318 0036 724A ldr r2, .L69+4 319 0038 9342 cmp r3, r2 320 003a 2AD0 beq .L36 321 .loc 1 287 0 discriminator 3 322 003c 714A ldr r2, .L69+8 323 003e 9342 cmp r3, r2 324 0040 29D0 beq .L37 325 .loc 1 287 0 discriminator 5 326 0042 714A ldr r2, .L69+12 327 0044 9342 cmp r3, r2 328 0046 29D0 beq .L38 329 .loc 1 287 0 discriminator 7 ARM GAS /tmp/ccJCJaQH.s page 12 330 0048 704A ldr r2, .L69+16 331 004a 9342 cmp r3, r2 332 004c 29D0 beq .L39 333 .loc 1 287 0 discriminator 9 334 004e 704A ldr r2, .L69+20 335 0050 9342 cmp r3, r2 336 0052 02D0 beq .L59 337 .loc 1 287 0 338 0054 8022 movs r2, #128 339 0056 5204 lsls r2, r2, #17 340 0058 03E0 b .L22 341 .L59: 342 005a 8022 movs r2, #128 343 005c 5203 lsls r2, r2, #13 344 005e 00E0 b .L22 345 .L35: 346 0060 0122 movs r2, #1 347 .L22: 348 .loc 1 287 0 discriminator 24 349 0062 6C4B ldr r3, .L69+24 350 0064 5A60 str r2, [r3, #4] 288:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TC_FLAG_INDEX(hdma)); 351 .loc 1 288 0 is_stmt 1 discriminator 24 352 0066 0368 ldr r3, [r0] 353 0068 644A ldr r2, .L69 354 006a 9342 cmp r3, r2 355 006c 1FD0 beq .L41 356 .loc 1 288 0 is_stmt 0 discriminator 1 357 006e 644A ldr r2, .L69+4 358 0070 9342 cmp r3, r2 359 0072 35D0 beq .L42 360 .loc 1 288 0 discriminator 3 361 0074 634A ldr r2, .L69+8 362 0076 9342 cmp r3, r2 363 0078 34D0 beq .L43 364 .loc 1 288 0 discriminator 5 365 007a 634A ldr r2, .L69+12 366 007c 9342 cmp r3, r2 367 007e 34D0 beq .L44 368 .loc 1 288 0 discriminator 7 369 0080 624A ldr r2, .L69+16 370 0082 9342 cmp r3, r2 371 0084 34D0 beq .L45 372 .loc 1 288 0 discriminator 9 373 0086 624A ldr r2, .L69+20 374 0088 9342 cmp r3, r2 375 008a 0DD0 beq .L60 376 .loc 1 288 0 377 008c 8022 movs r2, #128 378 008e 9204 lsls r2, r2, #18 379 0090 0EE0 b .L23 380 .L36: 287:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TC_FLAG_INDEX(hdma)); 381 .loc 1 287 0 is_stmt 1 382 0092 1022 movs r2, #16 383 0094 E5E7 b .L22 384 .L37: ARM GAS /tmp/ccJCJaQH.s page 13 385 0096 8022 movs r2, #128 386 0098 5200 lsls r2, r2, #1 387 009a E2E7 b .L22 388 .L38: 389 009c 8022 movs r2, #128 390 009e 5201 lsls r2, r2, #5 391 00a0 DFE7 b .L22 392 .L39: 393 00a2 8022 movs r2, #128 394 00a4 5202 lsls r2, r2, #9 395 00a6 DCE7 b .L22 396 .L60: 397 .loc 1 288 0 398 00a8 8022 movs r2, #128 399 00aa 9203 lsls r2, r2, #14 400 00ac 00E0 b .L23 401 .L41: 402 00ae 0222 movs r2, #2 403 .L23: 404 .loc 1 288 0 is_stmt 0 discriminator 24 405 00b0 584B ldr r3, .L69+24 406 00b2 5A60 str r2, [r3, #4] 289:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TE_FLAG_INDEX(hdma)); 407 .loc 1 289 0 is_stmt 1 discriminator 24 408 00b4 0368 ldr r3, [r0] 409 00b6 514A ldr r2, .L69 410 00b8 9342 cmp r3, r2 411 00ba 1FD0 beq .L47 412 .loc 1 289 0 is_stmt 0 discriminator 1 413 00bc 504A ldr r2, .L69+4 414 00be 9342 cmp r3, r2 415 00c0 35D0 beq .L48 416 .loc 1 289 0 discriminator 3 417 00c2 504A ldr r2, .L69+8 418 00c4 9342 cmp r3, r2 419 00c6 34D0 beq .L49 420 .loc 1 289 0 discriminator 5 421 00c8 4F4A ldr r2, .L69+12 422 00ca 9342 cmp r3, r2 423 00cc 34D0 beq .L50 424 .loc 1 289 0 discriminator 7 425 00ce 4F4A ldr r2, .L69+16 426 00d0 9342 cmp r3, r2 427 00d2 34D0 beq .L51 428 .loc 1 289 0 discriminator 9 429 00d4 4E4A ldr r2, .L69+20 430 00d6 9342 cmp r3, r2 431 00d8 0DD0 beq .L61 432 .loc 1 289 0 433 00da 8022 movs r2, #128 434 00dc 1205 lsls r2, r2, #20 435 00de 0EE0 b .L24 436 .L42: 288:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TC_FLAG_INDEX(hdma)); 437 .loc 1 288 0 is_stmt 1 438 00e0 2022 movs r2, #32 439 00e2 E5E7 b .L23 ARM GAS /tmp/ccJCJaQH.s page 14 440 .L43: 441 00e4 8022 movs r2, #128 442 00e6 9200 lsls r2, r2, #2 443 00e8 E2E7 b .L23 444 .L44: 445 00ea 8022 movs r2, #128 446 00ec 9201 lsls r2, r2, #6 447 00ee DFE7 b .L23 448 .L45: 449 00f0 8022 movs r2, #128 450 00f2 9202 lsls r2, r2, #10 451 00f4 DCE7 b .L23 452 .L61: 453 .loc 1 289 0 454 00f6 8022 movs r2, #128 455 00f8 1204 lsls r2, r2, #16 456 00fa 00E0 b .L24 457 .L47: 458 00fc 0822 movs r2, #8 459 .L24: 460 .loc 1 289 0 is_stmt 0 discriminator 24 461 00fe 454B ldr r3, .L69+24 462 0100 5A60 str r2, [r3, #4] 290:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_HT_FLAG_INDEX(hdma)); 463 .loc 1 290 0 is_stmt 1 discriminator 24 464 0102 0368 ldr r3, [r0] 465 0104 3D4A ldr r2, .L69 466 0106 9342 cmp r3, r2 467 0108 1FD0 beq .L53 468 .loc 1 290 0 is_stmt 0 discriminator 1 469 010a 3D4A ldr r2, .L69+4 470 010c 9342 cmp r3, r2 471 010e 3BD0 beq .L54 472 .loc 1 290 0 discriminator 3 473 0110 3C4A ldr r2, .L69+8 474 0112 9342 cmp r3, r2 475 0114 3AD0 beq .L55 476 .loc 1 290 0 discriminator 5 477 0116 3C4A ldr r2, .L69+12 478 0118 9342 cmp r3, r2 479 011a 3AD0 beq .L56 480 .loc 1 290 0 discriminator 7 481 011c 3B4A ldr r2, .L69+16 482 011e 9342 cmp r3, r2 483 0120 3AD0 beq .L57 484 .loc 1 290 0 discriminator 9 485 0122 3B4A ldr r2, .L69+20 486 0124 9342 cmp r3, r2 487 0126 0DD0 beq .L62 488 .loc 1 290 0 489 0128 8022 movs r2, #128 490 012a D204 lsls r2, r2, #19 491 012c 0EE0 b .L25 492 .L48: 289:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TE_FLAG_INDEX(hdma)); 493 .loc 1 289 0 is_stmt 1 494 012e 8022 movs r2, #128 ARM GAS /tmp/ccJCJaQH.s page 15 495 0130 E5E7 b .L24 496 .L49: 497 0132 8022 movs r2, #128 498 0134 1201 lsls r2, r2, #4 499 0136 E2E7 b .L24 500 .L50: 501 0138 8022 movs r2, #128 502 013a 1202 lsls r2, r2, #8 503 013c DFE7 b .L24 504 .L51: 505 013e 8022 movs r2, #128 506 0140 1203 lsls r2, r2, #12 507 0142 DCE7 b .L24 508 .L62: 509 .loc 1 290 0 510 0144 8022 movs r2, #128 511 0146 D203 lsls r2, r2, #15 512 0148 00E0 b .L25 513 .L53: 514 014a 0422 movs r2, #4 515 .L25: 516 .loc 1 290 0 is_stmt 0 discriminator 24 517 014c 314B ldr r3, .L69+24 518 014e 5A60 str r2, [r3, #4] 291:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 292:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Reset DMA channel selection register */ 293:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if (hdma->Instance == DMA1_Channel1) 519 .loc 1 293 0 is_stmt 1 discriminator 24 520 0150 0368 ldr r3, [r0] 521 0152 2A4A ldr r2, .L69 522 0154 9342 cmp r3, r2 523 0156 22D0 beq .L63 294:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 295:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /*Reset DMA request*/ 296:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR &= ~DMA_CSELR_C1S; 297:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 298:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else if (hdma->Instance == DMA1_Channel2) 524 .loc 1 298 0 525 0158 294A ldr r2, .L69+4 526 015a 9342 cmp r3, r2 527 015c 2CD0 beq .L64 299:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 300:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /*Reset DMA request*/ 301:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR &= ~DMA_CSELR_C2S; 302:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 303:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else if (hdma->Instance == DMA1_Channel3) 528 .loc 1 303 0 529 015e 294A ldr r2, .L69+8 530 0160 9342 cmp r3, r2 531 0162 2FD0 beq .L65 304:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 305:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /*Reset DMA request*/ 306:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR &= ~DMA_CSELR_C3S; 307:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 308:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else if (hdma->Instance == DMA1_Channel4) 532 .loc 1 308 0 533 0164 284A ldr r2, .L69+12 ARM GAS /tmp/ccJCJaQH.s page 16 534 0166 9342 cmp r3, r2 535 0168 32D0 beq .L66 309:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 310:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /*Reset DMA request*/ 311:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR &= ~DMA_CSELR_C4S; 312:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 313:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else if (hdma->Instance == DMA1_Channel5) 536 .loc 1 313 0 537 016a 284A ldr r2, .L69+16 538 016c 9342 cmp r3, r2 539 016e 35D0 beq .L67 314:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 315:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /*Reset DMA request*/ 316:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR &= ~DMA_CSELR_C5S; 317:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 318:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** #if !defined (STM32L011xx) && !defined (STM32L021xx) 319:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else if (hdma->Instance == DMA1_Channel6) 540 .loc 1 319 0 541 0170 274A ldr r2, .L69+20 542 0172 9342 cmp r3, r2 543 0174 38D0 beq .L68 320:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 321:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /*Reset DMA request*/ 322:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR &= ~DMA_CSELR_C6S; 323:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 324:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else if (hdma->Instance == DMA1_Channel7) 544 .loc 1 324 0 545 0176 284A ldr r2, .L69+28 546 0178 9342 cmp r3, r2 547 017a 15D1 bne .L27 325:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 326:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /*Reset DMA request*/ 327:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA1_CSELR->CSELR &= ~DMA_CSELR_C7S; 548 .loc 1 327 0 549 017c 274A ldr r2, .L69+32 550 017e 1368 ldr r3, [r2] 551 0180 2749 ldr r1, .L69+36 552 0182 0B40 ands r3, r1 553 0184 1360 str r3, [r2] 554 0186 0FE0 b .L27 555 .L54: 290:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 556 .loc 1 290 0 557 0188 4022 movs r2, #64 558 018a DFE7 b .L25 559 .L55: 560 018c 8022 movs r2, #128 561 018e D200 lsls r2, r2, #3 562 0190 DCE7 b .L25 563 .L56: 564 0192 8022 movs r2, #128 565 0194 D201 lsls r2, r2, #7 566 0196 D9E7 b .L25 567 .L57: 568 0198 8022 movs r2, #128 569 019a D202 lsls r2, r2, #11 570 019c D6E7 b .L25 ARM GAS /tmp/ccJCJaQH.s page 17 571 .L63: 296:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 572 .loc 1 296 0 573 019e 1F4A ldr r2, .L69+32 574 01a0 1368 ldr r3, [r2] 575 01a2 0F21 movs r1, #15 576 01a4 8B43 bics r3, r1 577 01a6 1360 str r3, [r2] 578 .L27: 328:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 329:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** #endif 330:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Initialise the error code */ 331:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; 579 .loc 1 331 0 580 01a8 0023 movs r3, #0 581 01aa C363 str r3, [r0, #60] 332:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 333:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Initialize the DMA state */ 334:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_RESET; 582 .loc 1 334 0 583 01ac 2522 movs r2, #37 584 01ae 8354 strb r3, [r0, r2] 335:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 336:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Release Lock */ 337:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_UNLOCK(hdma); 585 .loc 1 337 0 586 01b0 013A subs r2, r2, #1 587 01b2 8354 strb r3, [r0, r2] 338:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 339:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return HAL_OK; 588 .loc 1 339 0 589 01b4 0020 movs r0, #0 590 .LVL23: 591 .L21: 340:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 592 .loc 1 340 0 593 @ sp needed 594 01b6 00BD pop {pc} 595 .LVL24: 596 .L64: 301:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 597 .loc 1 301 0 598 01b8 184A ldr r2, .L69+32 599 01ba 1368 ldr r3, [r2] 600 01bc F021 movs r1, #240 601 01be 8B43 bics r3, r1 602 01c0 1360 str r3, [r2] 603 01c2 F1E7 b .L27 604 .L65: 306:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 605 .loc 1 306 0 606 01c4 154A ldr r2, .L69+32 607 01c6 1368 ldr r3, [r2] 608 01c8 1649 ldr r1, .L69+40 609 01ca 0B40 ands r3, r1 610 01cc 1360 str r3, [r2] 611 01ce EBE7 b .L27 ARM GAS /tmp/ccJCJaQH.s page 18 612 .L66: 311:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 613 .loc 1 311 0 614 01d0 124A ldr r2, .L69+32 615 01d2 1368 ldr r3, [r2] 616 01d4 1449 ldr r1, .L69+44 617 01d6 0B40 ands r3, r1 618 01d8 1360 str r3, [r2] 619 01da E5E7 b .L27 620 .L67: 316:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 621 .loc 1 316 0 622 01dc 0F4A ldr r2, .L69+32 623 01de 1368 ldr r3, [r2] 624 01e0 1249 ldr r1, .L69+48 625 01e2 0B40 ands r3, r1 626 01e4 1360 str r3, [r2] 627 01e6 DFE7 b .L27 628 .L68: 322:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 629 .loc 1 322 0 630 01e8 0C4A ldr r2, .L69+32 631 01ea 1368 ldr r3, [r2] 632 01ec 1049 ldr r1, .L69+52 633 01ee 0B40 ands r3, r1 634 01f0 1360 str r3, [r2] 635 01f2 D9E7 b .L27 636 .L33: 262:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 637 .loc 1 262 0 638 01f4 0120 movs r0, #1 639 .LVL25: 640 01f6 DEE7 b .L21 641 .LVL26: 642 .L34: 268:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 643 .loc 1 268 0 644 01f8 0120 movs r0, #1 645 .LVL27: 646 01fa DCE7 b .L21 647 .L70: 648 .align 2 649 .L69: 650 01fc 08000240 .word 1073872904 651 0200 1C000240 .word 1073872924 652 0204 30000240 .word 1073872944 653 0208 44000240 .word 1073872964 654 020c 58000240 .word 1073872984 655 0210 6C000240 .word 1073873004 656 0214 00000240 .word 1073872896 657 0218 80000240 .word 1073873024 658 021c A8000240 .word 1073873064 659 0220 FFFFFFF0 .word -251658241 660 0224 FFF0FFFF .word -3841 661 0228 FF0FFFFF .word -61441 662 022c FFFFF0FF .word -983041 663 0230 FFFF0FFF .word -15728641 ARM GAS /tmp/ccJCJaQH.s page 19 664 .cfi_endproc 665 .LFE40: 667 .section .text.HAL_DMA_Start,"ax",%progbits 668 .align 1 669 .global HAL_DMA_Start 670 .syntax unified 671 .code 16 672 .thumb_func 673 .fpu softvfp 675 HAL_DMA_Start: 676 .LFB41: 341:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 342:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 343:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @} 344:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 345:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 346:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** @addtogroup DMA_Exported_Functions_Group2 347:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief I/O operation functions 348:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * 349:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** @verbatim 350:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** =============================================================================== 351:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ##### IO operation functions ##### 352:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** =============================================================================== 353:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** [..] This section provides functions allowing to: 354:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) Configure the source, destination address and data length and Start DMA transfer 355:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) Configure the source, destination address and data length and 356:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** Start DMA transfer with interrupt 357:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) Abort DMA transfer 358:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) Poll for transfer complete 359:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) Handle DMA interrupt request 360:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 361:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** @endverbatim 362:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @{ 363:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 364:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 365:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 366:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief Starts the DMA Transfer. 367:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains 368:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 369:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address 370:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address 371:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination 372:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @retval HAL status 373:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 374:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, 375:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 677 .loc 1 375 0 678 .cfi_startproc 679 @ args = 0, pretend = 0, frame = 0 680 @ frame_needed = 0, uses_anonymous_args = 0 681 .LVL28: 682 0000 70B5 push {r4, r5, r6, lr} 683 .LCFI2: 684 .cfi_def_cfa_offset 16 685 .cfi_offset 4, -16 686 .cfi_offset 5, -12 687 .cfi_offset 6, -8 ARM GAS /tmp/ccJCJaQH.s page 20 688 .cfi_offset 14, -4 376:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Process locked */ 377:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_LOCK(hdma); 689 .loc 1 377 0 690 0002 2424 movs r4, #36 691 0004 045D ldrb r4, [r0, r4] 692 0006 012C cmp r4, #1 693 0008 1ED0 beq .L75 694 .loc 1 377 0 is_stmt 0 discriminator 2 695 000a 0126 movs r6, #1 696 000c 2424 movs r4, #36 697 000e 0655 strb r6, [r0, r4] 378:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 379:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Change DMA peripheral state */ 380:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY; 698 .loc 1 380 0 is_stmt 1 discriminator 2 699 0010 0134 adds r4, r4, #1 700 0012 0225 movs r5, #2 701 0014 0555 strb r5, [r0, r4] 381:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 382:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Check the parameters */ 383:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength)); 384:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 385:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Disable the peripheral */ 386:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); 702 .loc 1 386 0 discriminator 2 703 0016 0568 ldr r5, [r0] 704 0018 2C68 ldr r4, [r5] 705 001a B443 bics r4, r6 706 001c 2C60 str r4, [r5] 707 .LVL29: 708 .LBB6: 709 .LBB7: 387:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 388:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Configure the source, destination address and the data length */ 389:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength); 390:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 391:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Enable the Peripheral */ 392:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_ENABLE(hdma); 393:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 394:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return HAL_OK; 395:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 396:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 397:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 398:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief Start the DMA Transfer with interrupt enabled. 399:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains 400:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 401:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address 402:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address 403:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination 404:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @retval HAL status 405:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 406:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddres 407:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 408:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Process locked */ 409:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_LOCK(hdma); 410:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ARM GAS /tmp/ccJCJaQH.s page 21 411:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Change DMA peripheral state */ 412:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY; 413:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 414:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Check the parameters */ 415:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength)); 416:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 417:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Disable the peripheral */ 418:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); 419:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 420:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Configure the source, destination address and the data length */ 421:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength); 422:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 423:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Enable the transfer complete interrupt */ 424:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, DMA_IT_TC); 425:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 426:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Enable the Half transfer complete interrupt */ 427:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, DMA_IT_HT); 428:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 429:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Enable the transfer Error interrupt */ 430:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, DMA_IT_TE); 431:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 432:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Enable the Peripheral */ 433:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_ENABLE(hdma); 434:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 435:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return HAL_OK; 436:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 437:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 438:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 439:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief Aborts the DMA Transfer. 440:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains 441:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 442:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @retval HAL status 443:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 444:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma) 445:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 446:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** uint32_t tickstart = 0U; 447:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 448:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Disable the channel */ 449:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); 450:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 451:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Get timeout */ 452:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** tickstart = HAL_GetTick(); 453:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 454:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Check if the DMA Channel is effectively disabled */ 455:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** while((hdma->Instance->CCR & DMA_CCR_EN) != 0U) 456:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 457:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Check for the Timeout */ 458:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if( (HAL_GetTick() - tickstart ) > HAL_TIMEOUT_DMA_ABORT) 459:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 460:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Update error code */ 461:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->ErrorCode |= HAL_DMA_ERROR_TIMEOUT; 462:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 463:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Process Unlocked */ 464:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_UNLOCK(hdma); 465:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 466:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Change the DMA state */ 467:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_TIMEOUT; ARM GAS /tmp/ccJCJaQH.s page 22 468:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 469:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return HAL_TIMEOUT; 470:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 471:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 472:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Process Unlocked */ 473:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_UNLOCK(hdma); 474:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 475:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Change the DMA state*/ 476:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 477:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 478:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return HAL_OK; 479:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 480:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 481:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 482:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief Aborts the DMA Transfer in Interrupt mode. 483:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains 484:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * the configuration information for the specified DMA Stream. 485:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @retval HAL status 486:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 487:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma) 488:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 489:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 490:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 491:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State) 492:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 493:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* no transfer ongoing */ 494:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER; 495:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 496:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** status = HAL_ERROR; 497:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 498:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else 499:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 500:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Disable DMA IT */ 501:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE)); 502:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 503:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Disable the channel */ 504:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); 505:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 506:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Clear all flags */ 507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_GI_FLAG_INDEX(hdma)); 508:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 509:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Change the DMA state */ 510:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 511:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 512:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Process Unlocked */ 513:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_UNLOCK(hdma); 514:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 515:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Call User Abort callback */ 516:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(hdma->XferAbortCallback != NULL) 517:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 518:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->XferAbortCallback(hdma); 519:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 520:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 521:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return status; 522:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 523:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 524:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** ARM GAS /tmp/ccJCJaQH.s page 23 525:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief Polling for transfer complete. 526:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains 527:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 528:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param CompleteLevel: Specifies the DMA level complete. 529:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param Timeout: Timeout duration. 530:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @retval HAL status 531:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 532:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, uint32_t CompleteLevel, uint32_t 533:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 534:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** uint32_t temp; 535:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** uint32_t tickstart = 0U; 536:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 537:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Get the level transfer complete flag */ 538:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(CompleteLevel == HAL_DMA_FULL_TRANSFER) 539:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 540:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Transfer Complete flag */ 541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** temp = __HAL_DMA_GET_TC_FLAG_INDEX(hdma); 542:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 543:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else 544:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 545:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Half Transfer Complete flag */ 546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** temp = __HAL_DMA_GET_HT_FLAG_INDEX(hdma); 547:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 548:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 549:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Get timeout */ 550:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** tickstart = HAL_GetTick(); 551:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 552:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** while(__HAL_DMA_GET_FLAG(hdma, temp) == RESET) 553:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 554:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if((__HAL_DMA_GET_FLAG(hdma, __HAL_DMA_GET_TE_FLAG_INDEX(hdma)) != RESET)) 555:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 556:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Clear the transfer error flags */ 557:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TE_FLAG_INDEX(hdma)); 558:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 559:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Update error code */ 560:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** SET_BIT(hdma->ErrorCode, HAL_DMA_ERROR_TE); 561:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 562:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Change the DMA state */ 563:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State= HAL_DMA_STATE_ERROR; 564:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 565:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Process Unlocked */ 566:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_UNLOCK(hdma); 567:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 568:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return HAL_ERROR; 569:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 570:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Check for the Timeout */ 571:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(Timeout != HAL_MAX_DELAY) 572:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 573:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if((Timeout == 0U)||((HAL_GetTick() - tickstart ) > Timeout)) 574:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 575:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Update error code */ 576:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** SET_BIT(hdma->ErrorCode, HAL_DMA_ERROR_TIMEOUT); 577:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 578:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Change the DMA state */ 579:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State= HAL_DMA_STATE_TIMEOUT; 580:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 581:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Process Unlocked */ ARM GAS /tmp/ccJCJaQH.s page 24 582:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_UNLOCK(hdma); 583:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 584:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return HAL_TIMEOUT; 585:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 586:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 587:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 588:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 589:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(CompleteLevel == HAL_DMA_FULL_TRANSFER) 590:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 591:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Clear the transfer complete flag */ 592:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TC_FLAG_INDEX(hdma)); 593:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 594:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* The selected Channelx EN bit is cleared (DMA is disabled and 595:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** all transfers are complete) */ 596:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 597:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 598:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Process unlocked */ 599:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_UNLOCK(hdma); 600:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 601:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else 602:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 603:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Clear the half transfer complete flag */ 604:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_HT_FLAG_INDEX(hdma)); 605:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 606:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* The selected Channelx EN bit is cleared (DMA is disabled and 607:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** all transfers are complete) */ 608:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY_HALF; 609:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 610:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Process unlocked */ 611:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_UNLOCK(hdma); 612:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 613:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 614:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return HAL_OK; 615:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 616:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 617:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief Handles DMA interrupt request. 618:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains 619:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 620:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @retval None 621:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 622:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma) 623:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 624:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Transfer Error Interrupt management ***************************************/ 625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(__HAL_DMA_GET_FLAG(hdma, __HAL_DMA_GET_TE_FLAG_INDEX(hdma)) != RESET) 626:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 627:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(__HAL_DMA_GET_IT_SOURCE(hdma, DMA_IT_TE) != RESET) 628:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 629:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Disable the transfer error interrupt */ 630:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_TE); 631:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 632:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Clear the transfer error flag */ 633:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TE_FLAG_INDEX(hdma)); 634:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 635:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Update error code */ 636:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->ErrorCode |= HAL_DMA_ERROR_TE; 637:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 638:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Change the DMA state */ ARM GAS /tmp/ccJCJaQH.s page 25 639:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_ERROR; 640:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 641:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Process Unlocked */ 642:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_UNLOCK(hdma); 643:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 644:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if (hdma->XferErrorCallback != NULL) 645:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 646:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Transfer error callback */ 647:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->XferErrorCallback(hdma); 648:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 649:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 650:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 651:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 652:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Half Transfer Complete Interrupt management ******************************/ 653:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(__HAL_DMA_GET_FLAG(hdma, __HAL_DMA_GET_HT_FLAG_INDEX(hdma)) != RESET) 654:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 655:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(__HAL_DMA_GET_IT_SOURCE(hdma, DMA_IT_HT) != RESET) 656:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 657:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Disable the half transfer interrupt if the DMA mode is not CIRCULAR */ 658:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U) 659:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 660:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Disable the half transfer interrupt */ 661:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_HT); 662:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 663:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Clear the half transfer complete flag */ 664:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_HT_FLAG_INDEX(hdma)); 665:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 666:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Change DMA peripheral state */ 667:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY_HALF; 668:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 669:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(hdma->XferHalfCpltCallback != NULL) 670:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 671:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Half transfer callback */ 672:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->XferHalfCpltCallback(hdma); 673:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 674:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 675:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 676:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 677:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Transfer Complete Interrupt management ***********************************/ 678:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(__HAL_DMA_GET_FLAG(hdma, __HAL_DMA_GET_TC_FLAG_INDEX(hdma)) != RESET) 679:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 680:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(__HAL_DMA_GET_IT_SOURCE(hdma, DMA_IT_TC) != RESET) 681:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 682:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U) 683:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 684:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Disable the transfer complete interrupt */ 685:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_TC); 686:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 687:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Clear the transfer complete flag */ 688:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TC_FLAG_INDEX(hdma)); 689:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 690:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Update error code */ 691:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->ErrorCode |= HAL_DMA_ERROR_NONE; 692:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 693:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Change the DMA state */ 694:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 695:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ARM GAS /tmp/ccJCJaQH.s page 26 696:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Process Unlocked */ 697:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** __HAL_UNLOCK(hdma); 698:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 699:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if(hdma->XferCpltCallback != NULL) 700:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 701:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Transfer complete callback */ 702:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->XferCpltCallback(hdma); 703:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 704:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 705:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 706:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 707:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 708:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 709:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @} 710:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 711:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 712:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** @addtogroup DMA_Exported_Functions_Group3 713:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief Peripheral State functions 714:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * 715:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** @verbatim 716:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** =============================================================================== 717:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ##### Peripheral State functions ##### 718:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** =============================================================================== 719:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** [..] 720:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** This subsection provides functions allowing to 721:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) Check the DMA state 722:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** (+) Get error code 723:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 724:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** @endverbatim 725:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @{ 726:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 727:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 728:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 729:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief Returns the DMA state. 730:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains 731:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 732:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @retval HAL state 733:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 734:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** HAL_DMA_StateTypeDef HAL_DMA_GetState(DMA_HandleTypeDef *hdma) 735:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 736:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return hdma->State; 737:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 738:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 739:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 740:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief Return the DMA error code 741:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains 742:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 743:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @retval DMA Error Code 744:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 745:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma) 746:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 747:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return hdma->ErrorCode; 748:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 749:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 750:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 751:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @} 752:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ ARM GAS /tmp/ccJCJaQH.s page 27 753:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 754:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 755:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @} 756:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 757:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Private macro -------------------------------------------------------------*/ 758:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Private variables ---------------------------------------------------------*/ 759:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 760:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 761:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Private function prototypes -----------------------------------------------*/ 762:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** @addtogroup DMA_Private 763:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @{ 764:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 765:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 766:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* 767:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @brief Sets the DMA Transfer parameter. 768:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains 769:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 770:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address 771:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address 772:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination 773:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** * @retval HAL status 774:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** */ 775:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32 776:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 777:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Configure DMA Channel data length */ 778:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Instance->CNDTR = DataLength; 710 .loc 1 778 0 discriminator 2 711 001e 0468 ldr r4, [r0] 712 0020 6360 str r3, [r4, #4] 779:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 780:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Peripheral to Memory */ 781:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** if((hdma->Init.Direction) == DMA_MEMORY_TO_PERIPH) 713 .loc 1 781 0 discriminator 2 714 0022 8368 ldr r3, [r0, #8] 715 .LVL30: 716 0024 102B cmp r3, #16 717 0026 0AD0 beq .L76 782:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 783:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Configure DMA Channel destination address */ 784:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Instance->CPAR = DstAddress; 785:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 786:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Configure DMA Channel source address */ 787:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Instance->CMAR = SrcAddress; 788:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 789:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Memory to Peripheral */ 790:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** else 791:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 792:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Configure DMA Channel source address */ 793:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Instance->CPAR = SrcAddress; 718 .loc 1 793 0 719 0028 0368 ldr r3, [r0] 720 002a 9960 str r1, [r3, #8] 721 .LVL31: 794:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 795:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Configure DMA Channel destination address */ 796:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** hdma->Instance->CMAR = DstAddress; 722 .loc 1 796 0 ARM GAS /tmp/ccJCJaQH.s page 28 723 002c 0368 ldr r3, [r0] 724 002e DA60 str r2, [r3, #12] 725 .L74: 726 .LVL32: 727 .LBE7: 728 .LBE6: 392:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 729 .loc 1 392 0 discriminator 2 730 0030 0268 ldr r2, [r0] 731 .LVL33: 732 0032 1368 ldr r3, [r2] 733 0034 0121 movs r1, #1 734 .LVL34: 735 0036 0B43 orrs r3, r1 736 0038 1360 str r3, [r2] 394:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 737 .loc 1 394 0 discriminator 2 738 003a 0020 movs r0, #0 739 .LVL35: 740 .L72: 395:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 741 .loc 1 395 0 742 @ sp needed 743 003c 70BD pop {r4, r5, r6, pc} 744 .LVL36: 745 .L76: 746 .LBB9: 747 .LBB8: 784:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 748 .loc 1 784 0 749 003e 0368 ldr r3, [r0] 750 0040 9A60 str r2, [r3, #8] 751 .LVL37: 787:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 752 .loc 1 787 0 753 0042 0368 ldr r3, [r0] 754 0044 D960 str r1, [r3, #12] 755 0046 F3E7 b .L74 756 .LVL38: 757 .L75: 758 .LBE8: 759 .LBE9: 377:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 760 .loc 1 377 0 761 0048 0220 movs r0, #2 762 .LVL39: 763 004a F7E7 b .L72 764 .cfi_endproc 765 .LFE41: 767 .section .text.HAL_DMA_Start_IT,"ax",%progbits 768 .align 1 769 .global HAL_DMA_Start_IT 770 .syntax unified 771 .code 16 772 .thumb_func 773 .fpu softvfp 775 HAL_DMA_Start_IT: ARM GAS /tmp/ccJCJaQH.s page 29 776 .LFB42: 407:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Process locked */ 777 .loc 1 407 0 778 .cfi_startproc 779 @ args = 0, pretend = 0, frame = 0 780 @ frame_needed = 0, uses_anonymous_args = 0 781 .LVL40: 782 0000 70B5 push {r4, r5, r6, lr} 783 .LCFI3: 784 .cfi_def_cfa_offset 16 785 .cfi_offset 4, -16 786 .cfi_offset 5, -12 787 .cfi_offset 6, -8 788 .cfi_offset 14, -4 409:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 789 .loc 1 409 0 790 0002 2424 movs r4, #36 791 0004 045D ldrb r4, [r0, r4] 792 0006 012C cmp r4, #1 793 0008 2DD0 beq .L81 409:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 794 .loc 1 409 0 is_stmt 0 discriminator 2 795 000a 0126 movs r6, #1 796 000c 2424 movs r4, #36 797 000e 0655 strb r6, [r0, r4] 412:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 798 .loc 1 412 0 is_stmt 1 discriminator 2 799 0010 0134 adds r4, r4, #1 800 0012 0225 movs r5, #2 801 0014 0555 strb r5, [r0, r4] 418:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 802 .loc 1 418 0 discriminator 2 803 0016 0568 ldr r5, [r0] 804 0018 2C68 ldr r4, [r5] 805 001a B443 bics r4, r6 806 001c 2C60 str r4, [r5] 807 .LVL41: 808 .LBB10: 809 .LBB11: 778:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 810 .loc 1 778 0 discriminator 2 811 001e 0468 ldr r4, [r0] 812 0020 6360 str r3, [r4, #4] 781:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 813 .loc 1 781 0 discriminator 2 814 0022 8368 ldr r3, [r0, #8] 815 .LVL42: 816 0024 102B cmp r3, #16 817 0026 19D0 beq .L82 793:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 818 .loc 1 793 0 819 0028 0368 ldr r3, [r0] 820 002a 9960 str r1, [r3, #8] 821 .LVL43: 822 .loc 1 796 0 823 002c 0368 ldr r3, [r0] 824 002e DA60 str r2, [r3, #12] ARM GAS /tmp/ccJCJaQH.s page 30 825 .L80: 826 .LVL44: 827 .LBE11: 828 .LBE10: 424:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 829 .loc 1 424 0 discriminator 2 830 0030 0268 ldr r2, [r0] 831 .LVL45: 832 0032 1368 ldr r3, [r2] 833 0034 0221 movs r1, #2 834 .LVL46: 835 0036 0B43 orrs r3, r1 836 0038 1360 str r3, [r2] 427:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 837 .loc 1 427 0 discriminator 2 838 003a 0268 ldr r2, [r0] 839 003c 1368 ldr r3, [r2] 840 003e 0231 adds r1, r1, #2 841 0040 0B43 orrs r3, r1 842 0042 1360 str r3, [r2] 430:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 843 .loc 1 430 0 discriminator 2 844 0044 0268 ldr r2, [r0] 845 0046 1368 ldr r3, [r2] 846 0048 0431 adds r1, r1, #4 847 004a 0B43 orrs r3, r1 848 004c 1360 str r3, [r2] 433:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 849 .loc 1 433 0 discriminator 2 850 004e 0268 ldr r2, [r0] 851 0050 1368 ldr r3, [r2] 852 0052 0739 subs r1, r1, #7 853 0054 0B43 orrs r3, r1 854 0056 1360 str r3, [r2] 435:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 855 .loc 1 435 0 discriminator 2 856 0058 0020 movs r0, #0 857 .LVL47: 858 .L78: 436:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 859 .loc 1 436 0 860 @ sp needed 861 005a 70BD pop {r4, r5, r6, pc} 862 .LVL48: 863 .L82: 864 .LBB13: 865 .LBB12: 784:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 866 .loc 1 784 0 867 005c 0368 ldr r3, [r0] 868 005e 9A60 str r2, [r3, #8] 869 .LVL49: 787:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 870 .loc 1 787 0 871 0060 0368 ldr r3, [r0] 872 0062 D960 str r1, [r3, #12] 873 0064 E4E7 b .L80 ARM GAS /tmp/ccJCJaQH.s page 31 874 .LVL50: 875 .L81: 876 .LBE12: 877 .LBE13: 409:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 878 .loc 1 409 0 879 0066 0220 movs r0, #2 880 .LVL51: 881 0068 F7E7 b .L78 882 .cfi_endproc 883 .LFE42: 885 .section .text.HAL_DMA_Abort,"ax",%progbits 886 .align 1 887 .global HAL_DMA_Abort 888 .syntax unified 889 .code 16 890 .thumb_func 891 .fpu softvfp 893 HAL_DMA_Abort: 894 .LFB43: 445:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** uint32_t tickstart = 0U; 895 .loc 1 445 0 896 .cfi_startproc 897 @ args = 0, pretend = 0, frame = 0 898 @ frame_needed = 0, uses_anonymous_args = 0 899 .LVL52: 900 0000 70B5 push {r4, r5, r6, lr} 901 .LCFI4: 902 .cfi_def_cfa_offset 16 903 .cfi_offset 4, -16 904 .cfi_offset 5, -12 905 .cfi_offset 6, -8 906 .cfi_offset 14, -4 907 0002 0400 movs r4, r0 908 .LVL53: 449:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 909 .loc 1 449 0 910 0004 0268 ldr r2, [r0] 911 0006 1368 ldr r3, [r2] 912 0008 0121 movs r1, #1 913 000a 8B43 bics r3, r1 914 000c 1360 str r3, [r2] 452:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 915 .loc 1 452 0 916 000e FFF7FEFF bl HAL_GetTick 917 .LVL54: 918 0012 0500 movs r5, r0 919 .LVL55: 920 .L84: 455:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 921 .loc 1 455 0 922 0014 2368 ldr r3, [r4] 923 0016 1B68 ldr r3, [r3] 924 0018 DB07 lsls r3, r3, #31 925 001a 12D5 bpl .L87 458:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 926 .loc 1 458 0 ARM GAS /tmp/ccJCJaQH.s page 32 927 001c FFF7FEFF bl HAL_GetTick 928 .LVL56: 929 0020 401B subs r0, r0, r5 930 0022 FA23 movs r3, #250 931 0024 9B00 lsls r3, r3, #2 932 0026 9842 cmp r0, r3 933 0028 F4D9 bls .L84 461:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 934 .loc 1 461 0 935 002a E36B ldr r3, [r4, #60] 936 002c 2022 movs r2, #32 937 002e 1343 orrs r3, r2 938 0030 E363 str r3, [r4, #60] 464:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 939 .loc 1 464 0 940 0032 2423 movs r3, #36 941 0034 0022 movs r2, #0 942 0036 E254 strb r2, [r4, r3] 467:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 943 .loc 1 467 0 944 0038 0133 adds r3, r3, #1 945 003a 0332 adds r2, r2, #3 946 003c E254 strb r2, [r4, r3] 469:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 947 .loc 1 469 0 948 003e 0320 movs r0, #3 949 0040 06E0 b .L85 950 .L87: 473:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 951 .loc 1 473 0 952 0042 2423 movs r3, #36 953 0044 0022 movs r2, #0 954 0046 E254 strb r2, [r4, r3] 476:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 955 .loc 1 476 0 956 0048 0133 adds r3, r3, #1 957 004a 0132 adds r2, r2, #1 958 004c E254 strb r2, [r4, r3] 478:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 959 .loc 1 478 0 960 004e 0020 movs r0, #0 961 .L85: 479:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 962 .loc 1 479 0 963 @ sp needed 964 .LVL57: 965 .LVL58: 966 0050 70BD pop {r4, r5, r6, pc} 967 .cfi_endproc 968 .LFE43: 970 .section .text.HAL_DMA_Abort_IT,"ax",%progbits 971 .align 1 972 .global HAL_DMA_Abort_IT 973 .syntax unified 974 .code 16 975 .thumb_func 976 .fpu softvfp ARM GAS /tmp/ccJCJaQH.s page 33 978 HAL_DMA_Abort_IT: 979 .LFB44: 488:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 980 .loc 1 488 0 981 .cfi_startproc 982 @ args = 0, pretend = 0, frame = 0 983 @ frame_needed = 0, uses_anonymous_args = 0 984 .LVL59: 985 0000 10B5 push {r4, lr} 986 .LCFI5: 987 .cfi_def_cfa_offset 8 988 .cfi_offset 4, -8 989 .cfi_offset 14, -4 990 .LVL60: 491:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 991 .loc 1 491 0 992 0002 2523 movs r3, #37 993 0004 C35C ldrb r3, [r0, r3] 994 0006 022B cmp r3, #2 995 0008 03D0 beq .L89 494:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 996 .loc 1 494 0 997 000a 0423 movs r3, #4 998 000c C363 str r3, [r0, #60] 999 .LVL61: 496:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1000 .loc 1 496 0 1001 000e 0120 movs r0, #1 1002 .LVL62: 1003 .L90: 522:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1004 .loc 1 522 0 1005 @ sp needed 1006 0010 10BD pop {r4, pc} 1007 .LVL63: 1008 .L89: 501:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1009 .loc 1 501 0 1010 0012 0268 ldr r2, [r0] 1011 0014 1368 ldr r3, [r2] 1012 0016 0E21 movs r1, #14 1013 0018 8B43 bics r3, r1 1014 001a 1360 str r3, [r2] 504:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1015 .loc 1 504 0 1016 001c 0268 ldr r2, [r0] 1017 001e 1368 ldr r3, [r2] 1018 0020 0D39 subs r1, r1, #13 1019 0022 8B43 bics r3, r1 1020 0024 1360 str r3, [r2] 507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1021 .loc 1 507 0 1022 0026 0368 ldr r3, [r0] 1023 0028 194A ldr r2, .L100 1024 002a 9342 cmp r3, r2 1025 002c 14D0 beq .L92 507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ARM GAS /tmp/ccJCJaQH.s page 34 1026 .loc 1 507 0 is_stmt 0 discriminator 1 1027 002e 194A ldr r2, .L100+4 1028 0030 9342 cmp r3, r2 1029 0032 20D0 beq .L93 507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1030 .loc 1 507 0 discriminator 3 1031 0034 184A ldr r2, .L100+8 1032 0036 9342 cmp r3, r2 1033 0038 1FD0 beq .L94 507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1034 .loc 1 507 0 discriminator 5 1035 003a 184A ldr r2, .L100+12 1036 003c 9342 cmp r3, r2 1037 003e 1FD0 beq .L95 507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1038 .loc 1 507 0 discriminator 7 1039 0040 174A ldr r2, .L100+16 1040 0042 9342 cmp r3, r2 1041 0044 1FD0 beq .L96 507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1042 .loc 1 507 0 discriminator 9 1043 0046 174A ldr r2, .L100+20 1044 0048 9342 cmp r3, r2 1045 004a 02D0 beq .L99 507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1046 .loc 1 507 0 1047 004c 8022 movs r2, #128 1048 004e 5204 lsls r2, r2, #17 1049 0050 03E0 b .L91 1050 .L99: 1051 0052 8022 movs r2, #128 1052 0054 5203 lsls r2, r2, #13 1053 0056 00E0 b .L91 1054 .L92: 1055 0058 0122 movs r2, #1 1056 .L91: 507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1057 .loc 1 507 0 discriminator 24 1058 005a 134B ldr r3, .L100+24 1059 005c 5A60 str r2, [r3, #4] 510:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1060 .loc 1 510 0 is_stmt 1 discriminator 24 1061 005e 2523 movs r3, #37 1062 0060 0122 movs r2, #1 1063 0062 C254 strb r2, [r0, r3] 513:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1064 .loc 1 513 0 discriminator 24 1065 0064 013B subs r3, r3, #1 1066 0066 0022 movs r2, #0 1067 0068 C254 strb r2, [r0, r3] 516:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1068 .loc 1 516 0 discriminator 24 1069 006a 836B ldr r3, [r0, #56] 1070 006c 002B cmp r3, #0 1071 006e 0DD0 beq .L98 518:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1072 .loc 1 518 0 ARM GAS /tmp/ccJCJaQH.s page 35 1073 0070 9847 blx r3 1074 .LVL64: 489:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1075 .loc 1 489 0 1076 0072 0020 movs r0, #0 1077 0074 CCE7 b .L90 1078 .LVL65: 1079 .L93: 507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1080 .loc 1 507 0 1081 0076 1022 movs r2, #16 1082 0078 EFE7 b .L91 1083 .L94: 1084 007a 8022 movs r2, #128 1085 007c 5200 lsls r2, r2, #1 1086 007e ECE7 b .L91 1087 .L95: 1088 0080 8022 movs r2, #128 1089 0082 5201 lsls r2, r2, #5 1090 0084 E9E7 b .L91 1091 .L96: 1092 0086 8022 movs r2, #128 1093 0088 5202 lsls r2, r2, #9 1094 008a E6E7 b .L91 1095 .L98: 489:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1096 .loc 1 489 0 1097 008c 0020 movs r0, #0 1098 .LVL66: 1099 008e BFE7 b .L90 1100 .L101: 1101 .align 2 1102 .L100: 1103 0090 08000240 .word 1073872904 1104 0094 1C000240 .word 1073872924 1105 0098 30000240 .word 1073872944 1106 009c 44000240 .word 1073872964 1107 00a0 58000240 .word 1073872984 1108 00a4 6C000240 .word 1073873004 1109 00a8 00000240 .word 1073872896 1110 .cfi_endproc 1111 .LFE44: 1113 .section .text.HAL_DMA_PollForTransfer,"ax",%progbits 1114 .align 1 1115 .global HAL_DMA_PollForTransfer 1116 .syntax unified 1117 .code 16 1118 .thumb_func 1119 .fpu softvfp 1121 HAL_DMA_PollForTransfer: 1122 .LFB45: 533:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** uint32_t temp; 1123 .loc 1 533 0 1124 .cfi_startproc 1125 @ args = 0, pretend = 0, frame = 8 1126 @ frame_needed = 0, uses_anonymous_args = 0 1127 .LVL67: ARM GAS /tmp/ccJCJaQH.s page 36 1128 0000 F0B5 push {r4, r5, r6, r7, lr} 1129 .LCFI6: 1130 .cfi_def_cfa_offset 20 1131 .cfi_offset 4, -20 1132 .cfi_offset 5, -16 1133 .cfi_offset 6, -12 1134 .cfi_offset 7, -8 1135 .cfi_offset 14, -4 1136 0002 83B0 sub sp, sp, #12 1137 .LCFI7: 1138 .cfi_def_cfa_offset 32 1139 0004 0500 movs r5, r0 1140 0006 0C00 movs r4, r1 1141 0008 1700 movs r7, r2 1142 .LVL68: 538:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1143 .loc 1 538 0 1144 000a 0029 cmp r1, #0 1145 000c 18D1 bne .L103 541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1146 .loc 1 541 0 1147 000e 0368 ldr r3, [r0] 1148 0010 7F4A ldr r2, .L153 1149 .LVL69: 1150 0012 9342 cmp r3, r2 1151 0014 2DD0 beq .L115 541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1152 .loc 1 541 0 is_stmt 0 discriminator 1 1153 0016 7F4A ldr r2, .L153+4 1154 0018 9342 cmp r3, r2 1155 001a 2FD0 beq .L116 541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1156 .loc 1 541 0 discriminator 3 1157 001c 7E4A ldr r2, .L153+8 1158 001e 9342 cmp r3, r2 1159 0020 2ED0 beq .L117 541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1160 .loc 1 541 0 discriminator 5 1161 0022 7E4A ldr r2, .L153+12 1162 0024 9342 cmp r3, r2 1163 0026 2ED0 beq .L118 541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1164 .loc 1 541 0 discriminator 7 1165 0028 7D4A ldr r2, .L153+16 1166 002a 9342 cmp r3, r2 1167 002c 2ED0 beq .L119 541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1168 .loc 1 541 0 discriminator 9 1169 002e 7D4A ldr r2, .L153+20 1170 0030 9342 cmp r3, r2 1171 0032 02D0 beq .L145 541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1172 .loc 1 541 0 1173 0034 8026 movs r6, #128 1174 0036 B604 lsls r6, r6, #18 1175 0038 1CE0 b .L104 1176 .L145: ARM GAS /tmp/ccJCJaQH.s page 37 1177 003a 8026 movs r6, #128 1178 003c B603 lsls r6, r6, #14 1179 003e 19E0 b .L104 1180 .LVL70: 1181 .L103: 546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1182 .loc 1 546 0 is_stmt 1 1183 0040 0368 ldr r3, [r0] 1184 0042 734A ldr r2, .L153 1185 .LVL71: 1186 0044 9342 cmp r3, r2 1187 0046 24D0 beq .L121 546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1188 .loc 1 546 0 is_stmt 0 discriminator 1 1189 0048 724A ldr r2, .L153+4 1190 004a 9342 cmp r3, r2 1191 004c 23D0 beq .L122 546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1192 .loc 1 546 0 discriminator 3 1193 004e 724A ldr r2, .L153+8 1194 0050 9342 cmp r3, r2 1195 0052 22D0 beq .L123 546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1196 .loc 1 546 0 discriminator 5 1197 0054 714A ldr r2, .L153+12 1198 0056 9342 cmp r3, r2 1199 0058 22D0 beq .L124 546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1200 .loc 1 546 0 discriminator 7 1201 005a 714A ldr r2, .L153+16 1202 005c 9342 cmp r3, r2 1203 005e 22D0 beq .L125 546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1204 .loc 1 546 0 discriminator 9 1205 0060 704A ldr r2, .L153+20 1206 0062 9342 cmp r3, r2 1207 0064 02D0 beq .L146 546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1208 .loc 1 546 0 1209 0066 8026 movs r6, #128 1210 0068 F604 lsls r6, r6, #19 1211 006a 03E0 b .L104 1212 .L146: 1213 006c 8026 movs r6, #128 1214 006e F603 lsls r6, r6, #15 1215 0070 00E0 b .L104 1216 .L115: 541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1217 .loc 1 541 0 is_stmt 1 1218 0072 0226 movs r6, #2 1219 .L104: 1220 .LVL72: 550:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1221 .loc 1 550 0 1222 0074 FFF7FEFF bl HAL_GetTick 1223 .LVL73: 1224 0078 0190 str r0, [sp, #4] ARM GAS /tmp/ccJCJaQH.s page 38 1225 .LVL74: 552:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1226 .loc 1 552 0 1227 007a 1FE0 b .L109 1228 .LVL75: 1229 .L116: 541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1230 .loc 1 541 0 1231 007c 2026 movs r6, #32 1232 007e F9E7 b .L104 1233 .L117: 1234 0080 8026 movs r6, #128 1235 0082 B600 lsls r6, r6, #2 1236 0084 F6E7 b .L104 1237 .L118: 1238 0086 8026 movs r6, #128 1239 0088 B601 lsls r6, r6, #6 1240 008a F3E7 b .L104 1241 .L119: 1242 008c 8026 movs r6, #128 1243 008e B602 lsls r6, r6, #10 1244 0090 F0E7 b .L104 1245 .L121: 546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1246 .loc 1 546 0 1247 0092 0426 movs r6, #4 1248 0094 EEE7 b .L104 1249 .L122: 1250 0096 4026 movs r6, #64 1251 0098 ECE7 b .L104 1252 .L123: 1253 009a 8026 movs r6, #128 1254 009c F600 lsls r6, r6, #3 1255 009e E9E7 b .L104 1256 .L124: 1257 00a0 8026 movs r6, #128 1258 00a2 F601 lsls r6, r6, #7 1259 00a4 E6E7 b .L104 1260 .L125: 1261 00a6 8026 movs r6, #128 1262 00a8 F602 lsls r6, r6, #11 1263 00aa E3E7 b .L104 1264 .LVL76: 1265 .L150: 554:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1266 .loc 1 554 0 1267 00ac 8023 movs r3, #128 1268 00ae 1B04 lsls r3, r3, #16 1269 00b0 00E0 b .L106 1270 .L127: 1271 00b2 0823 movs r3, #8 1272 .L106: 554:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1273 .loc 1 554 0 is_stmt 0 discriminator 24 1274 00b4 1342 tst r3, r2 1275 00b6 28D1 bne .L147 571:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { ARM GAS /tmp/ccJCJaQH.s page 39 1276 .loc 1 571 0 is_stmt 1 1277 00b8 7B1C adds r3, r7, #1 1278 00ba 35D1 bne .L148 1279 .L109: 552:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1280 .loc 1 552 0 1281 00bc 5A4B ldr r3, .L153+24 1282 00be 1B68 ldr r3, [r3] 1283 00c0 1E42 tst r6, r3 1284 00c2 45D1 bne .L149 554:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1285 .loc 1 554 0 1286 00c4 584B ldr r3, .L153+24 1287 00c6 1A68 ldr r2, [r3] 1288 00c8 2B68 ldr r3, [r5] 1289 00ca 5149 ldr r1, .L153 1290 00cc 8B42 cmp r3, r1 1291 00ce F0D0 beq .L127 554:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1292 .loc 1 554 0 is_stmt 0 discriminator 1 1293 00d0 5049 ldr r1, .L153+4 1294 00d2 8B42 cmp r3, r1 1295 00d4 0ED0 beq .L128 554:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1296 .loc 1 554 0 discriminator 3 1297 00d6 5049 ldr r1, .L153+8 1298 00d8 8B42 cmp r3, r1 1299 00da 0DD0 beq .L129 554:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1300 .loc 1 554 0 discriminator 5 1301 00dc 4F49 ldr r1, .L153+12 1302 00de 8B42 cmp r3, r1 1303 00e0 0DD0 beq .L130 554:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1304 .loc 1 554 0 discriminator 7 1305 00e2 4F49 ldr r1, .L153+16 1306 00e4 8B42 cmp r3, r1 1307 00e6 0DD0 beq .L131 554:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1308 .loc 1 554 0 discriminator 9 1309 00e8 4E49 ldr r1, .L153+20 1310 00ea 8B42 cmp r3, r1 1311 00ec DED0 beq .L150 554:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1312 .loc 1 554 0 1313 00ee 8023 movs r3, #128 1314 00f0 1B05 lsls r3, r3, #20 1315 00f2 DFE7 b .L106 1316 .L128: 1317 00f4 8023 movs r3, #128 1318 00f6 DDE7 b .L106 1319 .L129: 1320 00f8 8023 movs r3, #128 1321 00fa 1B01 lsls r3, r3, #4 1322 00fc DAE7 b .L106 1323 .L130: 1324 00fe 8023 movs r3, #128 ARM GAS /tmp/ccJCJaQH.s page 40 1325 0100 1B02 lsls r3, r3, #8 1326 0102 D7E7 b .L106 1327 .L131: 1328 0104 8023 movs r3, #128 1329 0106 1B03 lsls r3, r3, #12 1330 0108 D4E7 b .L106 1331 .L147: 557:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1332 .loc 1 557 0 is_stmt 1 discriminator 24 1333 010a 474A ldr r2, .L153+24 1334 010c 5360 str r3, [r2, #4] 1335 .LVL77: 560:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1336 .loc 1 560 0 discriminator 24 1337 010e EB6B ldr r3, [r5, #60] 1338 0110 0122 movs r2, #1 1339 0112 1343 orrs r3, r2 1340 0114 EB63 str r3, [r5, #60] 563:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1341 .loc 1 563 0 discriminator 24 1342 0116 2523 movs r3, #37 1343 0118 0332 adds r2, r2, #3 1344 011a EA54 strb r2, [r5, r3] 566:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1345 .loc 1 566 0 discriminator 24 1346 011c 013B subs r3, r3, #1 1347 011e 0022 movs r2, #0 1348 0120 EA54 strb r2, [r5, r3] 568:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1349 .loc 1 568 0 discriminator 24 1350 0122 0120 movs r0, #1 1351 .L108: 615:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /** 1352 .loc 1 615 0 1353 0124 03B0 add sp, sp, #12 1354 @ sp needed 1355 .LVL78: 1356 .LVL79: 1357 .LVL80: 1358 .LVL81: 1359 0126 F0BD pop {r4, r5, r6, r7, pc} 1360 .LVL82: 1361 .L148: 573:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1362 .loc 1 573 0 1363 0128 002F cmp r7, #0 1364 012a 05D0 beq .L110 573:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1365 .loc 1 573 0 is_stmt 0 discriminator 1 1366 012c FFF7FEFF bl HAL_GetTick 1367 .LVL83: 1368 0130 019B ldr r3, [sp, #4] 1369 0132 C01A subs r0, r0, r3 1370 0134 B842 cmp r0, r7 1371 0136 C1D9 bls .L109 1372 .L110: 576:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ARM GAS /tmp/ccJCJaQH.s page 41 1373 .loc 1 576 0 is_stmt 1 1374 0138 EB6B ldr r3, [r5, #60] 1375 013a 2022 movs r2, #32 1376 013c 1343 orrs r3, r2 1377 013e EB63 str r3, [r5, #60] 579:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1378 .loc 1 579 0 1379 0140 2523 movs r3, #37 1380 0142 1D3A subs r2, r2, #29 1381 0144 EA54 strb r2, [r5, r3] 582:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1382 .loc 1 582 0 1383 0146 013B subs r3, r3, #1 1384 0148 0022 movs r2, #0 1385 014a EA54 strb r2, [r5, r3] 584:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1386 .loc 1 584 0 1387 014c 0320 movs r0, #3 1388 014e E9E7 b .L108 1389 .L149: 589:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1390 .loc 1 589 0 1391 0150 002C cmp r4, #0 1392 0152 2ED1 bne .L112 592:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1393 .loc 1 592 0 1394 0154 2B68 ldr r3, [r5] 1395 0156 2E4A ldr r2, .L153 1396 0158 9342 cmp r3, r2 1397 015a 14D0 beq .L133 592:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1398 .loc 1 592 0 is_stmt 0 discriminator 1 1399 015c 2D4A ldr r2, .L153+4 1400 015e 9342 cmp r3, r2 1401 0160 1CD0 beq .L134 592:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1402 .loc 1 592 0 discriminator 3 1403 0162 2D4A ldr r2, .L153+8 1404 0164 9342 cmp r3, r2 1405 0166 1BD0 beq .L135 592:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1406 .loc 1 592 0 discriminator 5 1407 0168 2C4A ldr r2, .L153+12 1408 016a 9342 cmp r3, r2 1409 016c 1BD0 beq .L136 592:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1410 .loc 1 592 0 discriminator 7 1411 016e 2C4A ldr r2, .L153+16 1412 0170 9342 cmp r3, r2 1413 0172 1BD0 beq .L137 592:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1414 .loc 1 592 0 discriminator 9 1415 0174 2B4A ldr r2, .L153+20 1416 0176 9342 cmp r3, r2 1417 0178 02D0 beq .L151 592:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1418 .loc 1 592 0 ARM GAS /tmp/ccJCJaQH.s page 42 1419 017a 8022 movs r2, #128 1420 017c 9204 lsls r2, r2, #18 1421 017e 03E0 b .L113 1422 .L151: 1423 0180 8022 movs r2, #128 1424 0182 9203 lsls r2, r2, #14 1425 0184 00E0 b .L113 1426 .L133: 1427 0186 0222 movs r2, #2 1428 .L113: 592:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1429 .loc 1 592 0 discriminator 24 1430 0188 274B ldr r3, .L153+24 1431 018a 5A60 str r2, [r3, #4] 1432 .LVL84: 596:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1433 .loc 1 596 0 is_stmt 1 discriminator 24 1434 018c 2523 movs r3, #37 1435 018e 0122 movs r2, #1 1436 0190 EA54 strb r2, [r5, r3] 599:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1437 .loc 1 599 0 discriminator 24 1438 0192 013B subs r3, r3, #1 1439 0194 0022 movs r2, #0 1440 0196 EA54 strb r2, [r5, r3] 614:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1441 .loc 1 614 0 discriminator 24 1442 0198 0020 movs r0, #0 1443 019a C3E7 b .L108 1444 .LVL85: 1445 .L134: 592:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1446 .loc 1 592 0 1447 019c 2022 movs r2, #32 1448 019e F3E7 b .L113 1449 .L135: 1450 01a0 8022 movs r2, #128 1451 01a2 9200 lsls r2, r2, #2 1452 01a4 F0E7 b .L113 1453 .L136: 1454 01a6 8022 movs r2, #128 1455 01a8 9201 lsls r2, r2, #6 1456 01aa EDE7 b .L113 1457 .L137: 1458 01ac 8022 movs r2, #128 1459 01ae 9202 lsls r2, r2, #10 1460 01b0 EAE7 b .L113 1461 .L112: 604:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1462 .loc 1 604 0 1463 01b2 2B68 ldr r3, [r5] 1464 01b4 164A ldr r2, .L153 1465 01b6 9342 cmp r3, r2 1466 01b8 14D0 beq .L139 604:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1467 .loc 1 604 0 is_stmt 0 discriminator 1 1468 01ba 164A ldr r2, .L153+4 ARM GAS /tmp/ccJCJaQH.s page 43 1469 01bc 9342 cmp r3, r2 1470 01be 1CD0 beq .L140 604:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1471 .loc 1 604 0 discriminator 3 1472 01c0 154A ldr r2, .L153+8 1473 01c2 9342 cmp r3, r2 1474 01c4 1BD0 beq .L141 604:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1475 .loc 1 604 0 discriminator 5 1476 01c6 154A ldr r2, .L153+12 1477 01c8 9342 cmp r3, r2 1478 01ca 1BD0 beq .L142 604:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1479 .loc 1 604 0 discriminator 7 1480 01cc 144A ldr r2, .L153+16 1481 01ce 9342 cmp r3, r2 1482 01d0 1BD0 beq .L143 604:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1483 .loc 1 604 0 discriminator 9 1484 01d2 144A ldr r2, .L153+20 1485 01d4 9342 cmp r3, r2 1486 01d6 02D0 beq .L152 604:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1487 .loc 1 604 0 1488 01d8 8022 movs r2, #128 1489 01da D204 lsls r2, r2, #19 1490 01dc 03E0 b .L114 1491 .L152: 1492 01de 8022 movs r2, #128 1493 01e0 D203 lsls r2, r2, #15 1494 01e2 00E0 b .L114 1495 .L139: 1496 01e4 0422 movs r2, #4 1497 .L114: 604:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1498 .loc 1 604 0 discriminator 24 1499 01e6 104B ldr r3, .L153+24 1500 01e8 5A60 str r2, [r3, #4] 1501 .LVL86: 608:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1502 .loc 1 608 0 is_stmt 1 discriminator 24 1503 01ea 2523 movs r3, #37 1504 01ec 0522 movs r2, #5 1505 01ee EA54 strb r2, [r5, r3] 611:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1506 .loc 1 611 0 discriminator 24 1507 01f0 013B subs r3, r3, #1 1508 01f2 0022 movs r2, #0 1509 01f4 EA54 strb r2, [r5, r3] 614:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1510 .loc 1 614 0 discriminator 24 1511 01f6 0020 movs r0, #0 1512 01f8 94E7 b .L108 1513 .LVL87: 1514 .L140: 604:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1515 .loc 1 604 0 ARM GAS /tmp/ccJCJaQH.s page 44 1516 01fa 4022 movs r2, #64 1517 01fc F3E7 b .L114 1518 .L141: 1519 01fe 8022 movs r2, #128 1520 0200 D200 lsls r2, r2, #3 1521 0202 F0E7 b .L114 1522 .L142: 1523 0204 8022 movs r2, #128 1524 0206 D201 lsls r2, r2, #7 1525 0208 EDE7 b .L114 1526 .L143: 1527 020a 8022 movs r2, #128 1528 020c D202 lsls r2, r2, #11 1529 020e EAE7 b .L114 1530 .L154: 1531 .align 2 1532 .L153: 1533 0210 08000240 .word 1073872904 1534 0214 1C000240 .word 1073872924 1535 0218 30000240 .word 1073872944 1536 021c 44000240 .word 1073872964 1537 0220 58000240 .word 1073872984 1538 0224 6C000240 .word 1073873004 1539 0228 00000240 .word 1073872896 1540 .cfi_endproc 1541 .LFE45: 1543 .section .text.HAL_DMA_IRQHandler,"ax",%progbits 1544 .align 1 1545 .global HAL_DMA_IRQHandler 1546 .syntax unified 1547 .code 16 1548 .thumb_func 1549 .fpu softvfp 1551 HAL_DMA_IRQHandler: 1552 .LFB46: 623:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** /* Transfer Error Interrupt management ***************************************/ 1553 .loc 1 623 0 1554 .cfi_startproc 1555 @ args = 0, pretend = 0, frame = 0 1556 @ frame_needed = 0, uses_anonymous_args = 0 1557 .LVL88: 1558 0000 10B5 push {r4, lr} 1559 .LCFI8: 1560 .cfi_def_cfa_offset 8 1561 .cfi_offset 4, -8 1562 .cfi_offset 14, -4 1563 0002 0400 movs r4, r0 625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1564 .loc 1 625 0 1565 0004 974B ldr r3, .L209 1566 0006 1A68 ldr r2, [r3] 1567 0008 0368 ldr r3, [r0] 1568 000a 9749 ldr r1, .L209+4 1569 000c 8B42 cmp r3, r1 1570 000e 14D0 beq .L167 625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1571 .loc 1 625 0 is_stmt 0 discriminator 1 ARM GAS /tmp/ccJCJaQH.s page 45 1572 0010 9649 ldr r1, .L209+8 1573 0012 8B42 cmp r3, r1 1574 0014 31D0 beq .L168 625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1575 .loc 1 625 0 discriminator 3 1576 0016 9649 ldr r1, .L209+12 1577 0018 8B42 cmp r3, r1 1578 001a 30D0 beq .L169 625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1579 .loc 1 625 0 discriminator 5 1580 001c 9549 ldr r1, .L209+16 1581 001e 8B42 cmp r3, r1 1582 0020 30D0 beq .L170 625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1583 .loc 1 625 0 discriminator 7 1584 0022 9549 ldr r1, .L209+20 1585 0024 8B42 cmp r3, r1 1586 0026 30D0 beq .L171 625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1587 .loc 1 625 0 discriminator 9 1588 0028 9449 ldr r1, .L209+24 1589 002a 8B42 cmp r3, r1 1590 002c 02D0 beq .L203 625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1591 .loc 1 625 0 1592 002e 8021 movs r1, #128 1593 0030 0905 lsls r1, r1, #20 1594 0032 03E0 b .L156 1595 .L203: 1596 0034 8021 movs r1, #128 1597 0036 0904 lsls r1, r1, #16 1598 0038 00E0 b .L156 1599 .L167: 1600 003a 0821 movs r1, #8 1601 .L156: 625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1602 .loc 1 625 0 discriminator 24 1603 003c 1142 tst r1, r2 1604 003e 3CD0 beq .L157 627:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1605 .loc 1 627 0 is_stmt 1 1606 0040 1A68 ldr r2, [r3] 1607 0042 1207 lsls r2, r2, #28 1608 0044 39D5 bpl .L157 630:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1609 .loc 1 630 0 1610 0046 1A68 ldr r2, [r3] 1611 0048 0821 movs r1, #8 1612 004a 8A43 bics r2, r1 1613 004c 1A60 str r2, [r3] 633:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1614 .loc 1 633 0 1615 004e 2368 ldr r3, [r4] 1616 0050 854A ldr r2, .L209+4 1617 0052 9342 cmp r3, r2 1618 0054 1FD0 beq .L173 633:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ARM GAS /tmp/ccJCJaQH.s page 46 1619 .loc 1 633 0 is_stmt 0 discriminator 1 1620 0056 854A ldr r2, .L209+8 1621 0058 9342 cmp r3, r2 1622 005a 46D0 beq .L174 633:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1623 .loc 1 633 0 discriminator 3 1624 005c 844A ldr r2, .L209+12 1625 005e 9342 cmp r3, r2 1626 0060 45D0 beq .L175 633:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1627 .loc 1 633 0 discriminator 5 1628 0062 844A ldr r2, .L209+16 1629 0064 9342 cmp r3, r2 1630 0066 45D0 beq .L176 633:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1631 .loc 1 633 0 discriminator 7 1632 0068 834A ldr r2, .L209+20 1633 006a 9342 cmp r3, r2 1634 006c 45D0 beq .L177 633:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1635 .loc 1 633 0 discriminator 9 1636 006e 834A ldr r2, .L209+24 1637 0070 9342 cmp r3, r2 1638 0072 0DD0 beq .L204 633:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1639 .loc 1 633 0 1640 0074 8022 movs r2, #128 1641 0076 1205 lsls r2, r2, #20 1642 0078 0EE0 b .L158 1643 .L168: 625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1644 .loc 1 625 0 is_stmt 1 1645 007a 8021 movs r1, #128 1646 007c DEE7 b .L156 1647 .L169: 1648 007e 8021 movs r1, #128 1649 0080 0901 lsls r1, r1, #4 1650 0082 DBE7 b .L156 1651 .L170: 1652 0084 8021 movs r1, #128 1653 0086 0902 lsls r1, r1, #8 1654 0088 D8E7 b .L156 1655 .L171: 1656 008a 8021 movs r1, #128 1657 008c 0903 lsls r1, r1, #12 1658 008e D5E7 b .L156 1659 .L204: 633:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1660 .loc 1 633 0 1661 0090 8022 movs r2, #128 1662 0092 1204 lsls r2, r2, #16 1663 0094 00E0 b .L158 1664 .L173: 1665 0096 0822 movs r2, #8 1666 .L158: 633:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1667 .loc 1 633 0 is_stmt 0 discriminator 24 ARM GAS /tmp/ccJCJaQH.s page 47 1668 0098 724B ldr r3, .L209 1669 009a 5A60 str r2, [r3, #4] 636:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1670 .loc 1 636 0 is_stmt 1 discriminator 24 1671 009c E36B ldr r3, [r4, #60] 1672 009e 0122 movs r2, #1 1673 00a0 1343 orrs r3, r2 1674 00a2 E363 str r3, [r4, #60] 639:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1675 .loc 1 639 0 discriminator 24 1676 00a4 2523 movs r3, #37 1677 00a6 0332 adds r2, r2, #3 1678 00a8 E254 strb r2, [r4, r3] 642:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1679 .loc 1 642 0 discriminator 24 1680 00aa 013B subs r3, r3, #1 1681 00ac 0022 movs r2, #0 1682 00ae E254 strb r2, [r4, r3] 644:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1683 .loc 1 644 0 discriminator 24 1684 00b0 636B ldr r3, [r4, #52] 1685 00b2 002B cmp r3, #0 1686 00b4 01D0 beq .L157 647:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1687 .loc 1 647 0 1688 00b6 2000 movs r0, r4 1689 .LVL89: 1690 00b8 9847 blx r3 1691 .LVL90: 1692 .L157: 653:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1693 .loc 1 653 0 1694 00ba 6A4B ldr r3, .L209 1695 00bc 1A68 ldr r2, [r3] 1696 00be 2368 ldr r3, [r4] 1697 00c0 6949 ldr r1, .L209+4 1698 00c2 8B42 cmp r3, r1 1699 00c4 1FD0 beq .L179 653:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1700 .loc 1 653 0 is_stmt 0 discriminator 1 1701 00c6 6949 ldr r1, .L209+8 1702 00c8 8B42 cmp r3, r1 1703 00ca 3FD0 beq .L180 653:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1704 .loc 1 653 0 discriminator 3 1705 00cc 6849 ldr r1, .L209+12 1706 00ce 8B42 cmp r3, r1 1707 00d0 3ED0 beq .L181 653:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1708 .loc 1 653 0 discriminator 5 1709 00d2 6849 ldr r1, .L209+16 1710 00d4 8B42 cmp r3, r1 1711 00d6 3ED0 beq .L182 653:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1712 .loc 1 653 0 discriminator 7 1713 00d8 6749 ldr r1, .L209+20 1714 00da 8B42 cmp r3, r1 ARM GAS /tmp/ccJCJaQH.s page 48 1715 00dc 3ED0 beq .L183 653:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1716 .loc 1 653 0 discriminator 9 1717 00de 6749 ldr r1, .L209+24 1718 00e0 8B42 cmp r3, r1 1719 00e2 0DD0 beq .L205 653:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1720 .loc 1 653 0 1721 00e4 8021 movs r1, #128 1722 00e6 C904 lsls r1, r1, #19 1723 00e8 0EE0 b .L159 1724 .LVL91: 1725 .L174: 633:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1726 .loc 1 633 0 is_stmt 1 1727 00ea 8022 movs r2, #128 1728 00ec D4E7 b .L158 1729 .L175: 1730 00ee 8022 movs r2, #128 1731 00f0 1201 lsls r2, r2, #4 1732 00f2 D1E7 b .L158 1733 .L176: 1734 00f4 8022 movs r2, #128 1735 00f6 1202 lsls r2, r2, #8 1736 00f8 CEE7 b .L158 1737 .L177: 1738 00fa 8022 movs r2, #128 1739 00fc 1203 lsls r2, r2, #12 1740 00fe CBE7 b .L158 1741 .LVL92: 1742 .L205: 653:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1743 .loc 1 653 0 1744 0100 8021 movs r1, #128 1745 0102 C903 lsls r1, r1, #15 1746 0104 00E0 b .L159 1747 .L179: 1748 0106 0421 movs r1, #4 1749 .L159: 653:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1750 .loc 1 653 0 is_stmt 0 discriminator 24 1751 0108 1142 tst r1, r2 1752 010a 38D0 beq .L160 655:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1753 .loc 1 655 0 is_stmt 1 1754 010c 1A68 ldr r2, [r3] 1755 010e 5207 lsls r2, r2, #29 1756 0110 35D5 bpl .L160 658:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1757 .loc 1 658 0 1758 0112 1A68 ldr r2, [r3] 1759 0114 9206 lsls r2, r2, #26 1760 0116 03D4 bmi .L161 661:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1761 .loc 1 661 0 1762 0118 1A68 ldr r2, [r3] 1763 011a 0421 movs r1, #4 ARM GAS /tmp/ccJCJaQH.s page 49 1764 011c 8A43 bics r2, r1 1765 011e 1A60 str r2, [r3] 1766 .L161: 664:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1767 .loc 1 664 0 1768 0120 2368 ldr r3, [r4] 1769 0122 514A ldr r2, .L209+4 1770 0124 9342 cmp r3, r2 1771 0126 1FD0 beq .L185 664:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1772 .loc 1 664 0 is_stmt 0 discriminator 1 1773 0128 504A ldr r2, .L209+8 1774 012a 9342 cmp r3, r2 1775 012c 3FD0 beq .L186 664:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1776 .loc 1 664 0 discriminator 3 1777 012e 504A ldr r2, .L209+12 1778 0130 9342 cmp r3, r2 1779 0132 3ED0 beq .L187 664:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1780 .loc 1 664 0 discriminator 5 1781 0134 4F4A ldr r2, .L209+16 1782 0136 9342 cmp r3, r2 1783 0138 3ED0 beq .L188 664:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1784 .loc 1 664 0 discriminator 7 1785 013a 4F4A ldr r2, .L209+20 1786 013c 9342 cmp r3, r2 1787 013e 3ED0 beq .L189 664:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1788 .loc 1 664 0 discriminator 9 1789 0140 4E4A ldr r2, .L209+24 1790 0142 9342 cmp r3, r2 1791 0144 0DD0 beq .L206 664:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1792 .loc 1 664 0 1793 0146 8022 movs r2, #128 1794 0148 D204 lsls r2, r2, #19 1795 014a 0EE0 b .L162 1796 .L180: 653:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1797 .loc 1 653 0 is_stmt 1 1798 014c 4021 movs r1, #64 1799 014e DBE7 b .L159 1800 .L181: 1801 0150 8021 movs r1, #128 1802 0152 C900 lsls r1, r1, #3 1803 0154 D8E7 b .L159 1804 .L182: 1805 0156 8021 movs r1, #128 1806 0158 C901 lsls r1, r1, #7 1807 015a D5E7 b .L159 1808 .L183: 1809 015c 8021 movs r1, #128 1810 015e C902 lsls r1, r1, #11 1811 0160 D2E7 b .L159 1812 .L206: ARM GAS /tmp/ccJCJaQH.s page 50 664:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1813 .loc 1 664 0 1814 0162 8022 movs r2, #128 1815 0164 D203 lsls r2, r2, #15 1816 0166 00E0 b .L162 1817 .L185: 1818 0168 0422 movs r2, #4 1819 .L162: 664:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1820 .loc 1 664 0 is_stmt 0 discriminator 24 1821 016a 3E4B ldr r3, .L209 1822 016c 5A60 str r2, [r3, #4] 667:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1823 .loc 1 667 0 is_stmt 1 discriminator 24 1824 016e 2523 movs r3, #37 1825 0170 0522 movs r2, #5 1826 0172 E254 strb r2, [r4, r3] 669:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1827 .loc 1 669 0 discriminator 24 1828 0174 236B ldr r3, [r4, #48] 1829 0176 002B cmp r3, #0 1830 0178 01D0 beq .L160 672:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1831 .loc 1 672 0 1832 017a 2000 movs r0, r4 1833 017c 9847 blx r3 1834 .LVL93: 1835 .L160: 678:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1836 .loc 1 678 0 1837 017e 394B ldr r3, .L209 1838 0180 1A68 ldr r2, [r3] 1839 0182 2368 ldr r3, [r4] 1840 0184 3849 ldr r1, .L209+4 1841 0186 8B42 cmp r3, r1 1842 0188 1FD0 beq .L191 678:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1843 .loc 1 678 0 is_stmt 0 discriminator 1 1844 018a 3849 ldr r1, .L209+8 1845 018c 8B42 cmp r3, r1 1846 018e 3FD0 beq .L192 678:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1847 .loc 1 678 0 discriminator 3 1848 0190 3749 ldr r1, .L209+12 1849 0192 8B42 cmp r3, r1 1850 0194 3ED0 beq .L193 678:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1851 .loc 1 678 0 discriminator 5 1852 0196 3749 ldr r1, .L209+16 1853 0198 8B42 cmp r3, r1 1854 019a 3ED0 beq .L194 678:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1855 .loc 1 678 0 discriminator 7 1856 019c 3649 ldr r1, .L209+20 1857 019e 8B42 cmp r3, r1 1858 01a0 3ED0 beq .L195 678:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { ARM GAS /tmp/ccJCJaQH.s page 51 1859 .loc 1 678 0 discriminator 9 1860 01a2 3649 ldr r1, .L209+24 1861 01a4 8B42 cmp r3, r1 1862 01a6 0DD0 beq .L207 678:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1863 .loc 1 678 0 1864 01a8 8021 movs r1, #128 1865 01aa 8904 lsls r1, r1, #18 1866 01ac 0EE0 b .L163 1867 .L186: 664:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1868 .loc 1 664 0 is_stmt 1 1869 01ae 4022 movs r2, #64 1870 01b0 DBE7 b .L162 1871 .L187: 1872 01b2 8022 movs r2, #128 1873 01b4 D200 lsls r2, r2, #3 1874 01b6 D8E7 b .L162 1875 .L188: 1876 01b8 8022 movs r2, #128 1877 01ba D201 lsls r2, r2, #7 1878 01bc D5E7 b .L162 1879 .L189: 1880 01be 8022 movs r2, #128 1881 01c0 D202 lsls r2, r2, #11 1882 01c2 D2E7 b .L162 1883 .L207: 678:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1884 .loc 1 678 0 1885 01c4 8021 movs r1, #128 1886 01c6 8903 lsls r1, r1, #14 1887 01c8 00E0 b .L163 1888 .L191: 1889 01ca 0221 movs r1, #2 1890 .L163: 678:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1891 .loc 1 678 0 is_stmt 0 discriminator 24 1892 01cc 1142 tst r1, r2 1893 01ce 3DD0 beq .L155 680:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1894 .loc 1 680 0 is_stmt 1 1895 01d0 1A68 ldr r2, [r3] 1896 01d2 9207 lsls r2, r2, #30 1897 01d4 3AD5 bpl .L155 682:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1898 .loc 1 682 0 1899 01d6 1A68 ldr r2, [r3] 1900 01d8 9206 lsls r2, r2, #26 1901 01da 03D4 bmi .L165 685:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1902 .loc 1 685 0 1903 01dc 1A68 ldr r2, [r3] 1904 01de 0221 movs r1, #2 1905 01e0 8A43 bics r2, r1 1906 01e2 1A60 str r2, [r3] 1907 .L165: 688:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** ARM GAS /tmp/ccJCJaQH.s page 52 1908 .loc 1 688 0 1909 01e4 2368 ldr r3, [r4] 1910 01e6 204A ldr r2, .L209+4 1911 01e8 9342 cmp r3, r2 1912 01ea 1FD0 beq .L197 688:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1913 .loc 1 688 0 is_stmt 0 discriminator 1 1914 01ec 1F4A ldr r2, .L209+8 1915 01ee 9342 cmp r3, r2 1916 01f0 2DD0 beq .L198 688:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1917 .loc 1 688 0 discriminator 3 1918 01f2 1F4A ldr r2, .L209+12 1919 01f4 9342 cmp r3, r2 1920 01f6 2CD0 beq .L199 688:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1921 .loc 1 688 0 discriminator 5 1922 01f8 1E4A ldr r2, .L209+16 1923 01fa 9342 cmp r3, r2 1924 01fc 2CD0 beq .L200 688:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1925 .loc 1 688 0 discriminator 7 1926 01fe 1E4A ldr r2, .L209+20 1927 0200 9342 cmp r3, r2 1928 0202 2CD0 beq .L201 688:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1929 .loc 1 688 0 discriminator 9 1930 0204 1D4A ldr r2, .L209+24 1931 0206 9342 cmp r3, r2 1932 0208 0DD0 beq .L208 688:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1933 .loc 1 688 0 1934 020a 8022 movs r2, #128 1935 020c 9204 lsls r2, r2, #18 1936 020e 0EE0 b .L166 1937 .L192: 678:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1938 .loc 1 678 0 is_stmt 1 1939 0210 2021 movs r1, #32 1940 0212 DBE7 b .L163 1941 .L193: 1942 0214 8021 movs r1, #128 1943 0216 8900 lsls r1, r1, #2 1944 0218 D8E7 b .L163 1945 .L194: 1946 021a 8021 movs r1, #128 1947 021c 8901 lsls r1, r1, #6 1948 021e D5E7 b .L163 1949 .L195: 1950 0220 8021 movs r1, #128 1951 0222 8902 lsls r1, r1, #10 1952 0224 D2E7 b .L163 1953 .L208: 688:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1954 .loc 1 688 0 1955 0226 8022 movs r2, #128 1956 0228 9203 lsls r2, r2, #14 ARM GAS /tmp/ccJCJaQH.s page 53 1957 022a 00E0 b .L166 1958 .L197: 1959 022c 0222 movs r2, #2 1960 .L166: 688:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1961 .loc 1 688 0 is_stmt 0 discriminator 24 1962 022e 0D4B ldr r3, .L209 1963 0230 5A60 str r2, [r3, #4] 691:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1964 .loc 1 691 0 is_stmt 1 discriminator 24 1965 0232 E36B ldr r3, [r4, #60] 1966 0234 E363 str r3, [r4, #60] 694:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1967 .loc 1 694 0 discriminator 24 1968 0236 2523 movs r3, #37 1969 0238 0122 movs r2, #1 1970 023a E254 strb r2, [r4, r3] 697:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1971 .loc 1 697 0 discriminator 24 1972 023c 013B subs r3, r3, #1 1973 023e 0022 movs r2, #0 1974 0240 E254 strb r2, [r4, r3] 699:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** { 1975 .loc 1 699 0 discriminator 24 1976 0242 E36A ldr r3, [r4, #44] 1977 0244 002B cmp r3, #0 1978 0246 01D0 beq .L155 702:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 1979 .loc 1 702 0 1980 0248 2000 movs r0, r4 1981 024a 9847 blx r3 1982 .LVL94: 1983 .L155: 706:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1984 .loc 1 706 0 1985 @ sp needed 1986 .LVL95: 1987 024c 10BD pop {r4, pc} 1988 .LVL96: 1989 .L198: 688:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 1990 .loc 1 688 0 1991 024e 2022 movs r2, #32 1992 0250 EDE7 b .L166 1993 .L199: 1994 0252 8022 movs r2, #128 1995 0254 9200 lsls r2, r2, #2 1996 0256 EAE7 b .L166 1997 .L200: 1998 0258 8022 movs r2, #128 1999 025a 9201 lsls r2, r2, #6 2000 025c E7E7 b .L166 2001 .L201: 2002 025e 8022 movs r2, #128 2003 0260 9202 lsls r2, r2, #10 2004 0262 E4E7 b .L166 2005 .L210: ARM GAS /tmp/ccJCJaQH.s page 54 2006 .align 2 2007 .L209: 2008 0264 00000240 .word 1073872896 2009 0268 08000240 .word 1073872904 2010 026c 1C000240 .word 1073872924 2011 0270 30000240 .word 1073872944 2012 0274 44000240 .word 1073872964 2013 0278 58000240 .word 1073872984 2014 027c 6C000240 .word 1073873004 2015 .cfi_endproc 2016 .LFE46: 2018 .section .text.HAL_DMA_GetState,"ax",%progbits 2019 .align 1 2020 .global HAL_DMA_GetState 2021 .syntax unified 2022 .code 16 2023 .thumb_func 2024 .fpu softvfp 2026 HAL_DMA_GetState: 2027 .LFB47: 735:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return hdma->State; 2028 .loc 1 735 0 2029 .cfi_startproc 2030 @ args = 0, pretend = 0, frame = 0 2031 @ frame_needed = 0, uses_anonymous_args = 0 2032 @ link register save eliminated. 2033 .LVL97: 736:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 2034 .loc 1 736 0 2035 0000 2523 movs r3, #37 2036 0002 C05C ldrb r0, [r0, r3] 2037 .LVL98: 2038 0004 C0B2 uxtb r0, r0 737:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 2039 .loc 1 737 0 2040 @ sp needed 2041 0006 7047 bx lr 2042 .cfi_endproc 2043 .LFE47: 2045 .section .text.HAL_DMA_GetError,"ax",%progbits 2046 .align 1 2047 .global HAL_DMA_GetError 2048 .syntax unified 2049 .code 16 2050 .thumb_func 2051 .fpu softvfp 2053 HAL_DMA_GetError: 2054 .LFB48: 746:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** return hdma->ErrorCode; 2055 .loc 1 746 0 2056 .cfi_startproc 2057 @ args = 0, pretend = 0, frame = 0 2058 @ frame_needed = 0, uses_anonymous_args = 0 2059 @ link register save eliminated. 2060 .LVL99: 747:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** } 2061 .loc 1 747 0 ARM GAS /tmp/ccJCJaQH.s page 55 2062 0000 C06B ldr r0, [r0, #60] 2063 .LVL100: 748:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c **** 2064 .loc 1 748 0 2065 @ sp needed 2066 0002 7047 bx lr 2067 .cfi_endproc 2068 .LFE48: 2070 .text 2071 .Letext0: 2072 .file 2 "/usr/arm-none-eabi/include/machine/_default_types.h" 2073 .file 3 "/usr/arm-none-eabi/include/sys/_stdint.h" 2074 .file 4 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h" 2075 .file 5 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h" 2076 .file 6 "/usr/arm-none-eabi/include/sys/lock.h" 2077 .file 7 "/usr/arm-none-eabi/include/sys/_types.h" 2078 .file 8 "/usr/lib/gcc/arm-none-eabi/7.2.0/include/stddef.h" 2079 .file 9 "/usr/arm-none-eabi/include/sys/reent.h" 2080 .file 10 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h" 2081 .file 11 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h" 2082 .file 12 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_dma.h" 2083 .file 13 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h" ARM GAS /tmp/ccJCJaQH.s page 56 DEFINED SYMBOLS *ABS*:0000000000000000 stm32l0xx_hal_dma.c /tmp/ccJCJaQH.s:16 .text.HAL_DMA_Init:0000000000000000 $t /tmp/ccJCJaQH.s:23 .text.HAL_DMA_Init:0000000000000000 HAL_DMA_Init /tmp/ccJCJaQH.s:245 .text.HAL_DMA_Init:0000000000000114 $d /tmp/ccJCJaQH.s:263 .text.HAL_DMA_DeInit:0000000000000000 $t /tmp/ccJCJaQH.s:270 .text.HAL_DMA_DeInit:0000000000000000 HAL_DMA_DeInit /tmp/ccJCJaQH.s:650 .text.HAL_DMA_DeInit:00000000000001fc $d /tmp/ccJCJaQH.s:668 .text.HAL_DMA_Start:0000000000000000 $t /tmp/ccJCJaQH.s:675 .text.HAL_DMA_Start:0000000000000000 HAL_DMA_Start /tmp/ccJCJaQH.s:768 .text.HAL_DMA_Start_IT:0000000000000000 $t /tmp/ccJCJaQH.s:775 .text.HAL_DMA_Start_IT:0000000000000000 HAL_DMA_Start_IT /tmp/ccJCJaQH.s:886 .text.HAL_DMA_Abort:0000000000000000 $t /tmp/ccJCJaQH.s:893 .text.HAL_DMA_Abort:0000000000000000 HAL_DMA_Abort /tmp/ccJCJaQH.s:971 .text.HAL_DMA_Abort_IT:0000000000000000 $t /tmp/ccJCJaQH.s:978 .text.HAL_DMA_Abort_IT:0000000000000000 HAL_DMA_Abort_IT /tmp/ccJCJaQH.s:1103 .text.HAL_DMA_Abort_IT:0000000000000090 $d /tmp/ccJCJaQH.s:1114 .text.HAL_DMA_PollForTransfer:0000000000000000 $t /tmp/ccJCJaQH.s:1121 .text.HAL_DMA_PollForTransfer:0000000000000000 HAL_DMA_PollForTransfer /tmp/ccJCJaQH.s:1533 .text.HAL_DMA_PollForTransfer:0000000000000210 $d /tmp/ccJCJaQH.s:1544 .text.HAL_DMA_IRQHandler:0000000000000000 $t /tmp/ccJCJaQH.s:1551 .text.HAL_DMA_IRQHandler:0000000000000000 HAL_DMA_IRQHandler /tmp/ccJCJaQH.s:2008 .text.HAL_DMA_IRQHandler:0000000000000264 $d /tmp/ccJCJaQH.s:2019 .text.HAL_DMA_GetState:0000000000000000 $t /tmp/ccJCJaQH.s:2026 .text.HAL_DMA_GetState:0000000000000000 HAL_DMA_GetState /tmp/ccJCJaQH.s:2046 .text.HAL_DMA_GetError:0000000000000000 $t /tmp/ccJCJaQH.s:2053 .text.HAL_DMA_GetError:0000000000000000 HAL_DMA_GetError .debug_frame:0000000000000010 $d UNDEFINED SYMBOLS HAL_GetTick