ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 1 1 .cpu cortex-m4 2 .arch armv7e-m 3 .fpu fpv4-sp-d16 4 .eabi_attribute 27, 1 5 .eabi_attribute 28, 1 6 .eabi_attribute 20, 1 7 .eabi_attribute 21, 1 8 .eabi_attribute 23, 3 9 .eabi_attribute 24, 1 10 .eabi_attribute 25, 1 11 .eabi_attribute 26, 1 12 .eabi_attribute 30, 6 13 .eabi_attribute 34, 1 14 .eabi_attribute 18, 4 15 .file "stm32f3xx_hal_dma.c" 16 .text 17 .Ltext0: 18 .cfi_sections .debug_frame 19 .section .rodata 20 .align 2 21 .LC0: 22 0000 44726976 .ascii "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma." 22 6572732F 22 53544D33 22 32463378 22 785F4841 23 0033 6300 .ascii "c\000" 24 .section .text.HAL_DMA_Init,"ax",%progbits 25 .align 1 26 .global HAL_DMA_Init 27 .syntax unified 28 .thumb 29 .thumb_func 31 HAL_DMA_Init: 32 .LFB130: 33 .file 1 "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c" 1:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 2:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ****************************************************************************** 3:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @file stm32f3xx_hal_dma.c 4:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @author MCD Application Team 5:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief DMA HAL module driver. 6:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * 7:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * This file provides firmware functions to manage the following 8:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * functionalities of the Direct Memory Access (DMA) peripheral: 9:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * + Initialization and de-initialization functions 10:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * + IO operation functions 11:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * + Peripheral State and errors functions 12:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @verbatim 13:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ============================================================================== 14:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ##### How to use this driver ##### 15:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ============================================================================== 16:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..] 17:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (#) Enable and configure the peripheral to be connected to the DMA Channel 18:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (except for internal SRAM / FLASH memories: no initialization is 19:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** necessary). Please refer to Reference manual for connection between peripherals 20:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** and DMA requests . 21:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 2 22:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (#) For a given Channel, program the required configuration through the following parameters: 23:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Transfer Direction, Source and Destination data formats, 24:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Circular or Normal mode, Channel Priority level, Source and Destination Increment mode, 25:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** using HAL_DMA_Init() function. 26:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 27:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (#) Use HAL_DMA_GetState() function to return the DMA state and HAL_DMA_GetError() in case of er 28:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** detection. 29:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 30:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (#) Use HAL_DMA_Abort() function to abort the current transfer 31:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 32:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** -@- In Memory-to-Memory transfer mode, Circular mode is not allowed. 33:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *** Polling mode IO operation *** 34:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ================================= 35:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..] 36:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Use HAL_DMA_Start() to start DMA transfer after the configuration of Source 37:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** address and destination address and the Length of data to be transferred 38:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Use HAL_DMA_PollForTransfer() to poll for the end of current transfer, in this 39:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case a fixed Timeout can be configured by User depending from his application. 40:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 41:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *** Interrupt mode IO operation *** 42:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** =================================== 43:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..] 44:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Configure the DMA interrupt priority using HAL_NVIC_SetPriority() 45:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Enable the DMA IRQ handler using HAL_NVIC_EnableIRQ() 46:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Use HAL_DMA_Start_IT() to start DMA transfer after the configuration of 47:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Source address and destination address and the Length of data to be transferred. 48:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** In this case the DMA interrupt is configured 49:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Use HAL_DMA_Channel_IRQHandler() called under DMA_IRQHandler() Interrupt subroutine 50:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) At the end of data transfer HAL_DMA_IRQHandler() function is executed and user can 51:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** add his own function by customization of function pointer XferCpltCallback and 52:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** XferErrorCallback (i.e a member of DMA handle structure). 53:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 54:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *** DMA HAL driver macros list *** 55:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ============================================= 56:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..] 57:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Below the list of most used macros in DMA HAL driver. 58:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 59:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..] 60:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (@) You can refer to the DMA HAL driver header file for more useful macros 61:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 62:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @endverbatim 63:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ****************************************************************************** 64:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @attention 65:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * 66:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * Copyright (c) 2016 STMicroelectronics. 67:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * All rights reserved. 68:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * 69:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * This software is licensed under terms that can be found in the LICENSE file in 70:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the root directory of this software component. 71:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 72:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * 73:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ****************************************************************************** 74:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 75:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 76:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Includes ------------------------------------------------------------------*/ 77:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #include "stm32f3xx_hal.h" 78:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 3 79:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @addtogroup STM32F3xx_HAL_Driver 80:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{ 81:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 82:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 83:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA DMA 84:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief DMA HAL module driver 85:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{ 86:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 87:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 88:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #ifdef HAL_DMA_MODULE_ENABLED 89:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 90:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private typedef -----------------------------------------------------------*/ 91:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private define ------------------------------------------------------------*/ 92:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private macro -------------------------------------------------------------*/ 93:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private variables ---------------------------------------------------------*/ 94:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private function prototypes -----------------------------------------------*/ 95:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Private_Functions DMA Private Functions 96:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{ 97:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 98:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32 99:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** static void DMA_CalcBaseAndBitshift(DMA_HandleTypeDef *hdma); 100:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 101:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @} 102:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 103:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 104:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Exported functions ---------------------------------------------------------*/ 105:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 106:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions DMA Exported Functions 107:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{ 108:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 109:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 110:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group1 Initialization and de-initialization functions 111:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Initialization and de-initialization functions 112:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * 113:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @verbatim 114:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** =============================================================================== 115:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ##### Initialization and de-initialization functions ##### 116:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** =============================================================================== 117:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..] 118:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** This section provides functions allowing to initialize the DMA Channel source 119:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** and destination addresses, incrementation and data sizes, transfer direction, 120:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** circular/normal mode selection, memory-to-memory mode selection and Channel priority value. 121:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..] 122:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** The HAL_DMA_Init() function follows the DMA configuration procedures as described in 123:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** reference manual. 124:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 125:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @endverbatim 126:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{ 127:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 128:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 129:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 130:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Initialize the DMA according to the specified 131:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * parameters in the DMA_InitTypeDef and initialize the associated handle. 132:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains 133:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 134:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status 135:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 4 136:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma) 137:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 34 .loc 1 137 1 35 .cfi_startproc 36 @ args = 0, pretend = 0, frame = 16 37 @ frame_needed = 1, uses_anonymous_args = 0 38 0000 80B5 push {r7, lr} 39 .LCFI0: 40 .cfi_def_cfa_offset 8 41 .cfi_offset 7, -8 42 .cfi_offset 14, -4 43 0002 84B0 sub sp, sp, #16 44 .LCFI1: 45 .cfi_def_cfa_offset 24 46 0004 00AF add r7, sp, #0 47 .LCFI2: 48 .cfi_def_cfa_register 7 49 0006 7860 str r0, [r7, #4] 138:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t tmp = 0U; 50 .loc 1 138 12 51 0008 0023 movs r3, #0 52 000a FB60 str r3, [r7, #12] 139:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 140:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the DMA handle allocation */ 141:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(NULL == hdma) 53 .loc 1 141 5 54 000c 7B68 ldr r3, [r7, #4] 55 000e 002B cmp r3, #0 56 0010 01D1 bne .L2 142:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 143:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR; 57 .loc 1 143 12 58 0012 0123 movs r3, #1 59 0014 E7E0 b .L3 60 .L2: 144:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 145:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 146:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the parameters */ 147:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance)); 61 .loc 1 147 3 62 0016 7B68 ldr r3, [r7, #4] 63 0018 1B68 ldr r3, [r3] 64 001a 754A ldr r2, .L12 65 001c 9342 cmp r3, r2 66 001e 3AD0 beq .L4 67 .loc 1 147 3 is_stmt 0 discriminator 1 68 0020 7B68 ldr r3, [r7, #4] 69 0022 1B68 ldr r3, [r3] 70 0024 734A ldr r2, .L12+4 71 0026 9342 cmp r3, r2 72 0028 35D0 beq .L4 73 .loc 1 147 3 discriminator 2 74 002a 7B68 ldr r3, [r7, #4] 75 002c 1B68 ldr r3, [r3] 76 002e 724A ldr r2, .L12+8 77 0030 9342 cmp r3, r2 78 0032 30D0 beq .L4 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 5 79 .loc 1 147 3 discriminator 3 80 0034 7B68 ldr r3, [r7, #4] 81 0036 1B68 ldr r3, [r3] 82 0038 704A ldr r2, .L12+12 83 003a 9342 cmp r3, r2 84 003c 2BD0 beq .L4 85 .loc 1 147 3 discriminator 4 86 003e 7B68 ldr r3, [r7, #4] 87 0040 1B68 ldr r3, [r3] 88 0042 6F4A ldr r2, .L12+16 89 0044 9342 cmp r3, r2 90 0046 26D0 beq .L4 91 .loc 1 147 3 discriminator 5 92 0048 7B68 ldr r3, [r7, #4] 93 004a 1B68 ldr r3, [r3] 94 004c 6D4A ldr r2, .L12+20 95 004e 9342 cmp r3, r2 96 0050 21D0 beq .L4 97 .loc 1 147 3 discriminator 6 98 0052 7B68 ldr r3, [r7, #4] 99 0054 1B68 ldr r3, [r3] 100 0056 6C4A ldr r2, .L12+24 101 0058 9342 cmp r3, r2 102 005a 1CD0 beq .L4 103 .loc 1 147 3 discriminator 7 104 005c 7B68 ldr r3, [r7, #4] 105 005e 1B68 ldr r3, [r3] 106 0060 6A4A ldr r2, .L12+28 107 0062 9342 cmp r3, r2 108 0064 17D0 beq .L4 109 .loc 1 147 3 discriminator 8 110 0066 7B68 ldr r3, [r7, #4] 111 0068 1B68 ldr r3, [r3] 112 006a 694A ldr r2, .L12+32 113 006c 9342 cmp r3, r2 114 006e 12D0 beq .L4 115 .loc 1 147 3 discriminator 9 116 0070 7B68 ldr r3, [r7, #4] 117 0072 1B68 ldr r3, [r3] 118 0074 674A ldr r2, .L12+36 119 0076 9342 cmp r3, r2 120 0078 0DD0 beq .L4 121 .loc 1 147 3 discriminator 10 122 007a 7B68 ldr r3, [r7, #4] 123 007c 1B68 ldr r3, [r3] 124 007e 664A ldr r2, .L12+40 125 0080 9342 cmp r3, r2 126 0082 08D0 beq .L4 127 .loc 1 147 3 discriminator 11 128 0084 7B68 ldr r3, [r7, #4] 129 0086 1B68 ldr r3, [r3] 130 0088 644A ldr r2, .L12+44 131 008a 9342 cmp r3, r2 132 008c 03D0 beq .L4 133 .loc 1 147 3 discriminator 12 134 008e 9321 movs r1, #147 135 0090 6348 ldr r0, .L12+48 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 6 136 0092 FFF7FEFF bl assert_failed 137 .L4: 148:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction)); 138 .loc 1 148 3 is_stmt 1 139 0096 7B68 ldr r3, [r7, #4] 140 0098 5B68 ldr r3, [r3, #4] 141 009a 002B cmp r3, #0 142 009c 0CD0 beq .L5 143 .loc 1 148 3 is_stmt 0 discriminator 1 144 009e 7B68 ldr r3, [r7, #4] 145 00a0 5B68 ldr r3, [r3, #4] 146 00a2 102B cmp r3, #16 147 00a4 08D0 beq .L5 148 .loc 1 148 3 discriminator 2 149 00a6 7B68 ldr r3, [r7, #4] 150 00a8 5B68 ldr r3, [r3, #4] 151 00aa B3F5804F cmp r3, #16384 152 00ae 03D0 beq .L5 153 .loc 1 148 3 discriminator 3 154 00b0 9421 movs r1, #148 155 00b2 5B48 ldr r0, .L12+48 156 00b4 FFF7FEFF bl assert_failed 157 .L5: 149:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc)); 158 .loc 1 149 3 is_stmt 1 159 00b8 7B68 ldr r3, [r7, #4] 160 00ba 9B68 ldr r3, [r3, #8] 161 00bc 402B cmp r3, #64 162 00be 07D0 beq .L6 163 .loc 1 149 3 is_stmt 0 discriminator 1 164 00c0 7B68 ldr r3, [r7, #4] 165 00c2 9B68 ldr r3, [r3, #8] 166 00c4 002B cmp r3, #0 167 00c6 03D0 beq .L6 168 .loc 1 149 3 discriminator 2 169 00c8 9521 movs r1, #149 170 00ca 5548 ldr r0, .L12+48 171 00cc FFF7FEFF bl assert_failed 172 .L6: 150:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc)); 173 .loc 1 150 3 is_stmt 1 174 00d0 7B68 ldr r3, [r7, #4] 175 00d2 DB68 ldr r3, [r3, #12] 176 00d4 802B cmp r3, #128 177 00d6 07D0 beq .L7 178 .loc 1 150 3 is_stmt 0 discriminator 1 179 00d8 7B68 ldr r3, [r7, #4] 180 00da DB68 ldr r3, [r3, #12] 181 00dc 002B cmp r3, #0 182 00de 03D0 beq .L7 183 .loc 1 150 3 discriminator 2 184 00e0 9621 movs r1, #150 185 00e2 4F48 ldr r0, .L12+48 186 00e4 FFF7FEFF bl assert_failed 187 .L7: 151:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment)); 188 .loc 1 151 3 is_stmt 1 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 7 189 00e8 7B68 ldr r3, [r7, #4] 190 00ea 1B69 ldr r3, [r3, #16] 191 00ec 002B cmp r3, #0 192 00ee 0DD0 beq .L8 193 .loc 1 151 3 is_stmt 0 discriminator 1 194 00f0 7B68 ldr r3, [r7, #4] 195 00f2 1B69 ldr r3, [r3, #16] 196 00f4 B3F5807F cmp r3, #256 197 00f8 08D0 beq .L8 198 .loc 1 151 3 discriminator 2 199 00fa 7B68 ldr r3, [r7, #4] 200 00fc 1B69 ldr r3, [r3, #16] 201 00fe B3F5007F cmp r3, #512 202 0102 03D0 beq .L8 203 .loc 1 151 3 discriminator 3 204 0104 9721 movs r1, #151 205 0106 4648 ldr r0, .L12+48 206 0108 FFF7FEFF bl assert_failed 207 .L8: 152:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment)); 208 .loc 1 152 3 is_stmt 1 209 010c 7B68 ldr r3, [r7, #4] 210 010e 5B69 ldr r3, [r3, #20] 211 0110 002B cmp r3, #0 212 0112 0DD0 beq .L9 213 .loc 1 152 3 is_stmt 0 discriminator 1 214 0114 7B68 ldr r3, [r7, #4] 215 0116 5B69 ldr r3, [r3, #20] 216 0118 B3F5806F cmp r3, #1024 217 011c 08D0 beq .L9 218 .loc 1 152 3 discriminator 2 219 011e 7B68 ldr r3, [r7, #4] 220 0120 5B69 ldr r3, [r3, #20] 221 0122 B3F5006F cmp r3, #2048 222 0126 03D0 beq .L9 223 .loc 1 152 3 discriminator 3 224 0128 9821 movs r1, #152 225 012a 3D48 ldr r0, .L12+48 226 012c FFF7FEFF bl assert_failed 227 .L9: 153:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode)); 228 .loc 1 153 3 is_stmt 1 229 0130 7B68 ldr r3, [r7, #4] 230 0132 9B69 ldr r3, [r3, #24] 231 0134 002B cmp r3, #0 232 0136 07D0 beq .L10 233 .loc 1 153 3 is_stmt 0 discriminator 1 234 0138 7B68 ldr r3, [r7, #4] 235 013a 9B69 ldr r3, [r3, #24] 236 013c 202B cmp r3, #32 237 013e 03D0 beq .L10 238 .loc 1 153 3 discriminator 2 239 0140 9921 movs r1, #153 240 0142 3748 ldr r0, .L12+48 241 0144 FFF7FEFF bl assert_failed 242 .L10: 154:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority)); ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 8 243 .loc 1 154 3 is_stmt 1 244 0148 7B68 ldr r3, [r7, #4] 245 014a DB69 ldr r3, [r3, #28] 246 014c 002B cmp r3, #0 247 014e 12D0 beq .L11 248 .loc 1 154 3 is_stmt 0 discriminator 1 249 0150 7B68 ldr r3, [r7, #4] 250 0152 DB69 ldr r3, [r3, #28] 251 0154 B3F5805F cmp r3, #4096 252 0158 0DD0 beq .L11 253 .loc 1 154 3 discriminator 2 254 015a 7B68 ldr r3, [r7, #4] 255 015c DB69 ldr r3, [r3, #28] 256 015e B3F5005F cmp r3, #8192 257 0162 08D0 beq .L11 258 .loc 1 154 3 discriminator 3 259 0164 7B68 ldr r3, [r7, #4] 260 0166 DB69 ldr r3, [r3, #28] 261 0168 B3F5405F cmp r3, #12288 262 016c 03D0 beq .L11 263 .loc 1 154 3 discriminator 4 264 016e 9A21 movs r1, #154 265 0170 2B48 ldr r0, .L12+48 266 0172 FFF7FEFF bl assert_failed 267 .L11: 155:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 156:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change DMA peripheral state */ 157:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY; 268 .loc 1 157 15 is_stmt 1 269 0176 7B68 ldr r3, [r7, #4] 270 0178 0222 movs r2, #2 271 017a 83F82120 strb r2, [r3, #33] 158:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 159:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Get the CR register value */ 160:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** tmp = hdma->Instance->CCR; 272 .loc 1 160 13 273 017e 7B68 ldr r3, [r7, #4] 274 0180 1B68 ldr r3, [r3] 275 .loc 1 160 7 276 0182 1B68 ldr r3, [r3] 277 0184 FB60 str r3, [r7, #12] 161:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 162:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear PL, MSIZE, PSIZE, MINC, PINC, CIRC, DIR bits */ 163:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** tmp &= ((uint32_t)~(DMA_CCR_PL | DMA_CCR_MSIZE | DMA_CCR_PSIZE | \ 278 .loc 1 163 7 279 0186 FB68 ldr r3, [r7, #12] 280 0188 23F47F53 bic r3, r3, #16320 281 018c 23F03003 bic r3, r3, #48 282 0190 FB60 str r3, [r7, #12] 164:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \ 165:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_CCR_DIR)); 166:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 167:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Prepare the DMA Channel configuration */ 168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** tmp |= hdma->Init.Direction | 283 .loc 1 168 21 284 0192 7B68 ldr r3, [r7, #4] 285 0194 5A68 ldr r2, [r3, #4] ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 9 169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | 286 .loc 1 169 21 287 0196 7B68 ldr r3, [r7, #4] 288 0198 9B68 ldr r3, [r3, #8] 168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | 289 .loc 1 168 39 290 019a 1A43 orrs r2, r2, r3 291 .loc 1 169 54 292 019c 7B68 ldr r3, [r7, #4] 293 019e DB68 ldr r3, [r3, #12] 294 .loc 1 169 42 295 01a0 1A43 orrs r2, r2, r3 170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | 296 .loc 1 170 21 297 01a2 7B68 ldr r3, [r7, #4] 298 01a4 1B69 ldr r3, [r3, #16] 169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | 299 .loc 1 169 72 300 01a6 1A43 orrs r2, r2, r3 301 .loc 1 170 54 302 01a8 7B68 ldr r3, [r7, #4] 303 01aa 5B69 ldr r3, [r3, #20] 304 .loc 1 170 42 305 01ac 1A43 orrs r2, r2, r3 171:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority; 306 .loc 1 171 21 307 01ae 7B68 ldr r3, [r7, #4] 308 01b0 9B69 ldr r3, [r3, #24] 170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | 309 .loc 1 170 72 310 01b2 1A43 orrs r2, r2, r3 311 .loc 1 171 54 312 01b4 7B68 ldr r3, [r7, #4] 313 01b6 DB69 ldr r3, [r3, #28] 314 .loc 1 171 42 315 01b8 1343 orrs r3, r3, r2 168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | 316 .loc 1 168 7 317 01ba FA68 ldr r2, [r7, #12] 318 01bc 1343 orrs r3, r3, r2 319 01be FB60 str r3, [r7, #12] 172:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 173:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Write to DMA Channel CR register */ 174:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR = tmp; 320 .loc 1 174 7 321 01c0 7B68 ldr r3, [r7, #4] 322 01c2 1B68 ldr r3, [r3] 323 .loc 1 174 23 324 01c4 FA68 ldr r2, [r7, #12] 325 01c6 1A60 str r2, [r3] 175:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 176:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Initialize DmaBaseAddress and ChannelIndex parameters used 177:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** by HAL_DMA_IRQHandler() and HAL_DMA_PollForTransfer() */ 178:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_CalcBaseAndBitshift(hdma); 326 .loc 1 178 3 327 01c8 7868 ldr r0, [r7, #4] 328 01ca FFF7FEFF bl DMA_CalcBaseAndBitshift ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 10 179:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 180:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Initialise the error code */ 181:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; 329 .loc 1 181 19 330 01ce 7B68 ldr r3, [r7, #4] 331 01d0 0022 movs r2, #0 332 01d2 9A63 str r2, [r3, #56] 182:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 183:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Initialize the DMA state*/ 184:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 333 .loc 1 184 15 334 01d4 7B68 ldr r3, [r7, #4] 335 01d6 0122 movs r2, #1 336 01d8 83F82120 strb r2, [r3, #33] 185:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 186:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Allocate lock resource and initialize it */ 187:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Lock = HAL_UNLOCKED; 337 .loc 1 187 14 338 01dc 7B68 ldr r3, [r7, #4] 339 01de 0022 movs r2, #0 340 01e0 83F82020 strb r2, [r3, #32] 188:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 189:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_OK; 341 .loc 1 189 10 342 01e4 0023 movs r3, #0 343 .L3: 190:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 344 .loc 1 190 1 345 01e6 1846 mov r0, r3 346 01e8 1037 adds r7, r7, #16 347 .LCFI3: 348 .cfi_def_cfa_offset 8 349 01ea BD46 mov sp, r7 350 .LCFI4: 351 .cfi_def_cfa_register 13 352 @ sp needed 353 01ec 80BD pop {r7, pc} 354 .L13: 355 01ee 00BF .align 2 356 .L12: 357 01f0 08000240 .word 1073872904 358 01f4 1C000240 .word 1073872924 359 01f8 30000240 .word 1073872944 360 01fc 44000240 .word 1073872964 361 0200 58000240 .word 1073872984 362 0204 6C000240 .word 1073873004 363 0208 80000240 .word 1073873024 364 020c 08040240 .word 1073873928 365 0210 1C040240 .word 1073873948 366 0214 30040240 .word 1073873968 367 0218 44040240 .word 1073873988 368 021c 58040240 .word 1073874008 369 0220 00000000 .word .LC0 370 .cfi_endproc 371 .LFE130: 373 .section .text.HAL_DMA_DeInit,"ax",%progbits 374 .align 1 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 11 375 .global HAL_DMA_DeInit 376 .syntax unified 377 .thumb 378 .thumb_func 380 HAL_DMA_DeInit: 381 .LFB131: 191:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 192:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 193:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief DeInitialize the DMA peripheral 194:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 196:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status 197:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 198:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma) 199:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 382 .loc 1 199 1 383 .cfi_startproc 384 @ args = 0, pretend = 0, frame = 8 385 @ frame_needed = 1, uses_anonymous_args = 0 386 0000 80B5 push {r7, lr} 387 .LCFI5: 388 .cfi_def_cfa_offset 8 389 .cfi_offset 7, -8 390 .cfi_offset 14, -4 391 0002 82B0 sub sp, sp, #8 392 .LCFI6: 393 .cfi_def_cfa_offset 16 394 0004 00AF add r7, sp, #0 395 .LCFI7: 396 .cfi_def_cfa_register 7 397 0006 7860 str r0, [r7, #4] 200:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the DMA handle allocation */ 201:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(NULL == hdma) 398 .loc 1 201 5 399 0008 7B68 ldr r3, [r7, #4] 400 000a 002B cmp r3, #0 401 000c 01D1 bne .L15 202:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 203:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR; 402 .loc 1 203 12 403 000e 0123 movs r3, #1 404 0010 7AE0 b .L16 405 .L15: 204:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 205:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 206:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the parameters */ 207:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance)); 406 .loc 1 207 3 407 0012 7B68 ldr r3, [r7, #4] 408 0014 1B68 ldr r3, [r3] 409 0016 3E4A ldr r2, .L18 410 0018 9342 cmp r3, r2 411 001a 3AD0 beq .L17 412 .loc 1 207 3 is_stmt 0 discriminator 1 413 001c 7B68 ldr r3, [r7, #4] 414 001e 1B68 ldr r3, [r3] 415 0020 3C4A ldr r2, .L18+4 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 12 416 0022 9342 cmp r3, r2 417 0024 35D0 beq .L17 418 .loc 1 207 3 discriminator 2 419 0026 7B68 ldr r3, [r7, #4] 420 0028 1B68 ldr r3, [r3] 421 002a 3B4A ldr r2, .L18+8 422 002c 9342 cmp r3, r2 423 002e 30D0 beq .L17 424 .loc 1 207 3 discriminator 3 425 0030 7B68 ldr r3, [r7, #4] 426 0032 1B68 ldr r3, [r3] 427 0034 394A ldr r2, .L18+12 428 0036 9342 cmp r3, r2 429 0038 2BD0 beq .L17 430 .loc 1 207 3 discriminator 4 431 003a 7B68 ldr r3, [r7, #4] 432 003c 1B68 ldr r3, [r3] 433 003e 384A ldr r2, .L18+16 434 0040 9342 cmp r3, r2 435 0042 26D0 beq .L17 436 .loc 1 207 3 discriminator 5 437 0044 7B68 ldr r3, [r7, #4] 438 0046 1B68 ldr r3, [r3] 439 0048 364A ldr r2, .L18+20 440 004a 9342 cmp r3, r2 441 004c 21D0 beq .L17 442 .loc 1 207 3 discriminator 6 443 004e 7B68 ldr r3, [r7, #4] 444 0050 1B68 ldr r3, [r3] 445 0052 354A ldr r2, .L18+24 446 0054 9342 cmp r3, r2 447 0056 1CD0 beq .L17 448 .loc 1 207 3 discriminator 7 449 0058 7B68 ldr r3, [r7, #4] 450 005a 1B68 ldr r3, [r3] 451 005c 334A ldr r2, .L18+28 452 005e 9342 cmp r3, r2 453 0060 17D0 beq .L17 454 .loc 1 207 3 discriminator 8 455 0062 7B68 ldr r3, [r7, #4] 456 0064 1B68 ldr r3, [r3] 457 0066 324A ldr r2, .L18+32 458 0068 9342 cmp r3, r2 459 006a 12D0 beq .L17 460 .loc 1 207 3 discriminator 9 461 006c 7B68 ldr r3, [r7, #4] 462 006e 1B68 ldr r3, [r3] 463 0070 304A ldr r2, .L18+36 464 0072 9342 cmp r3, r2 465 0074 0DD0 beq .L17 466 .loc 1 207 3 discriminator 10 467 0076 7B68 ldr r3, [r7, #4] 468 0078 1B68 ldr r3, [r3] 469 007a 2F4A ldr r2, .L18+40 470 007c 9342 cmp r3, r2 471 007e 08D0 beq .L17 472 .loc 1 207 3 discriminator 11 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 13 473 0080 7B68 ldr r3, [r7, #4] 474 0082 1B68 ldr r3, [r3] 475 0084 2D4A ldr r2, .L18+44 476 0086 9342 cmp r3, r2 477 0088 03D0 beq .L17 478 .loc 1 207 3 discriminator 12 479 008a CF21 movs r1, #207 480 008c 2C48 ldr r0, .L18+48 481 008e FFF7FEFF bl assert_failed 482 .L17: 208:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 209:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the selected DMA Channelx */ 210:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN; 483 .loc 1 210 7 is_stmt 1 484 0092 7B68 ldr r3, [r7, #4] 485 0094 1B68 ldr r3, [r3] 486 .loc 1 210 23 487 0096 1A68 ldr r2, [r3] 488 .loc 1 210 7 489 0098 7B68 ldr r3, [r7, #4] 490 009a 1B68 ldr r3, [r3] 491 .loc 1 210 23 492 009c 22F00102 bic r2, r2, #1 493 00a0 1A60 str r2, [r3] 211:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 212:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset DMA Channel control register */ 213:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR = 0U; 494 .loc 1 213 7 495 00a2 7B68 ldr r3, [r7, #4] 496 00a4 1B68 ldr r3, [r3] 497 .loc 1 213 24 498 00a6 0022 movs r2, #0 499 00a8 1A60 str r2, [r3] 214:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 215:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset DMA Channel Number of Data to Transfer register */ 216:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CNDTR = 0U; 500 .loc 1 216 7 501 00aa 7B68 ldr r3, [r7, #4] 502 00ac 1B68 ldr r3, [r3] 503 .loc 1 216 25 504 00ae 0022 movs r2, #0 505 00b0 5A60 str r2, [r3, #4] 217:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 218:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset DMA Channel peripheral address register */ 219:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CPAR = 0U; 506 .loc 1 219 7 507 00b2 7B68 ldr r3, [r7, #4] 508 00b4 1B68 ldr r3, [r3] 509 .loc 1 219 25 510 00b6 0022 movs r2, #0 511 00b8 9A60 str r2, [r3, #8] 220:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 221:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset DMA Channel memory address register */ 222:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CMAR = 0U; 512 .loc 1 222 7 513 00ba 7B68 ldr r3, [r7, #4] 514 00bc 1B68 ldr r3, [r3] ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 14 515 .loc 1 222 24 516 00be 0022 movs r2, #0 517 00c0 DA60 str r2, [r3, #12] 223:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 224:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Get DMA Base Address */ 225:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_CalcBaseAndBitshift(hdma); 518 .loc 1 225 3 519 00c2 7868 ldr r0, [r7, #4] 520 00c4 FFF7FEFF bl DMA_CalcBaseAndBitshift 226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 227:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */ 228:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_GL1 << hdma->ChannelIndex; 521 .loc 1 228 52 522 00c8 7B68 ldr r3, [r7, #4] 523 00ca 1A6C ldr r2, [r3, #64] 524 .loc 1 228 7 525 00cc 7B68 ldr r3, [r7, #4] 526 00ce DB6B ldr r3, [r3, #60] 527 .loc 1 228 45 528 00d0 0121 movs r1, #1 529 00d2 01FA02F2 lsl r2, r1, r2 530 .loc 1 228 30 531 00d6 5A60 str r2, [r3, #4] 229:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 230:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clean callbacks */ 231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback = NULL; 532 .loc 1 231 26 533 00d8 7B68 ldr r3, [r7, #4] 534 00da 0022 movs r2, #0 535 00dc 9A62 str r2, [r3, #40] 232:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; 536 .loc 1 232 30 537 00de 7B68 ldr r3, [r7, #4] 538 00e0 0022 movs r2, #0 539 00e2 DA62 str r2, [r3, #44] 233:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = NULL; 540 .loc 1 233 27 541 00e4 7B68 ldr r3, [r7, #4] 542 00e6 0022 movs r2, #0 543 00e8 1A63 str r2, [r3, #48] 234:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = NULL; 544 .loc 1 234 27 545 00ea 7B68 ldr r3, [r7, #4] 546 00ec 0022 movs r2, #0 547 00ee 5A63 str r2, [r3, #52] 235:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 236:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset the error code */ 237:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; 548 .loc 1 237 19 549 00f0 7B68 ldr r3, [r7, #4] 550 00f2 0022 movs r2, #0 551 00f4 9A63 str r2, [r3, #56] 238:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 239:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset the DMA state */ 240:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_RESET; 552 .loc 1 240 15 553 00f6 7B68 ldr r3, [r7, #4] ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 15 554 00f8 0022 movs r2, #0 555 00fa 83F82120 strb r2, [r3, #33] 241:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 242:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Release Lock */ 243:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma); 556 .loc 1 243 3 557 00fe 7B68 ldr r3, [r7, #4] 558 0100 0022 movs r2, #0 559 0102 83F82020 strb r2, [r3, #32] 244:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 245:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_OK; 560 .loc 1 245 10 561 0106 0023 movs r3, #0 562 .L16: 246:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 563 .loc 1 246 1 564 0108 1846 mov r0, r3 565 010a 0837 adds r7, r7, #8 566 .LCFI8: 567 .cfi_def_cfa_offset 8 568 010c BD46 mov sp, r7 569 .LCFI9: 570 .cfi_def_cfa_register 13 571 @ sp needed 572 010e 80BD pop {r7, pc} 573 .L19: 574 .align 2 575 .L18: 576 0110 08000240 .word 1073872904 577 0114 1C000240 .word 1073872924 578 0118 30000240 .word 1073872944 579 011c 44000240 .word 1073872964 580 0120 58000240 .word 1073872984 581 0124 6C000240 .word 1073873004 582 0128 80000240 .word 1073873024 583 012c 08040240 .word 1073873928 584 0130 1C040240 .word 1073873948 585 0134 30040240 .word 1073873968 586 0138 44040240 .word 1073873988 587 013c 58040240 .word 1073874008 588 0140 00000000 .word .LC0 589 .cfi_endproc 590 .LFE131: 592 .section .text.HAL_DMA_Start,"ax",%progbits 593 .align 1 594 .global HAL_DMA_Start 595 .syntax unified 596 .thumb 597 .thumb_func 599 HAL_DMA_Start: 600 .LFB132: 247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 248:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 249:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @} 250:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 252:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group2 Input and Output operation functions ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 16 253:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief I/O operation functions 254:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * 255:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @verbatim 256:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** =============================================================================== 257:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ##### IO operation functions ##### 258:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** =============================================================================== 259:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..] This section provides functions allowing to: 260:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Configure the source, destination address and data length and Start DMA transfer 261:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Configure the source, destination address and data length and 262:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Start DMA transfer with interrupt 263:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Abort DMA transfer 264:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Poll for transfer complete 265:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Handle DMA interrupt request 266:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 267:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @endverbatim 268:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{ 269:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 270:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 271:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 272:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Start the DMA Transfer. 273:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains 274:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 275:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address 276:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address 277:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination 278:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status 279:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 280:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, 281:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 601 .loc 1 281 1 602 .cfi_startproc 603 @ args = 0, pretend = 0, frame = 24 604 @ frame_needed = 1, uses_anonymous_args = 0 605 0000 80B5 push {r7, lr} 606 .LCFI10: 607 .cfi_def_cfa_offset 8 608 .cfi_offset 7, -8 609 .cfi_offset 14, -4 610 0002 86B0 sub sp, sp, #24 611 .LCFI11: 612 .cfi_def_cfa_offset 32 613 0004 00AF add r7, sp, #0 614 .LCFI12: 615 .cfi_def_cfa_register 7 616 0006 F860 str r0, [r7, #12] 617 0008 B960 str r1, [r7, #8] 618 000a 7A60 str r2, [r7, #4] 619 000c 3B60 str r3, [r7] 282:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 620 .loc 1 282 21 621 000e 0023 movs r3, #0 622 0010 FB75 strb r3, [r7, #23] 283:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 284:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the parameters */ 285:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength)); 623 .loc 1 285 3 624 0012 3B68 ldr r3, [r7] ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 17 625 0014 002B cmp r3, #0 626 0016 03D0 beq .L21 627 .loc 1 285 3 is_stmt 0 discriminator 2 628 0018 3B68 ldr r3, [r7] 629 001a B3F5803F cmp r3, #65536 630 001e 04D3 bcc .L22 631 .L21: 632 .loc 1 285 3 discriminator 3 633 0020 40F21D11 movw r1, #285 634 0024 1D48 ldr r0, .L27 635 0026 FFF7FEFF bl assert_failed 636 .L22: 286:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 287:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process locked */ 288:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_LOCK(hdma); 637 .loc 1 288 3 is_stmt 1 638 002a FB68 ldr r3, [r7, #12] 639 002c 93F82030 ldrb r3, [r3, #32] @ zero_extendqisi2 640 0030 012B cmp r3, #1 641 0032 01D1 bne .L23 642 .loc 1 288 3 is_stmt 0 discriminator 1 643 0034 0223 movs r3, #2 644 0036 2DE0 b .L24 645 .L23: 646 .loc 1 288 3 discriminator 2 647 0038 FB68 ldr r3, [r7, #12] 648 003a 0122 movs r2, #1 649 003c 83F82020 strb r2, [r3, #32] 289:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 290:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State) 650 .loc 1 290 33 is_stmt 1 discriminator 2 651 0040 FB68 ldr r3, [r7, #12] 652 0042 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2 653 .loc 1 290 5 discriminator 2 654 0046 012B cmp r3, #1 655 0048 1DD1 bne .L25 291:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 292:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change DMA peripheral state */ 293:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY; 656 .loc 1 293 17 657 004a FB68 ldr r3, [r7, #12] 658 004c 0222 movs r2, #2 659 004e 83F82120 strb r2, [r3, #33] 294:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 295:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; 660 .loc 1 295 21 661 0052 FB68 ldr r3, [r7, #12] 662 0054 0022 movs r2, #0 663 0056 9A63 str r2, [r3, #56] 296:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 297:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the peripheral */ 298:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN; 664 .loc 1 298 9 665 0058 FB68 ldr r3, [r7, #12] 666 005a 1B68 ldr r3, [r3] 667 .loc 1 298 25 668 005c 1A68 ldr r2, [r3] ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 18 669 .loc 1 298 9 670 005e FB68 ldr r3, [r7, #12] 671 0060 1B68 ldr r3, [r3] 672 .loc 1 298 25 673 0062 22F00102 bic r2, r2, #1 674 0066 1A60 str r2, [r3] 299:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 300:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure the source, destination address and the data length */ 301:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength); 675 .loc 1 301 5 676 0068 3B68 ldr r3, [r7] 677 006a 7A68 ldr r2, [r7, #4] 678 006c B968 ldr r1, [r7, #8] 679 006e F868 ldr r0, [r7, #12] 680 0070 FFF7FEFF bl DMA_SetConfig 302:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 303:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Enable the Peripheral */ 304:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR |= DMA_CCR_EN; 681 .loc 1 304 9 682 0074 FB68 ldr r3, [r7, #12] 683 0076 1B68 ldr r3, [r3] 684 .loc 1 304 25 685 0078 1A68 ldr r2, [r3] 686 .loc 1 304 9 687 007a FB68 ldr r3, [r7, #12] 688 007c 1B68 ldr r3, [r3] 689 .loc 1 304 25 690 007e 42F00102 orr r2, r2, #1 691 0082 1A60 str r2, [r3] 692 0084 05E0 b .L26 693 .L25: 305:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 306:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else 307:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 308:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */ 309:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma); 694 .loc 1 309 5 695 0086 FB68 ldr r3, [r7, #12] 696 0088 0022 movs r2, #0 697 008a 83F82020 strb r2, [r3, #32] 310:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 311:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Remain BUSY */ 312:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_BUSY; 698 .loc 1 312 12 699 008e 0223 movs r3, #2 700 0090 FB75 strb r3, [r7, #23] 701 .L26: 313:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 314:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 315:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status; 702 .loc 1 315 10 703 0092 FB7D ldrb r3, [r7, #23] @ zero_extendqisi2 704 .L24: 316:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 705 .loc 1 316 1 706 0094 1846 mov r0, r3 707 0096 1837 adds r7, r7, #24 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 19 708 .LCFI13: 709 .cfi_def_cfa_offset 8 710 0098 BD46 mov sp, r7 711 .LCFI14: 712 .cfi_def_cfa_register 13 713 @ sp needed 714 009a 80BD pop {r7, pc} 715 .L28: 716 .align 2 717 .L27: 718 009c 00000000 .word .LC0 719 .cfi_endproc 720 .LFE132: 722 .section .text.HAL_DMA_Start_IT,"ax",%progbits 723 .align 1 724 .global HAL_DMA_Start_IT 725 .syntax unified 726 .thumb 727 .thumb_func 729 HAL_DMA_Start_IT: 730 .LFB133: 317:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 318:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 319:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Start the DMA Transfer with interrupt enabled. 320:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 321:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 322:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address 323:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address 324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination 325:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status 326:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 327:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddres 328:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 731 .loc 1 328 1 732 .cfi_startproc 733 @ args = 0, pretend = 0, frame = 24 734 @ frame_needed = 1, uses_anonymous_args = 0 735 0000 80B5 push {r7, lr} 736 .LCFI15: 737 .cfi_def_cfa_offset 8 738 .cfi_offset 7, -8 739 .cfi_offset 14, -4 740 0002 86B0 sub sp, sp, #24 741 .LCFI16: 742 .cfi_def_cfa_offset 32 743 0004 00AF add r7, sp, #0 744 .LCFI17: 745 .cfi_def_cfa_register 7 746 0006 F860 str r0, [r7, #12] 747 0008 B960 str r1, [r7, #8] 748 000a 7A60 str r2, [r7, #4] 749 000c 3B60 str r3, [r7] 329:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 750 .loc 1 329 21 751 000e 0023 movs r3, #0 752 0010 FB75 strb r3, [r7, #23] 330:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 20 331:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the parameters */ 332:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength)); 753 .loc 1 332 3 754 0012 3B68 ldr r3, [r7] 755 0014 002B cmp r3, #0 756 0016 03D0 beq .L30 757 .loc 1 332 3 is_stmt 0 discriminator 2 758 0018 3B68 ldr r3, [r7] 759 001a B3F5803F cmp r3, #65536 760 001e 04D3 bcc .L31 761 .L30: 762 .loc 1 332 3 discriminator 3 763 0020 4FF4A671 mov r1, #332 764 0024 2C48 ldr r0, .L38 765 0026 FFF7FEFF bl assert_failed 766 .L31: 333:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 334:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process locked */ 335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_LOCK(hdma); 767 .loc 1 335 3 is_stmt 1 768 002a FB68 ldr r3, [r7, #12] 769 002c 93F82030 ldrb r3, [r3, #32] @ zero_extendqisi2 770 0030 012B cmp r3, #1 771 0032 01D1 bne .L32 772 .loc 1 335 3 is_stmt 0 discriminator 1 773 0034 0223 movs r3, #2 774 0036 4AE0 b .L33 775 .L32: 776 .loc 1 335 3 discriminator 2 777 0038 FB68 ldr r3, [r7, #12] 778 003a 0122 movs r2, #1 779 003c 83F82020 strb r2, [r3, #32] 336:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 337:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State) 780 .loc 1 337 33 is_stmt 1 discriminator 2 781 0040 FB68 ldr r3, [r7, #12] 782 0042 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2 783 .loc 1 337 5 discriminator 2 784 0046 012B cmp r3, #1 785 0048 3AD1 bne .L34 338:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 339:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change DMA peripheral state */ 340:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY; 786 .loc 1 340 17 787 004a FB68 ldr r3, [r7, #12] 788 004c 0222 movs r2, #2 789 004e 83F82120 strb r2, [r3, #33] 341:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 342:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; 790 .loc 1 342 21 791 0052 FB68 ldr r3, [r7, #12] 792 0054 0022 movs r2, #0 793 0056 9A63 str r2, [r3, #56] 343:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 344:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the peripheral */ 345:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN; 794 .loc 1 345 9 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 21 795 0058 FB68 ldr r3, [r7, #12] 796 005a 1B68 ldr r3, [r3] 797 .loc 1 345 25 798 005c 1A68 ldr r2, [r3] 799 .loc 1 345 9 800 005e FB68 ldr r3, [r7, #12] 801 0060 1B68 ldr r3, [r3] 802 .loc 1 345 25 803 0062 22F00102 bic r2, r2, #1 804 0066 1A60 str r2, [r3] 346:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 347:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure the source, destination address and the data length */ 348:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength); 805 .loc 1 348 5 806 0068 3B68 ldr r3, [r7] 807 006a 7A68 ldr r2, [r7, #4] 808 006c B968 ldr r1, [r7, #8] 809 006e F868 ldr r0, [r7, #12] 810 0070 FFF7FEFF bl DMA_SetConfig 349:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 350:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Enable the transfer complete, & transfer error interrupts */ 351:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Half transfer interrupt is optional: enable it only if associated callback is available */ 352:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(NULL != hdma->XferHalfCpltCallback ) 811 .loc 1 352 20 812 0074 FB68 ldr r3, [r7, #12] 813 0076 DB6A ldr r3, [r3, #44] 814 .loc 1 352 7 815 0078 002B cmp r3, #0 816 007a 08D0 beq .L35 353:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 354:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR |= (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE); 817 .loc 1 354 11 818 007c FB68 ldr r3, [r7, #12] 819 007e 1B68 ldr r3, [r3] 820 .loc 1 354 27 821 0080 1A68 ldr r2, [r3] 822 .loc 1 354 11 823 0082 FB68 ldr r3, [r7, #12] 824 0084 1B68 ldr r3, [r3] 825 .loc 1 354 27 826 0086 42F00E02 orr r2, r2, #14 827 008a 1A60 str r2, [r3] 828 008c 0FE0 b .L36 829 .L35: 355:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 356:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else 357:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 358:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR |= (DMA_IT_TC | DMA_IT_TE); 830 .loc 1 358 11 831 008e FB68 ldr r3, [r7, #12] 832 0090 1B68 ldr r3, [r3] 833 .loc 1 358 27 834 0092 1A68 ldr r2, [r3] 835 .loc 1 358 11 836 0094 FB68 ldr r3, [r7, #12] 837 0096 1B68 ldr r3, [r3] 838 .loc 1 358 27 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 22 839 0098 42F00A02 orr r2, r2, #10 840 009c 1A60 str r2, [r3] 359:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_IT_HT; 841 .loc 1 359 11 842 009e FB68 ldr r3, [r7, #12] 843 00a0 1B68 ldr r3, [r3] 844 .loc 1 359 27 845 00a2 1A68 ldr r2, [r3] 846 .loc 1 359 11 847 00a4 FB68 ldr r3, [r7, #12] 848 00a6 1B68 ldr r3, [r3] 849 .loc 1 359 27 850 00a8 22F00402 bic r2, r2, #4 851 00ac 1A60 str r2, [r3] 852 .L36: 360:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 361:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 362:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Enable the Peripheral */ 363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR |= DMA_CCR_EN; 853 .loc 1 363 9 854 00ae FB68 ldr r3, [r7, #12] 855 00b0 1B68 ldr r3, [r3] 856 .loc 1 363 25 857 00b2 1A68 ldr r2, [r3] 858 .loc 1 363 9 859 00b4 FB68 ldr r3, [r7, #12] 860 00b6 1B68 ldr r3, [r3] 861 .loc 1 363 25 862 00b8 42F00102 orr r2, r2, #1 863 00bc 1A60 str r2, [r3] 864 00be 05E0 b .L37 865 .L34: 364:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 365:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else 366:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 367:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */ 368:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma); 866 .loc 1 368 5 867 00c0 FB68 ldr r3, [r7, #12] 868 00c2 0022 movs r2, #0 869 00c4 83F82020 strb r2, [r3, #32] 369:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 370:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Remain BUSY */ 371:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_BUSY; 870 .loc 1 371 12 871 00c8 0223 movs r3, #2 872 00ca FB75 strb r3, [r7, #23] 873 .L37: 372:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 373:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 374:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status; 874 .loc 1 374 10 875 00cc FB7D ldrb r3, [r7, #23] @ zero_extendqisi2 876 .L33: 375:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 877 .loc 1 375 1 878 00ce 1846 mov r0, r3 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 23 879 00d0 1837 adds r7, r7, #24 880 .LCFI18: 881 .cfi_def_cfa_offset 8 882 00d2 BD46 mov sp, r7 883 .LCFI19: 884 .cfi_def_cfa_register 13 885 @ sp needed 886 00d4 80BD pop {r7, pc} 887 .L39: 888 00d6 00BF .align 2 889 .L38: 890 00d8 00000000 .word .LC0 891 .cfi_endproc 892 .LFE133: 894 .section .text.HAL_DMA_Abort,"ax",%progbits 895 .align 1 896 .global HAL_DMA_Abort 897 .syntax unified 898 .thumb 899 .thumb_func 901 HAL_DMA_Abort: 902 .LFB134: 376:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 378:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Abort the DMA Transfer. 379:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains 380:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 381:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status 382:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 383:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma) 384:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 903 .loc 1 384 1 904 .cfi_startproc 905 @ args = 0, pretend = 0, frame = 8 906 @ frame_needed = 1, uses_anonymous_args = 0 907 @ link register save eliminated. 908 0000 80B4 push {r7} 909 .LCFI20: 910 .cfi_def_cfa_offset 4 911 .cfi_offset 7, -4 912 0002 83B0 sub sp, sp, #12 913 .LCFI21: 914 .cfi_def_cfa_offset 16 915 0004 00AF add r7, sp, #0 916 .LCFI22: 917 .cfi_def_cfa_register 7 918 0006 7860 str r0, [r7, #4] 385:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the DMA handle allocation */ 386:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(NULL == hdma) 919 .loc 1 386 5 920 0008 7B68 ldr r3, [r7, #4] 921 000a 002B cmp r3, #0 922 000c 01D1 bne .L41 387:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 388:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR; 923 .loc 1 388 12 924 000e 0123 movs r3, #1 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 24 925 0010 2EE0 b .L42 926 .L41: 389:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 390:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 391:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->State != HAL_DMA_STATE_BUSY) 927 .loc 1 391 10 928 0012 7B68 ldr r3, [r7, #4] 929 0014 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2 930 .loc 1 391 5 931 0018 022B cmp r3, #2 932 001a 08D0 beq .L43 392:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 393:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* no transfer ongoing */ 394:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER; 933 .loc 1 394 21 934 001c 7B68 ldr r3, [r7, #4] 935 001e 0422 movs r2, #4 936 0020 9A63 str r2, [r3, #56] 395:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 396:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */ 397:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma); 937 .loc 1 397 5 938 0022 7B68 ldr r3, [r7, #4] 939 0024 0022 movs r2, #0 940 0026 83F82020 strb r2, [r3, #32] 398:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 399:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR; 941 .loc 1 399 12 942 002a 0123 movs r3, #1 943 002c 20E0 b .L42 944 .L43: 400:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 401:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else 402:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 403:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable DMA IT */ 404:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~(DMA_IT_TC | DMA_IT_HT | DMA_IT_TE); 945 .loc 1 404 9 946 002e 7B68 ldr r3, [r7, #4] 947 0030 1B68 ldr r3, [r3] 948 .loc 1 404 25 949 0032 1A68 ldr r2, [r3] 950 .loc 1 404 9 951 0034 7B68 ldr r3, [r7, #4] 952 0036 1B68 ldr r3, [r3] 953 .loc 1 404 25 954 0038 22F00E02 bic r2, r2, #14 955 003c 1A60 str r2, [r3] 405:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 406:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the channel */ 407:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN; 956 .loc 1 407 9 957 003e 7B68 ldr r3, [r7, #4] 958 0040 1B68 ldr r3, [r3] 959 .loc 1 407 25 960 0042 1A68 ldr r2, [r3] 961 .loc 1 407 9 962 0044 7B68 ldr r3, [r7, #4] ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 25 963 0046 1B68 ldr r3, [r3] 964 .loc 1 407 25 965 0048 22F00102 bic r2, r2, #1 966 004c 1A60 str r2, [r3] 408:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 409:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */ 410:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_FLAG_GL1 << hdma->ChannelIndex); 967 .loc 1 410 55 968 004e 7B68 ldr r3, [r7, #4] 969 0050 1A6C ldr r2, [r3, #64] 970 .loc 1 410 9 971 0052 7B68 ldr r3, [r7, #4] 972 0054 DB6B ldr r3, [r3, #60] 973 .loc 1 410 48 974 0056 0121 movs r1, #1 975 0058 01FA02F2 lsl r2, r1, r2 976 .loc 1 410 32 977 005c 5A60 str r2, [r3, #4] 411:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 412:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state*/ 413:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 978 .loc 1 413 15 979 005e 7B68 ldr r3, [r7, #4] 980 0060 0122 movs r2, #1 981 0062 83F82120 strb r2, [r3, #33] 414:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 415:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */ 416:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma); 982 .loc 1 416 3 983 0066 7B68 ldr r3, [r7, #4] 984 0068 0022 movs r2, #0 985 006a 83F82020 strb r2, [r3, #32] 417:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 418:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_OK; 986 .loc 1 418 10 987 006e 0023 movs r3, #0 988 .L42: 419:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 989 .loc 1 419 1 990 0070 1846 mov r0, r3 991 0072 0C37 adds r7, r7, #12 992 .LCFI23: 993 .cfi_def_cfa_offset 4 994 0074 BD46 mov sp, r7 995 .LCFI24: 996 .cfi_def_cfa_register 13 997 @ sp needed 998 0076 5DF8047B ldr r7, [sp], #4 999 .LCFI25: 1000 .cfi_restore 7 1001 .cfi_def_cfa_offset 0 1002 007a 7047 bx lr 1003 .cfi_endproc 1004 .LFE134: 1006 .section .text.HAL_DMA_Abort_IT,"ax",%progbits 1007 .align 1 1008 .global HAL_DMA_Abort_IT ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 26 1009 .syntax unified 1010 .thumb 1011 .thumb_func 1013 HAL_DMA_Abort_IT: 1014 .LFB135: 420:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 421:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Abort the DMA Transfer in Interrupt mode. 423:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains 424:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Stream. 425:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status 426:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 427:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma) 428:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 1015 .loc 1 428 1 1016 .cfi_startproc 1017 @ args = 0, pretend = 0, frame = 16 1018 @ frame_needed = 1, uses_anonymous_args = 0 1019 0000 80B5 push {r7, lr} 1020 .LCFI26: 1021 .cfi_def_cfa_offset 8 1022 .cfi_offset 7, -8 1023 .cfi_offset 14, -4 1024 0002 84B0 sub sp, sp, #16 1025 .LCFI27: 1026 .cfi_def_cfa_offset 24 1027 0004 00AF add r7, sp, #0 1028 .LCFI28: 1029 .cfi_def_cfa_register 7 1030 0006 7860 str r0, [r7, #4] 429:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 1031 .loc 1 429 21 1032 0008 0023 movs r3, #0 1033 000a FB73 strb r3, [r7, #15] 430:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 431:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State) 1034 .loc 1 431 32 1035 000c 7B68 ldr r3, [r7, #4] 1036 000e 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2 1037 .loc 1 431 5 1038 0012 022B cmp r3, #2 1039 0014 05D0 beq .L45 432:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 433:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* no transfer ongoing */ 434:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER; 1040 .loc 1 434 21 1041 0016 7B68 ldr r3, [r7, #4] 1042 0018 0422 movs r2, #4 1043 001a 9A63 str r2, [r3, #56] 435:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 436:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR; 1044 .loc 1 436 12 1045 001c 0123 movs r3, #1 1046 001e FB73 strb r3, [r7, #15] 1047 0020 27E0 b .L46 1048 .L45: 437:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 27 438:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else 439:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 440:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable DMA IT */ 441:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~(DMA_IT_TC | DMA_IT_HT | DMA_IT_TE); 1049 .loc 1 441 9 1050 0022 7B68 ldr r3, [r7, #4] 1051 0024 1B68 ldr r3, [r3] 1052 .loc 1 441 25 1053 0026 1A68 ldr r2, [r3] 1054 .loc 1 441 9 1055 0028 7B68 ldr r3, [r7, #4] 1056 002a 1B68 ldr r3, [r3] 1057 .loc 1 441 25 1058 002c 22F00E02 bic r2, r2, #14 1059 0030 1A60 str r2, [r3] 442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 443:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the channel */ 444:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN; 1060 .loc 1 444 9 1061 0032 7B68 ldr r3, [r7, #4] 1062 0034 1B68 ldr r3, [r3] 1063 .loc 1 444 25 1064 0036 1A68 ldr r2, [r3] 1065 .loc 1 444 9 1066 0038 7B68 ldr r3, [r7, #4] 1067 003a 1B68 ldr r3, [r3] 1068 .loc 1 444 25 1069 003c 22F00102 bic r2, r2, #1 1070 0040 1A60 str r2, [r3] 445:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 446:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */ 447:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_GL1 << hdma->ChannelIndex; 1071 .loc 1 447 54 1072 0042 7B68 ldr r3, [r7, #4] 1073 0044 1A6C ldr r2, [r3, #64] 1074 .loc 1 447 9 1075 0046 7B68 ldr r3, [r7, #4] 1076 0048 DB6B ldr r3, [r3, #60] 1077 .loc 1 447 47 1078 004a 0121 movs r1, #1 1079 004c 01FA02F2 lsl r2, r1, r2 1080 .loc 1 447 32 1081 0050 5A60 str r2, [r3, #4] 448:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 449:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */ 450:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 1082 .loc 1 450 17 1083 0052 7B68 ldr r3, [r7, #4] 1084 0054 0122 movs r2, #1 1085 0056 83F82120 strb r2, [r3, #33] 451:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 452:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */ 453:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma); 1086 .loc 1 453 5 1087 005a 7B68 ldr r3, [r7, #4] 1088 005c 0022 movs r2, #0 1089 005e 83F82020 strb r2, [r3, #32] ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 28 454:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 455:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Call User Abort callback */ 456:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->XferAbortCallback != NULL) 1090 .loc 1 456 12 1091 0062 7B68 ldr r3, [r7, #4] 1092 0064 5B6B ldr r3, [r3, #52] 1093 .loc 1 456 7 1094 0066 002B cmp r3, #0 1095 0068 03D0 beq .L46 457:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 458:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback(hdma); 1096 .loc 1 458 11 1097 006a 7B68 ldr r3, [r7, #4] 1098 006c 5B6B ldr r3, [r3, #52] 1099 .loc 1 458 7 1100 006e 7868 ldr r0, [r7, #4] 1101 0070 9847 blx r3 1102 .LVL0: 1103 .L46: 459:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 460:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 461:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status; 1104 .loc 1 461 10 1105 0072 FB7B ldrb r3, [r7, #15] @ zero_extendqisi2 462:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 1106 .loc 1 462 1 1107 0074 1846 mov r0, r3 1108 0076 1037 adds r7, r7, #16 1109 .LCFI29: 1110 .cfi_def_cfa_offset 8 1111 0078 BD46 mov sp, r7 1112 .LCFI30: 1113 .cfi_def_cfa_register 13 1114 @ sp needed 1115 007a 80BD pop {r7, pc} 1116 .cfi_endproc 1117 .LFE135: 1119 .section .text.HAL_DMA_PollForTransfer,"ax",%progbits 1120 .align 1 1121 .global HAL_DMA_PollForTransfer 1122 .syntax unified 1123 .thumb 1124 .thumb_func 1126 HAL_DMA_PollForTransfer: 1127 .LFB136: 463:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 464:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 465:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Polling for transfer complete. 466:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 467:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param CompleteLevel Specifies the DMA level complete. 469:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param Timeout Timeout duration. 470:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status 471:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 472:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, uint32_t CompleteLevel, uint32_t 473:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 1128 .loc 1 473 1 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 29 1129 .cfi_startproc 1130 @ args = 0, pretend = 0, frame = 24 1131 @ frame_needed = 1, uses_anonymous_args = 0 1132 0000 80B5 push {r7, lr} 1133 .LCFI31: 1134 .cfi_def_cfa_offset 8 1135 .cfi_offset 7, -8 1136 .cfi_offset 14, -4 1137 0002 86B0 sub sp, sp, #24 1138 .LCFI32: 1139 .cfi_def_cfa_offset 32 1140 0004 00AF add r7, sp, #0 1141 .LCFI33: 1142 .cfi_def_cfa_register 7 1143 0006 F860 str r0, [r7, #12] 1144 0008 B960 str r1, [r7, #8] 1145 000a 7A60 str r2, [r7, #4] 474:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t temp; 475:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t tickstart = 0U; 1146 .loc 1 475 12 1147 000c 0023 movs r3, #0 1148 000e 3B61 str r3, [r7, #16] 476:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 477:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State) 1149 .loc 1 477 32 1150 0010 FB68 ldr r3, [r7, #12] 1151 0012 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2 1152 .loc 1 477 5 1153 0016 022B cmp r3, #2 1154 0018 08D0 beq .L49 478:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 479:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* no transfer ongoing */ 480:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER; 1155 .loc 1 480 21 1156 001a FB68 ldr r3, [r7, #12] 1157 001c 0422 movs r2, #4 1158 001e 9A63 str r2, [r3, #56] 481:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma); 1159 .loc 1 481 5 1160 0020 FB68 ldr r3, [r7, #12] 1161 0022 0022 movs r2, #0 1162 0024 83F82020 strb r2, [r3, #32] 482:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR; 1163 .loc 1 482 12 1164 0028 0123 movs r3, #1 1165 002a 80E0 b .L50 1166 .L49: 483:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 484:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 485:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Polling mode not supported in circular mode */ 486:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if (RESET != (hdma->Instance->CCR & DMA_CCR_CIRC)) 1167 .loc 1 486 21 1168 002c FB68 ldr r3, [r7, #12] 1169 002e 1B68 ldr r3, [r3] 1170 .loc 1 486 31 1171 0030 1B68 ldr r3, [r3] 1172 .loc 1 486 37 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 30 1173 0032 03F02003 and r3, r3, #32 1174 .loc 1 486 6 1175 0036 002B cmp r3, #0 1176 0038 05D0 beq .L51 487:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 488:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NOT_SUPPORTED; 1177 .loc 1 488 21 1178 003a FB68 ldr r3, [r7, #12] 1179 003c 4FF48072 mov r2, #256 1180 0040 9A63 str r2, [r3, #56] 489:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR; 1181 .loc 1 489 12 1182 0042 0123 movs r3, #1 1183 0044 73E0 b .L50 1184 .L51: 490:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 491:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 492:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Get the level transfer complete flag */ 493:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_FULL_TRANSFER == CompleteLevel) 1185 .loc 1 493 5 1186 0046 BB68 ldr r3, [r7, #8] 1187 0048 002B cmp r3, #0 1188 004a 06D1 bne .L52 494:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 495:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer Complete flag */ 496:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** temp = DMA_FLAG_TC1 << hdma->ChannelIndex; 1189 .loc 1 496 32 1190 004c FB68 ldr r3, [r7, #12] 1191 004e 1B6C ldr r3, [r3, #64] 1192 .loc 1 496 10 1193 0050 0222 movs r2, #2 1194 0052 02FA03F3 lsl r3, r2, r3 1195 0056 7B61 str r3, [r7, #20] 1196 0058 05E0 b .L53 1197 .L52: 497:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 498:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else 499:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 500:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Half Transfer Complete flag */ 501:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** temp = DMA_FLAG_HT1 << hdma->ChannelIndex; 1198 .loc 1 501 32 1199 005a FB68 ldr r3, [r7, #12] 1200 005c 1B6C ldr r3, [r3, #64] 1201 .loc 1 501 10 1202 005e 0422 movs r2, #4 1203 0060 02FA03F3 lsl r3, r2, r3 1204 0064 7B61 str r3, [r7, #20] 1205 .L53: 502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 503:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 504:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Get tick */ 505:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** tickstart = HAL_GetTick(); 1206 .loc 1 505 15 1207 0066 FFF7FEFF bl HAL_GetTick 1208 006a 3861 str r0, [r7, #16] 506:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** while(RESET == (hdma->DmaBaseAddress->ISR & temp)) ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 31 1209 .loc 1 507 8 1210 006c 3BE0 b .L54 1211 .L57: 508:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 509:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(RESET != (hdma->DmaBaseAddress->ISR & (DMA_FLAG_TE1 << hdma->ChannelIndex))) 1212 .loc 1 509 22 1213 006e FB68 ldr r3, [r7, #12] 1214 0070 DB6B ldr r3, [r3, #60] 1215 .loc 1 509 38 1216 0072 1A68 ldr r2, [r3] 1217 .loc 1 509 67 1218 0074 FB68 ldr r3, [r7, #12] 1219 0076 1B6C ldr r3, [r3, #64] 1220 .loc 1 509 60 1221 0078 0821 movs r1, #8 1222 007a 01FA03F3 lsl r3, r1, r3 1223 .loc 1 509 44 1224 007e 1340 ands r3, r3, r2 1225 .loc 1 509 7 1226 0080 002B cmp r3, #0 1227 0082 14D0 beq .L55 510:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 511:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* When a DMA transfer error occurs */ 512:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */ 513:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */ 514:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_GL1 << hdma->ChannelIndex; 1228 .loc 1 514 56 1229 0084 FB68 ldr r3, [r7, #12] 1230 0086 1A6C ldr r2, [r3, #64] 1231 .loc 1 514 11 1232 0088 FB68 ldr r3, [r7, #12] 1233 008a DB6B ldr r3, [r3, #60] 1234 .loc 1 514 49 1235 008c 0121 movs r1, #1 1236 008e 01FA02F2 lsl r2, r1, r2 1237 .loc 1 514 34 1238 0092 5A60 str r2, [r3, #4] 515:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 516:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Update error code */ 517:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TE; 1239 .loc 1 517 23 1240 0094 FB68 ldr r3, [r7, #12] 1241 0096 0122 movs r2, #1 1242 0098 9A63 str r2, [r3, #56] 518:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 519:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */ 520:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State= HAL_DMA_STATE_READY; 1243 .loc 1 520 18 1244 009a FB68 ldr r3, [r7, #12] 1245 009c 0122 movs r2, #1 1246 009e 83F82120 strb r2, [r3, #33] 521:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 522:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */ 523:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma); 1247 .loc 1 523 7 1248 00a2 FB68 ldr r3, [r7, #12] 1249 00a4 0022 movs r2, #0 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 32 1250 00a6 83F82020 strb r2, [r3, #32] 524:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 525:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR; 1251 .loc 1 525 14 1252 00aa 0123 movs r3, #1 1253 00ac 3FE0 b .L50 1254 .L55: 526:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 527:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check for the Timeout */ 528:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(Timeout != HAL_MAX_DELAY) 1255 .loc 1 528 7 1256 00ae 7B68 ldr r3, [r7, #4] 1257 00b0 B3F1FF3F cmp r3, #-1 1258 00b4 17D0 beq .L54 529:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 530:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if((Timeout == 0U) || ((HAL_GetTick() - tickstart) > Timeout)) 1259 .loc 1 530 9 1260 00b6 7B68 ldr r3, [r7, #4] 1261 00b8 002B cmp r3, #0 1262 00ba 07D0 beq .L56 1263 .loc 1 530 31 discriminator 1 1264 00bc FFF7FEFF bl HAL_GetTick 1265 00c0 0246 mov r2, r0 1266 .loc 1 530 45 discriminator 1 1267 00c2 3B69 ldr r3, [r7, #16] 1268 00c4 D31A subs r3, r2, r3 1269 .loc 1 530 26 discriminator 1 1270 00c6 7A68 ldr r2, [r7, #4] 1271 00c8 9A42 cmp r2, r3 1272 00ca 0CD2 bcs .L54 1273 .L56: 531:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 532:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Update error code */ 533:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TIMEOUT; 1274 .loc 1 533 25 1275 00cc FB68 ldr r3, [r7, #12] 1276 00ce 2022 movs r2, #32 1277 00d0 9A63 str r2, [r3, #56] 534:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 535:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */ 536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 1278 .loc 1 536 21 1279 00d2 FB68 ldr r3, [r7, #12] 1280 00d4 0122 movs r2, #1 1281 00d6 83F82120 strb r2, [r3, #33] 537:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 538:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */ 539:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma); 1282 .loc 1 539 9 1283 00da FB68 ldr r3, [r7, #12] 1284 00dc 0022 movs r2, #0 1285 00de 83F82020 strb r2, [r3, #32] 540:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 541:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR; 1286 .loc 1 541 16 1287 00e2 0123 movs r3, #1 1288 00e4 23E0 b .L50 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 33 1289 .L54: 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 1290 .loc 1 507 23 1291 00e6 FB68 ldr r3, [r7, #12] 1292 00e8 DB6B ldr r3, [r3, #60] 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 1293 .loc 1 507 39 1294 00ea 1A68 ldr r2, [r3] 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 1295 .loc 1 507 45 1296 00ec 7B69 ldr r3, [r7, #20] 1297 00ee 1340 ands r3, r3, r2 507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 1298 .loc 1 507 8 1299 00f0 002B cmp r3, #0 1300 00f2 BCD0 beq .L57 542:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 543:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 544:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 545:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 546:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_FULL_TRANSFER == CompleteLevel) 1301 .loc 1 546 5 1302 00f4 BB68 ldr r3, [r7, #8] 1303 00f6 002B cmp r3, #0 1304 00f8 0CD1 bne .L58 547:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 548:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear the transfer complete flag */ 549:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_TC1 << hdma->ChannelIndex; 1305 .loc 1 549 54 1306 00fa FB68 ldr r3, [r7, #12] 1307 00fc 1A6C ldr r2, [r3, #64] 1308 .loc 1 549 9 1309 00fe FB68 ldr r3, [r7, #12] 1310 0100 DB6B ldr r3, [r3, #60] 1311 .loc 1 549 47 1312 0102 0221 movs r1, #2 1313 0104 01FA02F2 lsl r2, r1, r2 1314 .loc 1 549 32 1315 0108 5A60 str r2, [r3, #4] 550:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 551:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* The selected Channelx EN bit is cleared (DMA is disabled and 552:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** all transfers are complete) */ 553:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 1316 .loc 1 553 17 1317 010a FB68 ldr r3, [r7, #12] 1318 010c 0122 movs r2, #1 1319 010e 83F82120 strb r2, [r3, #33] 1320 0112 07E0 b .L59 1321 .L58: 554:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 555:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else 556:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 557:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear the half transfer complete flag */ 558:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_HT1 << hdma->ChannelIndex; 1322 .loc 1 558 54 1323 0114 FB68 ldr r3, [r7, #12] 1324 0116 1A6C ldr r2, [r3, #64] ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 34 1325 .loc 1 558 9 1326 0118 FB68 ldr r3, [r7, #12] 1327 011a DB6B ldr r3, [r3, #60] 1328 .loc 1 558 47 1329 011c 0421 movs r1, #4 1330 011e 01FA02F2 lsl r2, r1, r2 1331 .loc 1 558 32 1332 0122 5A60 str r2, [r3, #4] 1333 .L59: 559:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 560:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 561:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process unlocked */ 562:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma); 1334 .loc 1 562 3 1335 0124 FB68 ldr r3, [r7, #12] 1336 0126 0022 movs r2, #0 1337 0128 83F82020 strb r2, [r3, #32] 563:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 564:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_OK; 1338 .loc 1 564 10 1339 012c 0023 movs r3, #0 1340 .L50: 565:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 1341 .loc 1 565 1 1342 012e 1846 mov r0, r3 1343 0130 1837 adds r7, r7, #24 1344 .LCFI34: 1345 .cfi_def_cfa_offset 8 1346 0132 BD46 mov sp, r7 1347 .LCFI35: 1348 .cfi_def_cfa_register 13 1349 @ sp needed 1350 0134 80BD pop {r7, pc} 1351 .cfi_endproc 1352 .LFE136: 1354 .section .text.HAL_DMA_IRQHandler,"ax",%progbits 1355 .align 1 1356 .global HAL_DMA_IRQHandler 1357 .syntax unified 1358 .thumb 1359 .thumb_func 1361 HAL_DMA_IRQHandler: 1362 .LFB137: 566:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 567:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 568:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Handle DMA interrupt request. 569:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 570:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 571:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval None 572:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 573:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma) 574:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 1363 .loc 1 574 1 1364 .cfi_startproc 1365 @ args = 0, pretend = 0, frame = 16 1366 @ frame_needed = 1, uses_anonymous_args = 0 1367 0000 80B5 push {r7, lr} ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 35 1368 .LCFI36: 1369 .cfi_def_cfa_offset 8 1370 .cfi_offset 7, -8 1371 .cfi_offset 14, -4 1372 0002 84B0 sub sp, sp, #16 1373 .LCFI37: 1374 .cfi_def_cfa_offset 24 1375 0004 00AF add r7, sp, #0 1376 .LCFI38: 1377 .cfi_def_cfa_register 7 1378 0006 7860 str r0, [r7, #4] 575:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR; 1379 .loc 1 575 26 1380 0008 7B68 ldr r3, [r7, #4] 1381 000a DB6B ldr r3, [r3, #60] 1382 .loc 1 575 12 1383 000c 1B68 ldr r3, [r3] 1384 000e FB60 str r3, [r7, #12] 576:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR; 1385 .loc 1 576 28 1386 0010 7B68 ldr r3, [r7, #4] 1387 0012 1B68 ldr r3, [r3] 1388 .loc 1 576 12 1389 0014 1B68 ldr r3, [r3] 1390 0016 BB60 str r3, [r7, #8] 577:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 578:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Half Transfer Complete Interrupt management ******************************/ 579:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if ((RESET != (flag_it & (DMA_FLAG_HT1 << hdma->ChannelIndex))) && (RESET != (source_it & DMA_IT_ 1391 .loc 1 579 49 1392 0018 7B68 ldr r3, [r7, #4] 1393 001a 1B6C ldr r3, [r3, #64] 1394 .loc 1 579 42 1395 001c 0422 movs r2, #4 1396 001e 9A40 lsls r2, r2, r3 1397 .loc 1 579 26 1398 0020 FB68 ldr r3, [r7, #12] 1399 0022 1340 ands r3, r3, r2 1400 .loc 1 579 6 1401 0024 002B cmp r3, #0 1402 0026 24D0 beq .L61 1403 .loc 1 579 91 discriminator 1 1404 0028 BB68 ldr r3, [r7, #8] 1405 002a 03F00403 and r3, r3, #4 1406 .loc 1 579 67 discriminator 1 1407 002e 002B cmp r3, #0 1408 0030 1FD0 beq .L61 580:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 581:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the half transfer interrupt if the DMA mode is not CIRCULAR */ 582:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U) 1409 .loc 1 582 13 1410 0032 7B68 ldr r3, [r7, #4] 1411 0034 1B68 ldr r3, [r3] 1412 .loc 1 582 23 1413 0036 1B68 ldr r3, [r3] 1414 .loc 1 582 29 1415 0038 03F02003 and r3, r3, #32 1416 .loc 1 582 7 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 36 1417 003c 002B cmp r3, #0 1418 003e 07D1 bne .L62 583:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 584:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the half transfer interrupt */ 585:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_IT_HT; 1419 .loc 1 585 11 1420 0040 7B68 ldr r3, [r7, #4] 1421 0042 1B68 ldr r3, [r3] 1422 .loc 1 585 27 1423 0044 1A68 ldr r2, [r3] 1424 .loc 1 585 11 1425 0046 7B68 ldr r3, [r7, #4] 1426 0048 1B68 ldr r3, [r3] 1427 .loc 1 585 27 1428 004a 22F00402 bic r2, r2, #4 1429 004e 1A60 str r2, [r3] 1430 .L62: 586:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 587:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 588:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear the half transfer complete flag */ 589:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_HT1 << hdma->ChannelIndex; 1431 .loc 1 589 54 1432 0050 7B68 ldr r3, [r7, #4] 1433 0052 1A6C ldr r2, [r3, #64] 1434 .loc 1 589 9 1435 0054 7B68 ldr r3, [r7, #4] 1436 0056 DB6B ldr r3, [r3, #60] 1437 .loc 1 589 47 1438 0058 0421 movs r1, #4 1439 005a 01FA02F2 lsl r2, r1, r2 1440 .loc 1 589 32 1441 005e 5A60 str r2, [r3, #4] 590:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 591:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* DMA peripheral state is not updated in Half Transfer */ 592:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* State is updated only in Transfer Complete case */ 593:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 594:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->XferHalfCpltCallback != NULL) 1442 .loc 1 594 12 1443 0060 7B68 ldr r3, [r7, #4] 1444 0062 DB6A ldr r3, [r3, #44] 1445 .loc 1 594 7 1446 0064 002B cmp r3, #0 1447 0066 6AD0 beq .L64 595:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 596:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Half transfer callback */ 597:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback(hdma); 1448 .loc 1 597 11 1449 0068 7B68 ldr r3, [r7, #4] 1450 006a DB6A ldr r3, [r3, #44] 1451 .loc 1 597 7 1452 006c 7868 ldr r0, [r7, #4] 1453 006e 9847 blx r3 1454 .LVL1: 594:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 1455 .loc 1 594 7 1456 0070 65E0 b .L64 1457 .L61: ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 37 598:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 599:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 600:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 601:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer Complete Interrupt management ***********************************/ 602:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else if ((RESET != (flag_it & (DMA_FLAG_TC1 << hdma->ChannelIndex))) && (RESET != (source_it & DM 1458 .loc 1 602 54 1459 0072 7B68 ldr r3, [r7, #4] 1460 0074 1B6C ldr r3, [r3, #64] 1461 .loc 1 602 47 1462 0076 0222 movs r2, #2 1463 0078 9A40 lsls r2, r2, r3 1464 .loc 1 602 31 1465 007a FB68 ldr r3, [r7, #12] 1466 007c 1340 ands r3, r3, r2 1467 .loc 1 602 11 1468 007e 002B cmp r3, #0 1469 0080 2CD0 beq .L65 1470 .loc 1 602 96 discriminator 1 1471 0082 BB68 ldr r3, [r7, #8] 1472 0084 03F00203 and r3, r3, #2 1473 .loc 1 602 72 discriminator 1 1474 0088 002B cmp r3, #0 1475 008a 27D0 beq .L65 603:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 604:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U) 1476 .loc 1 604 13 1477 008c 7B68 ldr r3, [r7, #4] 1478 008e 1B68 ldr r3, [r3] 1479 .loc 1 604 23 1480 0090 1B68 ldr r3, [r3] 1481 .loc 1 604 29 1482 0092 03F02003 and r3, r3, #32 1483 .loc 1 604 7 1484 0096 002B cmp r3, #0 1485 0098 0BD1 bne .L66 605:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 606:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the transfer complete & transfer error interrupts */ 607:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* if the DMA mode is not CIRCULAR */ 608:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~(DMA_IT_TC | DMA_IT_TE); 1486 .loc 1 608 11 1487 009a 7B68 ldr r3, [r7, #4] 1488 009c 1B68 ldr r3, [r3] 1489 .loc 1 608 27 1490 009e 1A68 ldr r2, [r3] 1491 .loc 1 608 11 1492 00a0 7B68 ldr r3, [r7, #4] 1493 00a2 1B68 ldr r3, [r3] 1494 .loc 1 608 27 1495 00a4 22F00A02 bic r2, r2, #10 1496 00a8 1A60 str r2, [r3] 609:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 610:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */ 611:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 1497 .loc 1 611 19 1498 00aa 7B68 ldr r3, [r7, #4] 1499 00ac 0122 movs r2, #1 1500 00ae 83F82120 strb r2, [r3, #33] ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 38 1501 .L66: 612:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 613:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 614:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear the transfer complete flag */ 615:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_TC1 << hdma->ChannelIndex; 1502 .loc 1 615 54 1503 00b2 7B68 ldr r3, [r7, #4] 1504 00b4 1A6C ldr r2, [r3, #64] 1505 .loc 1 615 9 1506 00b6 7B68 ldr r3, [r7, #4] 1507 00b8 DB6B ldr r3, [r3, #60] 1508 .loc 1 615 47 1509 00ba 0221 movs r1, #2 1510 00bc 01FA02F2 lsl r2, r1, r2 1511 .loc 1 615 32 1512 00c0 5A60 str r2, [r3, #4] 616:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 617:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */ 618:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma); 1513 .loc 1 618 5 1514 00c2 7B68 ldr r3, [r7, #4] 1515 00c4 0022 movs r2, #0 1516 00c6 83F82020 strb r2, [r3, #32] 619:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 620:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->XferCpltCallback != NULL) 1517 .loc 1 620 12 1518 00ca 7B68 ldr r3, [r7, #4] 1519 00cc 9B6A ldr r3, [r3, #40] 1520 .loc 1 620 7 1521 00ce 002B cmp r3, #0 1522 00d0 35D0 beq .L64 621:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 622:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer complete callback */ 623:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback(hdma); 1523 .loc 1 623 11 1524 00d2 7B68 ldr r3, [r7, #4] 1525 00d4 9B6A ldr r3, [r3, #40] 1526 .loc 1 623 7 1527 00d6 7868 ldr r0, [r7, #4] 1528 00d8 9847 blx r3 1529 .LVL2: 620:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 1530 .loc 1 620 7 1531 00da 30E0 b .L64 1532 .L65: 624:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 625:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 626:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 627:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer Error Interrupt management ***************************************/ 628:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else if (( RESET != (flag_it & (DMA_FLAG_TE1 << hdma->ChannelIndex))) && (RESET != (source_it & D 1533 .loc 1 628 55 1534 00dc 7B68 ldr r3, [r7, #4] 1535 00de 1B6C ldr r3, [r3, #64] 1536 .loc 1 628 48 1537 00e0 0822 movs r2, #8 1538 00e2 9A40 lsls r2, r2, r3 1539 .loc 1 628 32 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 39 1540 00e4 FB68 ldr r3, [r7, #12] 1541 00e6 1340 ands r3, r3, r2 1542 .loc 1 628 11 1543 00e8 002B cmp r3, #0 1544 00ea 28D0 beq .L68 1545 .loc 1 628 97 discriminator 1 1546 00ec BB68 ldr r3, [r7, #8] 1547 00ee 03F00803 and r3, r3, #8 1548 .loc 1 628 73 discriminator 1 1549 00f2 002B cmp r3, #0 1550 00f4 23D0 beq .L68 629:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 630:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* When a DMA transfer error occurs */ 631:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */ 632:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Then, disable all DMA interrupts */ 633:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~(DMA_IT_TC | DMA_IT_HT | DMA_IT_TE); 1551 .loc 1 633 9 1552 00f6 7B68 ldr r3, [r7, #4] 1553 00f8 1B68 ldr r3, [r3] 1554 .loc 1 633 25 1555 00fa 1A68 ldr r2, [r3] 1556 .loc 1 633 9 1557 00fc 7B68 ldr r3, [r7, #4] 1558 00fe 1B68 ldr r3, [r3] 1559 .loc 1 633 25 1560 0100 22F00E02 bic r2, r2, #14 1561 0104 1A60 str r2, [r3] 634:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 635:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */ 636:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_GL1 << hdma->ChannelIndex; 1562 .loc 1 636 54 1563 0106 7B68 ldr r3, [r7, #4] 1564 0108 1A6C ldr r2, [r3, #64] 1565 .loc 1 636 9 1566 010a 7B68 ldr r3, [r7, #4] 1567 010c DB6B ldr r3, [r3, #60] 1568 .loc 1 636 47 1569 010e 0121 movs r1, #1 1570 0110 01FA02F2 lsl r2, r1, r2 1571 .loc 1 636 32 1572 0114 5A60 str r2, [r3, #4] 637:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 638:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Update error code */ 639:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TE; 1573 .loc 1 639 21 1574 0116 7B68 ldr r3, [r7, #4] 1575 0118 0122 movs r2, #1 1576 011a 9A63 str r2, [r3, #56] 640:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 641:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */ 642:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 1577 .loc 1 642 17 1578 011c 7B68 ldr r3, [r7, #4] 1579 011e 0122 movs r2, #1 1580 0120 83F82120 strb r2, [r3, #33] 643:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 644:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */ ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 40 645:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma); 1581 .loc 1 645 5 1582 0124 7B68 ldr r3, [r7, #4] 1583 0126 0022 movs r2, #0 1584 0128 83F82020 strb r2, [r3, #32] 646:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 647:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->XferErrorCallback != NULL) 1585 .loc 1 647 12 1586 012c 7B68 ldr r3, [r7, #4] 1587 012e 1B6B ldr r3, [r3, #48] 1588 .loc 1 647 7 1589 0130 002B cmp r3, #0 1590 0132 04D0 beq .L68 648:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 649:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer error callback */ 650:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback(hdma); 1591 .loc 1 650 11 1592 0134 7B68 ldr r3, [r7, #4] 1593 0136 1B6B ldr r3, [r3, #48] 1594 .loc 1 650 7 1595 0138 7868 ldr r0, [r7, #4] 1596 013a 9847 blx r3 1597 .LVL3: 651:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 652:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 653:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 1598 .loc 1 653 1 1599 013c FFE7 b .L68 1600 .L64: 1601 .L68: 1602 013e 00BF nop 1603 0140 1037 adds r7, r7, #16 1604 .LCFI39: 1605 .cfi_def_cfa_offset 8 1606 0142 BD46 mov sp, r7 1607 .LCFI40: 1608 .cfi_def_cfa_register 13 1609 @ sp needed 1610 0144 80BD pop {r7, pc} 1611 .cfi_endproc 1612 .LFE137: 1614 .section .text.HAL_DMA_RegisterCallback,"ax",%progbits 1615 .align 1 1616 .global HAL_DMA_RegisterCallback 1617 .syntax unified 1618 .thumb 1619 .thumb_func 1621 HAL_DMA_RegisterCallback: 1622 .LFB138: 654:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 655:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 656:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Register callbacks 657:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 658:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Stream. 659:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param CallbackID User Callback identifier 660:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter. 661:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param pCallback pointer to private callback function which has pointer to ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 41 662:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * a DMA_HandleTypeDef structure as parameter. 663:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status 664:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 665:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Callb 666:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 1623 .loc 1 666 1 1624 .cfi_startproc 1625 @ args = 0, pretend = 0, frame = 24 1626 @ frame_needed = 1, uses_anonymous_args = 0 1627 @ link register save eliminated. 1628 0000 80B4 push {r7} 1629 .LCFI41: 1630 .cfi_def_cfa_offset 4 1631 .cfi_offset 7, -4 1632 0002 87B0 sub sp, sp, #28 1633 .LCFI42: 1634 .cfi_def_cfa_offset 32 1635 0004 00AF add r7, sp, #0 1636 .LCFI43: 1637 .cfi_def_cfa_register 7 1638 0006 F860 str r0, [r7, #12] 1639 0008 0B46 mov r3, r1 1640 000a 7A60 str r2, [r7, #4] 1641 000c FB72 strb r3, [r7, #11] 667:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 1642 .loc 1 667 21 1643 000e 0023 movs r3, #0 1644 0010 FB75 strb r3, [r7, #23] 668:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 669:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process locked */ 670:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_LOCK(hdma); 1645 .loc 1 670 3 1646 0012 FB68 ldr r3, [r7, #12] 1647 0014 93F82030 ldrb r3, [r3, #32] @ zero_extendqisi2 1648 0018 012B cmp r3, #1 1649 001a 01D1 bne .L70 1650 .loc 1 670 3 is_stmt 0 discriminator 1 1651 001c 0223 movs r3, #2 1652 001e 31E0 b .L71 1653 .L70: 1654 .loc 1 670 3 discriminator 2 1655 0020 FB68 ldr r3, [r7, #12] 1656 0022 0122 movs r2, #1 1657 0024 83F82020 strb r2, [r3, #32] 671:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 672:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State) 1658 .loc 1 672 33 is_stmt 1 discriminator 2 1659 0028 FB68 ldr r3, [r7, #12] 1660 002a 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2 1661 .loc 1 672 5 discriminator 2 1662 002e 012B cmp r3, #1 1663 0030 21D1 bne .L72 673:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 674:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** switch (CallbackID) 1664 .loc 1 674 5 1665 0032 FB7A ldrb r3, [r7, #11] @ zero_extendqisi2 1666 0034 032B cmp r3, #3 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 42 1667 0036 1BD8 bhi .L73 1668 0038 01A2 adr r2, .L75 1669 003a 52F823F0 ldr pc, [r2, r3, lsl #2] 1670 003e 00BF .p2align 2 1671 .L75: 1672 0040 51000000 .word .L78+1 1673 0044 59000000 .word .L77+1 1674 0048 61000000 .word .L76+1 1675 004c 69000000 .word .L74+1 1676 .p2align 1 1677 .L78: 675:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 676:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID: 677:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback = pCallback; 1678 .loc 1 677 35 1679 0050 FB68 ldr r3, [r7, #12] 1680 0052 7A68 ldr r2, [r7, #4] 1681 0054 9A62 str r2, [r3, #40] 678:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break; 1682 .loc 1 678 12 1683 0056 10E0 b .L80 1684 .L77: 679:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 680:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID: 681:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = pCallback; 1685 .loc 1 681 39 1686 0058 FB68 ldr r3, [r7, #12] 1687 005a 7A68 ldr r2, [r7, #4] 1688 005c DA62 str r2, [r3, #44] 682:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break; 1689 .loc 1 682 12 1690 005e 0CE0 b .L80 1691 .L76: 683:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 684:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID: 685:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = pCallback; 1692 .loc 1 685 36 1693 0060 FB68 ldr r3, [r7, #12] 1694 0062 7A68 ldr r2, [r7, #4] 1695 0064 1A63 str r2, [r3, #48] 686:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break; 1696 .loc 1 686 12 1697 0066 08E0 b .L80 1698 .L74: 687:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 688:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID: 689:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = pCallback; 1699 .loc 1 689 36 1700 0068 FB68 ldr r3, [r7, #12] 1701 006a 7A68 ldr r2, [r7, #4] 1702 006c 5A63 str r2, [r3, #52] 690:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break; 1703 .loc 1 690 12 1704 006e 04E0 b .L80 1705 .L73: 691:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 692:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** default: ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 43 693:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR; 1706 .loc 1 693 19 1707 0070 0123 movs r3, #1 1708 0072 FB75 strb r3, [r7, #23] 694:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break; 1709 .loc 1 694 12 1710 0074 01E0 b .L80 1711 .L72: 695:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 696:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 697:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else 698:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 699:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR; 1712 .loc 1 699 12 1713 0076 0123 movs r3, #1 1714 0078 FB75 strb r3, [r7, #23] 1715 .L80: 700:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 701:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 702:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Release Lock */ 703:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma); 1716 .loc 1 703 3 1717 007a FB68 ldr r3, [r7, #12] 1718 007c 0022 movs r2, #0 1719 007e 83F82020 strb r2, [r3, #32] 704:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 705:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status; 1720 .loc 1 705 10 1721 0082 FB7D ldrb r3, [r7, #23] @ zero_extendqisi2 1722 .L71: 706:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 1723 .loc 1 706 1 1724 0084 1846 mov r0, r3 1725 0086 1C37 adds r7, r7, #28 1726 .LCFI44: 1727 .cfi_def_cfa_offset 4 1728 0088 BD46 mov sp, r7 1729 .LCFI45: 1730 .cfi_def_cfa_register 13 1731 @ sp needed 1732 008a 5DF8047B ldr r7, [sp], #4 1733 .LCFI46: 1734 .cfi_restore 7 1735 .cfi_def_cfa_offset 0 1736 008e 7047 bx lr 1737 .cfi_endproc 1738 .LFE138: 1740 .section .text.HAL_DMA_UnRegisterCallback,"ax",%progbits 1741 .align 1 1742 .global HAL_DMA_UnRegisterCallback 1743 .syntax unified 1744 .thumb 1745 .thumb_func 1747 HAL_DMA_UnRegisterCallback: 1748 .LFB139: 707:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 708:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 44 709:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief UnRegister callbacks 710:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 711:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Stream. 712:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param CallbackID User Callback identifier 713:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter. 714:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status 715:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 716:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Cal 717:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 1749 .loc 1 717 1 1750 .cfi_startproc 1751 @ args = 0, pretend = 0, frame = 16 1752 @ frame_needed = 1, uses_anonymous_args = 0 1753 @ link register save eliminated. 1754 0000 80B4 push {r7} 1755 .LCFI47: 1756 .cfi_def_cfa_offset 4 1757 .cfi_offset 7, -4 1758 0002 85B0 sub sp, sp, #20 1759 .LCFI48: 1760 .cfi_def_cfa_offset 24 1761 0004 00AF add r7, sp, #0 1762 .LCFI49: 1763 .cfi_def_cfa_register 7 1764 0006 7860 str r0, [r7, #4] 1765 0008 0B46 mov r3, r1 1766 000a FB70 strb r3, [r7, #3] 718:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 1767 .loc 1 718 21 1768 000c 0023 movs r3, #0 1769 000e FB73 strb r3, [r7, #15] 719:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 720:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process locked */ 721:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_LOCK(hdma); 1770 .loc 1 721 3 1771 0010 7B68 ldr r3, [r7, #4] 1772 0012 93F82030 ldrb r3, [r3, #32] @ zero_extendqisi2 1773 0016 012B cmp r3, #1 1774 0018 01D1 bne .L82 1775 .loc 1 721 3 is_stmt 0 discriminator 1 1776 001a 0223 movs r3, #2 1777 001c 3FE0 b .L83 1778 .L82: 1779 .loc 1 721 3 discriminator 2 1780 001e 7B68 ldr r3, [r7, #4] 1781 0020 0122 movs r2, #1 1782 0022 83F82020 strb r2, [r3, #32] 722:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 723:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State) 1783 .loc 1 723 33 is_stmt 1 discriminator 2 1784 0026 7B68 ldr r3, [r7, #4] 1785 0028 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2 1786 .loc 1 723 5 discriminator 2 1787 002c 012B cmp r3, #1 1788 002e 2FD1 bne .L84 724:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 725:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** switch (CallbackID) ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 45 1789 .loc 1 725 5 1790 0030 FB78 ldrb r3, [r7, #3] @ zero_extendqisi2 1791 0032 042B cmp r3, #4 1792 0034 29D8 bhi .L85 1793 0036 01A2 adr r2, .L87 1794 0038 52F823F0 ldr pc, [r2, r3, lsl #2] 1795 .p2align 2 1796 .L87: 1797 003c 51000000 .word .L91+1 1798 0040 59000000 .word .L90+1 1799 0044 61000000 .word .L89+1 1800 0048 69000000 .word .L88+1 1801 004c 71000000 .word .L86+1 1802 .p2align 1 1803 .L91: 726:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 727:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID: 728:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback = NULL; 1804 .loc 1 728 35 1805 0050 7B68 ldr r3, [r7, #4] 1806 0052 0022 movs r2, #0 1807 0054 9A62 str r2, [r3, #40] 729:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break; 1808 .loc 1 729 12 1809 0056 1DE0 b .L93 1810 .L90: 730:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 731:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID: 732:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; 1811 .loc 1 732 39 1812 0058 7B68 ldr r3, [r7, #4] 1813 005a 0022 movs r2, #0 1814 005c DA62 str r2, [r3, #44] 733:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break; 1815 .loc 1 733 12 1816 005e 19E0 b .L93 1817 .L89: 734:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 735:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID: 736:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = NULL; 1818 .loc 1 736 36 1819 0060 7B68 ldr r3, [r7, #4] 1820 0062 0022 movs r2, #0 1821 0064 1A63 str r2, [r3, #48] 737:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break; 1822 .loc 1 737 12 1823 0066 15E0 b .L93 1824 .L88: 738:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 739:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID: 740:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = NULL; 1825 .loc 1 740 36 1826 0068 7B68 ldr r3, [r7, #4] 1827 006a 0022 movs r2, #0 1828 006c 5A63 str r2, [r3, #52] 741:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break; 1829 .loc 1 741 12 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 46 1830 006e 11E0 b .L93 1831 .L86: 742:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 743:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ALL_CB_ID: 744:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback = NULL; 1832 .loc 1 744 35 1833 0070 7B68 ldr r3, [r7, #4] 1834 0072 0022 movs r2, #0 1835 0074 9A62 str r2, [r3, #40] 745:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; 1836 .loc 1 745 39 1837 0076 7B68 ldr r3, [r7, #4] 1838 0078 0022 movs r2, #0 1839 007a DA62 str r2, [r3, #44] 746:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = NULL; 1840 .loc 1 746 36 1841 007c 7B68 ldr r3, [r7, #4] 1842 007e 0022 movs r2, #0 1843 0080 1A63 str r2, [r3, #48] 747:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = NULL; 1844 .loc 1 747 36 1845 0082 7B68 ldr r3, [r7, #4] 1846 0084 0022 movs r2, #0 1847 0086 5A63 str r2, [r3, #52] 748:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break; 1848 .loc 1 748 12 1849 0088 04E0 b .L93 1850 .L85: 749:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 750:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** default: 751:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR; 1851 .loc 1 751 19 1852 008a 0123 movs r3, #1 1853 008c FB73 strb r3, [r7, #15] 752:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break; 1854 .loc 1 752 12 1855 008e 01E0 b .L93 1856 .L84: 753:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 754:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 755:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else 756:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 757:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR; 1857 .loc 1 757 12 1858 0090 0123 movs r3, #1 1859 0092 FB73 strb r3, [r7, #15] 1860 .L93: 758:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 759:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 760:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Release Lock */ 761:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma); 1861 .loc 1 761 3 1862 0094 7B68 ldr r3, [r7, #4] 1863 0096 0022 movs r2, #0 1864 0098 83F82020 strb r2, [r3, #32] 762:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 763:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status; ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 47 1865 .loc 1 763 10 1866 009c FB7B ldrb r3, [r7, #15] @ zero_extendqisi2 1867 .L83: 764:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 1868 .loc 1 764 1 1869 009e 1846 mov r0, r3 1870 00a0 1437 adds r7, r7, #20 1871 .LCFI50: 1872 .cfi_def_cfa_offset 4 1873 00a2 BD46 mov sp, r7 1874 .LCFI51: 1875 .cfi_def_cfa_register 13 1876 @ sp needed 1877 00a4 5DF8047B ldr r7, [sp], #4 1878 .LCFI52: 1879 .cfi_restore 7 1880 .cfi_def_cfa_offset 0 1881 00a8 7047 bx lr 1882 .cfi_endproc 1883 .LFE139: 1885 00aa 00BF .section .text.HAL_DMA_GetState,"ax",%progbits 1886 .align 1 1887 .global HAL_DMA_GetState 1888 .syntax unified 1889 .thumb 1890 .thumb_func 1892 HAL_DMA_GetState: 1893 .LFB140: 765:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 766:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 767:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @} 768:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 769:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 770:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group3 Peripheral State functions 771:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Peripheral State functions 772:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * 773:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @verbatim 774:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** =============================================================================== 775:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ##### State and Errors functions ##### 776:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** =============================================================================== 777:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..] 778:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** This subsection provides functions allowing to 779:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Check the DMA state 780:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Get error code 781:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 782:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @endverbatim 783:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{ 784:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 785:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 786:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 787:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Returns the DMA state. 788:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 789:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 790:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL state 791:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 792:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_DMA_StateTypeDef HAL_DMA_GetState(DMA_HandleTypeDef *hdma) 793:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 48 1894 .loc 1 793 1 1895 .cfi_startproc 1896 @ args = 0, pretend = 0, frame = 8 1897 @ frame_needed = 1, uses_anonymous_args = 0 1898 @ link register save eliminated. 1899 0000 80B4 push {r7} 1900 .LCFI53: 1901 .cfi_def_cfa_offset 4 1902 .cfi_offset 7, -4 1903 0002 83B0 sub sp, sp, #12 1904 .LCFI54: 1905 .cfi_def_cfa_offset 16 1906 0004 00AF add r7, sp, #0 1907 .LCFI55: 1908 .cfi_def_cfa_register 7 1909 0006 7860 str r0, [r7, #4] 794:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return hdma->State; 1910 .loc 1 794 14 1911 0008 7B68 ldr r3, [r7, #4] 1912 000a 93F82130 ldrb r3, [r3, #33] @ zero_extendqisi2 795:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 1913 .loc 1 795 1 1914 000e 1846 mov r0, r3 1915 0010 0C37 adds r7, r7, #12 1916 .LCFI56: 1917 .cfi_def_cfa_offset 4 1918 0012 BD46 mov sp, r7 1919 .LCFI57: 1920 .cfi_def_cfa_register 13 1921 @ sp needed 1922 0014 5DF8047B ldr r7, [sp], #4 1923 .LCFI58: 1924 .cfi_restore 7 1925 .cfi_def_cfa_offset 0 1926 0018 7047 bx lr 1927 .cfi_endproc 1928 .LFE140: 1930 .section .text.HAL_DMA_GetError,"ax",%progbits 1931 .align 1 1932 .global HAL_DMA_GetError 1933 .syntax unified 1934 .thumb 1935 .thumb_func 1937 HAL_DMA_GetError: 1938 .LFB141: 796:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 797:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 798:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Return the DMA error code 799:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 800:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 801:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval DMA Error Code 802:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 803:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma) 804:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 1939 .loc 1 804 1 1940 .cfi_startproc 1941 @ args = 0, pretend = 0, frame = 8 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 49 1942 @ frame_needed = 1, uses_anonymous_args = 0 1943 @ link register save eliminated. 1944 0000 80B4 push {r7} 1945 .LCFI59: 1946 .cfi_def_cfa_offset 4 1947 .cfi_offset 7, -4 1948 0002 83B0 sub sp, sp, #12 1949 .LCFI60: 1950 .cfi_def_cfa_offset 16 1951 0004 00AF add r7, sp, #0 1952 .LCFI61: 1953 .cfi_def_cfa_register 7 1954 0006 7860 str r0, [r7, #4] 805:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return hdma->ErrorCode; 1955 .loc 1 805 14 1956 0008 7B68 ldr r3, [r7, #4] 1957 000a 9B6B ldr r3, [r3, #56] 806:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 1958 .loc 1 806 1 1959 000c 1846 mov r0, r3 1960 000e 0C37 adds r7, r7, #12 1961 .LCFI62: 1962 .cfi_def_cfa_offset 4 1963 0010 BD46 mov sp, r7 1964 .LCFI63: 1965 .cfi_def_cfa_register 13 1966 @ sp needed 1967 0012 5DF8047B ldr r7, [sp], #4 1968 .LCFI64: 1969 .cfi_restore 7 1970 .cfi_def_cfa_offset 0 1971 0016 7047 bx lr 1972 .cfi_endproc 1973 .LFE141: 1975 .section .text.DMA_SetConfig,"ax",%progbits 1976 .align 1 1977 .syntax unified 1978 .thumb 1979 .thumb_func 1981 DMA_SetConfig: 1982 .LFB142: 807:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 809:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @} 810:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 811:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 812:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 813:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @} 814:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 815:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 816:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @addtogroup DMA_Private_Functions 817:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{ 818:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 819:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 820:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 821:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Set the DMA Transfer parameters. 822:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 50 823:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 824:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address 825:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address 826:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination 827:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status 828:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 829:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32 830:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 1983 .loc 1 830 1 1984 .cfi_startproc 1985 @ args = 0, pretend = 0, frame = 16 1986 @ frame_needed = 1, uses_anonymous_args = 0 1987 @ link register save eliminated. 1988 0000 80B4 push {r7} 1989 .LCFI65: 1990 .cfi_def_cfa_offset 4 1991 .cfi_offset 7, -4 1992 0002 85B0 sub sp, sp, #20 1993 .LCFI66: 1994 .cfi_def_cfa_offset 24 1995 0004 00AF add r7, sp, #0 1996 .LCFI67: 1997 .cfi_def_cfa_register 7 1998 0006 F860 str r0, [r7, #12] 1999 0008 B960 str r1, [r7, #8] 2000 000a 7A60 str r2, [r7, #4] 2001 000c 3B60 str r3, [r7] 831:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */ 832:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_FLAG_GL1 << hdma->ChannelIndex); 2002 .loc 1 832 54 2003 000e FB68 ldr r3, [r7, #12] 2004 0010 1A6C ldr r2, [r3, #64] 2005 .loc 1 832 7 2006 0012 FB68 ldr r3, [r7, #12] 2007 0014 DB6B ldr r3, [r3, #60] 2008 .loc 1 832 47 2009 0016 0121 movs r1, #1 2010 0018 01FA02F2 lsl r2, r1, r2 2011 .loc 1 832 31 2012 001c 5A60 str r2, [r3, #4] 833:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 834:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel data length */ 835:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CNDTR = DataLength; 2013 .loc 1 835 7 2014 001e FB68 ldr r3, [r7, #12] 2015 0020 1B68 ldr r3, [r3] 2016 .loc 1 835 25 2017 0022 3A68 ldr r2, [r7] 2018 0024 5A60 str r2, [r3, #4] 836:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 837:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Peripheral to Memory */ 838:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if((hdma->Init.Direction) == DMA_MEMORY_TO_PERIPH) 2019 .loc 1 838 17 2020 0026 FB68 ldr r3, [r7, #12] 2021 0028 5B68 ldr r3, [r3, #4] 2022 .loc 1 838 5 2023 002a 102B cmp r3, #16 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 51 2024 002c 08D1 bne .L99 839:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 840:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel destination address */ 841:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CPAR = DstAddress; 2025 .loc 1 841 9 2026 002e FB68 ldr r3, [r7, #12] 2027 0030 1B68 ldr r3, [r3] 2028 .loc 1 841 26 2029 0032 7A68 ldr r2, [r7, #4] 2030 0034 9A60 str r2, [r3, #8] 842:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 843:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel source address */ 844:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CMAR = SrcAddress; 2031 .loc 1 844 9 2032 0036 FB68 ldr r3, [r7, #12] 2033 0038 1B68 ldr r3, [r3] 2034 .loc 1 844 26 2035 003a BA68 ldr r2, [r7, #8] 2036 003c DA60 str r2, [r3, #12] 845:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 846:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Memory to Peripheral */ 847:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else 848:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 849:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel source address */ 850:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CPAR = SrcAddress; 851:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 852:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel destination address */ 853:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CMAR = DstAddress; 854:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 855:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 2037 .loc 1 855 1 2038 003e 07E0 b .L101 2039 .L99: 850:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 2040 .loc 1 850 9 2041 0040 FB68 ldr r3, [r7, #12] 2042 0042 1B68 ldr r3, [r3] 850:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 2043 .loc 1 850 26 2044 0044 BA68 ldr r2, [r7, #8] 2045 0046 9A60 str r2, [r3, #8] 853:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 2046 .loc 1 853 9 2047 0048 FB68 ldr r3, [r7, #12] 2048 004a 1B68 ldr r3, [r3] 853:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 2049 .loc 1 853 26 2050 004c 7A68 ldr r2, [r7, #4] 2051 004e DA60 str r2, [r3, #12] 2052 .L101: 2053 .loc 1 855 1 2054 0050 00BF nop 2055 0052 1437 adds r7, r7, #20 2056 .LCFI68: 2057 .cfi_def_cfa_offset 4 2058 0054 BD46 mov sp, r7 2059 .LCFI69: ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 52 2060 .cfi_def_cfa_register 13 2061 @ sp needed 2062 0056 5DF8047B ldr r7, [sp], #4 2063 .LCFI70: 2064 .cfi_restore 7 2065 .cfi_def_cfa_offset 0 2066 005a 7047 bx lr 2067 .cfi_endproc 2068 .LFE142: 2070 .section .text.DMA_CalcBaseAndBitshift,"ax",%progbits 2071 .align 1 2072 .syntax unified 2073 .thumb 2074 .thumb_func 2076 DMA_CalcBaseAndBitshift: 2077 .LFB143: 856:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** 857:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** 858:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Set the DMA base address and channel index depending on DMA instance 859:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 860:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Stream. 861:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval None 862:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */ 863:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** static void DMA_CalcBaseAndBitshift(DMA_HandleTypeDef *hdma) 864:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 2078 .loc 1 864 1 2079 .cfi_startproc 2080 @ args = 0, pretend = 0, frame = 8 2081 @ frame_needed = 1, uses_anonymous_args = 0 2082 @ link register save eliminated. 2083 0000 80B4 push {r7} 2084 .LCFI71: 2085 .cfi_def_cfa_offset 4 2086 .cfi_offset 7, -4 2087 0002 83B0 sub sp, sp, #12 2088 .LCFI72: 2089 .cfi_def_cfa_offset 16 2090 0004 00AF add r7, sp, #0 2091 .LCFI73: 2092 .cfi_def_cfa_register 7 2093 0006 7860 str r0, [r7, #4] 865:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #if defined (DMA2) 866:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* calculation of the channel index */ 867:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if ((uint32_t)(hdma->Instance) < (uint32_t)(DMA2_Channel1)) 2094 .loc 1 867 22 2095 0008 7B68 ldr r3, [r7, #4] 2096 000a 1B68 ldr r3, [r3] 2097 .loc 1 867 7 2098 000c 1A46 mov r2, r3 2099 .loc 1 867 6 2100 000e 144B ldr r3, .L106 2101 0010 9A42 cmp r2, r3 2102 0012 0FD8 bhi .L103 868:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 869:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* DMA1 */ 870:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Ch 2103 .loc 1 870 42 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 53 2104 0014 7B68 ldr r3, [r7, #4] 2105 0016 1B68 ldr r3, [r3] 2106 .loc 1 870 28 2107 0018 1A46 mov r2, r3 2108 .loc 1 870 53 2109 001a 124B ldr r3, .L106+4 2110 001c 1344 add r3, r3, r2 2111 .loc 1 870 80 2112 001e 124A ldr r2, .L106+8 2113 0020 A2FB0323 umull r2, r3, r2, r3 2114 0024 1B09 lsrs r3, r3, #4 2115 .loc 1 870 135 2116 0026 9A00 lsls r2, r3, #2 2117 .loc 1 870 24 2118 0028 7B68 ldr r3, [r7, #4] 2119 002a 1A64 str r2, [r3, #64] 871:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; 2120 .loc 1 871 26 2121 002c 7B68 ldr r3, [r7, #4] 2122 002e 0F4A ldr r2, .L106+12 2123 0030 DA63 str r2, [r3, #60] 872:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 873:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else 874:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** { 875:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* DMA2 */ 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA2_Channel1) / ((uint32_t)DMA2_Ch 877:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 878:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 879:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #else 880:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* calculation of the channel index */ 881:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* DMA1 */ 882:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Chan 883:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; 884:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #endif 885:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 2124 .loc 1 885 1 2125 0032 0EE0 b .L105 2126 .L103: 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 2127 .loc 1 876 42 2128 0034 7B68 ldr r3, [r7, #4] 2129 0036 1B68 ldr r3, [r3] 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 2130 .loc 1 876 28 2131 0038 1A46 mov r2, r3 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 2132 .loc 1 876 53 2133 003a 0D4B ldr r3, .L106+16 2134 003c 1344 add r3, r3, r2 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 2135 .loc 1 876 80 2136 003e 0A4A ldr r2, .L106+8 2137 0040 A2FB0323 umull r2, r3, r2, r3 2138 0044 1B09 lsrs r3, r3, #4 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 2139 .loc 1 876 135 2140 0046 9A00 lsls r2, r3, #2 ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 54 876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 2141 .loc 1 876 24 2142 0048 7B68 ldr r3, [r7, #4] 2143 004a 1A64 str r2, [r3, #64] 877:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** } 2144 .loc 1 877 26 2145 004c 7B68 ldr r3, [r7, #4] 2146 004e 094A ldr r2, .L106+20 2147 0050 DA63 str r2, [r3, #60] 2148 .L105: 2149 .loc 1 885 1 2150 0052 00BF nop 2151 0054 0C37 adds r7, r7, #12 2152 .LCFI74: 2153 .cfi_def_cfa_offset 4 2154 0056 BD46 mov sp, r7 2155 .LCFI75: 2156 .cfi_def_cfa_register 13 2157 @ sp needed 2158 0058 5DF8047B ldr r7, [sp], #4 2159 .LCFI76: 2160 .cfi_restore 7 2161 .cfi_def_cfa_offset 0 2162 005c 7047 bx lr 2163 .L107: 2164 005e 00BF .align 2 2165 .L106: 2166 0060 07040240 .word 1073873927 2167 0064 F8FFFDBF .word -1073872904 2168 0068 CDCCCCCC .word -858993459 2169 006c 00000240 .word 1073872896 2170 0070 F8FBFDBF .word -1073873928 2171 0074 00040240 .word 1073873920 2172 .cfi_endproc 2173 .LFE143: 2175 .text 2176 .Letext0: 2177 .file 2 "d:\\arm-gcc\\arm-none-eabi\\include\\machine\\_default_types.h" 2178 .file 3 "d:\\arm-gcc\\arm-none-eabi\\include\\sys\\_stdint.h" 2179 .file 4 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f302xc.h" 2180 .file 5 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f3xx.h" 2181 .file 6 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_def.h" 2182 .file 7 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_dma.h" ARM GAS C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s page 55 DEFINED SYMBOLS *ABS*:00000000 stm32f3xx_hal_dma.c C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:20 .rodata:00000000 $d C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:25 .text.HAL_DMA_Init:00000000 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:31 .text.HAL_DMA_Init:00000000 HAL_DMA_Init C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:2076 .text.DMA_CalcBaseAndBitshift:00000000 DMA_CalcBaseAndBitshift C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:357 .text.HAL_DMA_Init:000001f0 $d C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:374 .text.HAL_DMA_DeInit:00000000 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:380 .text.HAL_DMA_DeInit:00000000 HAL_DMA_DeInit C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:576 .text.HAL_DMA_DeInit:00000110 $d C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:593 .text.HAL_DMA_Start:00000000 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:599 .text.HAL_DMA_Start:00000000 HAL_DMA_Start C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1981 .text.DMA_SetConfig:00000000 DMA_SetConfig C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:718 .text.HAL_DMA_Start:0000009c $d C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:723 .text.HAL_DMA_Start_IT:00000000 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:729 .text.HAL_DMA_Start_IT:00000000 HAL_DMA_Start_IT C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:890 .text.HAL_DMA_Start_IT:000000d8 $d C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:895 .text.HAL_DMA_Abort:00000000 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:901 .text.HAL_DMA_Abort:00000000 HAL_DMA_Abort C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1007 .text.HAL_DMA_Abort_IT:00000000 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1013 .text.HAL_DMA_Abort_IT:00000000 HAL_DMA_Abort_IT C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1120 .text.HAL_DMA_PollForTransfer:00000000 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1126 .text.HAL_DMA_PollForTransfer:00000000 HAL_DMA_PollForTransfer C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1355 .text.HAL_DMA_IRQHandler:00000000 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1361 .text.HAL_DMA_IRQHandler:00000000 HAL_DMA_IRQHandler C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1615 .text.HAL_DMA_RegisterCallback:00000000 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1621 .text.HAL_DMA_RegisterCallback:00000000 HAL_DMA_RegisterCallback C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1672 .text.HAL_DMA_RegisterCallback:00000040 $d C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1676 .text.HAL_DMA_RegisterCallback:00000050 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1741 .text.HAL_DMA_UnRegisterCallback:00000000 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1747 .text.HAL_DMA_UnRegisterCallback:00000000 HAL_DMA_UnRegisterCallback C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1797 .text.HAL_DMA_UnRegisterCallback:0000003c $d C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1802 .text.HAL_DMA_UnRegisterCallback:00000050 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1886 .text.HAL_DMA_GetState:00000000 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1892 .text.HAL_DMA_GetState:00000000 HAL_DMA_GetState C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1931 .text.HAL_DMA_GetError:00000000 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1937 .text.HAL_DMA_GetError:00000000 HAL_DMA_GetError C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:1976 .text.DMA_SetConfig:00000000 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:2071 .text.DMA_CalcBaseAndBitshift:00000000 $t C:\Users\zl835\AppData\Local\Temp\cck7mHuD.s:2166 .text.DMA_CalcBaseAndBitshift:00000060 $d UNDEFINED SYMBOLS assert_failed HAL_GetTick