Files
squeow/squeow_sw/build/stm32g4xx_hal_dma.lst

3887 lines
231 KiB
Plaintext
Raw Normal View History

2023-07-02 17:09:41 +02:00
ARM GAS /tmp/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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/ccCGP7ew.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 (STM32G483xx
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 (STM32G431xx) || defined (STM32G441xx) || defined (STM32GBK1CB)
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/ccCGP7ew.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/ccCGP7ew.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 5BD0 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/ccCGP7ew.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 0168 ldr r1, [r0]
175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
287 .loc 1 175 6 view .LVU91
288 000a 2D4B ldr r3, .L29
289 000c 9942 cmp r1, r3
290 000e 3DD8 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 2C4B ldr r3, .L29+4
294 0012 0B44 add r3, r3, r1
178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
295 .loc 1 178 80 view .LVU94
296 0014 2C4A ldr r2, .L29+8
297 0016 A2FB0323 umull r2, r3, r2, 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 2A4B 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/ccCGP7ew.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 0A68 ldr r2, [r1]
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 22F4FF42 bic r2, r2, #32640
319 .LVL16:
195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC |
320 .loc 1 195 7 view .LVU105
321 0030 22F07002 bic r2, r2, #112
322 .LVL17:
200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
323 .loc 1 200 3 is_stmt 1 view .LVU106
200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
324 .loc 1 200 21 is_stmt 0 view .LVU107
325 0034 A368 ldr r3, [r4, #8]
201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
326 .loc 1 201 21 view .LVU108
327 0036 E068 ldr r0, [r4, #12]
328 .LVL18:
200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
329 .loc 1 200 39 view .LVU109
330 0038 0343 orrs r3, r3, r0
201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
331 .loc 1 201 54 view .LVU110
332 003a 2069 ldr r0, [r4, #16]
201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
333 .loc 1 201 42 view .LVU111
334 003c 0343 orrs r3, r3, r0
202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
335 .loc 1 202 21 view .LVU112
336 003e 6069 ldr r0, [r4, #20]
201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
337 .loc 1 201 72 view .LVU113
338 0040 0343 orrs r3, r3, r0
202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
339 .loc 1 202 54 view .LVU114
340 0042 A069 ldr r0, [r4, #24]
202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
341 .loc 1 202 42 view .LVU115
342 0044 0343 orrs r3, r3, r0
203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
343 .loc 1 203 21 view .LVU116
344 0046 E069 ldr r0, [r4, #28]
202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
345 .loc 1 202 72 view .LVU117
346 0048 0343 orrs r3, r3, r0
203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
ARM GAS /tmp/ccCGP7ew.s page 27
347 .loc 1 203 54 view .LVU118
348 004a 206A ldr r0, [r4, #32]
203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
349 .loc 1 203 42 view .LVU119
350 004c 0343 orrs r3, r3, r0
200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
351 .loc 1 200 7 view .LVU120
352 004e 1343 orrs r3, r3, r2
353 .LVL19:
206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
354 .loc 1 206 3 is_stmt 1 view .LVU121
206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
355 .loc 1 206 23 is_stmt 0 view .LVU122
356 0050 0B60 str r3, [r1]
211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
357 .loc 1 211 3 is_stmt 1 view .LVU123
358 0052 2046 mov r0, r4
359 0054 FFF7FEFF bl DMA_CalcDMAMUXChannelBaseAndMask
360 .LVL20:
213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
361 .loc 1 213 3 view .LVU124
213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
362 .loc 1 213 17 is_stmt 0 view .LVU125
363 0058 A368 ldr r3, [r4, #8]
213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
364 .loc 1 213 6 view .LVU126
365 005a B3F5804F cmp r3, #16384
366 005e 20D0 beq .L27
367 .L19:
220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
368 .loc 1 220 3 is_stmt 1 view .LVU127
220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
369 .loc 1 220 7 is_stmt 0 view .LVU128
370 0060 A36C ldr r3, [r4, #72]
220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
371 .loc 1 220 50 view .LVU129
372 0062 2279 ldrb r2, [r4, #4] @ zero_extendqisi2
220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
373 .loc 1 220 28 view .LVU130
374 0064 1A60 str r2, [r3]
223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
375 .loc 1 223 3 is_stmt 1 view .LVU131
223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
376 .loc 1 223 7 is_stmt 0 view .LVU132
377 0066 E36C ldr r3, [r4, #76]
223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
378 .loc 1 223 40 view .LVU133
379 0068 226D ldr r2, [r4, #80]
223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
380 .loc 1 223 34 view .LVU134
381 006a 5A60 str r2, [r3, #4]
225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
382 .loc 1 225 3 is_stmt 1 view .LVU135
225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
383 .loc 1 225 19 is_stmt 0 view .LVU136
384 006c 6368 ldr r3, [r4, #4]
225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
ARM GAS /tmp/ccCGP7ew.s page 28
385 .loc 1 225 35 view .LVU137
386 006e 013B subs r3, r3, #1
225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
387 .loc 1 225 6 view .LVU138
388 0070 032B cmp r3, #3
389 0072 19D9 bls .L28
240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus = 0U;
390 .loc 1 240 5 is_stmt 1 view .LVU139
240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus = 0U;
391 .loc 1 240 28 is_stmt 0 view .LVU140
392 0074 0023 movs r3, #0
393 0076 6365 str r3, [r4, #84]
241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatusMask = 0U;
394 .loc 1 241 5 is_stmt 1 view .LVU141
241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatusMask = 0U;
395 .loc 1 241 34 is_stmt 0 view .LVU142
396 0078 A365 str r3, [r4, #88]
242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
397 .loc 1 242 5 is_stmt 1 view .LVU143
242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
398 .loc 1 242 38 is_stmt 0 view .LVU144
399 007a E365 str r3, [r4, #92]
400 .L21:
246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
401 .loc 1 246 3 is_stmt 1 view .LVU145
246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
402 .loc 1 246 19 is_stmt 0 view .LVU146
403 007c 0020 movs r0, #0
404 007e E063 str r0, [r4, #60]
249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
405 .loc 1 249 3 is_stmt 1 view .LVU147
249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
406 .loc 1 249 16 is_stmt 0 view .LVU148
407 0080 0123 movs r3, #1
408 0082 84F82530 strb r3, [r4, #37]
252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
409 .loc 1 252 3 is_stmt 1 view .LVU149
252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
410 .loc 1 252 14 is_stmt 0 view .LVU150
411 0086 84F82400 strb r0, [r4, #36]
254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
412 .loc 1 254 3 is_stmt 1 view .LVU151
255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
413 .loc 1 255 1 is_stmt 0 view .LVU152
414 008a 10BD pop {r4, pc}
415 .LVL21:
416 .L17:
184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
417 .loc 1 184 5 is_stmt 1 view .LVU153
184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
418 .loc 1 184 53 is_stmt 0 view .LVU154
419 008c 104B ldr r3, .L29+16
420 008e 0B44 add r3, r3, r1
184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
421 .loc 1 184 80 view .LVU155
422 0090 0D4A ldr r2, .L29+8
423 0092 A2FB0323 umull r2, r3, r2, r3
ARM GAS /tmp/ccCGP7ew.s page 29
424 0096 1B09 lsrs r3, r3, #4
184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
425 .loc 1 184 135 view .LVU156
426 0098 9B00 lsls r3, r3, #2
184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
427 .loc 1 184 24 view .LVU157
428 009a 4364 str r3, [r0, #68]
185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
429 .loc 1 185 5 is_stmt 1 view .LVU158
185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
430 .loc 1 185 26 is_stmt 0 view .LVU159
431 009c 0D4B ldr r3, .L29+20
432 009e 0364 str r3, [r0, #64]
433 00a0 C0E7 b .L18
434 .LVL22:
435 .L27:
216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
436 .loc 1 216 5 is_stmt 1 view .LVU160
216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
437 .loc 1 216 24 is_stmt 0 view .LVU161
438 00a2 0023 movs r3, #0
439 00a4 6360 str r3, [r4, #4]
440 00a6 DBE7 b .L19
441 .L28:
230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
442 .loc 1 230 5 is_stmt 1 view .LVU162
443 00a8 2046 mov r0, r4
444 00aa FFF7FEFF bl DMA_CalcDMAMUXRequestGenBaseAndMask
445 .LVL23:
233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
446 .loc 1 233 5 view .LVU163
233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
447 .loc 1 233 9 is_stmt 0 view .LVU164
448 00ae 636D ldr r3, [r4, #84]
233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
449 .loc 1 233 34 view .LVU165
450 00b0 0022 movs r2, #0
451 00b2 1A60 str r2, [r3]
236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
452 .loc 1 236 5 is_stmt 1 view .LVU166
236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
453 .loc 1 236 9 is_stmt 0 view .LVU167
454 00b4 A36D ldr r3, [r4, #88]
236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
455 .loc 1 236 47 view .LVU168
456 00b6 E26D ldr r2, [r4, #92]
236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
457 .loc 1 236 41 view .LVU169
458 00b8 5A60 str r2, [r3, #4]
459 00ba DFE7 b .L21
460 .LVL24:
461 .L22:
462 .LCFI4:
463 .cfi_def_cfa_offset 0
464 .cfi_restore 4
465 .cfi_restore 14
159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
ARM GAS /tmp/ccCGP7ew.s page 30
466 .loc 1 159 12 view .LVU170
467 00bc 0120 movs r0, #1
468 .LVL25:
255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
469 .loc 1 255 1 view .LVU171
470 00be 7047 bx lr
471 .L30:
472 .align 2
473 .L29:
474 00c0 07040240 .word 1073873927
475 00c4 F8FFFDBF .word -1073872904
476 00c8 CDCCCCCC .word -858993459
477 00cc 00000240 .word 1073872896
478 00d0 F8FBFDBF .word -1073873928
479 00d4 00040240 .word 1073873920
480 .cfi_endproc
481 .LFE329:
483 .section .text.HAL_DMA_DeInit,"ax",%progbits
484 .align 1
485 .global HAL_DMA_DeInit
486 .syntax unified
487 .thumb
488 .thumb_func
490 HAL_DMA_DeInit:
491 .LVL26:
492 .LFB330:
264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
493 .loc 1 264 1 is_stmt 1 view -0
494 .cfi_startproc
495 @ args = 0, pretend = 0, frame = 0
496 @ frame_needed = 0, uses_anonymous_args = 0
267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
497 .loc 1 267 3 view .LVU173
267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
498 .loc 1 267 6 is_stmt 0 view .LVU174
499 0000 0028 cmp r0, #0
500 0002 4BD0 beq .L36
264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
501 .loc 1 264 1 view .LVU175
502 0004 38B5 push {r3, r4, r5, lr}
503 .LCFI5:
504 .cfi_def_cfa_offset 16
505 .cfi_offset 3, -16
506 .cfi_offset 4, -12
507 .cfi_offset 5, -8
508 .cfi_offset 14, -4
509 0006 0446 mov r4, r0
273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
510 .loc 1 273 3 is_stmt 1 view .LVU176
276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
511 .loc 1 276 3 view .LVU177
512 0008 0268 ldr r2, [r0]
513 000a 1368 ldr r3, [r2]
514 000c 23F00103 bic r3, r3, #1
515 0010 1360 str r3, [r2]
279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
516 .loc 1 279 3 view .LVU178
ARM GAS /tmp/ccCGP7ew.s page 31
279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
517 .loc 1 279 22 is_stmt 0 view .LVU179
518 0012 0268 ldr r2, [r0]
279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
519 .loc 1 279 6 view .LVU180
520 0014 224B ldr r3, .L42
521 0016 9A42 cmp r2, r3
522 0018 2CD8 bhi .L33
282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
523 .loc 1 282 5 is_stmt 1 view .LVU181
282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
524 .loc 1 282 53 is_stmt 0 view .LVU182
525 001a 224B ldr r3, .L42+4
526 001c 1344 add r3, r3, r2
282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
527 .loc 1 282 80 view .LVU183
528 001e 2249 ldr r1, .L42+8
529 0020 A1FB0313 umull r1, r3, r1, r3
530 0024 1B09 lsrs r3, r3, #4
282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
531 .loc 1 282 135 view .LVU184
532 0026 9B00 lsls r3, r3, #2
282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
533 .loc 1 282 24 view .LVU185
534 0028 4364 str r3, [r0, #68]
283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
535 .loc 1 283 5 is_stmt 1 view .LVU186
283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
536 .loc 1 283 26 is_stmt 0 view .LVU187
537 002a 204B ldr r3, .L42+12
538 002c 0364 str r3, [r0, #64]
539 .L34:
293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
540 .loc 1 293 3 is_stmt 1 view .LVU188
293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
541 .loc 1 293 24 is_stmt 0 view .LVU189
542 002e 0025 movs r5, #0
543 0030 1560 str r5, [r2]
296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
544 .loc 1 296 3 is_stmt 1 view .LVU190
296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
545 .loc 1 296 54 is_stmt 0 view .LVU191
546 0032 636C ldr r3, [r4, #68]
296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
547 .loc 1 296 69 view .LVU192
548 0034 03F01F02 and r2, r3, #31
296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
549 .loc 1 296 7 view .LVU193
550 0038 216C ldr r1, [r4, #64]
296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
551 .loc 1 296 46 view .LVU194
552 003a 0123 movs r3, #1
553 003c 9340 lsls r3, r3, r2
296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
554 .loc 1 296 30 view .LVU195
555 003e 4B60 str r3, [r1, #4]
301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
ARM GAS /tmp/ccCGP7ew.s page 32
556 .loc 1 301 3 is_stmt 1 view .LVU196
557 0040 2046 mov r0, r4
558 .LVL27:
301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
559 .loc 1 301 3 is_stmt 0 view .LVU197
560 0042 FFF7FEFF bl DMA_CalcDMAMUXChannelBaseAndMask
561 .LVL28:
304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
562 .loc 1 304 3 is_stmt 1 view .LVU198
304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
563 .loc 1 304 7 is_stmt 0 view .LVU199
564 0046 A36C ldr r3, [r4, #72]
304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
565 .loc 1 304 28 view .LVU200
566 0048 1D60 str r5, [r3]
307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
567 .loc 1 307 3 is_stmt 1 view .LVU201
307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
568 .loc 1 307 7 is_stmt 0 view .LVU202
569 004a E36C ldr r3, [r4, #76]
307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
570 .loc 1 307 40 view .LVU203
571 004c 226D ldr r2, [r4, #80]
307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
572 .loc 1 307 34 view .LVU204
573 004e 5A60 str r2, [r3, #4]
310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
574 .loc 1 310 3 is_stmt 1 view .LVU205
310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
575 .loc 1 310 19 is_stmt 0 view .LVU206
576 0050 6368 ldr r3, [r4, #4]
310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
577 .loc 1 310 35 view .LVU207
578 0052 013B subs r3, r3, #1
310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
579 .loc 1 310 6 view .LVU208
580 0054 032B cmp r3, #3
581 0056 18D9 bls .L41
582 .L35:
324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus = 0U;
583 .loc 1 324 3 is_stmt 1 view .LVU209
324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatus = 0U;
584 .loc 1 324 26 is_stmt 0 view .LVU210
585 0058 0020 movs r0, #0
586 005a 6065 str r0, [r4, #84]
325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatusMask = 0U;
587 .loc 1 325 3 is_stmt 1 view .LVU211
325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DMAmuxRequestGenStatusMask = 0U;
588 .loc 1 325 32 is_stmt 0 view .LVU212
589 005c A065 str r0, [r4, #88]
326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
590 .loc 1 326 3 is_stmt 1 view .LVU213
326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
591 .loc 1 326 36 is_stmt 0 view .LVU214
592 005e E065 str r0, [r4, #92]
329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
593 .loc 1 329 3 is_stmt 1 view .LVU215
ARM GAS /tmp/ccCGP7ew.s page 33
329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
594 .loc 1 329 26 is_stmt 0 view .LVU216
595 0060 E062 str r0, [r4, #44]
330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
596 .loc 1 330 3 is_stmt 1 view .LVU217
330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
597 .loc 1 330 30 is_stmt 0 view .LVU218
598 0062 2063 str r0, [r4, #48]
331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
599 .loc 1 331 3 is_stmt 1 view .LVU219
331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
600 .loc 1 331 27 is_stmt 0 view .LVU220
601 0064 6063 str r0, [r4, #52]
332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
602 .loc 1 332 3 is_stmt 1 view .LVU221
332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
603 .loc 1 332 27 is_stmt 0 view .LVU222
604 0066 A063 str r0, [r4, #56]
335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
605 .loc 1 335 3 is_stmt 1 view .LVU223
335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
606 .loc 1 335 19 is_stmt 0 view .LVU224
607 0068 E063 str r0, [r4, #60]
338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
608 .loc 1 338 3 is_stmt 1 view .LVU225
338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
609 .loc 1 338 15 is_stmt 0 view .LVU226
610 006a 84F82500 strb r0, [r4, #37]
341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
611 .loc 1 341 3 is_stmt 1 view .LVU227
341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
612 .loc 1 341 3 view .LVU228
613 006e 84F82400 strb r0, [r4, #36]
341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
614 .loc 1 341 3 view .LVU229
343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
615 .loc 1 343 3 view .LVU230
344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
616 .loc 1 344 1 is_stmt 0 view .LVU231
617 0072 38BD pop {r3, r4, r5, pc}
618 .LVL29:
619 .L33:
288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
620 .loc 1 288 5 is_stmt 1 view .LVU232
288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
621 .loc 1 288 53 is_stmt 0 view .LVU233
622 0074 0E4B ldr r3, .L42+16
623 0076 1344 add r3, r3, r2
288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
624 .loc 1 288 80 view .LVU234
625 0078 0B49 ldr r1, .L42+8
626 007a A1FB0313 umull r1, r3, r1, r3
627 007e 1B09 lsrs r3, r3, #4
288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
628 .loc 1 288 135 view .LVU235
629 0080 9B00 lsls r3, r3, #2
288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
ARM GAS /tmp/ccCGP7ew.s page 34
630 .loc 1 288 24 view .LVU236
631 0082 4364 str r3, [r0, #68]
289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
632 .loc 1 289 5 is_stmt 1 view .LVU237
289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
633 .loc 1 289 26 is_stmt 0 view .LVU238
634 0084 0B4B ldr r3, .L42+20
635 0086 0364 str r3, [r0, #64]
636 0088 D1E7 b .L34
637 .LVL30:
638 .L41:
315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
639 .loc 1 315 5 is_stmt 1 view .LVU239
640 008a 2046 mov r0, r4
641 008c FFF7FEFF bl DMA_CalcDMAMUXRequestGenBaseAndMask
642 .LVL31:
318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
643 .loc 1 318 5 view .LVU240
318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
644 .loc 1 318 9 is_stmt 0 view .LVU241
645 0090 636D ldr r3, [r4, #84]
318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
646 .loc 1 318 34 view .LVU242
647 0092 1D60 str r5, [r3]
321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
648 .loc 1 321 5 is_stmt 1 view .LVU243
321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
649 .loc 1 321 9 is_stmt 0 view .LVU244
650 0094 A36D ldr r3, [r4, #88]
321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
651 .loc 1 321 47 view .LVU245
652 0096 E26D ldr r2, [r4, #92]
321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
653 .loc 1 321 41 view .LVU246
654 0098 5A60 str r2, [r3, #4]
655 009a DDE7 b .L35
656 .LVL32:
657 .L36:
658 .LCFI6:
659 .cfi_def_cfa_offset 0
660 .cfi_restore 3
661 .cfi_restore 4
662 .cfi_restore 5
663 .cfi_restore 14
269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
664 .loc 1 269 12 view .LVU247
665 009c 0120 movs r0, #1
666 .LVL33:
344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
667 .loc 1 344 1 view .LVU248
668 009e 7047 bx lr
669 .L43:
670 .align 2
671 .L42:
672 00a0 07040240 .word 1073873927
673 00a4 F8FFFDBF .word -1073872904
674 00a8 CDCCCCCC .word -858993459
ARM GAS /tmp/ccCGP7ew.s page 35
675 00ac 00000240 .word 1073872896
676 00b0 F8FBFDBF .word -1073873928
677 00b4 00040240 .word 1073873920
678 .cfi_endproc
679 .LFE330:
681 .section .text.HAL_DMA_Start,"ax",%progbits
682 .align 1
683 .global HAL_DMA_Start
684 .syntax unified
685 .thumb
686 .thumb_func
688 HAL_DMA_Start:
689 .LVL34:
690 .LFB331:
379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
691 .loc 1 379 1 is_stmt 1 view -0
692 .cfi_startproc
693 @ args = 0, pretend = 0, frame = 0
694 @ frame_needed = 0, uses_anonymous_args = 0
379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
695 .loc 1 379 1 is_stmt 0 view .LVU250
696 0000 70B5 push {r4, r5, r6, lr}
697 .LCFI7:
698 .cfi_def_cfa_offset 16
699 .cfi_offset 4, -16
700 .cfi_offset 5, -12
701 .cfi_offset 6, -8
702 .cfi_offset 14, -4
703 0002 0446 mov r4, r0
380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
704 .loc 1 380 3 is_stmt 1 view .LVU251
705 .LVL35:
383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
706 .loc 1 383 3 view .LVU252
386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
707 .loc 1 386 3 view .LVU253
386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
708 .loc 1 386 3 view .LVU254
709 0004 90F82400 ldrb r0, [r0, #36] @ zero_extendqisi2
710 .LVL36:
386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
711 .loc 1 386 3 is_stmt 0 view .LVU255
712 0008 0128 cmp r0, #1
713 000a 20D0 beq .L47
386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
714 .loc 1 386 3 is_stmt 1 discriminator 2 view .LVU256
715 000c 0120 movs r0, #1
716 000e 84F82400 strb r0, [r4, #36]
386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
717 .loc 1 386 3 discriminator 2 view .LVU257
388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
718 .loc 1 388 3 discriminator 2 view .LVU258
388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
719 .loc 1 388 34 is_stmt 0 discriminator 2 view .LVU259
720 0012 94F82500 ldrb r0, [r4, #37] @ zero_extendqisi2
721 0016 C0B2 uxtb r0, r0
388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
ARM GAS /tmp/ccCGP7ew.s page 36
722 .loc 1 388 6 discriminator 2 view .LVU260
723 0018 0128 cmp r0, #1
724 001a 04D0 beq .L49
406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_BUSY;
725 .loc 1 406 5 is_stmt 1 view .LVU261
406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_BUSY;
726 .loc 1 406 5 view .LVU262
727 001c 0023 movs r3, #0
728 .LVL37:
406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_BUSY;
729 .loc 1 406 5 is_stmt 0 view .LVU263
730 001e 84F82430 strb r3, [r4, #36]
406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** status = HAL_BUSY;
731 .loc 1 406 5 is_stmt 1 view .LVU264
407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
732 .loc 1 407 5 view .LVU265
733 .LVL38:
407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
734 .loc 1 407 12 is_stmt 0 view .LVU266
735 0022 0220 movs r0, #2
736 .LVL39:
737 .L45:
410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
738 .loc 1 410 1 view .LVU267
739 0024 70BD pop {r4, r5, r6, pc}
740 .LVL40:
741 .L49:
391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
742 .loc 1 391 5 is_stmt 1 view .LVU268
391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
743 .loc 1 391 17 is_stmt 0 view .LVU269
744 0026 0220 movs r0, #2
745 0028 84F82500 strb r0, [r4, #37]
392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
746 .loc 1 392 5 is_stmt 1 view .LVU270
392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
747 .loc 1 392 21 is_stmt 0 view .LVU271
748 002c 0025 movs r5, #0
749 002e E563 str r5, [r4, #60]
395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
750 .loc 1 395 5 is_stmt 1 view .LVU272
751 0030 2668 ldr r6, [r4]
752 0032 3068 ldr r0, [r6]
753 0034 20F00100 bic r0, r0, #1
754 0038 3060 str r0, [r6]
398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
755 .loc 1 398 5 view .LVU273
756 003a 2046 mov r0, r4
757 003c FFF7FEFF bl DMA_SetConfig
758 .LVL41:
401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
759 .loc 1 401 5 view .LVU274
760 0040 2268 ldr r2, [r4]
761 0042 1368 ldr r3, [r2]
762 0044 43F00103 orr r3, r3, #1
763 0048 1360 str r3, [r2]
380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
ARM GAS /tmp/ccCGP7ew.s page 37
764 .loc 1 380 21 is_stmt 0 view .LVU275
765 004a 2846 mov r0, r5
766 004c EAE7 b .L45
767 .LVL42:
768 .L47:
386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
769 .loc 1 386 3 view .LVU276
770 004e 0220 movs r0, #2
771 0050 E8E7 b .L45
772 .cfi_endproc
773 .LFE331:
775 .section .text.HAL_DMA_Start_IT,"ax",%progbits
776 .align 1
777 .global HAL_DMA_Start_IT
778 .syntax unified
779 .thumb
780 .thumb_func
782 HAL_DMA_Start_IT:
783 .LVL43:
784 .LFB332:
423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
785 .loc 1 423 1 is_stmt 1 view -0
786 .cfi_startproc
787 @ args = 0, pretend = 0, frame = 0
788 @ frame_needed = 0, uses_anonymous_args = 0
423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
789 .loc 1 423 1 is_stmt 0 view .LVU278
790 0000 38B5 push {r3, r4, r5, lr}
791 .LCFI8:
792 .cfi_def_cfa_offset 16
793 .cfi_offset 3, -16
794 .cfi_offset 4, -12
795 .cfi_offset 5, -8
796 .cfi_offset 14, -4
797 0002 0446 mov r4, r0
424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
798 .loc 1 424 3 is_stmt 1 view .LVU279
799 .LVL44:
427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
800 .loc 1 427 3 view .LVU280
430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
801 .loc 1 430 3 view .LVU281
430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
802 .loc 1 430 3 view .LVU282
803 0004 90F82400 ldrb r0, [r0, #36] @ zero_extendqisi2
804 .LVL45:
430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
805 .loc 1 430 3 is_stmt 0 view .LVU283
806 0008 0128 cmp r0, #1
807 000a 41D0 beq .L57
430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
808 .loc 1 430 3 is_stmt 1 discriminator 2 view .LVU284
809 000c 0120 movs r0, #1
810 000e 84F82400 strb r0, [r4, #36]
430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
811 .loc 1 430 3 discriminator 2 view .LVU285
432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
ARM GAS /tmp/ccCGP7ew.s page 38
812 .loc 1 432 3 discriminator 2 view .LVU286
432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
813 .loc 1 432 34 is_stmt 0 discriminator 2 view .LVU287
814 0012 94F82500 ldrb r0, [r4, #37] @ zero_extendqisi2
815 0016 C0B2 uxtb r0, r0
432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
816 .loc 1 432 6 discriminator 2 view .LVU288
817 0018 0128 cmp r0, #1
818 001a 04D0 beq .L59
477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
819 .loc 1 477 5 is_stmt 1 view .LVU289
477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
820 .loc 1 477 5 view .LVU290
821 001c 0023 movs r3, #0
822 .LVL46:
477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
823 .loc 1 477 5 is_stmt 0 view .LVU291
824 001e 84F82430 strb r3, [r4, #36]
477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
825 .loc 1 477 5 is_stmt 1 view .LVU292
480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
826 .loc 1 480 5 view .LVU293
827 .LVL47:
480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
828 .loc 1 480 12 is_stmt 0 view .LVU294
829 0022 0220 movs r0, #2
830 .LVL48:
831 .L51:
483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
832 .loc 1 483 1 view .LVU295
833 0024 38BD pop {r3, r4, r5, pc}
834 .LVL49:
835 .L59:
435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
836 .loc 1 435 5 is_stmt 1 view .LVU296
435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
837 .loc 1 435 17 is_stmt 0 view .LVU297
838 0026 0220 movs r0, #2
839 0028 84F82500 strb r0, [r4, #37]
436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
840 .loc 1 436 5 is_stmt 1 view .LVU298
436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
841 .loc 1 436 21 is_stmt 0 view .LVU299
842 002c 0020 movs r0, #0
843 002e E063 str r0, [r4, #60]
439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
844 .loc 1 439 5 is_stmt 1 view .LVU300
845 0030 2568 ldr r5, [r4]
846 0032 2868 ldr r0, [r5]
847 0034 20F00100 bic r0, r0, #1
848 0038 2860 str r0, [r5]
442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
849 .loc 1 442 5 view .LVU301
850 003a 2046 mov r0, r4
851 003c FFF7FEFF bl DMA_SetConfig
852 .LVL50:
446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
ARM GAS /tmp/ccCGP7ew.s page 39
853 .loc 1 446 5 view .LVU302
446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
854 .loc 1 446 21 is_stmt 0 view .LVU303
855 0040 236B ldr r3, [r4, #48]
446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
856 .loc 1 446 8 view .LVU304
857 0042 D3B1 cbz r3, .L53
449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
858 .loc 1 449 7 is_stmt 1 view .LVU305
859 0044 2268 ldr r2, [r4]
860 0046 1368 ldr r3, [r2]
861 0048 43F00E03 orr r3, r3, #14
862 004c 1360 str r3, [r2]
863 .L54:
458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
864 .loc 1 458 5 view .LVU306
458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
865 .loc 1 458 14 is_stmt 0 view .LVU307
866 004e A36C ldr r3, [r4, #72]
458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
867 .loc 1 458 29 view .LVU308
868 0050 1A68 ldr r2, [r3]
458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
869 .loc 1 458 8 view .LVU309
870 0052 12F4803F tst r2, #65536
871 0056 03D0 beq .L55
461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
872 .loc 1 461 7 is_stmt 1 view .LVU310
461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
873 .loc 1 461 26 is_stmt 0 view .LVU311
874 0058 1A68 ldr r2, [r3]
461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
875 .loc 1 461 32 view .LVU312
876 005a 42F48072 orr r2, r2, #256
877 005e 1A60 str r2, [r3]
878 .L55:
464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
879 .loc 1 464 5 is_stmt 1 view .LVU313
464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
880 .loc 1 464 13 is_stmt 0 view .LVU314
881 0060 636D ldr r3, [r4, #84]
464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
882 .loc 1 464 8 view .LVU315
883 0062 1BB1 cbz r3, .L56
468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
884 .loc 1 468 7 is_stmt 1 view .LVU316
468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
885 .loc 1 468 29 is_stmt 0 view .LVU317
886 0064 1A68 ldr r2, [r3]
468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
887 .loc 1 468 36 view .LVU318
888 0066 42F48072 orr r2, r2, #256
889 006a 1A60 str r2, [r3]
890 .L56:
472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
891 .loc 1 472 5 is_stmt 1 view .LVU319
892 006c 2268 ldr r2, [r4]
ARM GAS /tmp/ccCGP7ew.s page 40
893 006e 1368 ldr r3, [r2]
894 0070 43F00103 orr r3, r3, #1
895 0074 1360 str r3, [r2]
424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
896 .loc 1 424 21 is_stmt 0 view .LVU320
897 0076 0020 movs r0, #0
898 0078 D4E7 b .L51
899 .L53:
453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_TE));
900 .loc 1 453 7 is_stmt 1 view .LVU321
901 007a 2268 ldr r2, [r4]
902 007c 1368 ldr r3, [r2]
903 007e 23F00403 bic r3, r3, #4
904 0082 1360 str r3, [r2]
454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
905 .loc 1 454 7 view .LVU322
906 0084 2268 ldr r2, [r4]
907 0086 1368 ldr r3, [r2]
908 0088 43F00A03 orr r3, r3, #10
909 008c 1360 str r3, [r2]
910 008e DEE7 b .L54
911 .LVL51:
912 .L57:
430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
913 .loc 1 430 3 is_stmt 0 view .LVU323
914 0090 0220 movs r0, #2
915 0092 C7E7 b .L51
916 .cfi_endproc
917 .LFE332:
919 .section .text.HAL_DMA_Abort,"ax",%progbits
920 .align 1
921 .global HAL_DMA_Abort
922 .syntax unified
923 .thumb
924 .thumb_func
926 HAL_DMA_Abort:
927 .LVL52:
928 .LFB333:
492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
929 .loc 1 492 1 is_stmt 1 view -0
930 .cfi_startproc
931 @ args = 0, pretend = 0, frame = 0
932 @ frame_needed = 0, uses_anonymous_args = 0
933 @ link register save eliminated.
492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
934 .loc 1 492 1 is_stmt 0 view .LVU325
935 0000 0346 mov r3, r0
493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
936 .loc 1 493 3 is_stmt 1 view .LVU326
937 .LVL53:
495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
938 .loc 1 495 3 view .LVU327
495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
939 .loc 1 495 10 is_stmt 0 view .LVU328
940 0002 90F82520 ldrb r2, [r0, #37] @ zero_extendqisi2
941 0006 D2B2 uxtb r2, r2
495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
ARM GAS /tmp/ccCGP7ew.s page 41
942 .loc 1 495 5 view .LVU329
943 0008 022A cmp r2, #2
944 000a 09D0 beq .L61
498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
945 .loc 1 498 5 is_stmt 1 view .LVU330
498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
946 .loc 1 498 21 is_stmt 0 view .LVU331
947 000c 0422 movs r2, #4
948 000e C263 str r2, [r0, #60]
500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
949 .loc 1 500 5 is_stmt 1 view .LVU332
950 .LVL54:
500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
951 .loc 1 500 12 is_stmt 0 view .LVU333
952 0010 0120 movs r0, #1
953 .LVL55:
954 .L62:
530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
955 .loc 1 530 3 is_stmt 1 view .LVU334
530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
956 .loc 1 530 15 is_stmt 0 view .LVU335
957 0012 0122 movs r2, #1
958 0014 83F82520 strb r2, [r3, #37]
533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
959 .loc 1 533 3 is_stmt 1 view .LVU336
533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
960 .loc 1 533 3 view .LVU337
961 0018 0022 movs r2, #0
962 001a 83F82420 strb r2, [r3, #36]
533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
963 .loc 1 533 3 view .LVU338
535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
964 .loc 1 535 3 view .LVU339
536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
965 .loc 1 536 1 is_stmt 0 view .LVU340
966 001e 7047 bx lr
967 .LVL56:
968 .L61:
505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
969 .loc 1 505 6 is_stmt 1 view .LVU341
970 0020 0168 ldr r1, [r0]
971 0022 0A68 ldr r2, [r1]
972 0024 22F00E02 bic r2, r2, #14
973 0028 0A60 str r2, [r1]
508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
974 .loc 1 508 6 view .LVU342
508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
975 .loc 1 508 10 is_stmt 0 view .LVU343
976 002a 816C ldr r1, [r0, #72]
508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
977 .loc 1 508 25 view .LVU344
978 002c 0A68 ldr r2, [r1]
508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
979 .loc 1 508 31 view .LVU345
980 002e 22F48072 bic r2, r2, #256
981 0032 0A60 str r2, [r1]
511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
ARM GAS /tmp/ccCGP7ew.s page 42
982 .loc 1 511 6 is_stmt 1 view .LVU346
983 0034 0168 ldr r1, [r0]
984 0036 0A68 ldr r2, [r1]
985 0038 22F00102 bic r2, r2, #1
986 003c 0A60 str r2, [r1]
514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
987 .loc 1 514 6 view .LVU347
514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
988 .loc 1 514 57 is_stmt 0 view .LVU348
989 003e 426C ldr r2, [r0, #68]
514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
990 .loc 1 514 72 view .LVU349
991 0040 02F01F01 and r1, r2, #31
514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
992 .loc 1 514 10 view .LVU350
993 0044 006C ldr r0, [r0, #64]
994 .LVL57:
514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
995 .loc 1 514 49 view .LVU351
996 0046 0122 movs r2, #1
997 0048 8A40 lsls r2, r2, r1
514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
998 .loc 1 514 33 view .LVU352
999 004a 4260 str r2, [r0, #4]
517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1000 .loc 1 517 6 is_stmt 1 view .LVU353
517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1001 .loc 1 517 10 is_stmt 0 view .LVU354
1002 004c DA6C ldr r2, [r3, #76]
517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1003 .loc 1 517 43 view .LVU355
1004 004e 196D ldr r1, [r3, #80]
517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1005 .loc 1 517 37 view .LVU356
1006 0050 5160 str r1, [r2, #4]
519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1007 .loc 1 519 6 is_stmt 1 view .LVU357
519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1008 .loc 1 519 14 is_stmt 0 view .LVU358
1009 0052 5A6D ldr r2, [r3, #84]
519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1010 .loc 1 519 9 view .LVU359
1011 0054 42B1 cbz r2, .L63
523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1012 .loc 1 523 8 is_stmt 1 view .LVU360
523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1013 .loc 1 523 30 is_stmt 0 view .LVU361
1014 0056 1168 ldr r1, [r2]
523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1015 .loc 1 523 37 view .LVU362
1016 0058 21F48071 bic r1, r1, #256
1017 005c 1160 str r1, [r2]
526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1018 .loc 1 526 8 is_stmt 1 view .LVU363
526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1019 .loc 1 526 12 is_stmt 0 view .LVU364
1020 005e 9A6D ldr r2, [r3, #88]
ARM GAS /tmp/ccCGP7ew.s page 43
526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1021 .loc 1 526 50 view .LVU365
1022 0060 D96D ldr r1, [r3, #92]
526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1023 .loc 1 526 44 view .LVU366
1024 0062 5160 str r1, [r2, #4]
493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1025 .loc 1 493 21 view .LVU367
1026 0064 0020 movs r0, #0
1027 0066 D4E7 b .L62
1028 .L63:
1029 0068 0020 movs r0, #0
1030 006a D2E7 b .L62
1031 .cfi_endproc
1032 .LFE333:
1034 .section .text.HAL_DMA_Abort_IT,"ax",%progbits
1035 .align 1
1036 .global HAL_DMA_Abort_IT
1037 .syntax unified
1038 .thumb
1039 .thumb_func
1041 HAL_DMA_Abort_IT:
1042 .LVL58:
1043 .LFB334:
545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
1044 .loc 1 545 1 is_stmt 1 view -0
1045 .cfi_startproc
1046 @ args = 0, pretend = 0, frame = 0
1047 @ frame_needed = 0, uses_anonymous_args = 0
545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
1048 .loc 1 545 1 is_stmt 0 view .LVU369
1049 0000 08B5 push {r3, lr}
1050 .LCFI9:
1051 .cfi_def_cfa_offset 8
1052 .cfi_offset 3, -8
1053 .cfi_offset 14, -4
546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1054 .loc 1 546 3 is_stmt 1 view .LVU370
1055 .LVL59:
548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1056 .loc 1 548 3 view .LVU371
548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1057 .loc 1 548 33 is_stmt 0 view .LVU372
1058 0002 90F82530 ldrb r3, [r0, #37] @ zero_extendqisi2
1059 0006 DBB2 uxtb r3, r3
548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1060 .loc 1 548 6 view .LVU373
1061 0008 022B cmp r3, #2
1062 000a 09D0 beq .L65
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1063 .loc 1 551 5 is_stmt 1 view .LVU374
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1064 .loc 1 551 21 is_stmt 0 view .LVU375
1065 000c 0423 movs r3, #4
1066 000e C363 str r3, [r0, #60]
554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1067 .loc 1 554 5 is_stmt 1 view .LVU376
ARM GAS /tmp/ccCGP7ew.s page 44
554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1068 .loc 1 554 17 is_stmt 0 view .LVU377
1069 0010 0123 movs r3, #1
1070 0012 80F82530 strb r3, [r0, #37]
557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1071 .loc 1 557 5 is_stmt 1 view .LVU378
557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1072 .loc 1 557 5 view .LVU379
1073 0016 0022 movs r2, #0
1074 0018 80F82420 strb r2, [r0, #36]
557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1075 .loc 1 557 5 view .LVU380
559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1076 .loc 1 559 5 view .LVU381
1077 .LVL60:
559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1078 .loc 1 559 12 is_stmt 0 view .LVU382
1079 001c 1846 mov r0, r3
1080 .LVL61:
1081 .L66:
600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1082 .loc 1 600 3 is_stmt 1 view .LVU383
601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1083 .loc 1 601 1 is_stmt 0 view .LVU384
1084 001e 08BD pop {r3, pc}
1085 .LVL62:
1086 .L65:
564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1087 .loc 1 564 5 is_stmt 1 view .LVU385
1088 0020 0268 ldr r2, [r0]
1089 0022 1368 ldr r3, [r2]
1090 0024 23F00E03 bic r3, r3, #14
1091 0028 1360 str r3, [r2]
567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1092 .loc 1 567 5 view .LVU386
1093 002a 0268 ldr r2, [r0]
1094 002c 1368 ldr r3, [r2]
1095 002e 23F00103 bic r3, r3, #1
1096 0032 1360 str r3, [r2]
570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1097 .loc 1 570 5 view .LVU387
570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1098 .loc 1 570 9 is_stmt 0 view .LVU388
1099 0034 826C ldr r2, [r0, #72]
570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1100 .loc 1 570 24 view .LVU389
1101 0036 1368 ldr r3, [r2]
570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1102 .loc 1 570 30 view .LVU390
1103 0038 23F48073 bic r3, r3, #256
1104 003c 1360 str r3, [r2]
573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1105 .loc 1 573 5 is_stmt 1 view .LVU391
573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1106 .loc 1 573 56 is_stmt 0 view .LVU392
1107 003e 436C ldr r3, [r0, #68]
573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
ARM GAS /tmp/ccCGP7ew.s page 45
1108 .loc 1 573 71 view .LVU393
1109 0040 03F01F02 and r2, r3, #31
573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1110 .loc 1 573 9 view .LVU394
1111 0044 016C ldr r1, [r0, #64]
573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1112 .loc 1 573 48 view .LVU395
1113 0046 0123 movs r3, #1
1114 0048 9340 lsls r3, r3, r2
573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1115 .loc 1 573 32 view .LVU396
1116 004a 4B60 str r3, [r1, #4]
576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1117 .loc 1 576 5 is_stmt 1 view .LVU397
576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1118 .loc 1 576 9 is_stmt 0 view .LVU398
1119 004c C36C ldr r3, [r0, #76]
576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1120 .loc 1 576 42 view .LVU399
1121 004e 026D ldr r2, [r0, #80]
576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1122 .loc 1 576 36 view .LVU400
1123 0050 5A60 str r2, [r3, #4]
578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1124 .loc 1 578 5 is_stmt 1 view .LVU401
578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1125 .loc 1 578 13 is_stmt 0 view .LVU402
1126 0052 436D ldr r3, [r0, #84]
578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1127 .loc 1 578 8 view .LVU403
1128 0054 33B1 cbz r3, .L67
582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1129 .loc 1 582 7 is_stmt 1 view .LVU404
582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1130 .loc 1 582 29 is_stmt 0 view .LVU405
1131 0056 1A68 ldr r2, [r3]
582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1132 .loc 1 582 36 view .LVU406
1133 0058 22F48072 bic r2, r2, #256
1134 005c 1A60 str r2, [r3]
585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1135 .loc 1 585 7 is_stmt 1 view .LVU407
585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1136 .loc 1 585 11 is_stmt 0 view .LVU408
1137 005e 836D ldr r3, [r0, #88]
585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1138 .loc 1 585 49 view .LVU409
1139 0060 C26D ldr r2, [r0, #92]
585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1140 .loc 1 585 43 view .LVU410
1141 0062 5A60 str r2, [r3, #4]
1142 .L67:
589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1143 .loc 1 589 5 is_stmt 1 view .LVU411
589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1144 .loc 1 589 17 is_stmt 0 view .LVU412
1145 0064 0123 movs r3, #1
ARM GAS /tmp/ccCGP7ew.s page 46
1146 0066 80F82530 strb r3, [r0, #37]
592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1147 .loc 1 592 5 is_stmt 1 view .LVU413
592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1148 .loc 1 592 5 view .LVU414
1149 006a 0023 movs r3, #0
1150 006c 80F82430 strb r3, [r0, #36]
592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1151 .loc 1 592 5 view .LVU415
595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1152 .loc 1 595 5 view .LVU416
595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1153 .loc 1 595 13 is_stmt 0 view .LVU417
1154 0070 836B ldr r3, [r0, #56]
595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1155 .loc 1 595 8 view .LVU418
1156 0072 13B1 cbz r3, .L68
597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1157 .loc 1 597 7 is_stmt 1 view .LVU419
1158 0074 9847 blx r3
1159 .LVL63:
546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1160 .loc 1 546 21 is_stmt 0 view .LVU420
1161 0076 0020 movs r0, #0
1162 0078 D1E7 b .L66
1163 .LVL64:
1164 .L68:
546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1165 .loc 1 546 21 view .LVU421
1166 007a 0020 movs r0, #0
1167 .LVL65:
546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1168 .loc 1 546 21 view .LVU422
1169 007c CFE7 b .L66
1170 .cfi_endproc
1171 .LFE334:
1173 .section .text.HAL_DMA_PollForTransfer,"ax",%progbits
1174 .align 1
1175 .global HAL_DMA_PollForTransfer
1176 .syntax unified
1177 .thumb
1178 .thumb_func
1180 HAL_DMA_PollForTransfer:
1181 .LVL66:
1182 .LFB335:
613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t temp;
1183 .loc 1 613 1 is_stmt 1 view -0
1184 .cfi_startproc
1185 @ args = 0, pretend = 0, frame = 0
1186 @ frame_needed = 0, uses_anonymous_args = 0
613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t temp;
1187 .loc 1 613 1 is_stmt 0 view .LVU424
1188 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
1189 .LCFI10:
1190 .cfi_def_cfa_offset 24
1191 .cfi_offset 4, -24
1192 .cfi_offset 5, -20
ARM GAS /tmp/ccCGP7ew.s page 47
1193 .cfi_offset 6, -16
1194 .cfi_offset 7, -12
1195 .cfi_offset 8, -8
1196 .cfi_offset 14, -4
1197 0004 0446 mov r4, r0
614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t tickstart;
1198 .loc 1 614 3 is_stmt 1 view .LVU425
615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1199 .loc 1 615 3 view .LVU426
617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1200 .loc 1 617 3 view .LVU427
617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1201 .loc 1 617 33 is_stmt 0 view .LVU428
1202 0006 90F82530 ldrb r3, [r0, #37] @ zero_extendqisi2
1203 000a DBB2 uxtb r3, r3
617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1204 .loc 1 617 6 view .LVU429
1205 000c 022B cmp r3, #2
1206 000e 07D0 beq .L71
620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
1207 .loc 1 620 5 is_stmt 1 view .LVU430
620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** __HAL_UNLOCK(hdma);
1208 .loc 1 620 21 is_stmt 0 view .LVU431
1209 0010 0423 movs r3, #4
1210 0012 C363 str r3, [r0, #60]
621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR;
1211 .loc 1 621 5 is_stmt 1 view .LVU432
621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR;
1212 .loc 1 621 5 view .LVU433
1213 0014 0023 movs r3, #0
1214 0016 80F82430 strb r3, [r0, #36]
621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR;
1215 .loc 1 621 5 view .LVU434
622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1216 .loc 1 622 5 view .LVU435
622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1217 .loc 1 622 12 is_stmt 0 view .LVU436
1218 001a 0120 movs r0, #1
1219 .LVL67:
1220 .L72:
733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1221 .loc 1 733 1 view .LVU437
1222 001c BDE8F081 pop {r4, r5, r6, r7, r8, pc}
1223 .LVL68:
1224 .L71:
733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1225 .loc 1 733 1 view .LVU438
1226 0020 0F46 mov r7, r1
1227 0022 1546 mov r5, r2
626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1228 .loc 1 626 3 is_stmt 1 view .LVU439
626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1229 .loc 1 626 18 is_stmt 0 view .LVU440
1230 0024 0368 ldr r3, [r0]
626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1231 .loc 1 626 28 view .LVU441
1232 0026 1B68 ldr r3, [r3]
ARM GAS /tmp/ccCGP7ew.s page 48
626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1233 .loc 1 626 6 view .LVU442
1234 0028 13F0200F tst r3, #32
1235 002c 2BD1 bne .L86
633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1236 .loc 1 633 3 is_stmt 1 view .LVU443
633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1237 .loc 1 633 6 is_stmt 0 view .LVU444
1238 002e 79BB cbnz r1, .L74
637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1239 .loc 1 637 5 is_stmt 1 view .LVU445
637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1240 .loc 1 637 43 is_stmt 0 view .LVU446
1241 0030 436C ldr r3, [r0, #68]
637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1242 .loc 1 637 58 view .LVU447
1243 0032 03F01F03 and r3, r3, #31
637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1244 .loc 1 637 10 view .LVU448
1245 0036 0226 movs r6, #2
1246 0038 9E40 lsls r6, r6, r3
1247 .LVL69:
1248 .L75:
646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1249 .loc 1 646 3 is_stmt 1 view .LVU449
646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1250 .loc 1 646 15 is_stmt 0 view .LVU450
1251 003a FFF7FEFF bl HAL_GetTick
1252 .LVL70:
646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1253 .loc 1 646 15 view .LVU451
1254 003e 8046 mov r8, r0
1255 .LVL71:
648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1256 .loc 1 648 3 is_stmt 1 view .LVU452
1257 .L78:
648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1258 .loc 1 648 13 view .LVU453
648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1259 .loc 1 648 21 is_stmt 0 view .LVU454
1260 0040 226C ldr r2, [r4, #64]
648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1261 .loc 1 648 37 view .LVU455
1262 0042 1368 ldr r3, [r2]
648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1263 .loc 1 648 13 view .LVU456
1264 0044 3342 tst r3, r6
1265 0046 34D1 bne .L87
650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1266 .loc 1 650 5 is_stmt 1 view .LVU457
650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1267 .loc 1 650 37 is_stmt 0 view .LVU458
1268 0048 1168 ldr r1, [r2]
650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1269 .loc 1 650 77 view .LVU459
1270 004a 636C ldr r3, [r4, #68]
650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
ARM GAS /tmp/ccCGP7ew.s page 49
1271 .loc 1 650 92 view .LVU460
1272 004c 03F01F03 and r3, r3, #31
650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1273 .loc 1 650 69 view .LVU461
1274 0050 4FF0080C mov ip, #8
1275 0054 0CFA03FC lsl ip, ip, r3
650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1276 .loc 1 650 8 view .LVU462
1277 0058 11EA0C0F tst r1, ip
1278 005c 1ED1 bne .L88
669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1279 .loc 1 669 5 is_stmt 1 view .LVU463
669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1280 .loc 1 669 8 is_stmt 0 view .LVU464
1281 005e B5F1FF3F cmp r5, #-1
1282 0062 EDD0 beq .L78
671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1283 .loc 1 671 7 is_stmt 1 view .LVU465
671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1284 .loc 1 671 13 is_stmt 0 view .LVU466
1285 0064 FFF7FEFF bl HAL_GetTick
1286 .LVL72:
671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1287 .loc 1 671 27 view .LVU467
1288 0068 A0EB0800 sub r0, r0, r8
671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1289 .loc 1 671 10 view .LVU468
1290 006c A842 cmp r0, r5
1291 006e 01D8 bhi .L79
671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1292 .loc 1 671 51 discriminator 1 view .LVU469
1293 0070 002D cmp r5, #0
1294 0072 E5D1 bne .L78
1295 .L79:
674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1296 .loc 1 674 9 is_stmt 1 view .LVU470
674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1297 .loc 1 674 25 is_stmt 0 view .LVU471
1298 0074 2023 movs r3, #32
1299 0076 E363 str r3, [r4, #60]
677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1300 .loc 1 677 9 is_stmt 1 view .LVU472
677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1301 .loc 1 677 21 is_stmt 0 view .LVU473
1302 0078 0120 movs r0, #1
1303 007a 84F82500 strb r0, [r4, #37]
680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1304 .loc 1 680 9 is_stmt 1 view .LVU474
680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1305 .loc 1 680 9 view .LVU475
1306 007e 0023 movs r3, #0
1307 0080 84F82430 strb r3, [r4, #36]
680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1308 .loc 1 680 9 view .LVU476
682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1309 .loc 1 682 9 view .LVU477
682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
ARM GAS /tmp/ccCGP7ew.s page 50
1310 .loc 1 682 16 is_stmt 0 view .LVU478
1311 0084 CAE7 b .L72
1312 .LVL73:
1313 .L86:
628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR;
1314 .loc 1 628 5 is_stmt 1 view .LVU479
628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return HAL_ERROR;
1315 .loc 1 628 21 is_stmt 0 view .LVU480
1316 0086 4FF48073 mov r3, #256
1317 008a C363 str r3, [r0, #60]
629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1318 .loc 1 629 5 is_stmt 1 view .LVU481
629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1319 .loc 1 629 12 is_stmt 0 view .LVU482
1320 008c 0120 movs r0, #1
1321 .LVL74:
629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1322 .loc 1 629 12 view .LVU483
1323 008e C5E7 b .L72
1324 .LVL75:
1325 .L74:
642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1326 .loc 1 642 5 is_stmt 1 view .LVU484
642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1327 .loc 1 642 43 is_stmt 0 view .LVU485
1328 0090 436C ldr r3, [r0, #68]
642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1329 .loc 1 642 58 view .LVU486
1330 0092 03F01F03 and r3, r3, #31
642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1331 .loc 1 642 10 view .LVU487
1332 0096 0426 movs r6, #4
1333 0098 9E40 lsls r6, r6, r3
1334 .LVL76:
642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1335 .loc 1 642 10 view .LVU488
1336 009a CEE7 b .L75
1337 .LVL77:
1338 .L88:
655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1339 .loc 1 655 7 is_stmt 1 view .LVU489
655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1340 .loc 1 655 60 is_stmt 0 view .LVU490
1341 009c 0120 movs r0, #1
1342 009e 00FA03F3 lsl r3, r0, r3
655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1343 .loc 1 655 34 view .LVU491
1344 00a2 5360 str r3, [r2, #4]
658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1345 .loc 1 658 7 is_stmt 1 view .LVU492
658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1346 .loc 1 658 23 is_stmt 0 view .LVU493
1347 00a4 E063 str r0, [r4, #60]
661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1348 .loc 1 661 7 is_stmt 1 view .LVU494
661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1349 .loc 1 661 19 is_stmt 0 view .LVU495
ARM GAS /tmp/ccCGP7ew.s page 51
1350 00a6 84F82500 strb r0, [r4, #37]
664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1351 .loc 1 664 7 is_stmt 1 view .LVU496
664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1352 .loc 1 664 7 view .LVU497
1353 00aa 0023 movs r3, #0
1354 00ac 84F82430 strb r3, [r4, #36]
664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1355 .loc 1 664 7 view .LVU498
666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1356 .loc 1 666 7 view .LVU499
666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1357 .loc 1 666 14 is_stmt 0 view .LVU500
1358 00b0 B4E7 b .L72
1359 .L87:
688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1360 .loc 1 688 3 is_stmt 1 view .LVU501
688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1361 .loc 1 688 11 is_stmt 0 view .LVU502
1362 00b2 636D ldr r3, [r4, #84]
688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1363 .loc 1 688 6 view .LVU503
1364 00b4 7BB1 cbz r3, .L81
691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1365 .loc 1 691 5 is_stmt 1 view .LVU504
691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1366 .loc 1 691 14 is_stmt 0 view .LVU505
1367 00b6 A26D ldr r2, [r4, #88]
691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1368 .loc 1 691 38 view .LVU506
1369 00b8 1168 ldr r1, [r2]
691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1370 .loc 1 691 51 view .LVU507
1371 00ba E26D ldr r2, [r4, #92]
691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1372 .loc 1 691 8 view .LVU508
1373 00bc 1142 tst r1, r2
1374 00be 0AD0 beq .L81
694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1375 .loc 1 694 7 is_stmt 1 view .LVU509
694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1376 .loc 1 694 29 is_stmt 0 view .LVU510
1377 00c0 1A68 ldr r2, [r3]
694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1378 .loc 1 694 36 view .LVU511
1379 00c2 42F48072 orr r2, r2, #256
1380 00c6 1A60 str r2, [r3]
697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1381 .loc 1 697 7 is_stmt 1 view .LVU512
697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1382 .loc 1 697 11 is_stmt 0 view .LVU513
1383 00c8 A36D ldr r3, [r4, #88]
697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1384 .loc 1 697 49 view .LVU514
1385 00ca E26D ldr r2, [r4, #92]
697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1386 .loc 1 697 43 view .LVU515
ARM GAS /tmp/ccCGP7ew.s page 52
1387 00cc 5A60 str r2, [r3, #4]
700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1388 .loc 1 700 7 is_stmt 1 view .LVU516
700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1389 .loc 1 700 11 is_stmt 0 view .LVU517
1390 00ce E36B ldr r3, [r4, #60]
700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1391 .loc 1 700 23 view .LVU518
1392 00d0 43F48063 orr r3, r3, #1024
1393 00d4 E363 str r3, [r4, #60]
1394 .L81:
705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1395 .loc 1 705 3 is_stmt 1 view .LVU519
705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1396 .loc 1 705 12 is_stmt 0 view .LVU520
1397 00d6 E36C ldr r3, [r4, #76]
705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1398 .loc 1 705 33 view .LVU521
1399 00d8 1968 ldr r1, [r3]
705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1400 .loc 1 705 45 view .LVU522
1401 00da 226D ldr r2, [r4, #80]
705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1402 .loc 1 705 6 view .LVU523
1403 00dc 1142 tst r1, r2
1404 00de 04D0 beq .L82
708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1405 .loc 1 708 5 is_stmt 1 view .LVU524
708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1406 .loc 1 708 36 is_stmt 0 view .LVU525
1407 00e0 5A60 str r2, [r3, #4]
711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1408 .loc 1 711 5 is_stmt 1 view .LVU526
711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1409 .loc 1 711 9 is_stmt 0 view .LVU527
1410 00e2 E36B ldr r3, [r4, #60]
711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1411 .loc 1 711 21 view .LVU528
1412 00e4 43F40073 orr r3, r3, #512
1413 00e8 E363 str r3, [r4, #60]
1414 .L82:
714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1415 .loc 1 714 3 is_stmt 1 view .LVU529
714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1416 .loc 1 714 6 is_stmt 0 view .LVU530
1417 00ea 6FB9 cbnz r7, .L83
717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1418 .loc 1 717 5 is_stmt 1 view .LVU531
717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1419 .loc 1 717 66 is_stmt 0 view .LVU532
1420 00ec 636C ldr r3, [r4, #68]
717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1421 .loc 1 717 81 view .LVU533
1422 00ee 03F01F02 and r2, r3, #31
717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1423 .loc 1 717 9 view .LVU534
1424 00f2 216C ldr r1, [r4, #64]
ARM GAS /tmp/ccCGP7ew.s page 53
717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1425 .loc 1 717 58 view .LVU535
1426 00f4 0223 movs r3, #2
1427 00f6 9340 lsls r3, r3, r2
717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1428 .loc 1 717 32 view .LVU536
1429 00f8 4B60 str r3, [r1, #4]
721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1430 .loc 1 721 5 is_stmt 1 view .LVU537
721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1431 .loc 1 721 17 is_stmt 0 view .LVU538
1432 00fa 0123 movs r3, #1
1433 00fc 84F82530 strb r3, [r4, #37]
1434 .L84:
730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1435 .loc 1 730 3 is_stmt 1 view .LVU539
730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1436 .loc 1 730 3 view .LVU540
1437 0100 0020 movs r0, #0
1438 0102 84F82400 strb r0, [r4, #36]
730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1439 .loc 1 730 3 view .LVU541
732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1440 .loc 1 732 3 view .LVU542
732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1441 .loc 1 732 10 is_stmt 0 view .LVU543
1442 0106 89E7 b .L72
1443 .L83:
726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1444 .loc 1 726 5 is_stmt 1 view .LVU544
726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1445 .loc 1 726 66 is_stmt 0 view .LVU545
1446 0108 636C ldr r3, [r4, #68]
726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1447 .loc 1 726 81 view .LVU546
1448 010a 03F01F02 and r2, r3, #31
726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1449 .loc 1 726 9 view .LVU547
1450 010e 216C ldr r1, [r4, #64]
726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1451 .loc 1 726 58 view .LVU548
1452 0110 0423 movs r3, #4
1453 0112 9340 lsls r3, r3, r2
726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1454 .loc 1 726 32 view .LVU549
1455 0114 4B60 str r3, [r1, #4]
1456 0116 F3E7 b .L84
1457 .cfi_endproc
1458 .LFE335:
1460 .section .text.HAL_DMA_IRQHandler,"ax",%progbits
1461 .align 1
1462 .global HAL_DMA_IRQHandler
1463 .syntax unified
1464 .thumb
1465 .thumb_func
1467 HAL_DMA_IRQHandler:
1468 .LVL78:
ARM GAS /tmp/ccCGP7ew.s page 54
1469 .LFB336:
742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR;
1470 .loc 1 742 1 is_stmt 1 view -0
1471 .cfi_startproc
1472 @ args = 0, pretend = 0, frame = 0
1473 @ frame_needed = 0, uses_anonymous_args = 0
742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR;
1474 .loc 1 742 1 is_stmt 0 view .LVU551
1475 0000 38B5 push {r3, r4, r5, lr}
1476 .LCFI11:
1477 .cfi_def_cfa_offset 16
1478 .cfi_offset 3, -16
1479 .cfi_offset 4, -12
1480 .cfi_offset 5, -8
1481 .cfi_offset 14, -4
743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
1482 .loc 1 743 3 is_stmt 1 view .LVU552
743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
1483 .loc 1 743 26 is_stmt 0 view .LVU553
1484 0002 036C ldr r3, [r0, #64]
743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
1485 .loc 1 743 12 view .LVU554
1486 0004 1968 ldr r1, [r3]
1487 .LVL79:
744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1488 .loc 1 744 3 is_stmt 1 view .LVU555
744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1489 .loc 1 744 28 is_stmt 0 view .LVU556
1490 0006 0468 ldr r4, [r0]
744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1491 .loc 1 744 12 view .LVU557
1492 0008 2568 ldr r5, [r4]
1493 .LVL80:
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1494 .loc 1 747 3 is_stmt 1 view .LVU558
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1495 .loc 1 747 57 is_stmt 0 view .LVU559
1496 000a 436C ldr r3, [r0, #68]
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1497 .loc 1 747 72 view .LVU560
1498 000c 03F01F03 and r3, r3, #31
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1499 .loc 1 747 49 view .LVU561
1500 0010 0422 movs r2, #4
1501 0012 9A40 lsls r2, r2, r3
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1502 .loc 1 747 6 view .LVU562
1503 0014 0A42 tst r2, r1
1504 0016 15D0 beq .L90
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1505 .loc 1 747 84 discriminator 1 view .LVU563
1506 0018 15F0040F tst r5, #4
1507 001c 12D0 beq .L90
750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1508 .loc 1 750 5 is_stmt 1 view .LVU564
750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1509 .loc 1 750 24 is_stmt 0 view .LVU565
ARM GAS /tmp/ccCGP7ew.s page 55
1510 001e 2368 ldr r3, [r4]
750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1511 .loc 1 750 8 view .LVU566
1512 0020 13F0200F tst r3, #32
1513 0024 03D1 bne .L91
753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1514 .loc 1 753 7 is_stmt 1 view .LVU567
1515 0026 2368 ldr r3, [r4]
1516 0028 23F00403 bic r3, r3, #4
1517 002c 2360 str r3, [r4]
1518 .L91:
756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1519 .loc 1 756 5 view .LVU568
756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1520 .loc 1 756 67 is_stmt 0 view .LVU569
1521 002e 436C ldr r3, [r0, #68]
756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1522 .loc 1 756 82 view .LVU570
1523 0030 03F01F02 and r2, r3, #31
756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1524 .loc 1 756 9 view .LVU571
1525 0034 016C ldr r1, [r0, #64]
1526 .LVL81:
756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1527 .loc 1 756 59 view .LVU572
1528 0036 0423 movs r3, #4
1529 0038 9340 lsls r3, r3, r2
756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1530 .loc 1 756 32 view .LVU573
1531 003a 4B60 str r3, [r1, #4]
761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1532 .loc 1 761 5 is_stmt 1 view .LVU574
761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1533 .loc 1 761 13 is_stmt 0 view .LVU575
1534 003c 036B ldr r3, [r0, #48]
761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1535 .loc 1 761 8 view .LVU576
1536 003e 03B1 cbz r3, .L89
764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1537 .loc 1 764 7 is_stmt 1 view .LVU577
1538 0040 9847 blx r3
1539 .LVL82:
1540 .L89:
823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1541 .loc 1 823 1 is_stmt 0 view .LVU578
1542 0042 38BD pop {r3, r4, r5, pc}
1543 .LVL83:
1544 .L90:
768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** && (0U != (source_it & DMA_IT_TC)))
1545 .loc 1 768 8 is_stmt 1 view .LVU579
768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** && (0U != (source_it & DMA_IT_TC)))
1546 .loc 1 768 54 is_stmt 0 view .LVU580
1547 0044 0222 movs r2, #2
1548 0046 9A40 lsls r2, r2, r3
768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** && (0U != (source_it & DMA_IT_TC)))
1549 .loc 1 768 11 view .LVU581
1550 0048 0A42 tst r2, r1
ARM GAS /tmp/ccCGP7ew.s page 56
1551 004a 1CD0 beq .L93
769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1552 .loc 1 769 12 view .LVU582
1553 004c 15F0020F tst r5, #2
1554 0050 19D0 beq .L93
771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1555 .loc 1 771 5 is_stmt 1 view .LVU583
771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1556 .loc 1 771 24 is_stmt 0 view .LVU584
1557 0052 2368 ldr r3, [r4]
771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1558 .loc 1 771 8 view .LVU585
1559 0054 13F0200F tst r3, #32
1560 0058 06D1 bne .L94
774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1561 .loc 1 774 7 is_stmt 1 view .LVU586
1562 005a 2368 ldr r3, [r4]
1563 005c 23F00A03 bic r3, r3, #10
1564 0060 2360 str r3, [r4]
777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1565 .loc 1 777 7 view .LVU587
777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1566 .loc 1 777 19 is_stmt 0 view .LVU588
1567 0062 0123 movs r3, #1
1568 0064 80F82530 strb r3, [r0, #37]
1569 .L94:
780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1570 .loc 1 780 5 is_stmt 1 view .LVU589
780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1571 .loc 1 780 67 is_stmt 0 view .LVU590
1572 0068 436C ldr r3, [r0, #68]
780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1573 .loc 1 780 82 view .LVU591
1574 006a 03F01F02 and r2, r3, #31
780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1575 .loc 1 780 9 view .LVU592
1576 006e 016C ldr r1, [r0, #64]
1577 .LVL84:
780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1578 .loc 1 780 59 view .LVU593
1579 0070 0223 movs r3, #2
1580 0072 9340 lsls r3, r3, r2
780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1581 .loc 1 780 32 view .LVU594
1582 0074 4B60 str r3, [r1, #4]
783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1583 .loc 1 783 5 is_stmt 1 view .LVU595
783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1584 .loc 1 783 5 view .LVU596
1585 0076 0023 movs r3, #0
1586 0078 80F82430 strb r3, [r0, #36]
783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1587 .loc 1 783 5 view .LVU597
785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1588 .loc 1 785 5 view .LVU598
785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1589 .loc 1 785 13 is_stmt 0 view .LVU599
ARM GAS /tmp/ccCGP7ew.s page 57
1590 007c C36A ldr r3, [r0, #44]
785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1591 .loc 1 785 8 view .LVU600
1592 007e 002B cmp r3, #0
1593 0080 DFD0 beq .L89
788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1594 .loc 1 788 7 is_stmt 1 view .LVU601
1595 0082 9847 blx r3
1596 .LVL85:
788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1597 .loc 1 788 7 is_stmt 0 view .LVU602
1598 0084 DDE7 b .L89
1599 .LVL86:
1600 .L93:
792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** && (0U != (source_it & DMA_IT_TE)))
1601 .loc 1 792 8 is_stmt 1 view .LVU603
792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** && (0U != (source_it & DMA_IT_TE)))
1602 .loc 1 792 54 is_stmt 0 view .LVU604
1603 0086 0822 movs r2, #8
1604 0088 02FA03F3 lsl r3, r2, r3
792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** && (0U != (source_it & DMA_IT_TE)))
1605 .loc 1 792 11 view .LVU605
1606 008c 0B42 tst r3, r1
1607 008e D8D0 beq .L89
793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1608 .loc 1 793 12 view .LVU606
1609 0090 15F0080F tst r5, #8
1610 0094 D5D0 beq .L89
798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1611 .loc 1 798 5 is_stmt 1 view .LVU607
1612 0096 2368 ldr r3, [r4]
1613 0098 23F00E03 bic r3, r3, #14
1614 009c 2360 str r3, [r4]
801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1615 .loc 1 801 5 view .LVU608
801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1616 .loc 1 801 66 is_stmt 0 view .LVU609
1617 009e 436C ldr r3, [r0, #68]
801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1618 .loc 1 801 81 view .LVU610
1619 00a0 03F01F03 and r3, r3, #31
801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1620 .loc 1 801 9 view .LVU611
1621 00a4 016C ldr r1, [r0, #64]
1622 .LVL87:
801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1623 .loc 1 801 58 view .LVU612
1624 00a6 0122 movs r2, #1
1625 00a8 02FA03F3 lsl r3, r2, r3
801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1626 .loc 1 801 32 view .LVU613
1627 00ac 4B60 str r3, [r1, #4]
804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1628 .loc 1 804 5 is_stmt 1 view .LVU614
804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1629 .loc 1 804 21 is_stmt 0 view .LVU615
1630 00ae C263 str r2, [r0, #60]
ARM GAS /tmp/ccCGP7ew.s page 58
807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1631 .loc 1 807 5 is_stmt 1 view .LVU616
807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1632 .loc 1 807 17 is_stmt 0 view .LVU617
1633 00b0 80F82520 strb r2, [r0, #37]
810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1634 .loc 1 810 5 is_stmt 1 view .LVU618
810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1635 .loc 1 810 5 view .LVU619
1636 00b4 0023 movs r3, #0
1637 00b6 80F82430 strb r3, [r0, #36]
810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1638 .loc 1 810 5 view .LVU620
812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1639 .loc 1 812 5 view .LVU621
812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1640 .loc 1 812 13 is_stmt 0 view .LVU622
1641 00ba 436B ldr r3, [r0, #52]
812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1642 .loc 1 812 8 view .LVU623
1643 00bc 002B cmp r3, #0
1644 00be C0D0 beq .L89
815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1645 .loc 1 815 7 is_stmt 1 view .LVU624
1646 00c0 9847 blx r3
1647 .LVL88:
821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return;
1648 .loc 1 821 3 view .LVU625
822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1649 .loc 1 822 3 view .LVU626
1650 00c2 BEE7 b .L89
1651 .cfi_endproc
1652 .LFE336:
1654 .section .text.HAL_DMA_RegisterCallback,"ax",%progbits
1655 .align 1
1656 .global HAL_DMA_RegisterCallback
1657 .syntax unified
1658 .thumb
1659 .thumb_func
1661 HAL_DMA_RegisterCallback:
1662 .LVL89:
1663 .LFB337:
836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
1664 .loc 1 836 1 view -0
1665 .cfi_startproc
1666 @ args = 0, pretend = 0, frame = 0
1667 @ frame_needed = 0, uses_anonymous_args = 0
1668 @ link register save eliminated.
836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
1669 .loc 1 836 1 is_stmt 0 view .LVU628
1670 0000 0346 mov r3, r0
837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1671 .loc 1 837 3 is_stmt 1 view .LVU629
1672 .LVL90:
840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1673 .loc 1 840 3 view .LVU630
840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
ARM GAS /tmp/ccCGP7ew.s page 59
1674 .loc 1 840 3 view .LVU631
1675 0002 90F82400 ldrb r0, [r0, #36] @ zero_extendqisi2
1676 .LVL91:
840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1677 .loc 1 840 3 is_stmt 0 view .LVU632
1678 0006 0128 cmp r0, #1
1679 0008 1ED0 beq .L104
840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1680 .loc 1 840 3 is_stmt 1 discriminator 2 view .LVU633
1681 000a 0120 movs r0, #1
1682 000c 83F82400 strb r0, [r3, #36]
840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1683 .loc 1 840 3 discriminator 2 view .LVU634
842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1684 .loc 1 842 3 discriminator 2 view .LVU635
842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1685 .loc 1 842 34 is_stmt 0 discriminator 2 view .LVU636
1686 0010 93F82500 ldrb r0, [r3, #37] @ zero_extendqisi2
1687 0014 C0B2 uxtb r0, r0
842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1688 .loc 1 842 6 discriminator 2 view .LVU637
1689 0016 0128 cmp r0, #1
1690 0018 04D0 beq .L107
869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1691 .loc 1 869 12 view .LVU638
1692 001a 0120 movs r0, #1
1693 .L98:
1694 .LVL92:
873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1695 .loc 1 873 3 is_stmt 1 view .LVU639
873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1696 .loc 1 873 3 view .LVU640
1697 001c 0022 movs r2, #0
1698 .LVL93:
873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1699 .loc 1 873 3 is_stmt 0 view .LVU641
1700 001e 83F82420 strb r2, [r3, #36]
873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1701 .loc 1 873 3 is_stmt 1 view .LVU642
875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1702 .loc 1 875 3 view .LVU643
875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1703 .loc 1 875 10 is_stmt 0 view .LVU644
1704 0022 7047 bx lr
1705 .LVL94:
1706 .L107:
844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1707 .loc 1 844 5 is_stmt 1 view .LVU645
1708 0024 0329 cmp r1, #3
1709 0026 F9D8 bhi .L98
1710 0028 DFE801F0 tbb [pc, r1]
1711 .L100:
1712 002c 02 .byte (.L103-.L100)/2
1713 002d 05 .byte (.L102-.L100)/2
1714 002e 08 .byte (.L101-.L100)/2
1715 002f 0B .byte (.L99-.L100)/2
1716 .p2align 1
ARM GAS /tmp/ccCGP7ew.s page 60
1717 .L103:
847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1718 .loc 1 847 9 view .LVU646
847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1719 .loc 1 847 32 is_stmt 0 view .LVU647
1720 0030 DA62 str r2, [r3, #44]
848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1721 .loc 1 848 9 is_stmt 1 view .LVU648
837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1722 .loc 1 837 21 is_stmt 0 view .LVU649
1723 0032 0846 mov r0, r1
848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1724 .loc 1 848 9 view .LVU650
1725 0034 F2E7 b .L98
1726 .L102:
851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1727 .loc 1 851 9 is_stmt 1 view .LVU651
851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1728 .loc 1 851 36 is_stmt 0 view .LVU652
1729 0036 1A63 str r2, [r3, #48]
852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1730 .loc 1 852 9 is_stmt 1 view .LVU653
837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1731 .loc 1 837 21 is_stmt 0 view .LVU654
1732 0038 0020 movs r0, #0
852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1733 .loc 1 852 9 view .LVU655
1734 003a EFE7 b .L98
1735 .L101:
855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1736 .loc 1 855 9 is_stmt 1 view .LVU656
855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1737 .loc 1 855 33 is_stmt 0 view .LVU657
1738 003c 5A63 str r2, [r3, #52]
856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1739 .loc 1 856 9 is_stmt 1 view .LVU658
837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1740 .loc 1 837 21 is_stmt 0 view .LVU659
1741 003e 0020 movs r0, #0
856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1742 .loc 1 856 9 view .LVU660
1743 0040 ECE7 b .L98
1744 .L99:
859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1745 .loc 1 859 9 is_stmt 1 view .LVU661
859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1746 .loc 1 859 33 is_stmt 0 view .LVU662
1747 0042 9A63 str r2, [r3, #56]
860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1748 .loc 1 860 9 is_stmt 1 view .LVU663
837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1749 .loc 1 837 21 is_stmt 0 view .LVU664
1750 0044 0020 movs r0, #0
860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1751 .loc 1 860 9 view .LVU665
1752 0046 E9E7 b .L98
1753 .L104:
ARM GAS /tmp/ccCGP7ew.s page 61
840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1754 .loc 1 840 3 view .LVU666
1755 0048 0220 movs r0, #2
876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1756 .loc 1 876 1 view .LVU667
1757 004a 7047 bx lr
1758 .cfi_endproc
1759 .LFE337:
1761 .section .text.HAL_DMA_UnRegisterCallback,"ax",%progbits
1762 .align 1
1763 .global HAL_DMA_UnRegisterCallback
1764 .syntax unified
1765 .thumb
1766 .thumb_func
1768 HAL_DMA_UnRegisterCallback:
1769 .LVL95:
1770 .LFB338:
887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
1771 .loc 1 887 1 is_stmt 1 view -0
1772 .cfi_startproc
1773 @ args = 0, pretend = 0, frame = 0
1774 @ frame_needed = 0, uses_anonymous_args = 0
1775 @ link register save eliminated.
887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
1776 .loc 1 887 1 is_stmt 0 view .LVU669
1777 0000 0346 mov r3, r0
888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1778 .loc 1 888 3 is_stmt 1 view .LVU670
1779 .LVL96:
891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1780 .loc 1 891 3 view .LVU671
891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1781 .loc 1 891 3 view .LVU672
1782 0002 90F82420 ldrb r2, [r0, #36] @ zero_extendqisi2
1783 0006 012A cmp r2, #1
1784 0008 26D0 beq .L117
891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1785 .loc 1 891 3 discriminator 2 view .LVU673
1786 000a 0122 movs r2, #1
1787 000c 80F82420 strb r2, [r0, #36]
891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1788 .loc 1 891 3 discriminator 2 view .LVU674
893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1789 .loc 1 893 3 discriminator 2 view .LVU675
893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1790 .loc 1 893 34 is_stmt 0 discriminator 2 view .LVU676
1791 0010 90F82500 ldrb r0, [r0, #37] @ zero_extendqisi2
1792 .LVL97:
893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1793 .loc 1 893 34 discriminator 2 view .LVU677
1794 0014 C0B2 uxtb r0, r0
893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1795 .loc 1 893 6 discriminator 2 view .LVU678
1796 0016 9042 cmp r0, r2
1797 0018 04D0 beq .L120
927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1798 .loc 1 927 12 view .LVU679
ARM GAS /tmp/ccCGP7ew.s page 62
1799 001a 0120 movs r0, #1
1800 .L110:
1801 .LVL98:
931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1802 .loc 1 931 3 is_stmt 1 view .LVU680
931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1803 .loc 1 931 3 view .LVU681
1804 001c 0022 movs r2, #0
1805 001e 83F82420 strb r2, [r3, #36]
931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1806 .loc 1 931 3 view .LVU682
933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1807 .loc 1 933 3 view .LVU683
933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1808 .loc 1 933 10 is_stmt 0 view .LVU684
1809 0022 7047 bx lr
1810 .LVL99:
1811 .L120:
895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** {
1812 .loc 1 895 5 is_stmt 1 view .LVU685
1813 0024 0429 cmp r1, #4
1814 0026 F9D8 bhi .L110
1815 0028 DFE801F0 tbb [pc, r1]
1816 .L112:
1817 002c 03 .byte (.L116-.L112)/2
1818 002d 07 .byte (.L115-.L112)/2
1819 002e 0A .byte (.L114-.L112)/2
1820 002f 0D .byte (.L113-.L112)/2
1821 0030 10 .byte (.L111-.L112)/2
1822 0031 00 .p2align 1
1823 .L116:
898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1824 .loc 1 898 9 view .LVU686
898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1825 .loc 1 898 32 is_stmt 0 view .LVU687
1826 0032 0022 movs r2, #0
1827 0034 DA62 str r2, [r3, #44]
899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1828 .loc 1 899 9 is_stmt 1 view .LVU688
888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1829 .loc 1 888 21 is_stmt 0 view .LVU689
1830 0036 0846 mov r0, r1
899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1831 .loc 1 899 9 view .LVU690
1832 0038 F0E7 b .L110
1833 .L115:
902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1834 .loc 1 902 9 is_stmt 1 view .LVU691
902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1835 .loc 1 902 36 is_stmt 0 view .LVU692
1836 003a 0020 movs r0, #0
1837 003c 1863 str r0, [r3, #48]
903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1838 .loc 1 903 9 is_stmt 1 view .LVU693
1839 003e EDE7 b .L110
1840 .L114:
906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
ARM GAS /tmp/ccCGP7ew.s page 63
1841 .loc 1 906 9 view .LVU694
906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1842 .loc 1 906 33 is_stmt 0 view .LVU695
1843 0040 0020 movs r0, #0
1844 0042 5863 str r0, [r3, #52]
907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1845 .loc 1 907 9 is_stmt 1 view .LVU696
1846 0044 EAE7 b .L110
1847 .L113:
910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1848 .loc 1 910 9 view .LVU697
910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1849 .loc 1 910 33 is_stmt 0 view .LVU698
1850 0046 0020 movs r0, #0
1851 0048 9863 str r0, [r3, #56]
911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1852 .loc 1 911 9 is_stmt 1 view .LVU699
1853 004a E7E7 b .L110
1854 .L111:
914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
1855 .loc 1 914 9 view .LVU700
914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
1856 .loc 1 914 32 is_stmt 0 view .LVU701
1857 004c 0020 movs r0, #0
1858 004e D862 str r0, [r3, #44]
915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
1859 .loc 1 915 9 is_stmt 1 view .LVU702
915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
1860 .loc 1 915 36 is_stmt 0 view .LVU703
1861 0050 1863 str r0, [r3, #48]
916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
1862 .loc 1 916 9 is_stmt 1 view .LVU704
916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
1863 .loc 1 916 33 is_stmt 0 view .LVU705
1864 0052 5863 str r0, [r3, #52]
917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1865 .loc 1 917 9 is_stmt 1 view .LVU706
917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** break;
1866 .loc 1 917 33 is_stmt 0 view .LVU707
1867 0054 9863 str r0, [r3, #56]
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1868 .loc 1 918 9 is_stmt 1 view .LVU708
1869 0056 E1E7 b .L110
1870 .LVL100:
1871 .L117:
891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1872 .loc 1 891 3 is_stmt 0 view .LVU709
1873 0058 0220 movs r0, #2
1874 .LVL101:
934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1875 .loc 1 934 1 view .LVU710
1876 005a 7047 bx lr
1877 .cfi_endproc
1878 .LFE338:
1880 .section .text.HAL_DMA_GetState,"ax",%progbits
1881 .align 1
1882 .global HAL_DMA_GetState
ARM GAS /tmp/ccCGP7ew.s page 64
1883 .syntax unified
1884 .thumb
1885 .thumb_func
1887 HAL_DMA_GetState:
1888 .LVL102:
1889 .LFB339:
965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** /* Return DMA handle state */
1890 .loc 1 965 1 is_stmt 1 view -0
1891 .cfi_startproc
1892 @ args = 0, pretend = 0, frame = 0
1893 @ frame_needed = 0, uses_anonymous_args = 0
1894 @ link register save eliminated.
967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1895 .loc 1 967 3 view .LVU712
967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1896 .loc 1 967 14 is_stmt 0 view .LVU713
1897 0000 90F82500 ldrb r0, [r0, #37] @ zero_extendqisi2
1898 .LVL103:
968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1899 .loc 1 968 1 view .LVU714
1900 0004 7047 bx lr
1901 .cfi_endproc
1902 .LFE339:
1904 .section .text.HAL_DMA_GetError,"ax",%progbits
1905 .align 1
1906 .global HAL_DMA_GetError
1907 .syntax unified
1908 .thumb
1909 .thumb_func
1911 HAL_DMA_GetError:
1912 .LVL104:
1913 .LFB340:
977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** return hdma->ErrorCode;
1914 .loc 1 977 1 is_stmt 1 view -0
1915 .cfi_startproc
1916 @ args = 0, pretend = 0, frame = 0
1917 @ frame_needed = 0, uses_anonymous_args = 0
1918 @ link register save eliminated.
978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1919 .loc 1 978 3 view .LVU716
978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c **** }
1920 .loc 1 978 14 is_stmt 0 view .LVU717
1921 0000 C06B ldr r0, [r0, #60]
1922 .LVL105:
979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_dma.c ****
1923 .loc 1 979 1 view .LVU718
1924 0002 7047 bx lr
1925 .cfi_endproc
1926 .LFE340:
1928 .text
1929 .Letext0:
1930 .file 2 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g431xx.h"
1931 .file 3 "/usr/lib/gcc/arm-none-eabi/12.2.1/include/stdint.h"
1932 .file 4 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_def.h"
1933 .file 5 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_dma.h"
1934 .file 6 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal.h"
ARM GAS /tmp/ccCGP7ew.s page 65
DEFINED SYMBOLS
*ABS*:00000000 stm32g4xx_hal_dma.c
/tmp/ccCGP7ew.s:21 .text.DMA_SetConfig:00000000 $t
/tmp/ccCGP7ew.s:26 .text.DMA_SetConfig:00000000 DMA_SetConfig
/tmp/ccCGP7ew.s:121 .text.DMA_CalcDMAMUXChannelBaseAndMask:00000000 $t
/tmp/ccCGP7ew.s:126 .text.DMA_CalcDMAMUXChannelBaseAndMask:00000000 DMA_CalcDMAMUXChannelBaseAndMask
/tmp/ccCGP7ew.s:190 .text.DMA_CalcDMAMUXChannelBaseAndMask:00000034 $d
/tmp/ccCGP7ew.s:199 .text.DMA_CalcDMAMUXRequestGenBaseAndMask:00000000 $t
/tmp/ccCGP7ew.s:204 .text.DMA_CalcDMAMUXRequestGenBaseAndMask:00000000 DMA_CalcDMAMUXRequestGenBaseAndMask
/tmp/ccCGP7ew.s:244 .text.DMA_CalcDMAMUXRequestGenBaseAndMask:00000020 $d
/tmp/ccCGP7ew.s:250 .text.HAL_DMA_Init:00000000 $t
/tmp/ccCGP7ew.s:256 .text.HAL_DMA_Init:00000000 HAL_DMA_Init
/tmp/ccCGP7ew.s:474 .text.HAL_DMA_Init:000000c0 $d
/tmp/ccCGP7ew.s:484 .text.HAL_DMA_DeInit:00000000 $t
/tmp/ccCGP7ew.s:490 .text.HAL_DMA_DeInit:00000000 HAL_DMA_DeInit
/tmp/ccCGP7ew.s:672 .text.HAL_DMA_DeInit:000000a0 $d
/tmp/ccCGP7ew.s:682 .text.HAL_DMA_Start:00000000 $t
/tmp/ccCGP7ew.s:688 .text.HAL_DMA_Start:00000000 HAL_DMA_Start
/tmp/ccCGP7ew.s:776 .text.HAL_DMA_Start_IT:00000000 $t
/tmp/ccCGP7ew.s:782 .text.HAL_DMA_Start_IT:00000000 HAL_DMA_Start_IT
/tmp/ccCGP7ew.s:920 .text.HAL_DMA_Abort:00000000 $t
/tmp/ccCGP7ew.s:926 .text.HAL_DMA_Abort:00000000 HAL_DMA_Abort
/tmp/ccCGP7ew.s:1035 .text.HAL_DMA_Abort_IT:00000000 $t
/tmp/ccCGP7ew.s:1041 .text.HAL_DMA_Abort_IT:00000000 HAL_DMA_Abort_IT
/tmp/ccCGP7ew.s:1174 .text.HAL_DMA_PollForTransfer:00000000 $t
/tmp/ccCGP7ew.s:1180 .text.HAL_DMA_PollForTransfer:00000000 HAL_DMA_PollForTransfer
/tmp/ccCGP7ew.s:1461 .text.HAL_DMA_IRQHandler:00000000 $t
/tmp/ccCGP7ew.s:1467 .text.HAL_DMA_IRQHandler:00000000 HAL_DMA_IRQHandler
/tmp/ccCGP7ew.s:1655 .text.HAL_DMA_RegisterCallback:00000000 $t
/tmp/ccCGP7ew.s:1661 .text.HAL_DMA_RegisterCallback:00000000 HAL_DMA_RegisterCallback
/tmp/ccCGP7ew.s:1712 .text.HAL_DMA_RegisterCallback:0000002c $d
/tmp/ccCGP7ew.s:1716 .text.HAL_DMA_RegisterCallback:00000030 $t
/tmp/ccCGP7ew.s:1762 .text.HAL_DMA_UnRegisterCallback:00000000 $t
/tmp/ccCGP7ew.s:1768 .text.HAL_DMA_UnRegisterCallback:00000000 HAL_DMA_UnRegisterCallback
/tmp/ccCGP7ew.s:1817 .text.HAL_DMA_UnRegisterCallback:0000002c $d
/tmp/ccCGP7ew.s:1881 .text.HAL_DMA_GetState:00000000 $t
/tmp/ccCGP7ew.s:1887 .text.HAL_DMA_GetState:00000000 HAL_DMA_GetState
/tmp/ccCGP7ew.s:1905 .text.HAL_DMA_GetError:00000000 $t
/tmp/ccCGP7ew.s:1911 .text.HAL_DMA_GetError:00000000 HAL_DMA_GetError
/tmp/ccCGP7ew.s:1822 .text.HAL_DMA_UnRegisterCallback:00000031 $d
/tmp/ccCGP7ew.s:1822 .text.HAL_DMA_UnRegisterCallback:00000032 $t
UNDEFINED SYMBOLS
HAL_GetTick