ARM GAS /tmp/ccFxKPnS.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, 1 13 .eabi_attribute 34, 1 14 .eabi_attribute 18, 4 15 .file "stm32g4xx_hal_dma.c" 16 .text 17 .Ltext0: 18 .cfi_sections .debug_frame 19 .file 1 "Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c" 20 .section .text.DMA_SetConfig,"ax",%progbits 21 .align 1 22 .syntax unified 23 .thumb 24 .thumb_func 26 DMA_SetConfig: 27 .LVL0: 28 .LFB341: 1:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 2:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ****************************************************************************** 3:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @file stm32g4xx_hal_dma.c 4:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @author MCD Application Team 5:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief DMA HAL module driver. 6:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * This file provides firmware functions to manage the following 7:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * functionalities of the Direct Memory Access (DMA) peripheral: 8:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * + Initialization and de-initialization functions 9:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * + IO operation functions 10:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * + Peripheral State and errors functions 11:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * 12:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ****************************************************************************** 13:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @attention 14:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * 15:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * Copyright (c) 2019 STMicroelectronics. 16:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * All rights reserved. 17:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * 18:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * This software is licensed under terms that can be found in the LICENSE file 19:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * in the root directory of this software component. 20:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 21:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * 22:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ****************************************************************************** 23:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** @verbatim 24:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ============================================================================== 25:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ##### How to use this driver ##### 26:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ============================================================================== 27:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** [..] 28:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (#) Enable and configure the peripheral to be connected to the DMA Channel 29:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (except for internal SRAM / FLASH memories: no initialization is 30:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** necessary). Please refer to the Reference manual for connection between peripherals ARM GAS /tmp/ccFxKPnS.s page 2 31:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** and DMA requests. 32:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 33:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (#) For a given Channel, program the required configuration through the following parameters: 34:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** Channel request, Transfer Direction, Source and Destination data formats, 35:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** Circular or Normal mode, Channel Priority level, Source and Destination Increment mode 36:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** using HAL_DMA_Init() function. 37:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 38:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** Prior to HAL_DMA_Init the peripheral clock shall be enabled for both DMA & DMAMUX 39:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** thanks to: 40:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (##) DMA1 or DMA2: __HAL_RCC_DMA1_CLK_ENABLE() or __HAL_RCC_DMA2_CLK_ENABLE() ; 41:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (##) DMAMUX1: __HAL_RCC_DMAMUX1_CLK_ENABLE(); 42:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 43:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (#) Use HAL_DMA_GetState() function to return the DMA state and HAL_DMA_GetError() in case of er 44:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** detection. 45:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 46:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (#) Use HAL_DMA_Abort() function to abort the current transfer 47:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 48:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** -@- In Memory-to-Memory transfer mode, Circular mode is not allowed. 49:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 50:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** *** Polling mode IO operation *** 51:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ================================= 52:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** [..] 53:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) Use HAL_DMA_Start() to start DMA transfer after the configuration of Source 54:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** address and destination address and the Length of data to be transferred 55:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) Use HAL_DMA_PollForTransfer() to poll for the end of current transfer, in this 56:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** case a fixed Timeout can be configured by User depending from his application. 57:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 58:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** *** Interrupt mode IO operation *** 59:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** =================================== 60:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** [..] 61:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) Configure the DMA interrupt priority using HAL_NVIC_SetPriority() 62:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) Enable the DMA IRQ handler using HAL_NVIC_EnableIRQ() 63:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) Use HAL_DMA_Start_IT() to start DMA transfer after the configuration of 64:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** Source address and destination address and the Length of data to be transferred. 65:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** In this case the DMA interrupt is configured 66:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) Use HAL_DMA_IRQHandler() called under DMA_IRQHandler() Interrupt subroutine 67:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) At the end of data transfer HAL_DMA_IRQHandler() function is executed and user can 68:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** add his own function to register callbacks with HAL_DMA_RegisterCallback(). 69:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 70:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** *** DMA HAL driver macros list *** 71:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ============================================= 72:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** [..] 73:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** Below the list of macros in DMA HAL driver. 74:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 75:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) __HAL_DMA_ENABLE: Enable the specified DMA Channel. 76:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) __HAL_DMA_DISABLE: Disable the specified DMA Channel. 77:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) __HAL_DMA_GET_FLAG: Get the DMA Channel pending flags. 78:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) __HAL_DMA_CLEAR_FLAG: Clear the DMA Channel pending flags. 79:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) __HAL_DMA_ENABLE_IT: Enable the specified DMA Channel interrupts. 80:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) __HAL_DMA_DISABLE_IT: Disable the specified DMA Channel interrupts. 81:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) __HAL_DMA_GET_IT_SOURCE: Check whether the specified DMA Channel interrupt has occurred 82:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 83:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** [..] 84:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (@) You can refer to the DMA HAL driver header file for more useful macros 85:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 86:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** @endverbatim 87:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ ARM GAS /tmp/ccFxKPnS.s page 3 88:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 89:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Includes ------------------------------------------------------------------*/ 90:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** #include "stm32g4xx_hal.h" 91:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 92:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** @addtogroup STM32G4xx_HAL_Driver 93:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @{ 94:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 95:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 96:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** @defgroup DMA DMA 97:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief DMA HAL module driver 98:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @{ 99:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** #ifdef HAL_DMA_MODULE_ENABLED 102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Private typedef -----------------------------------------------------------*/ 104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Private define ------------------------------------------------------------*/ 105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Private macro -------------------------------------------------------------*/ 106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Private variables ---------------------------------------------------------*/ 107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Private function prototypes -----------------------------------------------*/ 108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** @defgroup DMA_Private_Functions DMA Private Functions 109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @{ 110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32 112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** static void DMA_CalcDMAMUXChannelBaseAndMask(DMA_HandleTypeDef *hdma); 114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** static void DMA_CalcDMAMUXRequestGenBaseAndMask(DMA_HandleTypeDef *hdma); 115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @} 118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Exported functions ---------------------------------------------------------*/ 121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions DMA Exported Functions 123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @{ 124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group1 Initialization and de-initialization functions 127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Initialization and de-initialization functions 128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * 129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** @verbatim 130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** =============================================================================== 131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ##### Initialization and de-initialization functions ##### 132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** =============================================================================== 133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** [..] 134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** This section provides functions allowing to initialize the DMA Channel source 135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** and destination addresses, incrementation and data sizes, transfer direction, 136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** circular/normal mode selection, memory-to-memory mode selection and Channel priority value. 137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** [..] 138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** The HAL_DMA_Init() function follows the DMA configuration procedures as described in 139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** reference manual. 140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** @endverbatim 142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @{ 143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ARM GAS /tmp/ccFxKPnS.s page 4 145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Initialize the DMA according to the specified 147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * parameters in the DMA_InitTypeDef and initialize the associated handle. 148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains 149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval HAL status 151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma) 153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t tmp; 155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Check the DMA handle allocation */ 157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (hdma == NULL) 158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR; 160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Check the parameters */ 163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance)); 164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction)); 165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc)); 166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc)); 167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment)); 168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment)); 169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode)); 170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority)); 171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_ALL_REQUEST(hdma->Init.Request)); 173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Compute the channel index */ 175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if ((uint32_t)(hdma->Instance) < (uint32_t)(DMA2_Channel1)) 176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* DMA1 */ 178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Ch 179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; 180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* DMA2 */ 184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA2_Channel1) / ((uint32_t)DMA2_Ch 185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Change DMA peripheral state */ 189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY; 190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Get the CR register value */ 192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** tmp = hdma->Instance->CCR; 193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear PL, MSIZE, PSIZE, MINC, PINC, CIRC, DIR and MEM2MEM bits */ 195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** tmp &= ((uint32_t)~(DMA_CCR_PL | DMA_CCR_MSIZE | DMA_CCR_PSIZE | 196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | 197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMA_CCR_DIR | DMA_CCR_MEM2MEM)); 198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Prepare the DMA Channel configuration */ 200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** tmp |= hdma->Init.Direction | 201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | ARM GAS /tmp/ccFxKPnS.s page 5 202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | 203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority; 204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Write to DMA Channel CR register */ 206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Instance->CCR = tmp; 207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Initialize parameters for DMAMUX channel : 209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMAmuxChannel, DMAmuxChannelStatus and DMAmuxChannelStatusMask 210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMA_CalcDMAMUXChannelBaseAndMask(hdma); 212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (hdma->Init.Direction == DMA_MEMORY_TO_MEMORY) 214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* if memory to memory force the request to 0*/ 216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.Request = DMA_REQUEST_MEM2MEM; 217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Set peripheral request to DMAMUX channel */ 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxChannel->CCR = (hdma->Init.Request & DMAMUX_CxCR_DMAREQ_ID); 221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the DMAMUX synchro overrun flag */ 223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxChannelStatus->CFR = hdma->DMAmuxChannelStatusMask; 224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (((hdma->Init.Request > 0U) && (hdma->Init.Request <= DMA_REQUEST_GENERATOR3))) 226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Initialize parameters for DMAMUX request generator : 228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMAmuxRequestGen, DMAmuxRequestGenStatus and DMAmuxRequestGenStatusMask 229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMA_CalcDMAMUXRequestGenBaseAndMask(hdma); 231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Reset the DMAMUX request generator register*/ 233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGen->RGCR = 0U; 234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the DMAMUX request generator overrun flag */ 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus->RGCFR = hdma->DMAmuxRequestGenStatusMask; 237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGen = 0U; 241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus = 0U; 242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatusMask = 0U; 243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Initialize the error code */ 246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; 247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Initialize the DMA state*/ 249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Allocate lock resource and initialize it */ 252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Lock = HAL_UNLOCKED; 253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_OK; 255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief DeInitialize the DMA peripheral. ARM GAS /tmp/ccFxKPnS.s page 6 259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval HAL status 262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma) 264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Check the DMA handle allocation */ 267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (NULL == hdma) 268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR; 270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Check the parameters */ 273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance)); 274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Disable the selected DMA Channelx */ 276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); 277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Compute the channel index */ 279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if ((uint32_t)(hdma->Instance) < (uint32_t)(DMA2_Channel1)) 280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* DMA1 */ 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Ch 283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; 284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* DMA2 */ 288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA2_Channel1) / ((uint32_t)DMA2_Ch 289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Reset DMA Channel control register */ 293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Instance->CCR = 0; 294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear all flags */ 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << (hdma->ChannelIndex & 0x1FU)); 297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Initialize parameters for DMAMUX channel : 299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMAmuxChannel, DMAmuxChannelStatus and DMAmuxChannelStatusMask */ 300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMA_CalcDMAMUXChannelBaseAndMask(hdma); 302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Reset the DMAMUX channel that corresponds to the DMA channel */ 304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxChannel->CCR = 0; 305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the DMAMUX synchro overrun flag */ 307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxChannelStatus->CFR = hdma->DMAmuxChannelStatusMask; 308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Reset Request generator parameters if any */ 310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (((hdma->Init.Request > 0U) && (hdma->Init.Request <= DMA_REQUEST_GENERATOR3))) 311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Initialize parameters for DMAMUX request generator : 313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMAmuxRequestGen, DMAmuxRequestGenStatus and DMAmuxRequestGenStatusMask 314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMA_CalcDMAMUXRequestGenBaseAndMask(hdma); ARM GAS /tmp/ccFxKPnS.s page 7 316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Reset the DMAMUX request generator register*/ 318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGen->RGCR = 0U; 319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the DMAMUX request generator overrun flag */ 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus->RGCFR = hdma->DMAmuxRequestGenStatusMask; 322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGen = 0U; 325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus = 0U; 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatusMask = 0U; 327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clean callbacks */ 329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferCpltCallback = NULL; 330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; 331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferErrorCallback = NULL; 332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferAbortCallback = NULL; 333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Initialize the error code */ 335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; 336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Initialize the DMA state */ 338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_RESET; 339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Release Lock */ 341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_OK; 344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @} 348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group2 Input and Output operation functions 351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Input and Output operation functions 352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * 353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** @verbatim 354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** =============================================================================== 355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ##### IO operation functions ##### 356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** =============================================================================== 357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** [..] This section provides functions allowing to: 358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) Configure the source, destination address and data length and Start DMA transfer 359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) Configure the source, destination address and data length and 360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** Start DMA transfer with interrupt 361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) Abort DMA transfer 362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) Poll for transfer complete 363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) Handle DMA interrupt request 364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** @endverbatim 366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @{ 367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Start the DMA Transfer. 371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Channel. ARM GAS /tmp/ccFxKPnS.s page 8 373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address 374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address 375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination (up to 256Kb 376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval HAL status 377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, 379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Check the parameters */ 383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength)); 384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Process locked */ 386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_LOCK(hdma); 387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (HAL_DMA_STATE_READY == hdma->State) 389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Change DMA peripheral state */ 391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY; 392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; 393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Disable the peripheral */ 395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); 396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Configure the source, destination address and the data length & clear flags*/ 398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength); 399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Enable the Peripheral */ 401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_ENABLE(hdma); 402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Process Unlocked */ 406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_BUSY; 408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return status; 410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Start the DMA Transfer with interrupt enabled. 414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address 417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address 418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination (up to 256Kb 419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval HAL status 420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddres 422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t DataLength) 423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Check the parameters */ 427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength)); 428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Process locked */ ARM GAS /tmp/ccFxKPnS.s page 9 430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_LOCK(hdma); 431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (HAL_DMA_STATE_READY == hdma->State) 433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Change DMA peripheral state */ 435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY; 436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; 437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Disable the peripheral */ 439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); 440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Configure the source, destination address and the data length & clear flags*/ 442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength); 443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Enable the transfer complete interrupt */ 445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Enable the transfer Error interrupt */ 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (NULL != hdma->XferHalfCpltCallback) 447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Enable the Half transfer complete interrupt as well */ 449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE)); 450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_HT); 454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_TE)); 455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Check if DMAMUX Synchronization is enabled*/ 458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if ((hdma->DMAmuxChannel->CCR & DMAMUX_CxCR_SE) != 0U) 459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Enable DMAMUX sync overrun IT*/ 461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxChannel->CCR |= DMAMUX_CxCR_SOIE; 462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (hdma->DMAmuxRequestGen != 0U) 465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* if using DMAMUX request generator, enable the DMAMUX request generator overrun IT*/ 467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* enable the request gen overrun IT*/ 468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGen->RGCR |= DMAMUX_RGxCR_OIE; 469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Enable the Peripheral */ 472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_ENABLE(hdma); 473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Process Unlocked */ 477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Remain BUSY */ 480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_BUSY; 481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return status; 483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Abort the DMA Transfer. ARM GAS /tmp/ccFxKPnS.s page 10 487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval HAL status 490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma) 492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if(hdma->State != HAL_DMA_STATE_BUSY) 496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* no transfer ongoing */ 498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER; 499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_ERROR; 501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Disable DMA IT */ 505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE)); 506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* disable the DMAMUX sync overrun IT*/ 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxChannel->CCR &= ~DMAMUX_CxCR_SOIE; 509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Disable the channel */ 511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); 512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear all flags */ 514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << (hdma->ChannelIndex & 0x1FU)); 515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the DMAMUX synchro overrun flag */ 517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxChannelStatus->CFR = hdma->DMAmuxChannelStatusMask; 518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (hdma->DMAmuxRequestGen != 0U) 520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* if using DMAMUX request generator, disable the DMAMUX request generator overrun IT*/ 522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* disable the request gen overrun IT*/ 523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGen->RGCR &= ~DMAMUX_RGxCR_OIE; 524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the DMAMUX request generator overrun flag */ 526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus->RGCFR = hdma->DMAmuxRequestGenStatusMask; 527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Change the DMA state */ 530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Process Unlocked */ 533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return status; 536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Aborts the DMA Transfer in Interrupt mode. 540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval HAL status 543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ ARM GAS /tmp/ccFxKPnS.s page 11 544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma) 545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (HAL_DMA_STATE_BUSY != hdma->State) 549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* no transfer ongoing */ 551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER; 552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Change the DMA state */ 554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Process Unlocked */ 557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_ERROR; 560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Disable DMA IT */ 564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE)); 565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Disable the channel */ 567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); 568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* disable the DMAMUX sync overrun IT*/ 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxChannel->CCR &= ~DMAMUX_CxCR_SOIE; 571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear all flags */ 573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << (hdma->ChannelIndex & 0x1FU)); 574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the DMAMUX synchro overrun flag */ 576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxChannelStatus->CFR = hdma->DMAmuxChannelStatusMask; 577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (hdma->DMAmuxRequestGen != 0U) 579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* if using DMAMUX request generator, disable the DMAMUX request generator overrun IT*/ 581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* disable the request gen overrun IT*/ 582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGen->RGCR &= ~DMAMUX_RGxCR_OIE; 583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the DMAMUX request generator overrun flag */ 585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus->RGCFR = hdma->DMAmuxRequestGenStatusMask; 586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Change the DMA state */ 589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Process Unlocked */ 592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Call User Abort callback */ 595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (hdma->XferAbortCallback != NULL) 596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferAbortCallback(hdma); 598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return status; ARM GAS /tmp/ccFxKPnS.s page 12 601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Polling for transfer complete. 605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param CompleteLevel Specifies the DMA level complete. 608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param Timeout Timeout duration. 609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval HAL status 610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, HAL_DMA_LevelCompleteTypeDef Com 612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t Timeout) 613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t temp; 615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t tickstart; 616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (HAL_DMA_STATE_BUSY != hdma->State) 618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* no transfer ongoing */ 620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER; 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR; 623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Polling mode not supported in circular mode */ 626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (0U != (hdma->Instance->CCR & DMA_CCR_CIRC)) 627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NOT_SUPPORTED; 629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR; 630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Get the level transfer complete flag */ 633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (HAL_DMA_FULL_TRANSFER == CompleteLevel) 634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Transfer Complete flag */ 636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** temp = (uint32_t)DMA_FLAG_TC1 << (hdma->ChannelIndex & 0x1FU); 638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Half Transfer Complete flag */ 642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** temp = (uint32_t)DMA_FLAG_HT1 << (hdma->ChannelIndex & 0x1FU); 643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Get tick */ 646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** tickstart = HAL_GetTick(); 647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** while (0U == (hdma->DmaBaseAddress->ISR & temp)) 649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if ((0U != (hdma->DmaBaseAddress->ISR & ((uint32_t)DMA_FLAG_TE1 << (hdma->ChannelIndex & 0x1FU) 651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* When a DMA transfer error occurs */ 653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */ 654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear all flags */ 655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = ((uint32_t)DMA_ISR_GIF1 << (hdma->ChannelIndex & 0x1FU)); 656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Update error code */ ARM GAS /tmp/ccFxKPnS.s page 13 658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TE; 659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Change the DMA state */ 661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Process Unlocked */ 664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR; 667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Check for the Timeout */ 669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (Timeout != HAL_MAX_DELAY) 670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U)) 672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Update error code */ 674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TIMEOUT; 675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Change the DMA state */ 677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Process Unlocked */ 680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR; 683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /*Check for DMAMUX Request generator (if used) overrun status */ 688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (hdma->DMAmuxRequestGen != 0U) 689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* if using DMAMUX request generator Check for DMAMUX request generator overrun */ 691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if ((hdma->DMAmuxRequestGenStatus->RGSR & hdma->DMAmuxRequestGenStatusMask) != 0U) 692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Disable the request gen overrun interrupt */ 694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGen->RGCR |= DMAMUX_RGxCR_OIE; 695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the DMAMUX request generator overrun flag */ 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus->RGCFR = hdma->DMAmuxRequestGenStatusMask; 698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Update error code */ 700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode |= HAL_DMA_ERROR_REQGEN; 701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Check for DMAMUX Synchronization overrun */ 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if ((hdma->DMAmuxChannelStatus->CSR & hdma->DMAmuxChannelStatusMask) != 0U) 706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the DMAMUX synchro overrun flag */ 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxChannelStatus->CFR = hdma->DMAmuxChannelStatusMask; 709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Update error code */ 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode |= HAL_DMA_ERROR_SYNC; 712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (HAL_DMA_FULL_TRANSFER == CompleteLevel) ARM GAS /tmp/ccFxKPnS.s page 14 715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the transfer complete flag */ 717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = ((uint32_t)DMA_FLAG_TC1 << (hdma->ChannelIndex & 0x1FU)); 718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* The selected Channelx EN bit is cleared (DMA is disabled and 720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** all transfers are complete) */ 721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the half transfer complete flag */ 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = ((uint32_t)DMA_FLAG_HT1 << (hdma->ChannelIndex & 0x1FU)); 727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Process unlocked */ 730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_OK; 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Handle DMA interrupt request. 737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval None 740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma) 742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR; 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR; 745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Half Transfer Complete Interrupt management ******************************/ 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if ((0U != (flag_it & ((uint32_t)DMA_FLAG_HT1 << (hdma->ChannelIndex & 0x1FU)))) && (0U != (sourc 748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Disable the half transfer interrupt if the DMA mode is not CIRCULAR */ 750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if ((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U) 751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Disable the half transfer interrupt */ 753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_HT); 754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the half transfer complete flag */ 756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = ((uint32_t)DMA_ISR_HTIF1 << (hdma->ChannelIndex & 0x1FU)); 757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* DMA peripheral state is not updated in Half Transfer */ 759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* but in Transfer Complete case */ 760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (hdma->XferHalfCpltCallback != NULL) 762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Half transfer callback */ 764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferHalfCpltCallback(hdma); 765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Transfer Complete Interrupt management ***********************************/ 768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else if ((0U != (flag_it & ((uint32_t)DMA_FLAG_TC1 << (hdma->ChannelIndex & 0x1FU)))) 769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** && (0U != (source_it & DMA_IT_TC))) 770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if ((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U) ARM GAS /tmp/ccFxKPnS.s page 15 772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Disable the transfer complete and error interrupt */ 774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_TE | DMA_IT_TC); 775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Change the DMA state */ 777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the transfer complete flag */ 780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = ((uint32_t)DMA_ISR_TCIF1 << (hdma->ChannelIndex & 0x1FU)); 781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Process Unlocked */ 783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (hdma->XferCpltCallback != NULL) 786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Transfer complete callback */ 788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferCpltCallback(hdma); 789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Transfer Error Interrupt management **************************************/ 792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else if ((0U != (flag_it & ((uint32_t)DMA_FLAG_TE1 << (hdma->ChannelIndex & 0x1FU)))) 793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** && (0U != (source_it & DMA_IT_TE))) 794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* When a DMA transfer error occurs */ 796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */ 797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Disable ALL DMA IT */ 798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE)); 799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear all flags */ 801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = ((uint32_t)DMA_ISR_GIF1 << (hdma->ChannelIndex & 0x1FU)); 802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Update error code */ 804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TE; 805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Change the DMA state */ 807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; 808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Process Unlocked */ 810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (hdma->XferErrorCallback != NULL) 813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Transfer error callback */ 815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferErrorCallback(hdma); 816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Nothing To Do */ 821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return; 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Register callbacks 827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Channel. ARM GAS /tmp/ccFxKPnS.s page 16 829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param CallbackID User Callback identifier 830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter. 831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param pCallback pointer to private callbacsk function which has pointer to 832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * a DMA_HandleTypeDef structure as parameter. 833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval HAL status 834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Callb 836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Process locked */ 840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_LOCK(hdma); 841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (HAL_DMA_STATE_READY == hdma->State) 843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** switch (CallbackID) 845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID: 847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferCpltCallback = pCallback; 848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID: 851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferHalfCpltCallback = pCallback; 852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID: 855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferErrorCallback = pCallback; 856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID: 859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferAbortCallback = pCallback; 860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** default: 863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_ERROR; 864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_ERROR; 870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Release Lock */ 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return status; 876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief UnRegister callbacks 880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param CallbackID User Callback identifier 883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter. 884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval HAL status 885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ ARM GAS /tmp/ccFxKPnS.s page 17 886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Cal 887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Process locked */ 891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_LOCK(hdma); 892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (HAL_DMA_STATE_READY == hdma->State) 894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** switch (CallbackID) 896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID: 898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferCpltCallback = NULL; 899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID: 902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; 903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferErrorCallback = NULL; 907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID: 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferAbortCallback = NULL; 911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** case HAL_DMA_XFER_ALL_CB_ID: 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferCpltCallback = NULL; 915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferErrorCallback = NULL; 917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferAbortCallback = NULL; 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** default: 921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_ERROR; 922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_ERROR; 928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Release Lock */ 931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return status; 934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @} 938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group3 Peripheral State and Errors functions ARM GAS /tmp/ccFxKPnS.s page 18 943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Peripheral State and Errors functions 944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * 945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** @verbatim 946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** =============================================================================== 947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ##### Peripheral State and Errors functions ##### 948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** =============================================================================== 949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** [..] 950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** This subsection provides functions allowing to 951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) Check the DMA state 952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** (+) Get error code 953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** @endverbatim 955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @{ 956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Return the DMA hande state. 960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval HAL state 963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_DMA_StateTypeDef HAL_DMA_GetState(DMA_HandleTypeDef *hdma) 965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Return DMA handle state */ 967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return hdma->State; 968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Return the DMA error code. 972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains 973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval DMA Error Code 975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma) 977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return hdma->ErrorCode; 979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @} 983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @} 987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** @addtogroup DMA_Private_Functions 990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @{ 991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Sets the DMA Transfer parameter. 995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address 998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address 999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination ARM GAS /tmp/ccFxKPnS.s page 19 1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval HAL status 1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 1002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32 1003:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 29 .loc 1 1003 1 view -0 30 .cfi_startproc 31 @ args = 0, pretend = 0, frame = 0 32 @ frame_needed = 0, uses_anonymous_args = 0 33 @ link register save eliminated. 34 .loc 1 1003 1 is_stmt 0 view .LVU1 35 0000 30B4 push {r4, r5} 36 .LCFI0: 37 .cfi_def_cfa_offset 8 38 .cfi_offset 4, -8 39 .cfi_offset 5, -4 1004:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the DMAMUX synchro overrun flag */ 1005:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxChannelStatus->CFR = hdma->DMAmuxChannelStatusMask; 40 .loc 1 1005 3 is_stmt 1 view .LVU2 41 .loc 1 1005 7 is_stmt 0 view .LVU3 42 0002 C46C ldr r4, [r0, #76] 43 .loc 1 1005 34 view .LVU4 44 0004 056D ldr r5, [r0, #80] 45 0006 6560 str r5, [r4, #4] 1006:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1007:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if (hdma->DMAmuxRequestGen != 0U) 46 .loc 1 1007 3 is_stmt 1 view .LVU5 47 .loc 1 1007 11 is_stmt 0 view .LVU6 48 0008 446D ldr r4, [r0, #84] 49 .loc 1 1007 6 view .LVU7 50 000a 14B1 cbz r4, .L2 1008:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1009:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear the DMAMUX request generator overrun flag */ 1010:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus->RGCFR = hdma->DMAmuxRequestGenStatusMask; 51 .loc 1 1010 5 is_stmt 1 view .LVU8 52 .loc 1 1010 9 is_stmt 0 view .LVU9 53 000c 846D ldr r4, [r0, #88] 54 .loc 1 1010 41 view .LVU10 55 000e C56D ldr r5, [r0, #92] 56 0010 6560 str r5, [r4, #4] 57 .L2: 1011:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1012:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1013:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Clear all flags */ 1014:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << (hdma->ChannelIndex & 0x1FU)); 58 .loc 1 1014 3 is_stmt 1 view .LVU11 59 .loc 1 1014 54 is_stmt 0 view .LVU12 60 0012 446C ldr r4, [r0, #68] 61 .loc 1 1014 69 view .LVU13 62 0014 04F01F0C and ip, r4, #31 63 .loc 1 1014 46 view .LVU14 64 0018 0124 movs r4, #1 65 001a 04FA0CF4 lsl r4, r4, ip 66 .loc 1 1014 30 view .LVU15 67 001e 056C ldr r5, [r0, #64] 68 0020 6C60 str r4, [r5, #4] 1015:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1016:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Configure DMA Channel data length */ ARM GAS /tmp/ccFxKPnS.s page 20 1017:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Instance->CNDTR = DataLength; 69 .loc 1 1017 3 is_stmt 1 view .LVU16 70 .loc 1 1017 7 is_stmt 0 view .LVU17 71 0022 0468 ldr r4, [r0] 72 .loc 1 1017 25 view .LVU18 73 0024 6360 str r3, [r4, #4] 1018:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1019:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Memory to Peripheral */ 1020:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if ((hdma->Init.Direction) == DMA_MEMORY_TO_PERIPH) 74 .loc 1 1020 3 is_stmt 1 view .LVU19 75 .loc 1 1020 18 is_stmt 0 view .LVU20 76 0026 8368 ldr r3, [r0, #8] 77 .LVL1: 78 .loc 1 1020 6 view .LVU21 79 0028 102B cmp r3, #16 80 002a 05D0 beq .L6 1021:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1022:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Configure DMA Channel destination address */ 1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Instance->CPAR = DstAddress; 1024:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1025:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Configure DMA Channel source address */ 1026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Instance->CMAR = SrcAddress; 1027:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1028:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Peripheral to Memory */ 1029:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 1030:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1031:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Configure DMA Channel source address */ 1032:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Instance->CPAR = SrcAddress; 81 .loc 1 1032 5 is_stmt 1 view .LVU22 82 .loc 1 1032 9 is_stmt 0 view .LVU23 83 002c 0368 ldr r3, [r0] 84 .loc 1 1032 26 view .LVU24 85 002e 9960 str r1, [r3, #8] 86 .LVL2: 1033:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1034:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Configure DMA Channel destination address */ 1035:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Instance->CMAR = DstAddress; 87 .loc 1 1035 5 is_stmt 1 view .LVU25 88 .loc 1 1035 9 is_stmt 0 view .LVU26 89 0030 0368 ldr r3, [r0] 90 .loc 1 1035 26 view .LVU27 91 0032 DA60 str r2, [r3, #12] 92 .L1: 1036:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1037:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 93 .loc 1 1037 1 view .LVU28 94 0034 30BC pop {r4, r5} 95 .LCFI1: 96 .cfi_remember_state 97 .cfi_restore 5 98 .cfi_restore 4 99 .cfi_def_cfa_offset 0 100 0036 7047 bx lr 101 .LVL3: 102 .L6: 103 .LCFI2: 104 .cfi_restore_state ARM GAS /tmp/ccFxKPnS.s page 21 1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 105 .loc 1 1023 5 is_stmt 1 view .LVU29 1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 106 .loc 1 1023 9 is_stmt 0 view .LVU30 107 0038 0368 ldr r3, [r0] 1023:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 108 .loc 1 1023 26 view .LVU31 109 003a 9A60 str r2, [r3, #8] 110 .LVL4: 1026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 111 .loc 1 1026 5 is_stmt 1 view .LVU32 1026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 112 .loc 1 1026 9 is_stmt 0 view .LVU33 113 003c 0368 ldr r3, [r0] 1026:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 114 .loc 1 1026 26 view .LVU34 115 003e D960 str r1, [r3, #12] 116 0040 F8E7 b .L1 117 .cfi_endproc 118 .LFE341: 120 .section .text.DMA_CalcDMAMUXChannelBaseAndMask,"ax",%progbits 121 .align 1 122 .syntax unified 123 .thumb 124 .thumb_func 126 DMA_CalcDMAMUXChannelBaseAndMask: 127 .LVL5: 128 .LFB342: 1038:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1039:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 1040:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Updates the DMA handle with the DMAMUX channel and status mask depending on stream num 1041:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 1042:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Stream. 1043:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval None 1044:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 1045:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** static void DMA_CalcDMAMUXChannelBaseAndMask(DMA_HandleTypeDef *hdma) 1046:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 129 .loc 1 1046 1 is_stmt 1 view -0 130 .cfi_startproc 131 @ args = 0, pretend = 0, frame = 0 132 @ frame_needed = 0, uses_anonymous_args = 0 133 @ link register save eliminated. 1047:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t dmamux_base_addr; 134 .loc 1 1047 3 view .LVU36 1048:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t channel_number; 135 .loc 1 1048 3 view .LVU37 1049:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMAMUX_Channel_TypeDef *DMAMUX1_ChannelBase; 136 .loc 1 1049 3 view .LVU38 1050:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1051:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* check if instance is not outside the DMA channel range */ 1052:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** if ((uint32_t)hdma->Instance < (uint32_t)DMA2_Channel1) 137 .loc 1 1052 3 view .LVU39 138 .loc 1 1052 21 is_stmt 0 view .LVU40 139 0000 0368 ldr r3, [r0] 140 .loc 1 1052 6 view .LVU41 141 0002 0C4A ldr r2, .L10 142 0004 9342 cmp r3, r2 ARM GAS /tmp/ccFxKPnS.s page 22 143 0006 13D8 bhi .L9 1053:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1054:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* DMA1 */ 1055:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMAMUX1_ChannelBase = DMAMUX1_Channel0; 144 .loc 1 1055 25 view .LVU42 145 0008 0B49 ldr r1, .L10+4 146 .L8: 147 .LVL6: 1056:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1057:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** else 1058:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1059:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* DMA2 */ 1060:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** #if defined (STM32G471xx) || defined (STM32G473xx) || defined (STM32G474xx) || defined (STM32G414xx 1061:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMAMUX1_ChannelBase = DMAMUX1_Channel8; 1062:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** #elif defined (STM32G411xB) || defined (STM32G431xx) || defined (STM32G441xx) || defined (STM32GBK1 1063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMAMUX1_ChannelBase = DMAMUX1_Channel6; 1064:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** #else 1065:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMAMUX1_ChannelBase = DMAMUX1_Channel7; 1066:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** #endif /* STM32G4x1xx) */ 1067:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1068:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** dmamux_base_addr = (uint32_t)DMAMUX1_ChannelBase; 148 .loc 1 1068 3 is_stmt 1 view .LVU43 1069:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** channel_number = (((uint32_t)hdma->Instance & 0xFFU) - 8U) / 20U; 149 .loc 1 1069 3 view .LVU44 150 .loc 1 1069 47 is_stmt 0 view .LVU45 151 000a DBB2 uxtb r3, r3 152 .loc 1 1069 56 view .LVU46 153 000c 083B subs r3, r3, #8 154 .loc 1 1069 18 view .LVU47 155 000e 0B4A ldr r2, .L10+8 156 0010 A2FB0323 umull r2, r3, r2, r3 157 .LVL7: 1070:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxChannel = (DMAMUX_Channel_TypeDef *)(uint32_t)(dmamux_base_addr + ((hdma->ChannelInde 158 .loc 1 1070 3 is_stmt 1 view .LVU48 159 .loc 1 1070 87 is_stmt 0 view .LVU49 160 0014 426C ldr r2, [r0, #68] 161 .loc 1 1070 109 view .LVU50 162 0016 22F00302 bic r2, r2, #3 163 .loc 1 1070 51 view .LVU51 164 001a 0A44 add r2, r2, r1 165 .loc 1 1070 23 view .LVU52 166 001c 8264 str r2, [r0, #72] 1071:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxChannelStatus = DMAMUX1_ChannelStatus; 167 .loc 1 1071 3 is_stmt 1 view .LVU53 168 .loc 1 1071 29 is_stmt 0 view .LVU54 169 001e 084A ldr r2, .L10+12 170 0020 C264 str r2, [r0, #76] 1072:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxChannelStatusMask = 1UL << (channel_number & 0x1FU); 171 .loc 1 1072 3 is_stmt 1 view .LVU55 172 .loc 1 1072 58 is_stmt 0 view .LVU56 173 0022 C3F30413 ubfx r3, r3, #4, #5 174 .LVL8: 175 .loc 1 1072 39 view .LVU57 176 0026 0122 movs r2, #1 177 0028 02FA03F3 lsl r3, r2, r3 178 .loc 1 1072 33 view .LVU58 179 002c 0365 str r3, [r0, #80] ARM GAS /tmp/ccFxKPnS.s page 23 1073:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 180 .loc 1 1073 1 view .LVU59 181 002e 7047 bx lr 182 .LVL9: 183 .L9: 1063:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** #else 184 .loc 1 1063 25 view .LVU60 185 0030 0449 ldr r1, .L10+16 186 0032 EAE7 b .L8 187 .L11: 188 .align 2 189 .L10: 190 0034 07040240 .word 1073873927 191 0038 00080240 .word 1073874944 192 003c CDCCCCCC .word -858993459 193 0040 80080240 .word 1073875072 194 0044 20080240 .word 1073874976 195 .cfi_endproc 196 .LFE342: 198 .section .text.DMA_CalcDMAMUXRequestGenBaseAndMask,"ax",%progbits 199 .align 1 200 .syntax unified 201 .thumb 202 .thumb_func 204 DMA_CalcDMAMUXRequestGenBaseAndMask: 205 .LVL10: 206 .LFB343: 1074:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1075:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /** 1076:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @brief Updates the DMA handle with the DMAMUX request generator params 1077:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains 1078:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * the configuration information for the specified DMA Channel. 1079:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** * @retval None 1080:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** */ 1081:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1082:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** static void DMA_CalcDMAMUXRequestGenBaseAndMask(DMA_HandleTypeDef *hdma) 1083:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 207 .loc 1 1083 1 is_stmt 1 view -0 208 .cfi_startproc 209 @ args = 0, pretend = 0, frame = 0 210 @ frame_needed = 0, uses_anonymous_args = 0 211 @ link register save eliminated. 1084:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t request = hdma->Init.Request & DMAMUX_CxCR_DMAREQ_ID; 212 .loc 1 1084 3 view .LVU62 213 .loc 1 1084 12 is_stmt 0 view .LVU63 214 0000 0379 ldrb r3, [r0, #4] @ zero_extendqisi2 215 .LVL11: 1085:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1086:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* DMA Channels are connected to DMAMUX1 request generator blocks*/ 1087:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGen = (DMAMUX_RequestGen_TypeDef *)((uint32_t)(((uint32_t)DMAMUX1_RequestGener 216 .loc 1 1087 3 is_stmt 1 view .LVU64 217 .loc 1 1087 58 is_stmt 0 view .LVU65 218 0002 074A ldr r2, .L13 219 0004 1A44 add r2, r2, r3 220 0006 9200 lsls r2, r2, #2 221 .loc 1 1087 26 view .LVU66 222 0008 4265 str r2, [r0, #84] ARM GAS /tmp/ccFxKPnS.s page 24 1088:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1089:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus = DMAMUX1_RequestGenStatus; 223 .loc 1 1089 3 is_stmt 1 view .LVU67 224 .loc 1 1089 32 is_stmt 0 view .LVU68 225 000a 064A ldr r2, .L13+4 226 000c 8265 str r2, [r0, #88] 1090:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1091:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatusMask = 1UL << ((request - 1U) & 0x1FU); 227 .loc 1 1091 3 is_stmt 1 view .LVU69 228 .loc 1 1091 55 is_stmt 0 view .LVU70 229 000e 013B subs r3, r3, #1 230 .LVL12: 231 .loc 1 1091 61 view .LVU71 232 0010 03F01F03 and r3, r3, #31 233 .LVL13: 234 .loc 1 1091 42 view .LVU72 235 0014 0122 movs r2, #1 236 0016 02FA03F3 lsl r3, r2, r3 237 .loc 1 1091 36 view .LVU73 238 001a C365 str r3, [r0, #92] 1092:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 239 .loc 1 1092 1 view .LVU74 240 001c 7047 bx lr 241 .L14: 242 001e 00BF .align 2 243 .L13: 244 0020 3F820010 .word 268468799 245 0024 40090240 .word 1073875264 246 .cfi_endproc 247 .LFE343: 249 .section .text.HAL_DMA_Init,"ax",%progbits 250 .align 1 251 .global HAL_DMA_Init 252 .syntax unified 253 .thumb 254 .thumb_func 256 HAL_DMA_Init: 257 .LVL14: 258 .LFB329: 153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t tmp; 259 .loc 1 153 1 is_stmt 1 view -0 260 .cfi_startproc 261 @ args = 0, pretend = 0, frame = 0 262 @ frame_needed = 0, uses_anonymous_args = 0 154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 263 .loc 1 154 3 view .LVU76 157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 264 .loc 1 157 3 view .LVU77 157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 265 .loc 1 157 6 is_stmt 0 view .LVU78 266 0000 0028 cmp r0, #0 267 0002 59D0 beq .L22 153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t tmp; 268 .loc 1 153 1 view .LVU79 269 0004 10B5 push {r4, lr} 270 .LCFI3: 271 .cfi_def_cfa_offset 8 ARM GAS /tmp/ccFxKPnS.s page 25 272 .cfi_offset 4, -8 273 .cfi_offset 14, -4 274 0006 0446 mov r4, r0 163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction)); 275 .loc 1 163 3 is_stmt 1 view .LVU80 164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc)); 276 .loc 1 164 3 view .LVU81 165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc)); 277 .loc 1 165 3 view .LVU82 166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment)); 278 .loc 1 166 3 view .LVU83 167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment)); 279 .loc 1 167 3 view .LVU84 168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode)); 280 .loc 1 168 3 view .LVU85 169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority)); 281 .loc 1 169 3 view .LVU86 170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 282 .loc 1 170 3 view .LVU87 172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 283 .loc 1 172 3 view .LVU88 175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 284 .loc 1 175 3 view .LVU89 175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 285 .loc 1 175 22 is_stmt 0 view .LVU90 286 0008 0268 ldr r2, [r0] 175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 287 .loc 1 175 6 view .LVU91 288 000a 2C4B ldr r3, .L29 289 000c 9A42 cmp r2, r3 290 000e 3BD8 bhi .L17 178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; 291 .loc 1 178 5 is_stmt 1 view .LVU92 178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; 292 .loc 1 178 53 is_stmt 0 view .LVU93 293 0010 2B4B ldr r3, .L29+4 294 0012 1344 add r3, r3, r2 178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; 295 .loc 1 178 80 view .LVU94 296 0014 2B49 ldr r1, .L29+8 297 0016 A1FB0313 umull r1, r3, r1, r3 298 001a 1B09 lsrs r3, r3, #4 178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; 299 .loc 1 178 135 view .LVU95 300 001c 9B00 lsls r3, r3, #2 178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; 301 .loc 1 178 24 view .LVU96 302 001e 4364 str r3, [r0, #68] 179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 303 .loc 1 179 5 is_stmt 1 view .LVU97 179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 304 .loc 1 179 26 is_stmt 0 view .LVU98 305 0020 294B ldr r3, .L29+12 306 0022 0364 str r3, [r0, #64] 307 .L18: 189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 308 .loc 1 189 3 is_stmt 1 view .LVU99 ARM GAS /tmp/ccFxKPnS.s page 26 189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 309 .loc 1 189 15 is_stmt 0 view .LVU100 310 0024 0223 movs r3, #2 311 0026 84F82530 strb r3, [r4, #37] 192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 312 .loc 1 192 3 is_stmt 1 view .LVU101 192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 313 .loc 1 192 7 is_stmt 0 view .LVU102 314 002a 1168 ldr r1, [r2] 315 .LVL15: 195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | 316 .loc 1 195 3 is_stmt 1 view .LVU103 195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | 317 .loc 1 195 7 is_stmt 0 view .LVU104 318 002c 6FF30E11 bfc r1, #4, #11 319 .LVL16: 200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | 320 .loc 1 200 3 is_stmt 1 view .LVU105 200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | 321 .loc 1 200 21 is_stmt 0 view .LVU106 322 0030 A368 ldr r3, [r4, #8] 201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | 323 .loc 1 201 21 view .LVU107 324 0032 E068 ldr r0, [r4, #12] 325 .LVL17: 200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | 326 .loc 1 200 39 view .LVU108 327 0034 0343 orrs r3, r3, r0 201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | 328 .loc 1 201 54 view .LVU109 329 0036 2069 ldr r0, [r4, #16] 201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | 330 .loc 1 201 42 view .LVU110 331 0038 0343 orrs r3, r3, r0 202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority; 332 .loc 1 202 21 view .LVU111 333 003a 6069 ldr r0, [r4, #20] 201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | 334 .loc 1 201 72 view .LVU112 335 003c 0343 orrs r3, r3, r0 202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority; 336 .loc 1 202 54 view .LVU113 337 003e A069 ldr r0, [r4, #24] 202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority; 338 .loc 1 202 42 view .LVU114 339 0040 0343 orrs r3, r3, r0 203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 340 .loc 1 203 21 view .LVU115 341 0042 E069 ldr r0, [r4, #28] 202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority; 342 .loc 1 202 72 view .LVU116 343 0044 0343 orrs r3, r3, r0 203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 344 .loc 1 203 54 view .LVU117 345 0046 206A ldr r0, [r4, #32] 203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 346 .loc 1 203 42 view .LVU118 ARM GAS /tmp/ccFxKPnS.s page 27 347 0048 0343 orrs r3, r3, r0 200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | 348 .loc 1 200 7 view .LVU119 349 004a 0B43 orrs r3, r3, r1 350 .LVL18: 206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 351 .loc 1 206 3 is_stmt 1 view .LVU120 206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 352 .loc 1 206 23 is_stmt 0 view .LVU121 353 004c 1360 str r3, [r2] 211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 354 .loc 1 211 3 is_stmt 1 view .LVU122 355 004e 2046 mov r0, r4 356 0050 FFF7FEFF bl DMA_CalcDMAMUXChannelBaseAndMask 357 .LVL19: 213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 358 .loc 1 213 3 view .LVU123 213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 359 .loc 1 213 17 is_stmt 0 view .LVU124 360 0054 A368 ldr r3, [r4, #8] 213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 361 .loc 1 213 6 view .LVU125 362 0056 B3F5804F cmp r3, #16384 363 005a 20D0 beq .L27 364 .L19: 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 365 .loc 1 220 3 is_stmt 1 view .LVU126 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 366 .loc 1 220 7 is_stmt 0 view .LVU127 367 005c A36C ldr r3, [r4, #72] 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 368 .loc 1 220 50 view .LVU128 369 005e 2279 ldrb r2, [r4, #4] @ zero_extendqisi2 220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 370 .loc 1 220 28 view .LVU129 371 0060 1A60 str r2, [r3] 223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 372 .loc 1 223 3 is_stmt 1 view .LVU130 223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 373 .loc 1 223 7 is_stmt 0 view .LVU131 374 0062 E36C ldr r3, [r4, #76] 223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 375 .loc 1 223 40 view .LVU132 376 0064 226D ldr r2, [r4, #80] 223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 377 .loc 1 223 34 view .LVU133 378 0066 5A60 str r2, [r3, #4] 225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 379 .loc 1 225 3 is_stmt 1 view .LVU134 225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 380 .loc 1 225 19 is_stmt 0 view .LVU135 381 0068 6368 ldr r3, [r4, #4] 225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 382 .loc 1 225 35 view .LVU136 383 006a 013B subs r3, r3, #1 225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 384 .loc 1 225 6 view .LVU137 ARM GAS /tmp/ccFxKPnS.s page 28 385 006c 032B cmp r3, #3 386 006e 19D9 bls .L28 240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus = 0U; 387 .loc 1 240 5 is_stmt 1 view .LVU138 240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus = 0U; 388 .loc 1 240 28 is_stmt 0 view .LVU139 389 0070 0023 movs r3, #0 390 0072 6365 str r3, [r4, #84] 241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatusMask = 0U; 391 .loc 1 241 5 is_stmt 1 view .LVU140 241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatusMask = 0U; 392 .loc 1 241 34 is_stmt 0 view .LVU141 393 0074 A365 str r3, [r4, #88] 242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 394 .loc 1 242 5 is_stmt 1 view .LVU142 242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 395 .loc 1 242 38 is_stmt 0 view .LVU143 396 0076 E365 str r3, [r4, #92] 397 .L21: 246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 398 .loc 1 246 3 is_stmt 1 view .LVU144 246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 399 .loc 1 246 19 is_stmt 0 view .LVU145 400 0078 0020 movs r0, #0 401 007a E063 str r0, [r4, #60] 249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 402 .loc 1 249 3 is_stmt 1 view .LVU146 249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 403 .loc 1 249 16 is_stmt 0 view .LVU147 404 007c 0123 movs r3, #1 405 007e 84F82530 strb r3, [r4, #37] 252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 406 .loc 1 252 3 is_stmt 1 view .LVU148 252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 407 .loc 1 252 14 is_stmt 0 view .LVU149 408 0082 84F82400 strb r0, [r4, #36] 254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 409 .loc 1 254 3 is_stmt 1 view .LVU150 255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 410 .loc 1 255 1 is_stmt 0 view .LVU151 411 0086 10BD pop {r4, pc} 412 .LVL20: 413 .L17: 184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 414 .loc 1 184 5 is_stmt 1 view .LVU152 184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 415 .loc 1 184 53 is_stmt 0 view .LVU153 416 0088 104B ldr r3, .L29+16 417 008a 1344 add r3, r3, r2 184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 418 .loc 1 184 80 view .LVU154 419 008c 0D49 ldr r1, .L29+8 420 008e A1FB0313 umull r1, r3, r1, r3 421 0092 1B09 lsrs r3, r3, #4 184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 422 .loc 1 184 135 view .LVU155 423 0094 9B00 lsls r3, r3, #2 ARM GAS /tmp/ccFxKPnS.s page 29 184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 424 .loc 1 184 24 view .LVU156 425 0096 4364 str r3, [r0, #68] 185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 426 .loc 1 185 5 is_stmt 1 view .LVU157 185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 427 .loc 1 185 26 is_stmt 0 view .LVU158 428 0098 0D4B ldr r3, .L29+20 429 009a 0364 str r3, [r0, #64] 430 009c C2E7 b .L18 431 .LVL21: 432 .L27: 216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 433 .loc 1 216 5 is_stmt 1 view .LVU159 216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 434 .loc 1 216 24 is_stmt 0 view .LVU160 435 009e 0023 movs r3, #0 436 00a0 6360 str r3, [r4, #4] 437 00a2 DBE7 b .L19 438 .L28: 230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 439 .loc 1 230 5 is_stmt 1 view .LVU161 440 00a4 2046 mov r0, r4 441 00a6 FFF7FEFF bl DMA_CalcDMAMUXRequestGenBaseAndMask 442 .LVL22: 233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 443 .loc 1 233 5 view .LVU162 233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 444 .loc 1 233 9 is_stmt 0 view .LVU163 445 00aa 636D ldr r3, [r4, #84] 233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 446 .loc 1 233 34 view .LVU164 447 00ac 0022 movs r2, #0 448 00ae 1A60 str r2, [r3] 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 449 .loc 1 236 5 is_stmt 1 view .LVU165 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 450 .loc 1 236 9 is_stmt 0 view .LVU166 451 00b0 A36D ldr r3, [r4, #88] 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 452 .loc 1 236 47 view .LVU167 453 00b2 E26D ldr r2, [r4, #92] 236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 454 .loc 1 236 41 view .LVU168 455 00b4 5A60 str r2, [r3, #4] 456 00b6 DFE7 b .L21 457 .LVL23: 458 .L22: 459 .LCFI4: 460 .cfi_def_cfa_offset 0 461 .cfi_restore 4 462 .cfi_restore 14 159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 463 .loc 1 159 12 view .LVU169 464 00b8 0120 movs r0, #1 465 .LVL24: 255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ARM GAS /tmp/ccFxKPnS.s page 30 466 .loc 1 255 1 view .LVU170 467 00ba 7047 bx lr 468 .L30: 469 .align 2 470 .L29: 471 00bc 07040240 .word 1073873927 472 00c0 F8FFFDBF .word -1073872904 473 00c4 CDCCCCCC .word -858993459 474 00c8 00000240 .word 1073872896 475 00cc F8FBFDBF .word -1073873928 476 00d0 00040240 .word 1073873920 477 .cfi_endproc 478 .LFE329: 480 .section .text.HAL_DMA_DeInit,"ax",%progbits 481 .align 1 482 .global HAL_DMA_DeInit 483 .syntax unified 484 .thumb 485 .thumb_func 487 HAL_DMA_DeInit: 488 .LVL25: 489 .LFB330: 264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 490 .loc 1 264 1 is_stmt 1 view -0 491 .cfi_startproc 492 @ args = 0, pretend = 0, frame = 0 493 @ frame_needed = 0, uses_anonymous_args = 0 267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 494 .loc 1 267 3 view .LVU172 267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 495 .loc 1 267 6 is_stmt 0 view .LVU173 496 0000 0028 cmp r0, #0 497 0002 4BD0 beq .L36 264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 498 .loc 1 264 1 view .LVU174 499 0004 38B5 push {r3, r4, r5, lr} 500 .LCFI5: 501 .cfi_def_cfa_offset 16 502 .cfi_offset 3, -16 503 .cfi_offset 4, -12 504 .cfi_offset 5, -8 505 .cfi_offset 14, -4 506 0006 0446 mov r4, r0 273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 507 .loc 1 273 3 is_stmt 1 view .LVU175 276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 508 .loc 1 276 3 view .LVU176 509 0008 0268 ldr r2, [r0] 510 000a 1368 ldr r3, [r2] 511 000c 23F00103 bic r3, r3, #1 512 0010 1360 str r3, [r2] 279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 513 .loc 1 279 3 view .LVU177 279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 514 .loc 1 279 22 is_stmt 0 view .LVU178 515 0012 0268 ldr r2, [r0] 279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { ARM GAS /tmp/ccFxKPnS.s page 31 516 .loc 1 279 6 view .LVU179 517 0014 224B ldr r3, .L42 518 0016 9A42 cmp r2, r3 519 0018 2CD8 bhi .L33 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; 520 .loc 1 282 5 is_stmt 1 view .LVU180 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; 521 .loc 1 282 53 is_stmt 0 view .LVU181 522 001a 224B ldr r3, .L42+4 523 001c 1344 add r3, r3, r2 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; 524 .loc 1 282 80 view .LVU182 525 001e 2249 ldr r1, .L42+8 526 0020 A1FB0313 umull r1, r3, r1, r3 527 0024 1B09 lsrs r3, r3, #4 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; 528 .loc 1 282 135 view .LVU183 529 0026 9B00 lsls r3, r3, #2 282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; 530 .loc 1 282 24 view .LVU184 531 0028 4364 str r3, [r0, #68] 283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 532 .loc 1 283 5 is_stmt 1 view .LVU185 283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 533 .loc 1 283 26 is_stmt 0 view .LVU186 534 002a 204B ldr r3, .L42+12 535 002c 0364 str r3, [r0, #64] 536 .L34: 293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 537 .loc 1 293 3 is_stmt 1 view .LVU187 293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 538 .loc 1 293 24 is_stmt 0 view .LVU188 539 002e 0025 movs r5, #0 540 0030 1560 str r5, [r2] 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 541 .loc 1 296 3 is_stmt 1 view .LVU189 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 542 .loc 1 296 54 is_stmt 0 view .LVU190 543 0032 636C ldr r3, [r4, #68] 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 544 .loc 1 296 69 view .LVU191 545 0034 03F01F02 and r2, r3, #31 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 546 .loc 1 296 7 view .LVU192 547 0038 216C ldr r1, [r4, #64] 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 548 .loc 1 296 46 view .LVU193 549 003a 0123 movs r3, #1 550 003c 9340 lsls r3, r3, r2 296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 551 .loc 1 296 30 view .LVU194 552 003e 4B60 str r3, [r1, #4] 301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 553 .loc 1 301 3 is_stmt 1 view .LVU195 554 0040 2046 mov r0, r4 555 .LVL26: 301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ARM GAS /tmp/ccFxKPnS.s page 32 556 .loc 1 301 3 is_stmt 0 view .LVU196 557 0042 FFF7FEFF bl DMA_CalcDMAMUXChannelBaseAndMask 558 .LVL27: 304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 559 .loc 1 304 3 is_stmt 1 view .LVU197 304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 560 .loc 1 304 7 is_stmt 0 view .LVU198 561 0046 A36C ldr r3, [r4, #72] 304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 562 .loc 1 304 28 view .LVU199 563 0048 1D60 str r5, [r3] 307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 564 .loc 1 307 3 is_stmt 1 view .LVU200 307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 565 .loc 1 307 7 is_stmt 0 view .LVU201 566 004a E36C ldr r3, [r4, #76] 307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 567 .loc 1 307 40 view .LVU202 568 004c 226D ldr r2, [r4, #80] 307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 569 .loc 1 307 34 view .LVU203 570 004e 5A60 str r2, [r3, #4] 310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 571 .loc 1 310 3 is_stmt 1 view .LVU204 310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 572 .loc 1 310 19 is_stmt 0 view .LVU205 573 0050 6368 ldr r3, [r4, #4] 310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 574 .loc 1 310 35 view .LVU206 575 0052 013B subs r3, r3, #1 310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 576 .loc 1 310 6 view .LVU207 577 0054 032B cmp r3, #3 578 0056 18D9 bls .L41 579 .L35: 324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus = 0U; 580 .loc 1 324 3 is_stmt 1 view .LVU208 324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus = 0U; 581 .loc 1 324 26 is_stmt 0 view .LVU209 582 0058 0020 movs r0, #0 583 005a 6065 str r0, [r4, #84] 325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatusMask = 0U; 584 .loc 1 325 3 is_stmt 1 view .LVU210 325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatusMask = 0U; 585 .loc 1 325 32 is_stmt 0 view .LVU211 586 005c A065 str r0, [r4, #88] 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 587 .loc 1 326 3 is_stmt 1 view .LVU212 326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 588 .loc 1 326 36 is_stmt 0 view .LVU213 589 005e E065 str r0, [r4, #92] 329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; 590 .loc 1 329 3 is_stmt 1 view .LVU214 329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; 591 .loc 1 329 26 is_stmt 0 view .LVU215 592 0060 E062 str r0, [r4, #44] 330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferErrorCallback = NULL; ARM GAS /tmp/ccFxKPnS.s page 33 593 .loc 1 330 3 is_stmt 1 view .LVU216 330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferErrorCallback = NULL; 594 .loc 1 330 30 is_stmt 0 view .LVU217 595 0062 2063 str r0, [r4, #48] 331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferAbortCallback = NULL; 596 .loc 1 331 3 is_stmt 1 view .LVU218 331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferAbortCallback = NULL; 597 .loc 1 331 27 is_stmt 0 view .LVU219 598 0064 6063 str r0, [r4, #52] 332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 599 .loc 1 332 3 is_stmt 1 view .LVU220 332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 600 .loc 1 332 27 is_stmt 0 view .LVU221 601 0066 A063 str r0, [r4, #56] 335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 602 .loc 1 335 3 is_stmt 1 view .LVU222 335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 603 .loc 1 335 19 is_stmt 0 view .LVU223 604 0068 E063 str r0, [r4, #60] 338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 605 .loc 1 338 3 is_stmt 1 view .LVU224 338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 606 .loc 1 338 15 is_stmt 0 view .LVU225 607 006a 84F82500 strb r0, [r4, #37] 341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 608 .loc 1 341 3 is_stmt 1 view .LVU226 341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 609 .loc 1 341 3 view .LVU227 610 006e 84F82400 strb r0, [r4, #36] 341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 611 .loc 1 341 3 view .LVU228 343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 612 .loc 1 343 3 view .LVU229 344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 613 .loc 1 344 1 is_stmt 0 view .LVU230 614 0072 38BD pop {r3, r4, r5, pc} 615 .LVL28: 616 .L33: 288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 617 .loc 1 288 5 is_stmt 1 view .LVU231 288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 618 .loc 1 288 53 is_stmt 0 view .LVU232 619 0074 0E4B ldr r3, .L42+16 620 0076 1344 add r3, r3, r2 288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 621 .loc 1 288 80 view .LVU233 622 0078 0B49 ldr r1, .L42+8 623 007a A1FB0313 umull r1, r3, r1, r3 624 007e 1B09 lsrs r3, r3, #4 288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 625 .loc 1 288 135 view .LVU234 626 0080 9B00 lsls r3, r3, #2 288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; 627 .loc 1 288 24 view .LVU235 628 0082 4364 str r3, [r0, #68] 289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 629 .loc 1 289 5 is_stmt 1 view .LVU236 ARM GAS /tmp/ccFxKPnS.s page 34 289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 630 .loc 1 289 26 is_stmt 0 view .LVU237 631 0084 0B4B ldr r3, .L42+20 632 0086 0364 str r3, [r0, #64] 633 0088 D1E7 b .L34 634 .LVL29: 635 .L41: 315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 636 .loc 1 315 5 is_stmt 1 view .LVU238 637 008a 2046 mov r0, r4 638 008c FFF7FEFF bl DMA_CalcDMAMUXRequestGenBaseAndMask 639 .LVL30: 318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 640 .loc 1 318 5 view .LVU239 318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 641 .loc 1 318 9 is_stmt 0 view .LVU240 642 0090 636D ldr r3, [r4, #84] 318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 643 .loc 1 318 34 view .LVU241 644 0092 1D60 str r5, [r3] 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 645 .loc 1 321 5 is_stmt 1 view .LVU242 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 646 .loc 1 321 9 is_stmt 0 view .LVU243 647 0094 A36D ldr r3, [r4, #88] 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 648 .loc 1 321 47 view .LVU244 649 0096 E26D ldr r2, [r4, #92] 321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 650 .loc 1 321 41 view .LVU245 651 0098 5A60 str r2, [r3, #4] 652 009a DDE7 b .L35 653 .LVL31: 654 .L36: 655 .LCFI6: 656 .cfi_def_cfa_offset 0 657 .cfi_restore 3 658 .cfi_restore 4 659 .cfi_restore 5 660 .cfi_restore 14 269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 661 .loc 1 269 12 view .LVU246 662 009c 0120 movs r0, #1 663 .LVL32: 344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 664 .loc 1 344 1 view .LVU247 665 009e 7047 bx lr 666 .L43: 667 .align 2 668 .L42: 669 00a0 07040240 .word 1073873927 670 00a4 F8FFFDBF .word -1073872904 671 00a8 CDCCCCCC .word -858993459 672 00ac 00000240 .word 1073872896 673 00b0 F8FBFDBF .word -1073873928 674 00b4 00040240 .word 1073873920 675 .cfi_endproc ARM GAS /tmp/ccFxKPnS.s page 35 676 .LFE330: 678 .section .text.HAL_DMA_Start,"ax",%progbits 679 .align 1 680 .global HAL_DMA_Start 681 .syntax unified 682 .thumb 683 .thumb_func 685 HAL_DMA_Start: 686 .LVL33: 687 .LFB331: 379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 688 .loc 1 379 1 is_stmt 1 view -0 689 .cfi_startproc 690 @ args = 0, pretend = 0, frame = 0 691 @ frame_needed = 0, uses_anonymous_args = 0 379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 692 .loc 1 379 1 is_stmt 0 view .LVU249 693 0000 70B5 push {r4, r5, r6, lr} 694 .LCFI7: 695 .cfi_def_cfa_offset 16 696 .cfi_offset 4, -16 697 .cfi_offset 5, -12 698 .cfi_offset 6, -8 699 .cfi_offset 14, -4 700 0002 0446 mov r4, r0 380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 701 .loc 1 380 3 is_stmt 1 view .LVU250 702 .LVL34: 383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 703 .loc 1 383 3 view .LVU251 386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 704 .loc 1 386 3 view .LVU252 386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 705 .loc 1 386 3 view .LVU253 706 0004 90F82400 ldrb r0, [r0, #36] @ zero_extendqisi2 707 .LVL35: 386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 708 .loc 1 386 3 is_stmt 0 view .LVU254 709 0008 0128 cmp r0, #1 710 000a 20D0 beq .L47 386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 711 .loc 1 386 3 is_stmt 1 discriminator 2 view .LVU255 712 000c 0120 movs r0, #1 713 000e 84F82400 strb r0, [r4, #36] 386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 714 .loc 1 386 3 discriminator 2 view .LVU256 388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 715 .loc 1 388 3 view .LVU257 388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 716 .loc 1 388 34 is_stmt 0 view .LVU258 717 0012 94F82500 ldrb r0, [r4, #37] @ zero_extendqisi2 718 0016 C0B2 uxtb r0, r0 388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 719 .loc 1 388 6 view .LVU259 720 0018 0128 cmp r0, #1 721 001a 04D0 beq .L49 406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_BUSY; ARM GAS /tmp/ccFxKPnS.s page 36 722 .loc 1 406 5 is_stmt 1 view .LVU260 406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_BUSY; 723 .loc 1 406 5 view .LVU261 724 001c 0023 movs r3, #0 725 .LVL36: 406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_BUSY; 726 .loc 1 406 5 is_stmt 0 view .LVU262 727 001e 84F82430 strb r3, [r4, #36] 406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_BUSY; 728 .loc 1 406 5 is_stmt 1 view .LVU263 407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 729 .loc 1 407 5 view .LVU264 730 .LVL37: 407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 731 .loc 1 407 12 is_stmt 0 view .LVU265 732 0022 0220 movs r0, #2 733 .LVL38: 734 .L45: 410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 735 .loc 1 410 1 view .LVU266 736 0024 70BD pop {r4, r5, r6, pc} 737 .LVL39: 738 .L49: 391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; 739 .loc 1 391 5 is_stmt 1 view .LVU267 391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; 740 .loc 1 391 17 is_stmt 0 view .LVU268 741 0026 0220 movs r0, #2 742 0028 84F82500 strb r0, [r4, #37] 392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 743 .loc 1 392 5 is_stmt 1 view .LVU269 392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 744 .loc 1 392 21 is_stmt 0 view .LVU270 745 002c 0025 movs r5, #0 746 002e E563 str r5, [r4, #60] 395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 747 .loc 1 395 5 is_stmt 1 view .LVU271 748 0030 2668 ldr r6, [r4] 749 0032 3068 ldr r0, [r6] 750 0034 20F00100 bic r0, r0, #1 751 0038 3060 str r0, [r6] 398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 752 .loc 1 398 5 view .LVU272 753 003a 2046 mov r0, r4 754 003c FFF7FEFF bl DMA_SetConfig 755 .LVL40: 401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 756 .loc 1 401 5 view .LVU273 757 0040 2268 ldr r2, [r4] 758 0042 1368 ldr r3, [r2] 759 0044 43F00103 orr r3, r3, #1 760 0048 1360 str r3, [r2] 380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 761 .loc 1 380 21 is_stmt 0 view .LVU274 762 004a 2846 mov r0, r5 763 004c EAE7 b .L45 764 .LVL41: ARM GAS /tmp/ccFxKPnS.s page 37 765 .L47: 386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 766 .loc 1 386 3 discriminator 1 view .LVU275 767 004e 0220 movs r0, #2 768 0050 E8E7 b .L45 769 .cfi_endproc 770 .LFE331: 772 .section .text.HAL_DMA_Start_IT,"ax",%progbits 773 .align 1 774 .global HAL_DMA_Start_IT 775 .syntax unified 776 .thumb 777 .thumb_func 779 HAL_DMA_Start_IT: 780 .LVL42: 781 .LFB332: 423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 782 .loc 1 423 1 is_stmt 1 view -0 783 .cfi_startproc 784 @ args = 0, pretend = 0, frame = 0 785 @ frame_needed = 0, uses_anonymous_args = 0 423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 786 .loc 1 423 1 is_stmt 0 view .LVU277 787 0000 38B5 push {r3, r4, r5, lr} 788 .LCFI8: 789 .cfi_def_cfa_offset 16 790 .cfi_offset 3, -16 791 .cfi_offset 4, -12 792 .cfi_offset 5, -8 793 .cfi_offset 14, -4 794 0002 0446 mov r4, r0 424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 795 .loc 1 424 3 is_stmt 1 view .LVU278 796 .LVL43: 427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 797 .loc 1 427 3 view .LVU279 430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 798 .loc 1 430 3 view .LVU280 430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 799 .loc 1 430 3 view .LVU281 800 0004 90F82400 ldrb r0, [r0, #36] @ zero_extendqisi2 801 .LVL44: 430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 802 .loc 1 430 3 is_stmt 0 view .LVU282 803 0008 0128 cmp r0, #1 804 000a 41D0 beq .L57 430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 805 .loc 1 430 3 is_stmt 1 discriminator 2 view .LVU283 806 000c 0120 movs r0, #1 807 000e 84F82400 strb r0, [r4, #36] 430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 808 .loc 1 430 3 discriminator 2 view .LVU284 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 809 .loc 1 432 3 view .LVU285 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 810 .loc 1 432 34 is_stmt 0 view .LVU286 811 0012 94F82500 ldrb r0, [r4, #37] @ zero_extendqisi2 ARM GAS /tmp/ccFxKPnS.s page 38 812 0016 C0B2 uxtb r0, r0 432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 813 .loc 1 432 6 view .LVU287 814 0018 0128 cmp r0, #1 815 001a 04D0 beq .L59 477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 816 .loc 1 477 5 is_stmt 1 view .LVU288 477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 817 .loc 1 477 5 view .LVU289 818 001c 0023 movs r3, #0 819 .LVL45: 477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 820 .loc 1 477 5 is_stmt 0 view .LVU290 821 001e 84F82430 strb r3, [r4, #36] 477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 822 .loc 1 477 5 is_stmt 1 view .LVU291 480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 823 .loc 1 480 5 view .LVU292 824 .LVL46: 480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 825 .loc 1 480 12 is_stmt 0 view .LVU293 826 0022 0220 movs r0, #2 827 .LVL47: 828 .L51: 483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 829 .loc 1 483 1 view .LVU294 830 0024 38BD pop {r3, r4, r5, pc} 831 .LVL48: 832 .L59: 435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; 833 .loc 1 435 5 is_stmt 1 view .LVU295 435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; 834 .loc 1 435 17 is_stmt 0 view .LVU296 835 0026 0220 movs r0, #2 836 0028 84F82500 strb r0, [r4, #37] 436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 837 .loc 1 436 5 is_stmt 1 view .LVU297 436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 838 .loc 1 436 21 is_stmt 0 view .LVU298 839 002c 0020 movs r0, #0 840 002e E063 str r0, [r4, #60] 439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 841 .loc 1 439 5 is_stmt 1 view .LVU299 842 0030 2568 ldr r5, [r4] 843 0032 2868 ldr r0, [r5] 844 0034 20F00100 bic r0, r0, #1 845 0038 2860 str r0, [r5] 442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 846 .loc 1 442 5 view .LVU300 847 003a 2046 mov r0, r4 848 003c FFF7FEFF bl DMA_SetConfig 849 .LVL49: 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 850 .loc 1 446 5 view .LVU301 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 851 .loc 1 446 21 is_stmt 0 view .LVU302 852 0040 236B ldr r3, [r4, #48] ARM GAS /tmp/ccFxKPnS.s page 39 446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 853 .loc 1 446 8 view .LVU303 854 0042 D3B1 cbz r3, .L53 449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 855 .loc 1 449 7 is_stmt 1 view .LVU304 856 0044 2268 ldr r2, [r4] 857 0046 1368 ldr r3, [r2] 858 0048 43F00E03 orr r3, r3, #14 859 004c 1360 str r3, [r2] 860 .L54: 458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 861 .loc 1 458 5 view .LVU305 458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 862 .loc 1 458 14 is_stmt 0 view .LVU306 863 004e A36C ldr r3, [r4, #72] 458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 864 .loc 1 458 29 view .LVU307 865 0050 1A68 ldr r2, [r3] 458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 866 .loc 1 458 8 view .LVU308 867 0052 12F4803F tst r2, #65536 868 0056 03D0 beq .L55 461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 869 .loc 1 461 7 is_stmt 1 view .LVU309 461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 870 .loc 1 461 26 is_stmt 0 view .LVU310 871 0058 1A68 ldr r2, [r3] 461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 872 .loc 1 461 32 view .LVU311 873 005a 42F48072 orr r2, r2, #256 874 005e 1A60 str r2, [r3] 875 .L55: 464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 876 .loc 1 464 5 is_stmt 1 view .LVU312 464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 877 .loc 1 464 13 is_stmt 0 view .LVU313 878 0060 636D ldr r3, [r4, #84] 464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 879 .loc 1 464 8 view .LVU314 880 0062 1BB1 cbz r3, .L56 468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 881 .loc 1 468 7 is_stmt 1 view .LVU315 468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 882 .loc 1 468 29 is_stmt 0 view .LVU316 883 0064 1A68 ldr r2, [r3] 468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 884 .loc 1 468 36 view .LVU317 885 0066 42F48072 orr r2, r2, #256 886 006a 1A60 str r2, [r3] 887 .L56: 472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 888 .loc 1 472 5 is_stmt 1 view .LVU318 889 006c 2268 ldr r2, [r4] 890 006e 1368 ldr r3, [r2] 891 0070 43F00103 orr r3, r3, #1 892 0074 1360 str r3, [r2] 424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ARM GAS /tmp/ccFxKPnS.s page 40 893 .loc 1 424 21 is_stmt 0 view .LVU319 894 0076 0020 movs r0, #0 895 0078 D4E7 b .L51 896 .L53: 453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_TE)); 897 .loc 1 453 7 is_stmt 1 view .LVU320 898 007a 2268 ldr r2, [r4] 899 007c 1368 ldr r3, [r2] 900 007e 23F00403 bic r3, r3, #4 901 0082 1360 str r3, [r2] 454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 902 .loc 1 454 7 view .LVU321 903 0084 2268 ldr r2, [r4] 904 0086 1368 ldr r3, [r2] 905 0088 43F00A03 orr r3, r3, #10 906 008c 1360 str r3, [r2] 907 008e DEE7 b .L54 908 .LVL50: 909 .L57: 430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 910 .loc 1 430 3 is_stmt 0 discriminator 1 view .LVU322 911 0090 0220 movs r0, #2 912 0092 C7E7 b .L51 913 .cfi_endproc 914 .LFE332: 916 .section .text.HAL_DMA_Abort,"ax",%progbits 917 .align 1 918 .global HAL_DMA_Abort 919 .syntax unified 920 .thumb 921 .thumb_func 923 HAL_DMA_Abort: 924 .LVL51: 925 .LFB333: 492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 926 .loc 1 492 1 is_stmt 1 view -0 927 .cfi_startproc 928 @ args = 0, pretend = 0, frame = 0 929 @ frame_needed = 0, uses_anonymous_args = 0 930 @ link register save eliminated. 492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 931 .loc 1 492 1 is_stmt 0 view .LVU324 932 0000 0346 mov r3, r0 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 933 .loc 1 493 3 is_stmt 1 view .LVU325 934 .LVL52: 495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 935 .loc 1 495 3 view .LVU326 495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 936 .loc 1 495 10 is_stmt 0 view .LVU327 937 0002 90F82520 ldrb r2, [r0, #37] @ zero_extendqisi2 938 0006 D2B2 uxtb r2, r2 495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 939 .loc 1 495 5 view .LVU328 940 0008 022A cmp r2, #2 941 000a 09D0 beq .L61 498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ARM GAS /tmp/ccFxKPnS.s page 41 942 .loc 1 498 5 is_stmt 1 view .LVU329 498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 943 .loc 1 498 21 is_stmt 0 view .LVU330 944 000c 0422 movs r2, #4 945 000e C263 str r2, [r0, #60] 500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 946 .loc 1 500 5 is_stmt 1 view .LVU331 947 .LVL53: 500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 948 .loc 1 500 12 is_stmt 0 view .LVU332 949 0010 0120 movs r0, #1 950 .LVL54: 951 .L62: 530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 952 .loc 1 530 3 is_stmt 1 view .LVU333 530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 953 .loc 1 530 15 is_stmt 0 view .LVU334 954 0012 0122 movs r2, #1 955 0014 83F82520 strb r2, [r3, #37] 533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 956 .loc 1 533 3 is_stmt 1 view .LVU335 533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 957 .loc 1 533 3 view .LVU336 958 0018 0022 movs r2, #0 959 001a 83F82420 strb r2, [r3, #36] 533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 960 .loc 1 533 3 view .LVU337 535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 961 .loc 1 535 3 view .LVU338 536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 962 .loc 1 536 1 is_stmt 0 view .LVU339 963 001e 7047 bx lr 964 .LVL55: 965 .L61: 505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 966 .loc 1 505 6 is_stmt 1 view .LVU340 967 0020 0168 ldr r1, [r0] 968 0022 0A68 ldr r2, [r1] 969 0024 22F00E02 bic r2, r2, #14 970 0028 0A60 str r2, [r1] 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 971 .loc 1 508 6 view .LVU341 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 972 .loc 1 508 10 is_stmt 0 view .LVU342 973 002a 816C ldr r1, [r0, #72] 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 974 .loc 1 508 25 view .LVU343 975 002c 0A68 ldr r2, [r1] 508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 976 .loc 1 508 31 view .LVU344 977 002e 22F48072 bic r2, r2, #256 978 0032 0A60 str r2, [r1] 511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 979 .loc 1 511 6 is_stmt 1 view .LVU345 980 0034 0168 ldr r1, [r0] 981 0036 0A68 ldr r2, [r1] 982 0038 22F00102 bic r2, r2, #1 ARM GAS /tmp/ccFxKPnS.s page 42 983 003c 0A60 str r2, [r1] 514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 984 .loc 1 514 6 view .LVU346 514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 985 .loc 1 514 57 is_stmt 0 view .LVU347 986 003e 426C ldr r2, [r0, #68] 514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 987 .loc 1 514 72 view .LVU348 988 0040 02F01F01 and r1, r2, #31 514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 989 .loc 1 514 10 view .LVU349 990 0044 006C ldr r0, [r0, #64] 991 .LVL56: 514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 992 .loc 1 514 49 view .LVU350 993 0046 0122 movs r2, #1 994 0048 8A40 lsls r2, r2, r1 514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 995 .loc 1 514 33 view .LVU351 996 004a 4260 str r2, [r0, #4] 517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 997 .loc 1 517 6 is_stmt 1 view .LVU352 517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 998 .loc 1 517 10 is_stmt 0 view .LVU353 999 004c DA6C ldr r2, [r3, #76] 517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1000 .loc 1 517 43 view .LVU354 1001 004e 196D ldr r1, [r3, #80] 517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1002 .loc 1 517 37 view .LVU355 1003 0050 5160 str r1, [r2, #4] 519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1004 .loc 1 519 6 is_stmt 1 view .LVU356 519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1005 .loc 1 519 14 is_stmt 0 view .LVU357 1006 0052 5A6D ldr r2, [r3, #84] 519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1007 .loc 1 519 9 view .LVU358 1008 0054 42B1 cbz r2, .L63 523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1009 .loc 1 523 8 is_stmt 1 view .LVU359 523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1010 .loc 1 523 30 is_stmt 0 view .LVU360 1011 0056 1168 ldr r1, [r2] 523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1012 .loc 1 523 37 view .LVU361 1013 0058 21F48071 bic r1, r1, #256 1014 005c 1160 str r1, [r2] 526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1015 .loc 1 526 8 is_stmt 1 view .LVU362 526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1016 .loc 1 526 12 is_stmt 0 view .LVU363 1017 005e 9A6D ldr r2, [r3, #88] 526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1018 .loc 1 526 50 view .LVU364 1019 0060 D96D ldr r1, [r3, #92] 526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } ARM GAS /tmp/ccFxKPnS.s page 43 1020 .loc 1 526 44 view .LVU365 1021 0062 5160 str r1, [r2, #4] 493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1022 .loc 1 493 21 view .LVU366 1023 0064 0020 movs r0, #0 1024 0066 D4E7 b .L62 1025 .L63: 1026 0068 0020 movs r0, #0 1027 006a D2E7 b .L62 1028 .cfi_endproc 1029 .LFE333: 1031 .section .text.HAL_DMA_Abort_IT,"ax",%progbits 1032 .align 1 1033 .global HAL_DMA_Abort_IT 1034 .syntax unified 1035 .thumb 1036 .thumb_func 1038 HAL_DMA_Abort_IT: 1039 .LVL57: 1040 .LFB334: 545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 1041 .loc 1 545 1 is_stmt 1 view -0 1042 .cfi_startproc 1043 @ args = 0, pretend = 0, frame = 0 1044 @ frame_needed = 0, uses_anonymous_args = 0 545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 1045 .loc 1 545 1 is_stmt 0 view .LVU368 1046 0000 08B5 push {r3, lr} 1047 .LCFI9: 1048 .cfi_def_cfa_offset 8 1049 .cfi_offset 3, -8 1050 .cfi_offset 14, -4 546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1051 .loc 1 546 3 is_stmt 1 view .LVU369 1052 .LVL58: 548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1053 .loc 1 548 3 view .LVU370 548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1054 .loc 1 548 33 is_stmt 0 view .LVU371 1055 0002 90F82530 ldrb r3, [r0, #37] @ zero_extendqisi2 1056 0006 DBB2 uxtb r3, r3 548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1057 .loc 1 548 6 view .LVU372 1058 0008 022B cmp r3, #2 1059 000a 09D0 beq .L65 551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1060 .loc 1 551 5 is_stmt 1 view .LVU373 551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1061 .loc 1 551 21 is_stmt 0 view .LVU374 1062 000c 0423 movs r3, #4 1063 000e C363 str r3, [r0, #60] 554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1064 .loc 1 554 5 is_stmt 1 view .LVU375 554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1065 .loc 1 554 17 is_stmt 0 view .LVU376 1066 0010 0123 movs r3, #1 1067 0012 80F82530 strb r3, [r0, #37] ARM GAS /tmp/ccFxKPnS.s page 44 557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1068 .loc 1 557 5 is_stmt 1 view .LVU377 557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1069 .loc 1 557 5 view .LVU378 1070 0016 0022 movs r2, #0 1071 0018 80F82420 strb r2, [r0, #36] 557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1072 .loc 1 557 5 view .LVU379 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1073 .loc 1 559 5 view .LVU380 1074 .LVL59: 559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1075 .loc 1 559 12 is_stmt 0 view .LVU381 1076 001c 1846 mov r0, r3 1077 .LVL60: 1078 .L66: 600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1079 .loc 1 600 3 is_stmt 1 view .LVU382 601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1080 .loc 1 601 1 is_stmt 0 view .LVU383 1081 001e 08BD pop {r3, pc} 1082 .LVL61: 1083 .L65: 564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1084 .loc 1 564 5 is_stmt 1 view .LVU384 1085 0020 0268 ldr r2, [r0] 1086 0022 1368 ldr r3, [r2] 1087 0024 23F00E03 bic r3, r3, #14 1088 0028 1360 str r3, [r2] 567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1089 .loc 1 567 5 view .LVU385 1090 002a 0268 ldr r2, [r0] 1091 002c 1368 ldr r3, [r2] 1092 002e 23F00103 bic r3, r3, #1 1093 0032 1360 str r3, [r2] 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1094 .loc 1 570 5 view .LVU386 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1095 .loc 1 570 9 is_stmt 0 view .LVU387 1096 0034 826C ldr r2, [r0, #72] 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1097 .loc 1 570 24 view .LVU388 1098 0036 1368 ldr r3, [r2] 570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1099 .loc 1 570 30 view .LVU389 1100 0038 23F48073 bic r3, r3, #256 1101 003c 1360 str r3, [r2] 573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1102 .loc 1 573 5 is_stmt 1 view .LVU390 573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1103 .loc 1 573 56 is_stmt 0 view .LVU391 1104 003e 436C ldr r3, [r0, #68] 573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1105 .loc 1 573 71 view .LVU392 1106 0040 03F01F02 and r2, r3, #31 573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1107 .loc 1 573 9 view .LVU393 ARM GAS /tmp/ccFxKPnS.s page 45 1108 0044 016C ldr r1, [r0, #64] 573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1109 .loc 1 573 48 view .LVU394 1110 0046 0123 movs r3, #1 1111 0048 9340 lsls r3, r3, r2 573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1112 .loc 1 573 32 view .LVU395 1113 004a 4B60 str r3, [r1, #4] 576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1114 .loc 1 576 5 is_stmt 1 view .LVU396 576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1115 .loc 1 576 9 is_stmt 0 view .LVU397 1116 004c C36C ldr r3, [r0, #76] 576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1117 .loc 1 576 42 view .LVU398 1118 004e 026D ldr r2, [r0, #80] 576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1119 .loc 1 576 36 view .LVU399 1120 0050 5A60 str r2, [r3, #4] 578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1121 .loc 1 578 5 is_stmt 1 view .LVU400 578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1122 .loc 1 578 13 is_stmt 0 view .LVU401 1123 0052 436D ldr r3, [r0, #84] 578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1124 .loc 1 578 8 view .LVU402 1125 0054 33B1 cbz r3, .L67 582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1126 .loc 1 582 7 is_stmt 1 view .LVU403 582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1127 .loc 1 582 29 is_stmt 0 view .LVU404 1128 0056 1A68 ldr r2, [r3] 582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1129 .loc 1 582 36 view .LVU405 1130 0058 22F48072 bic r2, r2, #256 1131 005c 1A60 str r2, [r3] 585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1132 .loc 1 585 7 is_stmt 1 view .LVU406 585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1133 .loc 1 585 11 is_stmt 0 view .LVU407 1134 005e 836D ldr r3, [r0, #88] 585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1135 .loc 1 585 49 view .LVU408 1136 0060 C26D ldr r2, [r0, #92] 585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1137 .loc 1 585 43 view .LVU409 1138 0062 5A60 str r2, [r3, #4] 1139 .L67: 589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1140 .loc 1 589 5 is_stmt 1 view .LVU410 589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1141 .loc 1 589 17 is_stmt 0 view .LVU411 1142 0064 0123 movs r3, #1 1143 0066 80F82530 strb r3, [r0, #37] 592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1144 .loc 1 592 5 is_stmt 1 view .LVU412 592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ARM GAS /tmp/ccFxKPnS.s page 46 1145 .loc 1 592 5 view .LVU413 1146 006a 0023 movs r3, #0 1147 006c 80F82430 strb r3, [r0, #36] 592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1148 .loc 1 592 5 view .LVU414 595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1149 .loc 1 595 5 view .LVU415 595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1150 .loc 1 595 13 is_stmt 0 view .LVU416 1151 0070 836B ldr r3, [r0, #56] 595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1152 .loc 1 595 8 view .LVU417 1153 0072 13B1 cbz r3, .L68 597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1154 .loc 1 597 7 is_stmt 1 view .LVU418 1155 0074 9847 blx r3 1156 .LVL62: 546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1157 .loc 1 546 21 is_stmt 0 view .LVU419 1158 0076 0020 movs r0, #0 1159 0078 D1E7 b .L66 1160 .LVL63: 1161 .L68: 546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1162 .loc 1 546 21 view .LVU420 1163 007a 0020 movs r0, #0 1164 .LVL64: 546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1165 .loc 1 546 21 view .LVU421 1166 007c CFE7 b .L66 1167 .cfi_endproc 1168 .LFE334: 1170 .section .text.HAL_DMA_PollForTransfer,"ax",%progbits 1171 .align 1 1172 .global HAL_DMA_PollForTransfer 1173 .syntax unified 1174 .thumb 1175 .thumb_func 1177 HAL_DMA_PollForTransfer: 1178 .LVL65: 1179 .LFB335: 613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t temp; 1180 .loc 1 613 1 is_stmt 1 view -0 1181 .cfi_startproc 1182 @ args = 0, pretend = 0, frame = 0 1183 @ frame_needed = 0, uses_anonymous_args = 0 613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t temp; 1184 .loc 1 613 1 is_stmt 0 view .LVU423 1185 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr} 1186 .LCFI10: 1187 .cfi_def_cfa_offset 24 1188 .cfi_offset 4, -24 1189 .cfi_offset 5, -20 1190 .cfi_offset 6, -16 1191 .cfi_offset 7, -12 1192 .cfi_offset 8, -8 1193 .cfi_offset 14, -4 ARM GAS /tmp/ccFxKPnS.s page 47 1194 0004 0446 mov r4, r0 614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t tickstart; 1195 .loc 1 614 3 is_stmt 1 view .LVU424 615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1196 .loc 1 615 3 view .LVU425 617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1197 .loc 1 617 3 view .LVU426 617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1198 .loc 1 617 33 is_stmt 0 view .LVU427 1199 0006 90F82530 ldrb r3, [r0, #37] @ zero_extendqisi2 1200 000a DBB2 uxtb r3, r3 617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1201 .loc 1 617 6 view .LVU428 1202 000c 022B cmp r3, #2 1203 000e 07D0 beq .L71 620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 1204 .loc 1 620 5 is_stmt 1 view .LVU429 620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma); 1205 .loc 1 620 21 is_stmt 0 view .LVU430 1206 0010 0423 movs r3, #4 1207 0012 C363 str r3, [r0, #60] 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR; 1208 .loc 1 621 5 is_stmt 1 view .LVU431 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR; 1209 .loc 1 621 5 view .LVU432 1210 0014 0023 movs r3, #0 1211 0016 80F82430 strb r3, [r0, #36] 621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR; 1212 .loc 1 621 5 view .LVU433 622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1213 .loc 1 622 5 view .LVU434 622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1214 .loc 1 622 12 is_stmt 0 view .LVU435 1215 001a 0120 movs r0, #1 1216 .LVL66: 1217 .L72: 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1218 .loc 1 733 1 view .LVU436 1219 001c BDE8F081 pop {r4, r5, r6, r7, r8, pc} 1220 .LVL67: 1221 .L71: 733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1222 .loc 1 733 1 view .LVU437 1223 0020 0F46 mov r7, r1 1224 0022 1546 mov r5, r2 626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1225 .loc 1 626 3 is_stmt 1 view .LVU438 626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1226 .loc 1 626 18 is_stmt 0 view .LVU439 1227 0024 0368 ldr r3, [r0] 626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1228 .loc 1 626 28 view .LVU440 1229 0026 1B68 ldr r3, [r3] 626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1230 .loc 1 626 6 view .LVU441 1231 0028 13F0200F tst r3, #32 1232 002c 2BD1 bne .L86 ARM GAS /tmp/ccFxKPnS.s page 48 633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1233 .loc 1 633 3 is_stmt 1 view .LVU442 633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1234 .loc 1 633 6 is_stmt 0 view .LVU443 1235 002e 79BB cbnz r1, .L74 637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1236 .loc 1 637 5 is_stmt 1 view .LVU444 637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1237 .loc 1 637 43 is_stmt 0 view .LVU445 1238 0030 436C ldr r3, [r0, #68] 637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1239 .loc 1 637 58 view .LVU446 1240 0032 03F01F03 and r3, r3, #31 637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1241 .loc 1 637 10 view .LVU447 1242 0036 0226 movs r6, #2 1243 0038 9E40 lsls r6, r6, r3 1244 .LVL68: 1245 .L75: 646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1246 .loc 1 646 3 is_stmt 1 view .LVU448 646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1247 .loc 1 646 15 is_stmt 0 view .LVU449 1248 003a FFF7FEFF bl HAL_GetTick 1249 .LVL69: 646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1250 .loc 1 646 15 view .LVU450 1251 003e 8046 mov r8, r0 1252 .LVL70: 648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1253 .loc 1 648 3 is_stmt 1 view .LVU451 1254 .L78: 648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1255 .loc 1 648 13 view .LVU452 648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1256 .loc 1 648 21 is_stmt 0 view .LVU453 1257 0040 226C ldr r2, [r4, #64] 648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1258 .loc 1 648 37 view .LVU454 1259 0042 1368 ldr r3, [r2] 648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1260 .loc 1 648 13 view .LVU455 1261 0044 3342 tst r3, r6 1262 0046 34D1 bne .L87 650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1263 .loc 1 650 5 is_stmt 1 view .LVU456 650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1264 .loc 1 650 37 is_stmt 0 view .LVU457 1265 0048 1168 ldr r1, [r2] 650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1266 .loc 1 650 77 view .LVU458 1267 004a 636C ldr r3, [r4, #68] 650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1268 .loc 1 650 92 view .LVU459 1269 004c 03F01F03 and r3, r3, #31 650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1270 .loc 1 650 69 view .LVU460 ARM GAS /tmp/ccFxKPnS.s page 49 1271 0050 4FF0080C mov ip, #8 1272 0054 0CFA03FC lsl ip, ip, r3 650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1273 .loc 1 650 8 view .LVU461 1274 0058 11EA0C0F tst r1, ip 1275 005c 1ED1 bne .L88 669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1276 .loc 1 669 5 is_stmt 1 view .LVU462 669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1277 .loc 1 669 8 is_stmt 0 view .LVU463 1278 005e B5F1FF3F cmp r5, #-1 1279 0062 EDD0 beq .L78 671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1280 .loc 1 671 7 is_stmt 1 view .LVU464 671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1281 .loc 1 671 13 is_stmt 0 view .LVU465 1282 0064 FFF7FEFF bl HAL_GetTick 1283 .LVL71: 671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1284 .loc 1 671 27 discriminator 1 view .LVU466 1285 0068 A0EB0800 sub r0, r0, r8 671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1286 .loc 1 671 10 discriminator 1 view .LVU467 1287 006c A842 cmp r0, r5 1288 006e 01D8 bhi .L79 671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1289 .loc 1 671 51 discriminator 1 view .LVU468 1290 0070 002D cmp r5, #0 1291 0072 E5D1 bne .L78 1292 .L79: 674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1293 .loc 1 674 9 is_stmt 1 view .LVU469 674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1294 .loc 1 674 25 is_stmt 0 view .LVU470 1295 0074 2023 movs r3, #32 1296 0076 E363 str r3, [r4, #60] 677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1297 .loc 1 677 9 is_stmt 1 view .LVU471 677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1298 .loc 1 677 21 is_stmt 0 view .LVU472 1299 0078 0120 movs r0, #1 1300 007a 84F82500 strb r0, [r4, #37] 680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1301 .loc 1 680 9 is_stmt 1 view .LVU473 680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1302 .loc 1 680 9 view .LVU474 1303 007e 0023 movs r3, #0 1304 0080 84F82430 strb r3, [r4, #36] 680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1305 .loc 1 680 9 view .LVU475 682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1306 .loc 1 682 9 view .LVU476 682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1307 .loc 1 682 16 is_stmt 0 view .LVU477 1308 0084 CAE7 b .L72 1309 .LVL72: 1310 .L86: ARM GAS /tmp/ccFxKPnS.s page 50 628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR; 1311 .loc 1 628 5 is_stmt 1 view .LVU478 628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR; 1312 .loc 1 628 21 is_stmt 0 view .LVU479 1313 0086 4FF48073 mov r3, #256 1314 008a C363 str r3, [r0, #60] 629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1315 .loc 1 629 5 is_stmt 1 view .LVU480 629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1316 .loc 1 629 12 is_stmt 0 view .LVU481 1317 008c 0120 movs r0, #1 1318 .LVL73: 629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1319 .loc 1 629 12 view .LVU482 1320 008e C5E7 b .L72 1321 .LVL74: 1322 .L74: 642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1323 .loc 1 642 5 is_stmt 1 view .LVU483 642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1324 .loc 1 642 43 is_stmt 0 view .LVU484 1325 0090 436C ldr r3, [r0, #68] 642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1326 .loc 1 642 58 view .LVU485 1327 0092 03F01F03 and r3, r3, #31 642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1328 .loc 1 642 10 view .LVU486 1329 0096 0426 movs r6, #4 1330 0098 9E40 lsls r6, r6, r3 1331 .LVL75: 642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1332 .loc 1 642 10 view .LVU487 1333 009a CEE7 b .L75 1334 .LVL76: 1335 .L88: 655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1336 .loc 1 655 7 is_stmt 1 view .LVU488 655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1337 .loc 1 655 60 is_stmt 0 view .LVU489 1338 009c 0120 movs r0, #1 1339 009e 00FA03F3 lsl r3, r0, r3 655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1340 .loc 1 655 34 view .LVU490 1341 00a2 5360 str r3, [r2, #4] 658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1342 .loc 1 658 7 is_stmt 1 view .LVU491 658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1343 .loc 1 658 23 is_stmt 0 view .LVU492 1344 00a4 E063 str r0, [r4, #60] 661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1345 .loc 1 661 7 is_stmt 1 view .LVU493 661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1346 .loc 1 661 19 is_stmt 0 view .LVU494 1347 00a6 84F82500 strb r0, [r4, #37] 664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1348 .loc 1 664 7 is_stmt 1 view .LVU495 664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ARM GAS /tmp/ccFxKPnS.s page 51 1349 .loc 1 664 7 view .LVU496 1350 00aa 0023 movs r3, #0 1351 00ac 84F82430 strb r3, [r4, #36] 664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1352 .loc 1 664 7 view .LVU497 666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1353 .loc 1 666 7 view .LVU498 666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1354 .loc 1 666 14 is_stmt 0 view .LVU499 1355 00b0 B4E7 b .L72 1356 .L87: 688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1357 .loc 1 688 3 is_stmt 1 view .LVU500 688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1358 .loc 1 688 11 is_stmt 0 view .LVU501 1359 00b2 636D ldr r3, [r4, #84] 688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1360 .loc 1 688 6 view .LVU502 1361 00b4 7BB1 cbz r3, .L81 691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1362 .loc 1 691 5 is_stmt 1 view .LVU503 691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1363 .loc 1 691 14 is_stmt 0 view .LVU504 1364 00b6 A26D ldr r2, [r4, #88] 691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1365 .loc 1 691 38 view .LVU505 1366 00b8 1168 ldr r1, [r2] 691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1367 .loc 1 691 51 view .LVU506 1368 00ba E26D ldr r2, [r4, #92] 691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1369 .loc 1 691 8 view .LVU507 1370 00bc 1142 tst r1, r2 1371 00be 0AD0 beq .L81 694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1372 .loc 1 694 7 is_stmt 1 view .LVU508 694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1373 .loc 1 694 29 is_stmt 0 view .LVU509 1374 00c0 1A68 ldr r2, [r3] 694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1375 .loc 1 694 36 view .LVU510 1376 00c2 42F48072 orr r2, r2, #256 1377 00c6 1A60 str r2, [r3] 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1378 .loc 1 697 7 is_stmt 1 view .LVU511 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1379 .loc 1 697 11 is_stmt 0 view .LVU512 1380 00c8 A36D ldr r3, [r4, #88] 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1381 .loc 1 697 49 view .LVU513 1382 00ca E26D ldr r2, [r4, #92] 697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1383 .loc 1 697 43 view .LVU514 1384 00cc 5A60 str r2, [r3, #4] 700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1385 .loc 1 700 7 is_stmt 1 view .LVU515 700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } ARM GAS /tmp/ccFxKPnS.s page 52 1386 .loc 1 700 11 is_stmt 0 view .LVU516 1387 00ce E36B ldr r3, [r4, #60] 700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1388 .loc 1 700 23 view .LVU517 1389 00d0 43F48063 orr r3, r3, #1024 1390 00d4 E363 str r3, [r4, #60] 1391 .L81: 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1392 .loc 1 705 3 is_stmt 1 view .LVU518 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1393 .loc 1 705 12 is_stmt 0 view .LVU519 1394 00d6 E36C ldr r3, [r4, #76] 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1395 .loc 1 705 33 view .LVU520 1396 00d8 1968 ldr r1, [r3] 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1397 .loc 1 705 45 view .LVU521 1398 00da 226D ldr r2, [r4, #80] 705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1399 .loc 1 705 6 view .LVU522 1400 00dc 1142 tst r1, r2 1401 00de 04D0 beq .L82 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1402 .loc 1 708 5 is_stmt 1 view .LVU523 708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1403 .loc 1 708 36 is_stmt 0 view .LVU524 1404 00e0 5A60 str r2, [r3, #4] 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1405 .loc 1 711 5 is_stmt 1 view .LVU525 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1406 .loc 1 711 9 is_stmt 0 view .LVU526 1407 00e2 E36B ldr r3, [r4, #60] 711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1408 .loc 1 711 21 view .LVU527 1409 00e4 43F40073 orr r3, r3, #512 1410 00e8 E363 str r3, [r4, #60] 1411 .L82: 714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1412 .loc 1 714 3 is_stmt 1 view .LVU528 714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1413 .loc 1 714 6 is_stmt 0 view .LVU529 1414 00ea 6FB9 cbnz r7, .L83 717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1415 .loc 1 717 5 is_stmt 1 view .LVU530 717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1416 .loc 1 717 66 is_stmt 0 view .LVU531 1417 00ec 636C ldr r3, [r4, #68] 717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1418 .loc 1 717 81 view .LVU532 1419 00ee 03F01F02 and r2, r3, #31 717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1420 .loc 1 717 9 view .LVU533 1421 00f2 216C ldr r1, [r4, #64] 717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1422 .loc 1 717 58 view .LVU534 1423 00f4 0223 movs r3, #2 1424 00f6 9340 lsls r3, r3, r2 ARM GAS /tmp/ccFxKPnS.s page 53 717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1425 .loc 1 717 32 view .LVU535 1426 00f8 4B60 str r3, [r1, #4] 721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1427 .loc 1 721 5 is_stmt 1 view .LVU536 721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1428 .loc 1 721 17 is_stmt 0 view .LVU537 1429 00fa 0123 movs r3, #1 1430 00fc 84F82530 strb r3, [r4, #37] 1431 .L84: 730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1432 .loc 1 730 3 is_stmt 1 view .LVU538 730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1433 .loc 1 730 3 view .LVU539 1434 0100 0020 movs r0, #0 1435 0102 84F82400 strb r0, [r4, #36] 730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1436 .loc 1 730 3 view .LVU540 732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1437 .loc 1 732 3 view .LVU541 732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1438 .loc 1 732 10 is_stmt 0 view .LVU542 1439 0106 89E7 b .L72 1440 .L83: 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1441 .loc 1 726 5 is_stmt 1 view .LVU543 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1442 .loc 1 726 66 is_stmt 0 view .LVU544 1443 0108 636C ldr r3, [r4, #68] 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1444 .loc 1 726 81 view .LVU545 1445 010a 03F01F02 and r2, r3, #31 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1446 .loc 1 726 9 view .LVU546 1447 010e 216C ldr r1, [r4, #64] 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1448 .loc 1 726 58 view .LVU547 1449 0110 0423 movs r3, #4 1450 0112 9340 lsls r3, r3, r2 726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1451 .loc 1 726 32 view .LVU548 1452 0114 4B60 str r3, [r1, #4] 1453 0116 F3E7 b .L84 1454 .cfi_endproc 1455 .LFE335: 1457 .section .text.HAL_DMA_IRQHandler,"ax",%progbits 1458 .align 1 1459 .global HAL_DMA_IRQHandler 1460 .syntax unified 1461 .thumb 1462 .thumb_func 1464 HAL_DMA_IRQHandler: 1465 .LVL77: 1466 .LFB336: 742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR; 1467 .loc 1 742 1 is_stmt 1 view -0 1468 .cfi_startproc ARM GAS /tmp/ccFxKPnS.s page 54 1469 @ args = 0, pretend = 0, frame = 0 1470 @ frame_needed = 0, uses_anonymous_args = 0 742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR; 1471 .loc 1 742 1 is_stmt 0 view .LVU550 1472 0000 38B5 push {r3, r4, r5, lr} 1473 .LCFI11: 1474 .cfi_def_cfa_offset 16 1475 .cfi_offset 3, -16 1476 .cfi_offset 4, -12 1477 .cfi_offset 5, -8 1478 .cfi_offset 14, -4 743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR; 1479 .loc 1 743 3 is_stmt 1 view .LVU551 743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR; 1480 .loc 1 743 26 is_stmt 0 view .LVU552 1481 0002 036C ldr r3, [r0, #64] 743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR; 1482 .loc 1 743 12 view .LVU553 1483 0004 1968 ldr r1, [r3] 1484 .LVL78: 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1485 .loc 1 744 3 is_stmt 1 view .LVU554 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1486 .loc 1 744 28 is_stmt 0 view .LVU555 1487 0006 0468 ldr r4, [r0] 744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1488 .loc 1 744 12 view .LVU556 1489 0008 2568 ldr r5, [r4] 1490 .LVL79: 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1491 .loc 1 747 3 is_stmt 1 view .LVU557 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1492 .loc 1 747 57 is_stmt 0 view .LVU558 1493 000a 436C ldr r3, [r0, #68] 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1494 .loc 1 747 72 view .LVU559 1495 000c 03F01F03 and r3, r3, #31 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1496 .loc 1 747 49 view .LVU560 1497 0010 0422 movs r2, #4 1498 0012 9A40 lsls r2, r2, r3 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1499 .loc 1 747 6 view .LVU561 1500 0014 0A42 tst r2, r1 1501 0016 15D0 beq .L90 747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1502 .loc 1 747 84 discriminator 1 view .LVU562 1503 0018 15F0040F tst r5, #4 1504 001c 12D0 beq .L90 750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1505 .loc 1 750 5 is_stmt 1 view .LVU563 750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1506 .loc 1 750 24 is_stmt 0 view .LVU564 1507 001e 2368 ldr r3, [r4] 750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1508 .loc 1 750 8 view .LVU565 1509 0020 13F0200F tst r3, #32 ARM GAS /tmp/ccFxKPnS.s page 55 1510 0024 03D1 bne .L91 753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1511 .loc 1 753 7 is_stmt 1 view .LVU566 1512 0026 2368 ldr r3, [r4] 1513 0028 23F00403 bic r3, r3, #4 1514 002c 2360 str r3, [r4] 1515 .L91: 756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1516 .loc 1 756 5 view .LVU567 756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1517 .loc 1 756 67 is_stmt 0 view .LVU568 1518 002e 436C ldr r3, [r0, #68] 756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1519 .loc 1 756 82 view .LVU569 1520 0030 03F01F02 and r2, r3, #31 756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1521 .loc 1 756 9 view .LVU570 1522 0034 016C ldr r1, [r0, #64] 1523 .LVL80: 756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1524 .loc 1 756 59 view .LVU571 1525 0036 0423 movs r3, #4 1526 0038 9340 lsls r3, r3, r2 756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1527 .loc 1 756 32 view .LVU572 1528 003a 4B60 str r3, [r1, #4] 761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1529 .loc 1 761 5 is_stmt 1 view .LVU573 761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1530 .loc 1 761 13 is_stmt 0 view .LVU574 1531 003c 036B ldr r3, [r0, #48] 761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1532 .loc 1 761 8 view .LVU575 1533 003e 03B1 cbz r3, .L89 764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1534 .loc 1 764 7 is_stmt 1 view .LVU576 1535 0040 9847 blx r3 1536 .LVL81: 1537 .L89: 823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1538 .loc 1 823 1 is_stmt 0 view .LVU577 1539 0042 38BD pop {r3, r4, r5, pc} 1540 .LVL82: 1541 .L90: 768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** && (0U != (source_it & DMA_IT_TC))) 1542 .loc 1 768 8 is_stmt 1 view .LVU578 768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** && (0U != (source_it & DMA_IT_TC))) 1543 .loc 1 768 54 is_stmt 0 view .LVU579 1544 0044 0222 movs r2, #2 1545 0046 9A40 lsls r2, r2, r3 768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** && (0U != (source_it & DMA_IT_TC))) 1546 .loc 1 768 11 view .LVU580 1547 0048 0A42 tst r2, r1 1548 004a 1CD0 beq .L93 769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1549 .loc 1 769 12 view .LVU581 1550 004c 15F0020F tst r5, #2 ARM GAS /tmp/ccFxKPnS.s page 56 1551 0050 19D0 beq .L93 771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1552 .loc 1 771 5 is_stmt 1 view .LVU582 771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1553 .loc 1 771 24 is_stmt 0 view .LVU583 1554 0052 2368 ldr r3, [r4] 771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1555 .loc 1 771 8 view .LVU584 1556 0054 13F0200F tst r3, #32 1557 0058 06D1 bne .L94 774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1558 .loc 1 774 7 is_stmt 1 view .LVU585 1559 005a 2368 ldr r3, [r4] 1560 005c 23F00A03 bic r3, r3, #10 1561 0060 2360 str r3, [r4] 777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1562 .loc 1 777 7 view .LVU586 777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1563 .loc 1 777 19 is_stmt 0 view .LVU587 1564 0062 0123 movs r3, #1 1565 0064 80F82530 strb r3, [r0, #37] 1566 .L94: 780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1567 .loc 1 780 5 is_stmt 1 view .LVU588 780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1568 .loc 1 780 67 is_stmt 0 view .LVU589 1569 0068 436C ldr r3, [r0, #68] 780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1570 .loc 1 780 82 view .LVU590 1571 006a 03F01F02 and r2, r3, #31 780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1572 .loc 1 780 9 view .LVU591 1573 006e 016C ldr r1, [r0, #64] 1574 .LVL83: 780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1575 .loc 1 780 59 view .LVU592 1576 0070 0223 movs r3, #2 1577 0072 9340 lsls r3, r3, r2 780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1578 .loc 1 780 32 view .LVU593 1579 0074 4B60 str r3, [r1, #4] 783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1580 .loc 1 783 5 is_stmt 1 view .LVU594 783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1581 .loc 1 783 5 view .LVU595 1582 0076 0023 movs r3, #0 1583 0078 80F82430 strb r3, [r0, #36] 783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1584 .loc 1 783 5 view .LVU596 785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1585 .loc 1 785 5 view .LVU597 785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1586 .loc 1 785 13 is_stmt 0 view .LVU598 1587 007c C36A ldr r3, [r0, #44] 785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1588 .loc 1 785 8 view .LVU599 1589 007e 002B cmp r3, #0 ARM GAS /tmp/ccFxKPnS.s page 57 1590 0080 DFD0 beq .L89 788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1591 .loc 1 788 7 is_stmt 1 view .LVU600 1592 0082 9847 blx r3 1593 .LVL84: 788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1594 .loc 1 788 7 is_stmt 0 view .LVU601 1595 0084 DDE7 b .L89 1596 .LVL85: 1597 .L93: 792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** && (0U != (source_it & DMA_IT_TE))) 1598 .loc 1 792 8 is_stmt 1 view .LVU602 792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** && (0U != (source_it & DMA_IT_TE))) 1599 .loc 1 792 54 is_stmt 0 view .LVU603 1600 0086 0822 movs r2, #8 1601 0088 02FA03F3 lsl r3, r2, r3 792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** && (0U != (source_it & DMA_IT_TE))) 1602 .loc 1 792 11 view .LVU604 1603 008c 0B42 tst r3, r1 1604 008e D8D0 beq .L89 793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1605 .loc 1 793 12 view .LVU605 1606 0090 15F0080F tst r5, #8 1607 0094 D5D0 beq .L89 798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1608 .loc 1 798 5 is_stmt 1 view .LVU606 1609 0096 2368 ldr r3, [r4] 1610 0098 23F00E03 bic r3, r3, #14 1611 009c 2360 str r3, [r4] 801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1612 .loc 1 801 5 view .LVU607 801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1613 .loc 1 801 66 is_stmt 0 view .LVU608 1614 009e 436C ldr r3, [r0, #68] 801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1615 .loc 1 801 81 view .LVU609 1616 00a0 03F01F03 and r3, r3, #31 801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1617 .loc 1 801 9 view .LVU610 1618 00a4 016C ldr r1, [r0, #64] 1619 .LVL86: 801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1620 .loc 1 801 58 view .LVU611 1621 00a6 0122 movs r2, #1 1622 00a8 02FA03F3 lsl r3, r2, r3 801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1623 .loc 1 801 32 view .LVU612 1624 00ac 4B60 str r3, [r1, #4] 804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1625 .loc 1 804 5 is_stmt 1 view .LVU613 804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1626 .loc 1 804 21 is_stmt 0 view .LVU614 1627 00ae C263 str r2, [r0, #60] 807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1628 .loc 1 807 5 is_stmt 1 view .LVU615 807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1629 .loc 1 807 17 is_stmt 0 view .LVU616 ARM GAS /tmp/ccFxKPnS.s page 58 1630 00b0 80F82520 strb r2, [r0, #37] 810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1631 .loc 1 810 5 is_stmt 1 view .LVU617 810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1632 .loc 1 810 5 view .LVU618 1633 00b4 0023 movs r3, #0 1634 00b6 80F82430 strb r3, [r0, #36] 810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1635 .loc 1 810 5 view .LVU619 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1636 .loc 1 812 5 view .LVU620 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1637 .loc 1 812 13 is_stmt 0 view .LVU621 1638 00ba 436B ldr r3, [r0, #52] 812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1639 .loc 1 812 8 view .LVU622 1640 00bc 002B cmp r3, #0 1641 00be C0D0 beq .L89 815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1642 .loc 1 815 7 is_stmt 1 view .LVU623 1643 00c0 9847 blx r3 1644 .LVL87: 821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return; 1645 .loc 1 821 3 view .LVU624 822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1646 .loc 1 822 3 view .LVU625 1647 00c2 BEE7 b .L89 1648 .cfi_endproc 1649 .LFE336: 1651 .section .text.HAL_DMA_RegisterCallback,"ax",%progbits 1652 .align 1 1653 .global HAL_DMA_RegisterCallback 1654 .syntax unified 1655 .thumb 1656 .thumb_func 1658 HAL_DMA_RegisterCallback: 1659 .LVL88: 1660 .LFB337: 836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 1661 .loc 1 836 1 view -0 1662 .cfi_startproc 1663 @ args = 0, pretend = 0, frame = 0 1664 @ frame_needed = 0, uses_anonymous_args = 0 1665 @ link register save eliminated. 836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 1666 .loc 1 836 1 is_stmt 0 view .LVU627 1667 0000 0346 mov r3, r0 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1668 .loc 1 837 3 is_stmt 1 view .LVU628 1669 .LVL89: 840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1670 .loc 1 840 3 view .LVU629 840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1671 .loc 1 840 3 view .LVU630 1672 0002 90F82400 ldrb r0, [r0, #36] @ zero_extendqisi2 1673 .LVL90: 840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ARM GAS /tmp/ccFxKPnS.s page 59 1674 .loc 1 840 3 is_stmt 0 view .LVU631 1675 0006 0128 cmp r0, #1 1676 0008 1ED0 beq .L104 840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1677 .loc 1 840 3 is_stmt 1 discriminator 2 view .LVU632 1678 000a 0120 movs r0, #1 1679 000c 83F82400 strb r0, [r3, #36] 840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1680 .loc 1 840 3 discriminator 2 view .LVU633 842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1681 .loc 1 842 3 view .LVU634 842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1682 .loc 1 842 34 is_stmt 0 view .LVU635 1683 0010 93F82500 ldrb r0, [r3, #37] @ zero_extendqisi2 1684 0014 C0B2 uxtb r0, r0 842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1685 .loc 1 842 6 view .LVU636 1686 0016 0128 cmp r0, #1 1687 0018 04D0 beq .L107 869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1688 .loc 1 869 12 view .LVU637 1689 001a 0120 movs r0, #1 1690 .L98: 1691 .LVL91: 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1692 .loc 1 873 3 is_stmt 1 view .LVU638 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1693 .loc 1 873 3 view .LVU639 1694 001c 0022 movs r2, #0 1695 .LVL92: 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1696 .loc 1 873 3 is_stmt 0 view .LVU640 1697 001e 83F82420 strb r2, [r3, #36] 873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1698 .loc 1 873 3 is_stmt 1 view .LVU641 875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1699 .loc 1 875 3 view .LVU642 875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1700 .loc 1 875 10 is_stmt 0 view .LVU643 1701 0022 7047 bx lr 1702 .LVL93: 1703 .L107: 844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1704 .loc 1 844 5 is_stmt 1 view .LVU644 1705 0024 0329 cmp r1, #3 1706 0026 F9D8 bhi .L98 1707 0028 DFE801F0 tbb [pc, r1] 1708 .L100: 1709 002c 02 .byte (.L103-.L100)/2 1710 002d 05 .byte (.L102-.L100)/2 1711 002e 08 .byte (.L101-.L100)/2 1712 002f 0B .byte (.L99-.L100)/2 1713 .p2align 1 1714 .L103: 847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1715 .loc 1 847 9 view .LVU645 847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; ARM GAS /tmp/ccFxKPnS.s page 60 1716 .loc 1 847 32 is_stmt 0 view .LVU646 1717 0030 DA62 str r2, [r3, #44] 848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1718 .loc 1 848 9 is_stmt 1 view .LVU647 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1719 .loc 1 837 21 is_stmt 0 view .LVU648 1720 0032 0846 mov r0, r1 848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1721 .loc 1 848 9 view .LVU649 1722 0034 F2E7 b .L98 1723 .L102: 851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1724 .loc 1 851 9 is_stmt 1 view .LVU650 851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1725 .loc 1 851 36 is_stmt 0 view .LVU651 1726 0036 1A63 str r2, [r3, #48] 852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1727 .loc 1 852 9 is_stmt 1 view .LVU652 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1728 .loc 1 837 21 is_stmt 0 view .LVU653 1729 0038 0020 movs r0, #0 852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1730 .loc 1 852 9 view .LVU654 1731 003a EFE7 b .L98 1732 .L101: 855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1733 .loc 1 855 9 is_stmt 1 view .LVU655 855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1734 .loc 1 855 33 is_stmt 0 view .LVU656 1735 003c 5A63 str r2, [r3, #52] 856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1736 .loc 1 856 9 is_stmt 1 view .LVU657 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1737 .loc 1 837 21 is_stmt 0 view .LVU658 1738 003e 0020 movs r0, #0 856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1739 .loc 1 856 9 view .LVU659 1740 0040 ECE7 b .L98 1741 .L99: 859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1742 .loc 1 859 9 is_stmt 1 view .LVU660 859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1743 .loc 1 859 33 is_stmt 0 view .LVU661 1744 0042 9A63 str r2, [r3, #56] 860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1745 .loc 1 860 9 is_stmt 1 view .LVU662 837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1746 .loc 1 837 21 is_stmt 0 view .LVU663 1747 0044 0020 movs r0, #0 860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1748 .loc 1 860 9 view .LVU664 1749 0046 E9E7 b .L98 1750 .L104: 840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1751 .loc 1 840 3 discriminator 1 view .LVU665 1752 0048 0220 movs r0, #2 876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ARM GAS /tmp/ccFxKPnS.s page 61 1753 .loc 1 876 1 view .LVU666 1754 004a 7047 bx lr 1755 .cfi_endproc 1756 .LFE337: 1758 .section .text.HAL_DMA_UnRegisterCallback,"ax",%progbits 1759 .align 1 1760 .global HAL_DMA_UnRegisterCallback 1761 .syntax unified 1762 .thumb 1763 .thumb_func 1765 HAL_DMA_UnRegisterCallback: 1766 .LVL94: 1767 .LFB338: 887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 1768 .loc 1 887 1 is_stmt 1 view -0 1769 .cfi_startproc 1770 @ args = 0, pretend = 0, frame = 0 1771 @ frame_needed = 0, uses_anonymous_args = 0 1772 @ link register save eliminated. 887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; 1773 .loc 1 887 1 is_stmt 0 view .LVU668 1774 0000 0346 mov r3, r0 888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1775 .loc 1 888 3 is_stmt 1 view .LVU669 1776 .LVL95: 891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1777 .loc 1 891 3 view .LVU670 891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1778 .loc 1 891 3 view .LVU671 1779 0002 90F82420 ldrb r2, [r0, #36] @ zero_extendqisi2 1780 0006 012A cmp r2, #1 1781 0008 26D0 beq .L117 891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1782 .loc 1 891 3 discriminator 2 view .LVU672 1783 000a 0122 movs r2, #1 1784 000c 80F82420 strb r2, [r0, #36] 891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1785 .loc 1 891 3 discriminator 2 view .LVU673 893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1786 .loc 1 893 3 view .LVU674 893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1787 .loc 1 893 34 is_stmt 0 view .LVU675 1788 0010 90F82500 ldrb r0, [r0, #37] @ zero_extendqisi2 1789 .LVL96: 893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1790 .loc 1 893 34 view .LVU676 1791 0014 C0B2 uxtb r0, r0 893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1792 .loc 1 893 6 view .LVU677 1793 0016 9042 cmp r0, r2 1794 0018 04D0 beq .L120 927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1795 .loc 1 927 12 view .LVU678 1796 001a 0120 movs r0, #1 1797 .L110: 1798 .LVL97: 931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** ARM GAS /tmp/ccFxKPnS.s page 62 1799 .loc 1 931 3 is_stmt 1 view .LVU679 931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1800 .loc 1 931 3 view .LVU680 1801 001c 0022 movs r2, #0 1802 001e 83F82420 strb r2, [r3, #36] 931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1803 .loc 1 931 3 view .LVU681 933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1804 .loc 1 933 3 view .LVU682 933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1805 .loc 1 933 10 is_stmt 0 view .LVU683 1806 0022 7047 bx lr 1807 .LVL98: 1808 .L120: 895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** { 1809 .loc 1 895 5 is_stmt 1 view .LVU684 1810 0024 0429 cmp r1, #4 1811 0026 F9D8 bhi .L110 1812 0028 DFE801F0 tbb [pc, r1] 1813 .L112: 1814 002c 03 .byte (.L116-.L112)/2 1815 002d 07 .byte (.L115-.L112)/2 1816 002e 0A .byte (.L114-.L112)/2 1817 002f 0D .byte (.L113-.L112)/2 1818 0030 10 .byte (.L111-.L112)/2 1819 0031 00 .p2align 1 1820 .L116: 898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1821 .loc 1 898 9 view .LVU685 898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1822 .loc 1 898 32 is_stmt 0 view .LVU686 1823 0032 0022 movs r2, #0 1824 0034 DA62 str r2, [r3, #44] 899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1825 .loc 1 899 9 is_stmt 1 view .LVU687 888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1826 .loc 1 888 21 is_stmt 0 view .LVU688 1827 0036 0846 mov r0, r1 899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1828 .loc 1 899 9 view .LVU689 1829 0038 F0E7 b .L110 1830 .L115: 902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1831 .loc 1 902 9 is_stmt 1 view .LVU690 902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1832 .loc 1 902 36 is_stmt 0 view .LVU691 1833 003a 0020 movs r0, #0 1834 003c 1863 str r0, [r3, #48] 903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1835 .loc 1 903 9 is_stmt 1 view .LVU692 1836 003e EDE7 b .L110 1837 .L114: 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1838 .loc 1 906 9 view .LVU693 906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1839 .loc 1 906 33 is_stmt 0 view .LVU694 1840 0040 0020 movs r0, #0 ARM GAS /tmp/ccFxKPnS.s page 63 1841 0042 5863 str r0, [r3, #52] 907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1842 .loc 1 907 9 is_stmt 1 view .LVU695 1843 0044 EAE7 b .L110 1844 .L113: 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1845 .loc 1 910 9 view .LVU696 910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1846 .loc 1 910 33 is_stmt 0 view .LVU697 1847 0046 0020 movs r0, #0 1848 0048 9863 str r0, [r3, #56] 911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1849 .loc 1 911 9 is_stmt 1 view .LVU698 1850 004a E7E7 b .L110 1851 .L111: 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; 1852 .loc 1 914 9 view .LVU699 914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; 1853 .loc 1 914 32 is_stmt 0 view .LVU700 1854 004c 0020 movs r0, #0 1855 004e D862 str r0, [r3, #44] 915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferErrorCallback = NULL; 1856 .loc 1 915 9 is_stmt 1 view .LVU701 915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferErrorCallback = NULL; 1857 .loc 1 915 36 is_stmt 0 view .LVU702 1858 0050 1863 str r0, [r3, #48] 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferAbortCallback = NULL; 1859 .loc 1 916 9 is_stmt 1 view .LVU703 916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferAbortCallback = NULL; 1860 .loc 1 916 33 is_stmt 0 view .LVU704 1861 0052 5863 str r0, [r3, #52] 917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1862 .loc 1 917 9 is_stmt 1 view .LVU705 917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break; 1863 .loc 1 917 33 is_stmt 0 view .LVU706 1864 0054 9863 str r0, [r3, #56] 918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1865 .loc 1 918 9 is_stmt 1 view .LVU707 1866 0056 E1E7 b .L110 1867 .LVL99: 1868 .L117: 891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1869 .loc 1 891 3 is_stmt 0 discriminator 1 view .LVU708 1870 0058 0220 movs r0, #2 1871 .LVL100: 934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1872 .loc 1 934 1 view .LVU709 1873 005a 7047 bx lr 1874 .cfi_endproc 1875 .LFE338: 1877 .section .text.HAL_DMA_GetState,"ax",%progbits 1878 .align 1 1879 .global HAL_DMA_GetState 1880 .syntax unified 1881 .thumb 1882 .thumb_func 1884 HAL_DMA_GetState: ARM GAS /tmp/ccFxKPnS.s page 64 1885 .LVL101: 1886 .LFB339: 965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Return DMA handle state */ 1887 .loc 1 965 1 is_stmt 1 view -0 1888 .cfi_startproc 1889 @ args = 0, pretend = 0, frame = 0 1890 @ frame_needed = 0, uses_anonymous_args = 0 1891 @ link register save eliminated. 967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1892 .loc 1 967 3 view .LVU711 967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1893 .loc 1 967 14 is_stmt 0 view .LVU712 1894 0000 90F82500 ldrb r0, [r0, #37] @ zero_extendqisi2 1895 .LVL102: 968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1896 .loc 1 968 1 view .LVU713 1897 0004 7047 bx lr 1898 .cfi_endproc 1899 .LFE339: 1901 .section .text.HAL_DMA_GetError,"ax",%progbits 1902 .align 1 1903 .global HAL_DMA_GetError 1904 .syntax unified 1905 .thumb 1906 .thumb_func 1908 HAL_DMA_GetError: 1909 .LVL103: 1910 .LFB340: 977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return hdma->ErrorCode; 1911 .loc 1 977 1 is_stmt 1 view -0 1912 .cfi_startproc 1913 @ args = 0, pretend = 0, frame = 0 1914 @ frame_needed = 0, uses_anonymous_args = 0 1915 @ link register save eliminated. 978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1916 .loc 1 978 3 view .LVU715 978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** } 1917 .loc 1 978 14 is_stmt 0 view .LVU716 1918 0000 C06B ldr r0, [r0, #60] 1919 .LVL104: 979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** 1920 .loc 1 979 1 view .LVU717 1921 0002 7047 bx lr 1922 .cfi_endproc 1923 .LFE340: 1925 .text 1926 .Letext0: 1927 .file 2 "/home/fra/bin/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/arm-none-eabi/include/mach 1928 .file 3 "/home/fra/bin/arm-gnu-toolchain-13.3.rel1-x86_64-arm-none-eabi/arm-none-eabi/include/sys/ 1929 .file 4 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g431xx.h" 1930 .file 5 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_def.h" 1931 .file 6 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_dma.h" 1932 .file 7 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal.h" ARM GAS /tmp/ccFxKPnS.s page 65 DEFINED SYMBOLS *ABS*:00000000 stm32g4xx_hal_dma.c /tmp/ccFxKPnS.s:21 .text.DMA_SetConfig:00000000 $t /tmp/ccFxKPnS.s:26 .text.DMA_SetConfig:00000000 DMA_SetConfig /tmp/ccFxKPnS.s:121 .text.DMA_CalcDMAMUXChannelBaseAndMask:00000000 $t /tmp/ccFxKPnS.s:126 .text.DMA_CalcDMAMUXChannelBaseAndMask:00000000 DMA_CalcDMAMUXChannelBaseAndMask /tmp/ccFxKPnS.s:190 .text.DMA_CalcDMAMUXChannelBaseAndMask:00000034 $d /tmp/ccFxKPnS.s:199 .text.DMA_CalcDMAMUXRequestGenBaseAndMask:00000000 $t /tmp/ccFxKPnS.s:204 .text.DMA_CalcDMAMUXRequestGenBaseAndMask:00000000 DMA_CalcDMAMUXRequestGenBaseAndMask /tmp/ccFxKPnS.s:244 .text.DMA_CalcDMAMUXRequestGenBaseAndMask:00000020 $d /tmp/ccFxKPnS.s:250 .text.HAL_DMA_Init:00000000 $t /tmp/ccFxKPnS.s:256 .text.HAL_DMA_Init:00000000 HAL_DMA_Init /tmp/ccFxKPnS.s:471 .text.HAL_DMA_Init:000000bc $d /tmp/ccFxKPnS.s:481 .text.HAL_DMA_DeInit:00000000 $t /tmp/ccFxKPnS.s:487 .text.HAL_DMA_DeInit:00000000 HAL_DMA_DeInit /tmp/ccFxKPnS.s:669 .text.HAL_DMA_DeInit:000000a0 $d /tmp/ccFxKPnS.s:679 .text.HAL_DMA_Start:00000000 $t /tmp/ccFxKPnS.s:685 .text.HAL_DMA_Start:00000000 HAL_DMA_Start /tmp/ccFxKPnS.s:773 .text.HAL_DMA_Start_IT:00000000 $t /tmp/ccFxKPnS.s:779 .text.HAL_DMA_Start_IT:00000000 HAL_DMA_Start_IT /tmp/ccFxKPnS.s:917 .text.HAL_DMA_Abort:00000000 $t /tmp/ccFxKPnS.s:923 .text.HAL_DMA_Abort:00000000 HAL_DMA_Abort /tmp/ccFxKPnS.s:1032 .text.HAL_DMA_Abort_IT:00000000 $t /tmp/ccFxKPnS.s:1038 .text.HAL_DMA_Abort_IT:00000000 HAL_DMA_Abort_IT /tmp/ccFxKPnS.s:1171 .text.HAL_DMA_PollForTransfer:00000000 $t /tmp/ccFxKPnS.s:1177 .text.HAL_DMA_PollForTransfer:00000000 HAL_DMA_PollForTransfer /tmp/ccFxKPnS.s:1458 .text.HAL_DMA_IRQHandler:00000000 $t /tmp/ccFxKPnS.s:1464 .text.HAL_DMA_IRQHandler:00000000 HAL_DMA_IRQHandler /tmp/ccFxKPnS.s:1652 .text.HAL_DMA_RegisterCallback:00000000 $t /tmp/ccFxKPnS.s:1658 .text.HAL_DMA_RegisterCallback:00000000 HAL_DMA_RegisterCallback /tmp/ccFxKPnS.s:1709 .text.HAL_DMA_RegisterCallback:0000002c $d /tmp/ccFxKPnS.s:1713 .text.HAL_DMA_RegisterCallback:00000030 $t /tmp/ccFxKPnS.s:1759 .text.HAL_DMA_UnRegisterCallback:00000000 $t /tmp/ccFxKPnS.s:1765 .text.HAL_DMA_UnRegisterCallback:00000000 HAL_DMA_UnRegisterCallback /tmp/ccFxKPnS.s:1814 .text.HAL_DMA_UnRegisterCallback:0000002c $d /tmp/ccFxKPnS.s:1878 .text.HAL_DMA_GetState:00000000 $t /tmp/ccFxKPnS.s:1884 .text.HAL_DMA_GetState:00000000 HAL_DMA_GetState /tmp/ccFxKPnS.s:1902 .text.HAL_DMA_GetError:00000000 $t /tmp/ccFxKPnS.s:1908 .text.HAL_DMA_GetError:00000000 HAL_DMA_GetError /tmp/ccFxKPnS.s:1819 .text.HAL_DMA_UnRegisterCallback:00000031 $d /tmp/ccFxKPnS.s:1819 .text.HAL_DMA_UnRegisterCallback:00000032 $t UNDEFINED SYMBOLS HAL_GetTick