mv-bms/build/stm32f3xx_hal_dma.lst
2024-05-09 23:38:13 +03:00

3040 lines
182 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

ARM GAS /tmp/cczKwjqg.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 "stm32f3xx_hal_dma.c"
16 .text
17 .Ltext0:
18 .cfi_sections .debug_frame
19 .file 1 "Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_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 .LFB142:
1:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
2:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ******************************************************************************
3:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @file stm32f3xx_hal_dma.c
4:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @author MCD Application Team
5:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief DMA HAL module driver.
6:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *
7:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * This file provides firmware functions to manage the following
8:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * functionalities of the Direct Memory Access (DMA) peripheral:
9:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * + Initialization and de-initialization functions
10:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * + IO operation functions
11:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * + Peripheral State and errors functions
12:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @verbatim
13:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ==============================================================================
14:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ##### How to use this driver #####
15:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ==============================================================================
16:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
17:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (#) Enable and configure the peripheral to be connected to the DMA Channel
18:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (except for internal SRAM / FLASH memories: no initialization is
19:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** necessary). Please refer to Reference manual for connection between peripherals
20:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** and DMA requests .
21:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
22:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (#) For a given Channel, program the required configuration through the following parameters:
23:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Transfer Direction, Source and Destination data formats,
24:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Circular or Normal mode, Channel Priority level, Source and Destination Increment mode,
25:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** using HAL_DMA_Init() function.
26:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
27:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (#) Use HAL_DMA_GetState() function to return the DMA state and HAL_DMA_GetError() in case of er
28:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** detection.
29:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
30:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (#) Use HAL_DMA_Abort() function to abort the current transfer
ARM GAS /tmp/cczKwjqg.s page 2
31:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
32:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** -@- In Memory-to-Memory transfer mode, Circular mode is not allowed.
33:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *** Polling mode IO operation ***
34:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** =================================
35:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
36:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Use HAL_DMA_Start() to start DMA transfer after the configuration of Source
37:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** address and destination address and the Length of data to be transferred
38:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Use HAL_DMA_PollForTransfer() to poll for the end of current transfer, in this
39:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case a fixed Timeout can be configured by User depending from his application.
40:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
41:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *** Interrupt mode IO operation ***
42:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ===================================
43:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
44:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Configure the DMA interrupt priority using HAL_NVIC_SetPriority()
45:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Enable the DMA IRQ handler using HAL_NVIC_EnableIRQ()
46:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Use HAL_DMA_Start_IT() to start DMA transfer after the configuration of
47:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Source address and destination address and the Length of data to be transferred.
48:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** In this case the DMA interrupt is configured
49:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Use HAL_DMA_Channel_IRQHandler() called under DMA_IRQHandler() Interrupt subroutine
50:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) At the end of data transfer HAL_DMA_IRQHandler() function is executed and user can
51:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** add his own function by customization of function pointer XferCpltCallback and
52:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** XferErrorCallback (i.e a member of DMA handle structure).
53:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
54:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *** DMA HAL driver macros list ***
55:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** =============================================
56:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
57:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Below the list of most used macros in DMA HAL driver.
58:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
59:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
60:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (@) You can refer to the DMA HAL driver header file for more useful macros
61:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
62:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @endverbatim
63:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ******************************************************************************
64:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @attention
65:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *
66:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * Copyright (c) 2016 STMicroelectronics.
67:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * All rights reserved.
68:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *
69:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * This software is licensed under terms that can be found in the LICENSE file in
70:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the root directory of this software component.
71:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
72:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *
73:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ******************************************************************************
74:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
75:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
76:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Includes ------------------------------------------------------------------*/
77:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #include "stm32f3xx_hal.h"
78:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
79:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @addtogroup STM32F3xx_HAL_Driver
80:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
81:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
82:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
83:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA DMA
84:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief DMA HAL module driver
85:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
86:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
87:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
ARM GAS /tmp/cczKwjqg.s page 3
88:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #ifdef HAL_DMA_MODULE_ENABLED
89:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
90:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private typedef -----------------------------------------------------------*/
91:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private define ------------------------------------------------------------*/
92:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private macro -------------------------------------------------------------*/
93:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private variables ---------------------------------------------------------*/
94:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Private function prototypes -----------------------------------------------*/
95:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Private_Functions DMA Private Functions
96:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
97:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
98:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32
99:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** static void DMA_CalcBaseAndBitshift(DMA_HandleTypeDef *hdma);
100:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
101:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @}
102:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
103:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
104:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Exported functions ---------------------------------------------------------*/
105:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
106:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions DMA Exported Functions
107:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
108:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
109:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
110:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group1 Initialization and de-initialization functions
111:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Initialization and de-initialization functions
112:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *
113:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @verbatim
114:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ===============================================================================
115:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ##### Initialization and de-initialization functions #####
116:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ===============================================================================
117:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
118:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** This section provides functions allowing to initialize the DMA Channel source
119:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** and destination addresses, incrementation and data sizes, transfer direction,
120:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** circular/normal mode selection, memory-to-memory mode selection and Channel priority value.
121:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
122:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** The HAL_DMA_Init() function follows the DMA configuration procedures as described in
123:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** reference manual.
124:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
125:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @endverbatim
126:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
127:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
128:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
129:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
130:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Initialize the DMA according to the specified
131:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * parameters in the DMA_InitTypeDef and initialize the associated handle.
132:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains
133:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
134:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
135:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
136:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma)
137:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
138:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t tmp = 0U;
139:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
140:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the DMA handle allocation */
141:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(NULL == hdma)
142:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
143:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
144:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
ARM GAS /tmp/cczKwjqg.s page 4
145:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
146:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the parameters */
147:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance));
148:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction));
149:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc));
150:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc));
151:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment));
152:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment));
153:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode));
154:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority));
155:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
156:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change DMA peripheral state */
157:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
158:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
159:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Get the CR register value */
160:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** tmp = hdma->Instance->CCR;
161:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
162:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear PL, MSIZE, PSIZE, MINC, PINC, CIRC, DIR bits */
163:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** tmp &= ((uint32_t)~(DMA_CCR_PL | DMA_CCR_MSIZE | DMA_CCR_PSIZE | \
164:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \
165:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_CCR_DIR));
166:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
167:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Prepare the DMA Channel configuration */
168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** tmp |= hdma->Init.Direction |
169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
171:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
172:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
173:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Write to DMA Channel CR register */
174:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR = tmp;
175:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
176:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Initialize DmaBaseAddress and ChannelIndex parameters used
177:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** by HAL_DMA_IRQHandler() and HAL_DMA_PollForTransfer() */
178:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_CalcBaseAndBitshift(hdma);
179:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
180:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Initialise the error code */
181:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
182:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
183:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Initialize the DMA state*/
184:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
185:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
186:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Allocate lock resource and initialize it */
187:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Lock = HAL_UNLOCKED;
188:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
189:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_OK;
190:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
191:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
192:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
193:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief DeInitialize the DMA peripheral
194:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
195:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
196:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
197:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
198:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma)
199:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
200:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the DMA handle allocation */
201:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(NULL == hdma)
ARM GAS /tmp/cczKwjqg.s page 5
202:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
203:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
204:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
205:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
206:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the parameters */
207:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance));
208:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
209:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the selected DMA Channelx */
210:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN;
211:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
212:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset DMA Channel control register */
213:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR = 0U;
214:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
215:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset DMA Channel Number of Data to Transfer register */
216:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CNDTR = 0U;
217:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
218:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset DMA Channel peripheral address register */
219:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CPAR = 0U;
220:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
221:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset DMA Channel memory address register */
222:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CMAR = 0U;
223:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
224:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Get DMA Base Address */
225:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_CalcBaseAndBitshift(hdma);
226:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
227:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */
228:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_GL1 << hdma->ChannelIndex;
229:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
230:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clean callbacks */
231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
232:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
233:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
234:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
235:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
236:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset the error code */
237:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
238:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
239:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Reset the DMA state */
240:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_RESET;
241:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
242:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Release Lock */
243:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
244:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
245:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_OK;
246:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
247:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
248:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
249:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @}
250:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
251:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
252:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group2 Input and Output operation functions
253:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief I/O operation functions
254:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *
255:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @verbatim
256:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ===============================================================================
257:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ##### IO operation functions #####
258:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ===============================================================================
ARM GAS /tmp/cczKwjqg.s page 6
259:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..] This section provides functions allowing to:
260:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Configure the source, destination address and data length and Start DMA transfer
261:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Configure the source, destination address and data length and
262:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** Start DMA transfer with interrupt
263:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Abort DMA transfer
264:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Poll for transfer complete
265:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Handle DMA interrupt request
266:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
267:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @endverbatim
268:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
269:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
270:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
271:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
272:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Start the DMA Transfer.
273:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains
274:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
275:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address
276:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address
277:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination
278:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
279:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
280:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress,
281:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
282:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
283:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
284:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the parameters */
285:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength));
286:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
287:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process locked */
288:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_LOCK(hdma);
289:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
290:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
291:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
292:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change DMA peripheral state */
293:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
294:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
295:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
296:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
297:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the peripheral */
298:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN;
299:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
300:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure the source, destination address and the data length */
301:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength);
302:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
303:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Enable the Peripheral */
304:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR |= DMA_CCR_EN;
305:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
306:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
307:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
308:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
309:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
310:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
311:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Remain BUSY */
312:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_BUSY;
313:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
314:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
315:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status;
ARM GAS /tmp/cczKwjqg.s page 7
316:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
317:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
318:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
319:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Start the DMA Transfer with interrupt enabled.
320:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
321:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
322:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address
323:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address
324:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination
325:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
326:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
327:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddres
328:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
329:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
330:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
331:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the parameters */
332:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength));
333:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
334:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process locked */
335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_LOCK(hdma);
336:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
337:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
338:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
339:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change DMA peripheral state */
340:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
341:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
342:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
343:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
344:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the peripheral */
345:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN;
346:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
347:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure the source, destination address and the data length */
348:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength);
349:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
350:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Enable the transfer complete, & transfer error interrupts */
351:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Half transfer interrupt is optional: enable it only if associated callback is available */
352:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(NULL != hdma->XferHalfCpltCallback )
353:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
354:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR |= (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE);
355:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
356:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
357:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
358:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR |= (DMA_IT_TC | DMA_IT_TE);
359:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_IT_HT;
360:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
361:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
362:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Enable the Peripheral */
363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR |= DMA_CCR_EN;
364:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
365:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
366:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
367:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
368:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
369:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
370:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Remain BUSY */
371:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_BUSY;
372:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
ARM GAS /tmp/cczKwjqg.s page 8
373:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
374:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status;
375:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
376:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
377:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
378:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Abort the DMA Transfer.
379:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains
380:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
381:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
382:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
383:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma)
384:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
385:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->State != HAL_DMA_STATE_BUSY)
386:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
387:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* no transfer ongoing */
388:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
389:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
390:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
391:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
392:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
393:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
394:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
395:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
396:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
397:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable DMA IT */
398:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~(DMA_IT_TC | DMA_IT_HT | DMA_IT_TE);
399:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
400:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the channel */
401:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN;
402:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
403:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */
404:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_FLAG_GL1 << hdma->ChannelIndex);
405:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
406:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state*/
407:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
408:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
409:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
410:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
411:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
412:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_OK;
413:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
414:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
415:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
416:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Abort the DMA Transfer in Interrupt mode.
417:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains
418:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
419:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
420:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
421:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma)
422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
423:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
424:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
425:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State)
426:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
427:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* no transfer ongoing */
428:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
429:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
ARM GAS /tmp/cczKwjqg.s page 9
430:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR;
431:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
432:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
433:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
434:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
435:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable DMA IT */
436:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~(DMA_IT_TC | DMA_IT_HT | DMA_IT_TE);
437:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
438:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the channel */
439:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_CCR_EN;
440:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
441:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */
442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_GL1 << hdma->ChannelIndex;
443:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
444:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */
445:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
446:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
447:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
448:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
449:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
450:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Call User Abort callback */
451:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->XferAbortCallback != NULL)
452:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
453:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback(hdma);
454:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
455:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
456:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status;
457:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
458:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
459:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
460:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Polling for transfer complete.
461:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
462:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
463:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param CompleteLevel Specifies the DMA level complete.
464:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param Timeout Timeout duration.
465:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
466:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
467:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, uint32_t CompleteLevel, uint32_t
468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
469:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t temp;
470:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t tickstart = 0U;
471:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
472:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State)
473:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
474:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* no transfer ongoing */
475:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
476:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
477:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
478:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
479:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
480:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Polling mode not supported in circular mode */
481:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if (RESET != (hdma->Instance->CCR & DMA_CCR_CIRC))
482:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
483:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NOT_SUPPORTED;
484:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
485:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
486:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
ARM GAS /tmp/cczKwjqg.s page 10
487:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Get the level transfer complete flag */
488:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_FULL_TRANSFER == CompleteLevel)
489:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
490:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer Complete flag */
491:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** temp = DMA_FLAG_TC1 << hdma->ChannelIndex;
492:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
493:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
494:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
495:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Half Transfer Complete flag */
496:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** temp = DMA_FLAG_HT1 << hdma->ChannelIndex;
497:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
498:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
499:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Get tick */
500:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** tickstart = HAL_GetTick();
501:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** while(RESET == (hdma->DmaBaseAddress->ISR & temp))
503:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
504:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(RESET != (hdma->DmaBaseAddress->ISR & (DMA_FLAG_TE1 << hdma->ChannelIndex)))
505:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
506:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* When a DMA transfer error occurs */
507:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */
508:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */
509:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_GL1 << hdma->ChannelIndex;
510:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
511:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Update error code */
512:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TE;
513:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
514:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */
515:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State= HAL_DMA_STATE_READY;
516:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
517:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
518:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
519:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
520:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
521:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
522:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check for the Timeout */
523:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(Timeout != HAL_MAX_DELAY)
524:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
525:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if((Timeout == 0U) || ((HAL_GetTick() - tickstart) > Timeout))
526:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
527:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Update error code */
528:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TIMEOUT;
529:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
530:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */
531:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
532:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
533:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
534:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
535:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
537:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
538:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
539:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
540:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
541:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_FULL_TRANSFER == CompleteLevel)
542:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
543:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear the transfer complete flag */
ARM GAS /tmp/cczKwjqg.s page 11
544:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_TC1 << hdma->ChannelIndex;
545:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
546:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* The selected Channelx EN bit is cleared (DMA is disabled and
547:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** all transfers are complete) */
548:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
549:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
550:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
551:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
552:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear the half transfer complete flag */
553:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_HT1 << hdma->ChannelIndex;
554:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
555:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
556:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process unlocked */
557:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
558:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
559:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_OK;
560:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
561:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
562:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
563:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Handle DMA interrupt request.
564:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
565:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
566:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval None
567:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
568:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma)
569:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
570:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR;
571:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
572:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
573:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Half Transfer Complete Interrupt management ******************************/
574:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if ((RESET != (flag_it & (DMA_FLAG_HT1 << hdma->ChannelIndex))) && (RESET != (source_it & DMA_IT_
575:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
576:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the half transfer interrupt if the DMA mode is not CIRCULAR */
577:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U)
578:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
579:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the half transfer interrupt */
580:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_IT_HT;
581:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
582:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
583:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear the half transfer complete flag */
584:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_HT1 << hdma->ChannelIndex;
585:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
586:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* DMA peripheral state is not updated in Half Transfer */
587:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* State is updated only in Transfer Complete case */
588:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
589:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->XferHalfCpltCallback != NULL)
590:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
591:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Half transfer callback */
592:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback(hdma);
593:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
594:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
595:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
596:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer Complete Interrupt management ***********************************/
597:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else if ((RESET != (flag_it & (DMA_FLAG_TC1 << hdma->ChannelIndex))) && (RESET != (source_it & DM
598:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
599:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U)
600:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
ARM GAS /tmp/cczKwjqg.s page 12
601:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Disable the transfer complete & transfer error interrupts */
602:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* if the DMA mode is not CIRCULAR */
603:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~(DMA_IT_TC | DMA_IT_TE);
604:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
605:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */
606:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
607:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
608:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
609:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear the transfer complete flag */
610:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_TC1 << hdma->ChannelIndex;
611:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
612:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
613:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
614:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
615:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->XferCpltCallback != NULL)
616:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
617:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer complete callback */
618:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback(hdma);
619:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
620:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
621:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
622:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer Error Interrupt management ***************************************/
623:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else if (( RESET != (flag_it & (DMA_FLAG_TE1 << hdma->ChannelIndex))) && (RESET != (source_it & D
624:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
625:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* When a DMA transfer error occurs */
626:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */
627:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Then, disable all DMA interrupts */
628:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~(DMA_IT_TC | DMA_IT_HT | DMA_IT_TE);
629:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
630:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */
631:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = DMA_FLAG_GL1 << hdma->ChannelIndex;
632:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
633:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Update error code */
634:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TE;
635:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
636:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Change the DMA state */
637:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
638:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
639:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process Unlocked */
640:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
641:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
642:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->XferErrorCallback != NULL)
643:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
644:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Transfer error callback */
645:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback(hdma);
646:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
647:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
648:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
649:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
650:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
651:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Register callbacks
652:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
653:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
654:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param CallbackID User Callback identifier
655:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter.
656:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param pCallback pointer to private callback function which has pointer to
657:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * a DMA_HandleTypeDef structure as parameter.
ARM GAS /tmp/cczKwjqg.s page 13
658:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
659:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
660:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Callb
661:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
662:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
663:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
664:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process locked */
665:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_LOCK(hdma);
666:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
667:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
668:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
669:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** switch (CallbackID)
670:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
671:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID:
672:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback = pCallback;
673:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
674:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
675:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID:
676:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = pCallback;
677:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
678:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
679:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID:
680:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = pCallback;
681:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
682:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
683:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID:
684:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = pCallback;
685:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
686:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
687:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** default:
688:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR;
689:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
690:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
691:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
692:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
693:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
694:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR;
695:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
696:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
697:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Release Lock */
698:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
699:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
700:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status;
701:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
702:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
703:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
704:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief UnRegister callbacks
705:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
706:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
707:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param CallbackID User Callback identifier
708:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter.
709:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
710:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
711:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Cal
712:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
713:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
714:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
ARM GAS /tmp/cczKwjqg.s page 14
715:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Process locked */
716:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_LOCK(hdma);
717:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
718:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
719:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
720:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** switch (CallbackID)
721:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
722:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID:
723:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
724:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
725:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
726:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID:
727:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
728:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
729:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
730:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID:
731:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
732:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
733:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
734:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID:
735:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
736:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
737:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
738:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** case HAL_DMA_XFER_ALL_CB_ID:
739:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
740:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
741:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
742:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
743:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
744:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
745:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** default:
746:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR;
747:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
748:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
749:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
750:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
751:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
752:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** status = HAL_ERROR;
753:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
754:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
755:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Release Lock */
756:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
757:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
758:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return status;
759:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
760:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
761:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
762:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @}
763:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
764:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
765:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group3 Peripheral State functions
766:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Peripheral State functions
767:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** *
768:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @verbatim
769:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ===============================================================================
770:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ##### State and Errors functions #####
771:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** ===============================================================================
ARM GAS /tmp/cczKwjqg.s page 15
772:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** [..]
773:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** This subsection provides functions allowing to
774:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Check the DMA state
775:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** (+) Get error code
776:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
777:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** @endverbatim
778:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
779:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
780:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
781:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
782:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Returns the DMA state.
783:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
784:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
785:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL state
786:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
787:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_DMA_StateTypeDef HAL_DMA_GetState(DMA_HandleTypeDef *hdma)
788:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
789:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return hdma->State;
790:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
791:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
792:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
793:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Return the DMA error code
794:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
795:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
796:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval DMA Error Code
797:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
798:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma)
799:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
800:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return hdma->ErrorCode;
801:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
802:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
803:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
804:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @}
805:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
806:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
807:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
808:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @}
809:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
810:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
811:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /** @addtogroup DMA_Private_Functions
812:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @{
813:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
814:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
815:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
816:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Set the DMA Transfer parameters.
817:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
818:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
819:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param SrcAddress The source memory Buffer address
820:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DstAddress The destination memory Buffer address
821:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param DataLength The length of data to be transferred from source to destination
822:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval HAL status
823:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
824:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32
825:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
29 .loc 1 825 1 view -0
30 .cfi_startproc
31 @ args = 0, pretend = 0, frame = 0
ARM GAS /tmp/cczKwjqg.s page 16
32 @ frame_needed = 0, uses_anonymous_args = 0
33 @ link register save eliminated.
34 .loc 1 825 1 is_stmt 0 view .LVU1
35 0000 30B4 push {r4, r5}
36 .cfi_def_cfa_offset 8
37 .cfi_offset 4, -8
38 .cfi_offset 5, -4
826:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Clear all flags */
827:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_FLAG_GL1 << hdma->ChannelIndex);
39 .loc 1 827 3 is_stmt 1 view .LVU2
40 .loc 1 827 47 is_stmt 0 view .LVU3
41 0002 0124 movs r4, #1
42 0004 056C ldr r5, [r0, #64]
43 0006 AC40 lsls r4, r4, r5
44 .loc 1 827 31 view .LVU4
45 0008 C56B ldr r5, [r0, #60]
46 000a 6C60 str r4, [r5, #4]
828:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
829:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel data length */
830:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CNDTR = DataLength;
47 .loc 1 830 3 is_stmt 1 view .LVU5
48 .loc 1 830 7 is_stmt 0 view .LVU6
49 000c 0468 ldr r4, [r0]
50 .loc 1 830 25 view .LVU7
51 000e 6360 str r3, [r4, #4]
831:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
832:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Peripheral to Memory */
833:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if((hdma->Init.Direction) == DMA_MEMORY_TO_PERIPH)
52 .loc 1 833 3 is_stmt 1 view .LVU8
53 .loc 1 833 17 is_stmt 0 view .LVU9
54 0010 4368 ldr r3, [r0, #4]
55 .LVL1:
56 .loc 1 833 5 view .LVU10
57 0012 102B cmp r3, #16
58 0014 05D0 beq .L5
834:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
835:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel destination address */
836:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CPAR = DstAddress;
837:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
838:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel source address */
839:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CMAR = SrcAddress;
840:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
841:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Memory to Peripheral */
842:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
843:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
844:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel source address */
845:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CPAR = SrcAddress;
59 .loc 1 845 5 is_stmt 1 view .LVU11
60 .loc 1 845 9 is_stmt 0 view .LVU12
61 0016 0368 ldr r3, [r0]
62 .loc 1 845 26 view .LVU13
63 0018 9960 str r1, [r3, #8]
64 .LVL2:
846:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
847:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Configure DMA Channel destination address */
848:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CMAR = DstAddress;
65 .loc 1 848 5 is_stmt 1 view .LVU14
ARM GAS /tmp/cczKwjqg.s page 17
66 .loc 1 848 9 is_stmt 0 view .LVU15
67 001a 0368 ldr r3, [r0]
68 .loc 1 848 26 view .LVU16
69 001c DA60 str r2, [r3, #12]
70 .L1:
849:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
850:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
71 .loc 1 850 1 view .LVU17
72 001e 30BC pop {r4, r5}
73 .cfi_remember_state
74 .cfi_restore 5
75 .cfi_restore 4
76 .cfi_def_cfa_offset 0
77 0020 7047 bx lr
78 .LVL3:
79 .L5:
80 .cfi_restore_state
836:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
81 .loc 1 836 5 is_stmt 1 view .LVU18
836:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
82 .loc 1 836 9 is_stmt 0 view .LVU19
83 0022 0368 ldr r3, [r0]
836:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
84 .loc 1 836 26 view .LVU20
85 0024 9A60 str r2, [r3, #8]
86 .LVL4:
839:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
87 .loc 1 839 5 is_stmt 1 view .LVU21
839:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
88 .loc 1 839 9 is_stmt 0 view .LVU22
89 0026 0368 ldr r3, [r0]
839:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
90 .loc 1 839 26 view .LVU23
91 0028 D960 str r1, [r3, #12]
92 002a F8E7 b .L1
93 .cfi_endproc
94 .LFE142:
96 .section .text.DMA_CalcBaseAndBitshift,"ax",%progbits
97 .align 1
98 .syntax unified
99 .thumb
100 .thumb_func
102 DMA_CalcBaseAndBitshift:
103 .LVL5:
104 .LFB143:
851:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
852:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /**
853:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @brief Set the DMA base address and channel index depending on DMA instance
854:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
855:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * the configuration information for the specified DMA Stream.
856:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** * @retval None
857:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** */
858:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** static void DMA_CalcBaseAndBitshift(DMA_HandleTypeDef *hdma)
859:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
105 .loc 1 859 1 is_stmt 1 view -0
106 .cfi_startproc
107 @ args = 0, pretend = 0, frame = 0
ARM GAS /tmp/cczKwjqg.s page 18
108 @ frame_needed = 0, uses_anonymous_args = 0
109 @ link register save eliminated.
860:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #if defined (DMA2)
861:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* calculation of the channel index */
862:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if ((uint32_t)(hdma->Instance) < (uint32_t)(DMA2_Channel1))
110 .loc 1 862 3 view .LVU25
111 .loc 1 862 22 is_stmt 0 view .LVU26
112 0000 0268 ldr r2, [r0]
113 .loc 1 862 6 view .LVU27
114 0002 0C4B ldr r3, .L9
115 0004 9A42 cmp r2, r3
116 0006 0AD8 bhi .L7
863:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
864:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* DMA1 */
865:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Ch
117 .loc 1 865 5 is_stmt 1 view .LVU28
118 .loc 1 865 53 is_stmt 0 view .LVU29
119 0008 0B4B ldr r3, .L9+4
120 000a 1344 add r3, r3, r2
121 .loc 1 865 80 view .LVU30
122 000c 0B4A ldr r2, .L9+8
123 000e A2FB0323 umull r2, r3, r2, r3
124 0012 1B09 lsrs r3, r3, #4
125 .loc 1 865 135 view .LVU31
126 0014 9B00 lsls r3, r3, #2
127 .loc 1 865 24 view .LVU32
128 0016 0364 str r3, [r0, #64]
866:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
129 .loc 1 866 5 is_stmt 1 view .LVU33
130 .loc 1 866 26 is_stmt 0 view .LVU34
131 0018 094B ldr r3, .L9+12
132 001a C363 str r3, [r0, #60]
133 001c 7047 bx lr
134 .L7:
867:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
868:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** else
869:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
870:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* DMA2 */
871:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA2_Channel1) / ((uint32_t)DMA2_Ch
135 .loc 1 871 5 is_stmt 1 view .LVU35
136 .loc 1 871 53 is_stmt 0 view .LVU36
137 001e 094B ldr r3, .L9+16
138 0020 1344 add r3, r3, r2
139 .loc 1 871 80 view .LVU37
140 0022 064A ldr r2, .L9+8
141 0024 A2FB0323 umull r2, r3, r2, r3
142 0028 1B09 lsrs r3, r3, #4
143 .loc 1 871 135 view .LVU38
144 002a 9B00 lsls r3, r3, #2
145 .loc 1 871 24 view .LVU39
146 002c 0364 str r3, [r0, #64]
872:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
147 .loc 1 872 5 is_stmt 1 view .LVU40
148 .loc 1 872 26 is_stmt 0 view .LVU41
149 002e 064B ldr r3, .L9+20
150 0030 C363 str r3, [r0, #60]
873:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
ARM GAS /tmp/cczKwjqg.s page 19
874:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #else
875:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* calculation of the channel index */
876:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* DMA1 */
877:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Chan
878:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
879:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** #endif
880:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
151 .loc 1 880 1 view .LVU42
152 0032 7047 bx lr
153 .L10:
154 .align 2
155 .L9:
156 0034 07040240 .word 1073873927
157 0038 F8FFFDBF .word -1073872904
158 003c CDCCCCCC .word -858993459
159 0040 00000240 .word 1073872896
160 0044 F8FBFDBF .word -1073873928
161 0048 00040240 .word 1073873920
162 .cfi_endproc
163 .LFE143:
165 .section .text.HAL_DMA_Init,"ax",%progbits
166 .align 1
167 .global HAL_DMA_Init
168 .syntax unified
169 .thumb
170 .thumb_func
172 HAL_DMA_Init:
173 .LVL6:
174 .LFB130:
137:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t tmp = 0U;
175 .loc 1 137 1 is_stmt 1 view -0
176 .cfi_startproc
177 @ args = 0, pretend = 0, frame = 0
178 @ frame_needed = 0, uses_anonymous_args = 0
138:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
179 .loc 1 138 3 view .LVU44
141:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
180 .loc 1 141 3 view .LVU45
141:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
181 .loc 1 141 5 is_stmt 0 view .LVU46
182 0000 10B3 cbz r0, .L13
137:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t tmp = 0U;
183 .loc 1 137 1 view .LVU47
184 0002 10B5 push {r4, lr}
185 .cfi_def_cfa_offset 8
186 .cfi_offset 4, -8
187 .cfi_offset 14, -4
188 0004 0446 mov r4, r0
147:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction));
189 .loc 1 147 3 is_stmt 1 view .LVU48
148:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc));
190 .loc 1 148 3 view .LVU49
149:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc));
191 .loc 1 149 3 view .LVU50
150:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment));
192 .loc 1 150 3 view .LVU51
151:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment));
ARM GAS /tmp/cczKwjqg.s page 20
193 .loc 1 151 3 view .LVU52
152:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode));
194 .loc 1 152 3 view .LVU53
153:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority));
195 .loc 1 153 3 view .LVU54
154:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
196 .loc 1 154 3 view .LVU55
157:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
197 .loc 1 157 3 view .LVU56
157:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
198 .loc 1 157 15 is_stmt 0 view .LVU57
199 0006 0223 movs r3, #2
200 0008 80F82130 strb r3, [r0, #33]
160:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
201 .loc 1 160 3 is_stmt 1 view .LVU58
160:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
202 .loc 1 160 13 is_stmt 0 view .LVU59
203 000c 0168 ldr r1, [r0]
160:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
204 .loc 1 160 7 view .LVU60
205 000e 0A68 ldr r2, [r1]
206 .LVL7:
163:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \
207 .loc 1 163 3 is_stmt 1 view .LVU61
163:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \
208 .loc 1 163 7 is_stmt 0 view .LVU62
209 0010 6FF30D12 bfc r2, #4, #10
210 .LVL8:
168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
211 .loc 1 168 3 is_stmt 1 view .LVU63
168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
212 .loc 1 168 21 is_stmt 0 view .LVU64
213 0014 4368 ldr r3, [r0, #4]
169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
214 .loc 1 169 21 view .LVU65
215 0016 8068 ldr r0, [r0, #8]
216 .LVL9:
168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
217 .loc 1 168 39 view .LVU66
218 0018 0343 orrs r3, r3, r0
169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
219 .loc 1 169 54 view .LVU67
220 001a E068 ldr r0, [r4, #12]
169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
221 .loc 1 169 42 view .LVU68
222 001c 0343 orrs r3, r3, r0
170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
223 .loc 1 170 21 view .LVU69
224 001e 2069 ldr r0, [r4, #16]
169:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
225 .loc 1 169 72 view .LVU70
226 0020 0343 orrs r3, r3, r0
170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
227 .loc 1 170 54 view .LVU71
228 0022 6069 ldr r0, [r4, #20]
170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
229 .loc 1 170 42 view .LVU72
ARM GAS /tmp/cczKwjqg.s page 21
230 0024 0343 orrs r3, r3, r0
171:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
231 .loc 1 171 21 view .LVU73
232 0026 A069 ldr r0, [r4, #24]
170:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
233 .loc 1 170 72 view .LVU74
234 0028 0343 orrs r3, r3, r0
171:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
235 .loc 1 171 54 view .LVU75
236 002a E069 ldr r0, [r4, #28]
171:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
237 .loc 1 171 42 view .LVU76
238 002c 0343 orrs r3, r3, r0
168:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
239 .loc 1 168 7 view .LVU77
240 002e 1343 orrs r3, r3, r2
241 .LVL10:
174:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
242 .loc 1 174 3 is_stmt 1 view .LVU78
174:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
243 .loc 1 174 23 is_stmt 0 view .LVU79
244 0030 0B60 str r3, [r1]
178:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
245 .loc 1 178 3 is_stmt 1 view .LVU80
246 0032 2046 mov r0, r4
247 0034 FFF7FEFF bl DMA_CalcBaseAndBitshift
248 .LVL11:
181:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
249 .loc 1 181 3 view .LVU81
181:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
250 .loc 1 181 19 is_stmt 0 view .LVU82
251 0038 0020 movs r0, #0
252 003a A063 str r0, [r4, #56]
184:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
253 .loc 1 184 3 is_stmt 1 view .LVU83
184:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
254 .loc 1 184 15 is_stmt 0 view .LVU84
255 003c 0123 movs r3, #1
256 003e 84F82130 strb r3, [r4, #33]
187:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
257 .loc 1 187 3 is_stmt 1 view .LVU85
187:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
258 .loc 1 187 14 is_stmt 0 view .LVU86
259 0042 84F82000 strb r0, [r4, #32]
189:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
260 .loc 1 189 3 is_stmt 1 view .LVU87
190:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
261 .loc 1 190 1 is_stmt 0 view .LVU88
262 0046 10BD pop {r4, pc}
263 .LVL12:
264 .L13:
265 .cfi_def_cfa_offset 0
266 .cfi_restore 4
267 .cfi_restore 14
143:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
268 .loc 1 143 12 view .LVU89
269 0048 0120 movs r0, #1
ARM GAS /tmp/cczKwjqg.s page 22
270 .LVL13:
190:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
271 .loc 1 190 1 view .LVU90
272 004a 7047 bx lr
273 .cfi_endproc
274 .LFE130:
276 .section .text.HAL_DMA_DeInit,"ax",%progbits
277 .align 1
278 .global HAL_DMA_DeInit
279 .syntax unified
280 .thumb
281 .thumb_func
283 HAL_DMA_DeInit:
284 .LVL14:
285 .LFB131:
199:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the DMA handle allocation */
286 .loc 1 199 1 is_stmt 1 view -0
287 .cfi_startproc
288 @ args = 0, pretend = 0, frame = 0
289 @ frame_needed = 0, uses_anonymous_args = 0
201:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
290 .loc 1 201 3 view .LVU92
201:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
291 .loc 1 201 5 is_stmt 0 view .LVU93
292 0000 08B3 cbz r0, .L20
199:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** /* Check the DMA handle allocation */
293 .loc 1 199 1 view .LVU94
294 0002 38B5 push {r3, r4, r5, lr}
295 .cfi_def_cfa_offset 16
296 .cfi_offset 3, -16
297 .cfi_offset 4, -12
298 .cfi_offset 5, -8
299 .cfi_offset 14, -4
300 0004 0446 mov r4, r0
207:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
301 .loc 1 207 3 is_stmt 1 view .LVU95
210:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
302 .loc 1 210 3 view .LVU96
210:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
303 .loc 1 210 7 is_stmt 0 view .LVU97
304 0006 0268 ldr r2, [r0]
210:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
305 .loc 1 210 17 view .LVU98
306 0008 1368 ldr r3, [r2]
210:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
307 .loc 1 210 23 view .LVU99
308 000a 23F00103 bic r3, r3, #1
309 000e 1360 str r3, [r2]
213:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
310 .loc 1 213 3 is_stmt 1 view .LVU100
213:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
311 .loc 1 213 7 is_stmt 0 view .LVU101
312 0010 0368 ldr r3, [r0]
213:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
313 .loc 1 213 24 view .LVU102
314 0012 0025 movs r5, #0
315 0014 1D60 str r5, [r3]
ARM GAS /tmp/cczKwjqg.s page 23
216:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
316 .loc 1 216 3 is_stmt 1 view .LVU103
216:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
317 .loc 1 216 7 is_stmt 0 view .LVU104
318 0016 0368 ldr r3, [r0]
216:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
319 .loc 1 216 25 view .LVU105
320 0018 5D60 str r5, [r3, #4]
219:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
321 .loc 1 219 3 is_stmt 1 view .LVU106
219:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
322 .loc 1 219 7 is_stmt 0 view .LVU107
323 001a 0368 ldr r3, [r0]
219:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
324 .loc 1 219 25 view .LVU108
325 001c 9D60 str r5, [r3, #8]
222:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
326 .loc 1 222 3 is_stmt 1 view .LVU109
222:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
327 .loc 1 222 7 is_stmt 0 view .LVU110
328 001e 0368 ldr r3, [r0]
222:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
329 .loc 1 222 24 view .LVU111
330 0020 DD60 str r5, [r3, #12]
225:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
331 .loc 1 225 3 is_stmt 1 view .LVU112
332 0022 FFF7FEFF bl DMA_CalcBaseAndBitshift
333 .LVL15:
228:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
334 .loc 1 228 3 view .LVU113
228:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
335 .loc 1 228 52 is_stmt 0 view .LVU114
336 0026 216C ldr r1, [r4, #64]
228:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
337 .loc 1 228 7 view .LVU115
338 0028 E26B ldr r2, [r4, #60]
228:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
339 .loc 1 228 45 view .LVU116
340 002a 0123 movs r3, #1
341 002c 8B40 lsls r3, r3, r1
228:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
342 .loc 1 228 30 view .LVU117
343 002e 5360 str r3, [r2, #4]
231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
344 .loc 1 231 3 is_stmt 1 view .LVU118
231:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
345 .loc 1 231 26 is_stmt 0 view .LVU119
346 0030 A562 str r5, [r4, #40]
232:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
347 .loc 1 232 3 is_stmt 1 view .LVU120
232:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
348 .loc 1 232 30 is_stmt 0 view .LVU121
349 0032 E562 str r5, [r4, #44]
233:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
350 .loc 1 233 3 is_stmt 1 view .LVU122
233:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
351 .loc 1 233 27 is_stmt 0 view .LVU123
ARM GAS /tmp/cczKwjqg.s page 24
352 0034 2563 str r5, [r4, #48]
234:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
353 .loc 1 234 3 is_stmt 1 view .LVU124
234:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
354 .loc 1 234 27 is_stmt 0 view .LVU125
355 0036 6563 str r5, [r4, #52]
237:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
356 .loc 1 237 3 is_stmt 1 view .LVU126
237:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
357 .loc 1 237 19 is_stmt 0 view .LVU127
358 0038 A563 str r5, [r4, #56]
240:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
359 .loc 1 240 3 is_stmt 1 view .LVU128
240:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
360 .loc 1 240 15 is_stmt 0 view .LVU129
361 003a 84F82150 strb r5, [r4, #33]
243:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
362 .loc 1 243 3 is_stmt 1 view .LVU130
243:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
363 .loc 1 243 3 view .LVU131
364 003e 84F82050 strb r5, [r4, #32]
243:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
365 .loc 1 243 3 view .LVU132
245:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
366 .loc 1 245 3 view .LVU133
245:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
367 .loc 1 245 10 is_stmt 0 view .LVU134
368 0042 2846 mov r0, r5
246:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
369 .loc 1 246 1 view .LVU135
370 0044 38BD pop {r3, r4, r5, pc}
371 .LVL16:
372 .L20:
373 .cfi_def_cfa_offset 0
374 .cfi_restore 3
375 .cfi_restore 4
376 .cfi_restore 5
377 .cfi_restore 14
203:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
378 .loc 1 203 12 view .LVU136
379 0046 0120 movs r0, #1
380 .LVL17:
246:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
381 .loc 1 246 1 view .LVU137
382 0048 7047 bx lr
383 .cfi_endproc
384 .LFE131:
386 .section .text.HAL_DMA_Start,"ax",%progbits
387 .align 1
388 .global HAL_DMA_Start
389 .syntax unified
390 .thumb
391 .thumb_func
393 HAL_DMA_Start:
394 .LVL18:
395 .LFB132:
281:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
ARM GAS /tmp/cczKwjqg.s page 25
396 .loc 1 281 1 is_stmt 1 view -0
397 .cfi_startproc
398 @ args = 0, pretend = 0, frame = 0
399 @ frame_needed = 0, uses_anonymous_args = 0
281:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
400 .loc 1 281 1 is_stmt 0 view .LVU139
401 0000 70B5 push {r4, r5, r6, lr}
402 .cfi_def_cfa_offset 16
403 .cfi_offset 4, -16
404 .cfi_offset 5, -12
405 .cfi_offset 6, -8
406 .cfi_offset 14, -4
407 0002 0446 mov r4, r0
282:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
408 .loc 1 282 2 is_stmt 1 view .LVU140
409 .LVL19:
285:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
410 .loc 1 285 3 view .LVU141
288:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
411 .loc 1 288 3 view .LVU142
288:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
412 .loc 1 288 3 view .LVU143
413 0004 90F82000 ldrb r0, [r0, #32] @ zero_extendqisi2
414 .LVL20:
288:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
415 .loc 1 288 3 is_stmt 0 view .LVU144
416 0008 0128 cmp r0, #1
417 000a 1FD0 beq .L28
288:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
418 .loc 1 288 3 is_stmt 1 discriminator 2 view .LVU145
419 000c 0120 movs r0, #1
420 000e 84F82000 strb r0, [r4, #32]
288:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
421 .loc 1 288 3 discriminator 2 view .LVU146
290:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
422 .loc 1 290 3 view .LVU147
290:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
423 .loc 1 290 33 is_stmt 0 view .LVU148
424 0012 94F82100 ldrb r0, [r4, #33] @ zero_extendqisi2
290:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
425 .loc 1 290 5 view .LVU149
426 0016 0128 cmp r0, #1
427 0018 04D0 beq .L30
309:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
428 .loc 1 309 4 is_stmt 1 view .LVU150
309:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
429 .loc 1 309 4 view .LVU151
430 001a 0023 movs r3, #0
431 .LVL21:
309:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
432 .loc 1 309 4 is_stmt 0 view .LVU152
433 001c 84F82030 strb r3, [r4, #32]
309:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
434 .loc 1 309 4 is_stmt 1 view .LVU153
312:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
435 .loc 1 312 4 view .LVU154
436 .LVL22:
ARM GAS /tmp/cczKwjqg.s page 26
312:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
437 .loc 1 312 11 is_stmt 0 view .LVU155
438 0020 0220 movs r0, #2
439 .LVL23:
440 .L26:
316:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
441 .loc 1 316 1 view .LVU156
442 0022 70BD pop {r4, r5, r6, pc}
443 .LVL24:
444 .L30:
293:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
445 .loc 1 293 4 is_stmt 1 view .LVU157
293:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
446 .loc 1 293 16 is_stmt 0 view .LVU158
447 0024 0220 movs r0, #2
448 0026 84F82100 strb r0, [r4, #33]
295:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
449 .loc 1 295 4 is_stmt 1 view .LVU159
295:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
450 .loc 1 295 20 is_stmt 0 view .LVU160
451 002a 0025 movs r5, #0
452 002c A563 str r5, [r4, #56]
298:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
453 .loc 1 298 4 is_stmt 1 view .LVU161
298:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
454 .loc 1 298 8 is_stmt 0 view .LVU162
455 002e 2668 ldr r6, [r4]
298:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
456 .loc 1 298 18 view .LVU163
457 0030 3068 ldr r0, [r6]
298:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
458 .loc 1 298 24 view .LVU164
459 0032 20F00100 bic r0, r0, #1
460 0036 3060 str r0, [r6]
301:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
461 .loc 1 301 4 is_stmt 1 view .LVU165
462 0038 2046 mov r0, r4
463 003a FFF7FEFF bl DMA_SetConfig
464 .LVL25:
304:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
465 .loc 1 304 4 view .LVU166
304:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
466 .loc 1 304 8 is_stmt 0 view .LVU167
467 003e 2268 ldr r2, [r4]
304:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
468 .loc 1 304 18 view .LVU168
469 0040 1368 ldr r3, [r2]
304:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
470 .loc 1 304 24 view .LVU169
471 0042 43F00103 orr r3, r3, #1
472 0046 1360 str r3, [r2]
282:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
473 .loc 1 282 20 view .LVU170
474 0048 2846 mov r0, r5
475 004a EAE7 b .L26
476 .LVL26:
477 .L28:
ARM GAS /tmp/cczKwjqg.s page 27
288:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
478 .loc 1 288 3 discriminator 1 view .LVU171
479 004c 0220 movs r0, #2
480 004e E8E7 b .L26
481 .cfi_endproc
482 .LFE132:
484 .section .text.HAL_DMA_Start_IT,"ax",%progbits
485 .align 1
486 .global HAL_DMA_Start_IT
487 .syntax unified
488 .thumb
489 .thumb_func
491 HAL_DMA_Start_IT:
492 .LVL27:
493 .LFB133:
328:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
494 .loc 1 328 1 is_stmt 1 view -0
495 .cfi_startproc
496 @ args = 0, pretend = 0, frame = 0
497 @ frame_needed = 0, uses_anonymous_args = 0
328:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
498 .loc 1 328 1 is_stmt 0 view .LVU173
499 0000 38B5 push {r3, r4, r5, lr}
500 .cfi_def_cfa_offset 16
501 .cfi_offset 3, -16
502 .cfi_offset 4, -12
503 .cfi_offset 5, -8
504 .cfi_offset 14, -4
505 0002 0446 mov r4, r0
329:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
506 .loc 1 329 2 is_stmt 1 view .LVU174
507 .LVL28:
332:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
508 .loc 1 332 3 view .LVU175
335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
509 .loc 1 335 3 view .LVU176
335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
510 .loc 1 335 3 view .LVU177
511 0004 90F82000 ldrb r0, [r0, #32] @ zero_extendqisi2
512 .LVL29:
335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
513 .loc 1 335 3 is_stmt 0 view .LVU178
514 0008 0128 cmp r0, #1
515 000a 31D0 beq .L36
335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
516 .loc 1 335 3 is_stmt 1 discriminator 2 view .LVU179
517 000c 0120 movs r0, #1
518 000e 84F82000 strb r0, [r4, #32]
335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
519 .loc 1 335 3 discriminator 2 view .LVU180
337:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
520 .loc 1 337 3 view .LVU181
337:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
521 .loc 1 337 33 is_stmt 0 view .LVU182
522 0012 94F82100 ldrb r0, [r4, #33] @ zero_extendqisi2
337:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
523 .loc 1 337 5 view .LVU183
ARM GAS /tmp/cczKwjqg.s page 28
524 0016 0128 cmp r0, #1
525 0018 04D0 beq .L38
368:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
526 .loc 1 368 5 is_stmt 1 view .LVU184
368:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
527 .loc 1 368 5 view .LVU185
528 001a 0023 movs r3, #0
529 .LVL30:
368:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
530 .loc 1 368 5 is_stmt 0 view .LVU186
531 001c 84F82030 strb r3, [r4, #32]
368:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
532 .loc 1 368 5 is_stmt 1 view .LVU187
371:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
533 .loc 1 371 5 view .LVU188
534 .LVL31:
371:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
535 .loc 1 371 12 is_stmt 0 view .LVU189
536 0020 0220 movs r0, #2
537 .LVL32:
538 .L32:
375:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
539 .loc 1 375 1 view .LVU190
540 0022 38BD pop {r3, r4, r5, pc}
541 .LVL33:
542 .L38:
340:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
543 .loc 1 340 4 is_stmt 1 view .LVU191
340:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
544 .loc 1 340 16 is_stmt 0 view .LVU192
545 0024 0220 movs r0, #2
546 0026 84F82100 strb r0, [r4, #33]
342:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
547 .loc 1 342 4 is_stmt 1 view .LVU193
342:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
548 .loc 1 342 20 is_stmt 0 view .LVU194
549 002a 0020 movs r0, #0
550 002c A063 str r0, [r4, #56]
345:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
551 .loc 1 345 4 is_stmt 1 view .LVU195
345:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
552 .loc 1 345 8 is_stmt 0 view .LVU196
553 002e 2568 ldr r5, [r4]
345:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
554 .loc 1 345 18 view .LVU197
555 0030 2868 ldr r0, [r5]
345:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
556 .loc 1 345 24 view .LVU198
557 0032 20F00100 bic r0, r0, #1
558 0036 2860 str r0, [r5]
348:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
559 .loc 1 348 4 is_stmt 1 view .LVU199
560 0038 2046 mov r0, r4
561 003a FFF7FEFF bl DMA_SetConfig
562 .LVL34:
352:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
563 .loc 1 352 5 view .LVU200
ARM GAS /tmp/cczKwjqg.s page 29
352:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
564 .loc 1 352 20 is_stmt 0 view .LVU201
565 003e E36A ldr r3, [r4, #44]
352:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
566 .loc 1 352 7 view .LVU202
567 0040 5BB1 cbz r3, .L34
354:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
568 .loc 1 354 7 is_stmt 1 view .LVU203
354:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
569 .loc 1 354 11 is_stmt 0 view .LVU204
570 0042 2268 ldr r2, [r4]
354:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
571 .loc 1 354 21 view .LVU205
572 0044 1368 ldr r3, [r2]
354:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
573 .loc 1 354 27 view .LVU206
574 0046 43F00E03 orr r3, r3, #14
575 004a 1360 str r3, [r2]
576 .L35:
363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
577 .loc 1 363 4 is_stmt 1 view .LVU207
363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
578 .loc 1 363 8 is_stmt 0 view .LVU208
579 004c 2268 ldr r2, [r4]
363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
580 .loc 1 363 18 view .LVU209
581 004e 1368 ldr r3, [r2]
363:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
582 .loc 1 363 24 view .LVU210
583 0050 43F00103 orr r3, r3, #1
584 0054 1360 str r3, [r2]
329:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
585 .loc 1 329 20 view .LVU211
586 0056 0020 movs r0, #0
587 0058 E3E7 b .L32
588 .L34:
358:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_IT_HT;
589 .loc 1 358 5 is_stmt 1 view .LVU212
358:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_IT_HT;
590 .loc 1 358 9 is_stmt 0 view .LVU213
591 005a 2268 ldr r2, [r4]
358:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_IT_HT;
592 .loc 1 358 19 view .LVU214
593 005c 1368 ldr r3, [r2]
358:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->Instance->CCR &= ~DMA_IT_HT;
594 .loc 1 358 25 view .LVU215
595 005e 43F00A03 orr r3, r3, #10
596 0062 1360 str r3, [r2]
359:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
597 .loc 1 359 5 is_stmt 1 view .LVU216
359:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
598 .loc 1 359 9 is_stmt 0 view .LVU217
599 0064 2268 ldr r2, [r4]
359:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
600 .loc 1 359 19 view .LVU218
601 0066 1368 ldr r3, [r2]
359:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
ARM GAS /tmp/cczKwjqg.s page 30
602 .loc 1 359 25 view .LVU219
603 0068 23F00403 bic r3, r3, #4
604 006c 1360 str r3, [r2]
605 006e EDE7 b .L35
606 .LVL35:
607 .L36:
335:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
608 .loc 1 335 3 discriminator 1 view .LVU220
609 0070 0220 movs r0, #2
610 0072 D6E7 b .L32
611 .cfi_endproc
612 .LFE133:
614 .section .text.HAL_DMA_Abort,"ax",%progbits
615 .align 1
616 .global HAL_DMA_Abort
617 .syntax unified
618 .thumb
619 .thumb_func
621 HAL_DMA_Abort:
622 .LVL36:
623 .LFB134:
384:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->State != HAL_DMA_STATE_BUSY)
624 .loc 1 384 1 is_stmt 1 view -0
625 .cfi_startproc
626 @ args = 0, pretend = 0, frame = 0
627 @ frame_needed = 0, uses_anonymous_args = 0
628 @ link register save eliminated.
384:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** if(hdma->State != HAL_DMA_STATE_BUSY)
629 .loc 1 384 1 is_stmt 0 view .LVU222
630 0000 0346 mov r3, r0
385:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
631 .loc 1 385 3 is_stmt 1 view .LVU223
385:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
632 .loc 1 385 10 is_stmt 0 view .LVU224
633 0002 90F82120 ldrb r2, [r0, #33] @ zero_extendqisi2
385:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
634 .loc 1 385 5 view .LVU225
635 0006 022A cmp r2, #2
636 0008 06D0 beq .L40
388:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
637 .loc 1 388 5 is_stmt 1 view .LVU226
388:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
638 .loc 1 388 21 is_stmt 0 view .LVU227
639 000a 0422 movs r2, #4
640 000c 8263 str r2, [r0, #56]
391:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
641 .loc 1 391 5 is_stmt 1 view .LVU228
391:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
642 .loc 1 391 5 view .LVU229
643 000e 0022 movs r2, #0
644 0010 80F82020 strb r2, [r0, #32]
391:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
645 .loc 1 391 5 view .LVU230
393:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
646 .loc 1 393 5 view .LVU231
393:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
647 .loc 1 393 12 is_stmt 0 view .LVU232
ARM GAS /tmp/cczKwjqg.s page 31
648 0014 0120 movs r0, #1
649 .LVL37:
393:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
650 .loc 1 393 12 view .LVU233
651 0016 7047 bx lr
652 .LVL38:
653 .L40:
398:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
654 .loc 1 398 6 is_stmt 1 view .LVU234
398:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
655 .loc 1 398 10 is_stmt 0 view .LVU235
656 0018 0168 ldr r1, [r0]
398:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
657 .loc 1 398 20 view .LVU236
658 001a 0A68 ldr r2, [r1]
398:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
659 .loc 1 398 26 view .LVU237
660 001c 22F00E02 bic r2, r2, #14
661 0020 0A60 str r2, [r1]
401:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
662 .loc 1 401 5 is_stmt 1 view .LVU238
401:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
663 .loc 1 401 9 is_stmt 0 view .LVU239
664 0022 0168 ldr r1, [r0]
401:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
665 .loc 1 401 19 view .LVU240
666 0024 0A68 ldr r2, [r1]
401:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
667 .loc 1 401 25 view .LVU241
668 0026 22F00102 bic r2, r2, #1
669 002a 0A60 str r2, [r1]
404:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
670 .loc 1 404 5 is_stmt 1 view .LVU242
404:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
671 .loc 1 404 55 is_stmt 0 view .LVU243
672 002c 026C ldr r2, [r0, #64]
404:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
673 .loc 1 404 9 view .LVU244
674 002e C06B ldr r0, [r0, #60]
675 .LVL39:
404:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
676 .loc 1 404 48 view .LVU245
677 0030 0121 movs r1, #1
678 0032 01FA02F2 lsl r2, r1, r2
404:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
679 .loc 1 404 32 view .LVU246
680 0036 4260 str r2, [r0, #4]
407:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
681 .loc 1 407 3 is_stmt 1 view .LVU247
407:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
682 .loc 1 407 15 is_stmt 0 view .LVU248
683 0038 83F82110 strb r1, [r3, #33]
410:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
684 .loc 1 410 3 is_stmt 1 view .LVU249
410:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
685 .loc 1 410 3 view .LVU250
686 003c 0020 movs r0, #0
ARM GAS /tmp/cczKwjqg.s page 32
687 003e 83F82000 strb r0, [r3, #32]
410:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
688 .loc 1 410 3 view .LVU251
412:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
689 .loc 1 412 3 view .LVU252
413:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
690 .loc 1 413 1 is_stmt 0 view .LVU253
691 0042 7047 bx lr
692 .cfi_endproc
693 .LFE134:
695 .section .text.HAL_DMA_Abort_IT,"ax",%progbits
696 .align 1
697 .global HAL_DMA_Abort_IT
698 .syntax unified
699 .thumb
700 .thumb_func
702 HAL_DMA_Abort_IT:
703 .LVL40:
704 .LFB135:
422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
705 .loc 1 422 1 is_stmt 1 view -0
706 .cfi_startproc
707 @ args = 0, pretend = 0, frame = 0
708 @ frame_needed = 0, uses_anonymous_args = 0
422:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
709 .loc 1 422 1 is_stmt 0 view .LVU255
710 0000 08B5 push {r3, lr}
711 .cfi_def_cfa_offset 8
712 .cfi_offset 3, -8
713 .cfi_offset 14, -4
423:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
714 .loc 1 423 3 is_stmt 1 view .LVU256
715 .LVL41:
425:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
716 .loc 1 425 3 view .LVU257
425:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
717 .loc 1 425 32 is_stmt 0 view .LVU258
718 0002 90F82130 ldrb r3, [r0, #33] @ zero_extendqisi2
425:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
719 .loc 1 425 5 view .LVU259
720 0006 022B cmp r3, #2
721 0008 03D0 beq .L43
428:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
722 .loc 1 428 5 is_stmt 1 view .LVU260
428:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
723 .loc 1 428 21 is_stmt 0 view .LVU261
724 000a 0423 movs r3, #4
725 000c 8363 str r3, [r0, #56]
430:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
726 .loc 1 430 5 is_stmt 1 view .LVU262
727 .LVL42:
430:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
728 .loc 1 430 12 is_stmt 0 view .LVU263
729 000e 0120 movs r0, #1
730 .LVL43:
731 .L44:
456:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
ARM GAS /tmp/cczKwjqg.s page 33
732 .loc 1 456 3 is_stmt 1 view .LVU264
457:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
733 .loc 1 457 1 is_stmt 0 view .LVU265
734 0010 08BD pop {r3, pc}
735 .LVL44:
736 .L43:
436:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
737 .loc 1 436 5 is_stmt 1 view .LVU266
436:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
738 .loc 1 436 9 is_stmt 0 view .LVU267
739 0012 0268 ldr r2, [r0]
436:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
740 .loc 1 436 19 view .LVU268
741 0014 1368 ldr r3, [r2]
436:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
742 .loc 1 436 25 view .LVU269
743 0016 23F00E03 bic r3, r3, #14
744 001a 1360 str r3, [r2]
439:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
745 .loc 1 439 5 is_stmt 1 view .LVU270
439:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
746 .loc 1 439 9 is_stmt 0 view .LVU271
747 001c 0268 ldr r2, [r0]
439:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
748 .loc 1 439 19 view .LVU272
749 001e 1368 ldr r3, [r2]
439:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
750 .loc 1 439 25 view .LVU273
751 0020 23F00103 bic r3, r3, #1
752 0024 1360 str r3, [r2]
442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
753 .loc 1 442 5 is_stmt 1 view .LVU274
442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
754 .loc 1 442 54 is_stmt 0 view .LVU275
755 0026 036C ldr r3, [r0, #64]
442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
756 .loc 1 442 9 view .LVU276
757 0028 C16B ldr r1, [r0, #60]
442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
758 .loc 1 442 47 view .LVU277
759 002a 0122 movs r2, #1
760 002c 02FA03F3 lsl r3, r2, r3
442:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
761 .loc 1 442 32 view .LVU278
762 0030 4B60 str r3, [r1, #4]
445:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
763 .loc 1 445 5 is_stmt 1 view .LVU279
445:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
764 .loc 1 445 17 is_stmt 0 view .LVU280
765 0032 80F82120 strb r2, [r0, #33]
448:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
766 .loc 1 448 5 is_stmt 1 view .LVU281
448:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
767 .loc 1 448 5 view .LVU282
768 0036 0023 movs r3, #0
769 0038 80F82030 strb r3, [r0, #32]
448:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
ARM GAS /tmp/cczKwjqg.s page 34
770 .loc 1 448 5 view .LVU283
451:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
771 .loc 1 451 5 view .LVU284
451:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
772 .loc 1 451 12 is_stmt 0 view .LVU285
773 003c 436B ldr r3, [r0, #52]
451:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
774 .loc 1 451 7 view .LVU286
775 003e 13B1 cbz r3, .L45
453:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
776 .loc 1 453 7 is_stmt 1 view .LVU287
777 0040 9847 blx r3
778 .LVL45:
423:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
779 .loc 1 423 21 is_stmt 0 view .LVU288
780 0042 0020 movs r0, #0
781 0044 E4E7 b .L44
782 .LVL46:
783 .L45:
423:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
784 .loc 1 423 21 view .LVU289
785 0046 0020 movs r0, #0
786 .LVL47:
423:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
787 .loc 1 423 21 view .LVU290
788 0048 E2E7 b .L44
789 .cfi_endproc
790 .LFE135:
792 .section .text.HAL_DMA_PollForTransfer,"ax",%progbits
793 .align 1
794 .global HAL_DMA_PollForTransfer
795 .syntax unified
796 .thumb
797 .thumb_func
799 HAL_DMA_PollForTransfer:
800 .LVL48:
801 .LFB136:
468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t temp;
802 .loc 1 468 1 is_stmt 1 view -0
803 .cfi_startproc
804 @ args = 0, pretend = 0, frame = 0
805 @ frame_needed = 0, uses_anonymous_args = 0
468:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t temp;
806 .loc 1 468 1 is_stmt 0 view .LVU292
807 0000 2DE9F843 push {r3, r4, r5, r6, r7, r8, r9, lr}
808 .cfi_def_cfa_offset 32
809 .cfi_offset 3, -32
810 .cfi_offset 4, -28
811 .cfi_offset 5, -24
812 .cfi_offset 6, -20
813 .cfi_offset 7, -16
814 .cfi_offset 8, -12
815 .cfi_offset 9, -8
816 .cfi_offset 14, -4
817 0004 0446 mov r4, r0
469:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t tickstart = 0U;
818 .loc 1 469 3 is_stmt 1 view .LVU293
ARM GAS /tmp/cczKwjqg.s page 35
470:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
819 .loc 1 470 3 view .LVU294
820 .LVL49:
472:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
821 .loc 1 472 3 view .LVU295
472:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
822 .loc 1 472 32 is_stmt 0 view .LVU296
823 0006 90F82130 ldrb r3, [r0, #33] @ zero_extendqisi2
472:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
824 .loc 1 472 5 view .LVU297
825 000a 022B cmp r3, #2
826 000c 07D0 beq .L48
475:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
827 .loc 1 475 5 is_stmt 1 view .LVU298
475:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** __HAL_UNLOCK(hdma);
828 .loc 1 475 21 is_stmt 0 view .LVU299
829 000e 0423 movs r3, #4
830 0010 8363 str r3, [r0, #56]
476:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
831 .loc 1 476 5 is_stmt 1 view .LVU300
476:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
832 .loc 1 476 5 view .LVU301
833 0012 0023 movs r3, #0
834 0014 80F82030 strb r3, [r0, #32]
476:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
835 .loc 1 476 5 view .LVU302
477:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
836 .loc 1 477 5 view .LVU303
477:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
837 .loc 1 477 12 is_stmt 0 view .LVU304
838 0018 0120 movs r0, #1
839 .LVL50:
840 .L49:
560:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
841 .loc 1 560 1 view .LVU305
842 001a BDE8F883 pop {r3, r4, r5, r6, r7, r8, r9, pc}
843 .LVL51:
844 .L48:
560:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
845 .loc 1 560 1 view .LVU306
846 001e 8846 mov r8, r1
847 0020 1646 mov r6, r2
481:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
848 .loc 1 481 3 is_stmt 1 view .LVU307
481:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
849 .loc 1 481 21 is_stmt 0 view .LVU308
850 0022 0368 ldr r3, [r0]
481:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
851 .loc 1 481 31 view .LVU309
852 0024 1B68 ldr r3, [r3]
481:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
853 .loc 1 481 6 view .LVU310
854 0026 13F0200F tst r3, #32
855 002a 23D1 bne .L61
488:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
856 .loc 1 488 3 is_stmt 1 view .LVU311
488:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
ARM GAS /tmp/cczKwjqg.s page 36
857 .loc 1 488 5 is_stmt 0 view .LVU312
858 002c 39BB cbnz r1, .L51
491:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
859 .loc 1 491 5 is_stmt 1 view .LVU313
491:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
860 .loc 1 491 32 is_stmt 0 view .LVU314
861 002e 036C ldr r3, [r0, #64]
491:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
862 .loc 1 491 10 view .LVU315
863 0030 0227 movs r7, #2
864 0032 9F40 lsls r7, r7, r3
865 .LVL52:
866 .L52:
500:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
867 .loc 1 500 3 is_stmt 1 view .LVU316
500:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
868 .loc 1 500 15 is_stmt 0 view .LVU317
869 0034 FFF7FEFF bl HAL_GetTick
870 .LVL53:
500:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
871 .loc 1 500 15 view .LVU318
872 0038 8146 mov r9, r0
873 .LVL54:
502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
874 .loc 1 502 3 is_stmt 1 view .LVU319
875 .L55:
502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
876 .loc 1 502 15 view .LVU320
502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
877 .loc 1 502 23 is_stmt 0 view .LVU321
878 003a E56B ldr r5, [r4, #60]
502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
879 .loc 1 502 39 view .LVU322
880 003c 2B68 ldr r3, [r5]
502:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
881 .loc 1 502 15 view .LVU323
882 003e 3B42 tst r3, r7
883 0040 2CD1 bne .L62
504:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
884 .loc 1 504 5 is_stmt 1 view .LVU324
504:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
885 .loc 1 504 38 is_stmt 0 view .LVU325
886 0042 2968 ldr r1, [r5]
504:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
887 .loc 1 504 67 view .LVU326
888 0044 226C ldr r2, [r4, #64]
504:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
889 .loc 1 504 60 view .LVU327
890 0046 0823 movs r3, #8
891 0048 9340 lsls r3, r3, r2
504:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
892 .loc 1 504 7 view .LVU328
893 004a 1942 tst r1, r3
894 004c 1BD1 bne .L63
523:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
895 .loc 1 523 5 is_stmt 1 view .LVU329
523:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
ARM GAS /tmp/cczKwjqg.s page 37
896 .loc 1 523 7 is_stmt 0 view .LVU330
897 004e B6F1FF3F cmp r6, #-1
898 0052 F2D0 beq .L55
525:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
899 .loc 1 525 7 is_stmt 1 view .LVU331
525:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
900 .loc 1 525 9 is_stmt 0 view .LVU332
901 0054 2EB1 cbz r6, .L56
525:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
902 .loc 1 525 31 discriminator 1 view .LVU333
903 0056 FFF7FEFF bl HAL_GetTick
904 .LVL55:
525:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
905 .loc 1 525 45 discriminator 1 view .LVU334
906 005a A0EB0900 sub r0, r0, r9
525:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
907 .loc 1 525 26 discriminator 1 view .LVU335
908 005e B042 cmp r0, r6
909 0060 EBD9 bls .L55
910 .L56:
528:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
911 .loc 1 528 9 is_stmt 1 view .LVU336
528:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
912 .loc 1 528 25 is_stmt 0 view .LVU337
913 0062 2023 movs r3, #32
914 0064 A363 str r3, [r4, #56]
531:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
915 .loc 1 531 9 is_stmt 1 view .LVU338
531:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
916 .loc 1 531 21 is_stmt 0 view .LVU339
917 0066 0120 movs r0, #1
918 0068 84F82100 strb r0, [r4, #33]
534:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
919 .loc 1 534 9 is_stmt 1 view .LVU340
534:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
920 .loc 1 534 9 view .LVU341
921 006c 0023 movs r3, #0
922 006e 84F82030 strb r3, [r4, #32]
534:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
923 .loc 1 534 9 view .LVU342
536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
924 .loc 1 536 9 view .LVU343
536:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
925 .loc 1 536 16 is_stmt 0 view .LVU344
926 0072 D2E7 b .L49
927 .LVL56:
928 .L61:
483:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
929 .loc 1 483 5 is_stmt 1 view .LVU345
483:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return HAL_ERROR;
930 .loc 1 483 21 is_stmt 0 view .LVU346
931 0074 4FF48073 mov r3, #256
932 0078 8363 str r3, [r0, #56]
484:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
933 .loc 1 484 5 is_stmt 1 view .LVU347
484:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
934 .loc 1 484 12 is_stmt 0 view .LVU348
ARM GAS /tmp/cczKwjqg.s page 38
935 007a 0120 movs r0, #1
936 .LVL57:
484:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
937 .loc 1 484 12 view .LVU349
938 007c CDE7 b .L49
939 .LVL58:
940 .L51:
496:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
941 .loc 1 496 5 is_stmt 1 view .LVU350
496:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
942 .loc 1 496 32 is_stmt 0 view .LVU351
943 007e 036C ldr r3, [r0, #64]
496:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
944 .loc 1 496 10 view .LVU352
945 0080 0427 movs r7, #4
946 0082 9F40 lsls r7, r7, r3
947 .LVL59:
496:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
948 .loc 1 496 10 view .LVU353
949 0084 D6E7 b .L52
950 .LVL60:
951 .L63:
509:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
952 .loc 1 509 7 is_stmt 1 view .LVU354
509:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
953 .loc 1 509 49 is_stmt 0 view .LVU355
954 0086 0120 movs r0, #1
955 0088 00FA02F2 lsl r2, r0, r2
509:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
956 .loc 1 509 34 view .LVU356
957 008c 6A60 str r2, [r5, #4]
512:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
958 .loc 1 512 7 is_stmt 1 view .LVU357
512:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
959 .loc 1 512 23 is_stmt 0 view .LVU358
960 008e A063 str r0, [r4, #56]
515:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
961 .loc 1 515 7 is_stmt 1 view .LVU359
515:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
962 .loc 1 515 18 is_stmt 0 view .LVU360
963 0090 84F82100 strb r0, [r4, #33]
518:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
964 .loc 1 518 7 is_stmt 1 view .LVU361
518:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
965 .loc 1 518 7 view .LVU362
966 0094 0023 movs r3, #0
967 0096 84F82030 strb r3, [r4, #32]
518:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
968 .loc 1 518 7 view .LVU363
520:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
969 .loc 1 520 7 view .LVU364
520:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
970 .loc 1 520 14 is_stmt 0 view .LVU365
971 009a BEE7 b .L49
972 .L62:
541:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
973 .loc 1 541 3 is_stmt 1 view .LVU366
ARM GAS /tmp/cczKwjqg.s page 39
541:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
974 .loc 1 541 5 is_stmt 0 view .LVU367
975 009c B8F1000F cmp r8, #0
976 00a0 0AD1 bne .L58
544:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
977 .loc 1 544 5 is_stmt 1 view .LVU368
544:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
978 .loc 1 544 54 is_stmt 0 view .LVU369
979 00a2 226C ldr r2, [r4, #64]
544:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
980 .loc 1 544 47 view .LVU370
981 00a4 0223 movs r3, #2
982 00a6 9340 lsls r3, r3, r2
544:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
983 .loc 1 544 32 view .LVU371
984 00a8 6B60 str r3, [r5, #4]
548:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
985 .loc 1 548 5 is_stmt 1 view .LVU372
548:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
986 .loc 1 548 17 is_stmt 0 view .LVU373
987 00aa 0123 movs r3, #1
988 00ac 84F82130 strb r3, [r4, #33]
989 .L59:
557:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
990 .loc 1 557 3 is_stmt 1 view .LVU374
557:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
991 .loc 1 557 3 view .LVU375
992 00b0 0020 movs r0, #0
993 00b2 84F82000 strb r0, [r4, #32]
557:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
994 .loc 1 557 3 view .LVU376
559:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
995 .loc 1 559 3 view .LVU377
559:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
996 .loc 1 559 10 is_stmt 0 view .LVU378
997 00b6 B0E7 b .L49
998 .L58:
553:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
999 .loc 1 553 5 is_stmt 1 view .LVU379
553:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1000 .loc 1 553 54 is_stmt 0 view .LVU380
1001 00b8 226C ldr r2, [r4, #64]
553:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1002 .loc 1 553 47 view .LVU381
1003 00ba 0423 movs r3, #4
1004 00bc 9340 lsls r3, r3, r2
553:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1005 .loc 1 553 32 view .LVU382
1006 00be 6B60 str r3, [r5, #4]
1007 00c0 F6E7 b .L59
1008 .cfi_endproc
1009 .LFE136:
1011 .section .text.HAL_DMA_IRQHandler,"ax",%progbits
1012 .align 1
1013 .global HAL_DMA_IRQHandler
1014 .syntax unified
1015 .thumb
ARM GAS /tmp/cczKwjqg.s page 40
1016 .thumb_func
1018 HAL_DMA_IRQHandler:
1019 .LVL61:
1020 .LFB137:
569:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR;
1021 .loc 1 569 1 is_stmt 1 view -0
1022 .cfi_startproc
1023 @ args = 0, pretend = 0, frame = 0
1024 @ frame_needed = 0, uses_anonymous_args = 0
569:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR;
1025 .loc 1 569 1 is_stmt 0 view .LVU384
1026 0000 38B5 push {r3, r4, r5, lr}
1027 .cfi_def_cfa_offset 16
1028 .cfi_offset 3, -16
1029 .cfi_offset 4, -12
1030 .cfi_offset 5, -8
1031 .cfi_offset 14, -4
570:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
1032 .loc 1 570 2 is_stmt 1 view .LVU385
570:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
1033 .loc 1 570 25 is_stmt 0 view .LVU386
1034 0002 C36B ldr r3, [r0, #60]
570:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
1035 .loc 1 570 11 view .LVU387
1036 0004 1A68 ldr r2, [r3]
1037 .LVL62:
571:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1038 .loc 1 571 3 is_stmt 1 view .LVU388
571:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1039 .loc 1 571 28 is_stmt 0 view .LVU389
1040 0006 0468 ldr r4, [r0]
571:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1041 .loc 1 571 12 view .LVU390
1042 0008 2568 ldr r5, [r4]
1043 .LVL63:
574:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1044 .loc 1 574 3 is_stmt 1 view .LVU391
574:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1045 .loc 1 574 49 is_stmt 0 view .LVU392
1046 000a 016C ldr r1, [r0, #64]
574:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1047 .loc 1 574 42 view .LVU393
1048 000c 0423 movs r3, #4
1049 000e 8B40 lsls r3, r3, r1
574:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1050 .loc 1 574 6 view .LVU394
1051 0010 1342 tst r3, r2
1052 0012 13D0 beq .L65
574:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1053 .loc 1 574 67 discriminator 1 view .LVU395
1054 0014 15F0040F tst r5, #4
1055 0018 10D0 beq .L65
577:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1056 .loc 1 577 4 is_stmt 1 view .LVU396
577:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1057 .loc 1 577 22 is_stmt 0 view .LVU397
1058 001a 2368 ldr r3, [r4]
ARM GAS /tmp/cczKwjqg.s page 41
577:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1059 .loc 1 577 6 view .LVU398
1060 001c 13F0200F tst r3, #32
1061 0020 03D1 bne .L66
580:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1062 .loc 1 580 5 is_stmt 1 view .LVU399
580:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1063 .loc 1 580 19 is_stmt 0 view .LVU400
1064 0022 2368 ldr r3, [r4]
580:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1065 .loc 1 580 25 view .LVU401
1066 0024 23F00403 bic r3, r3, #4
1067 0028 2360 str r3, [r4]
1068 .L66:
584:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1069 .loc 1 584 4 is_stmt 1 view .LVU402
584:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1070 .loc 1 584 53 is_stmt 0 view .LVU403
1071 002a 016C ldr r1, [r0, #64]
584:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1072 .loc 1 584 8 view .LVU404
1073 002c C26B ldr r2, [r0, #60]
1074 .LVL64:
584:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1075 .loc 1 584 46 view .LVU405
1076 002e 0423 movs r3, #4
1077 0030 8B40 lsls r3, r3, r1
584:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1078 .loc 1 584 31 view .LVU406
1079 0032 5360 str r3, [r2, #4]
589:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1080 .loc 1 589 4 is_stmt 1 view .LVU407
589:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1081 .loc 1 589 11 is_stmt 0 view .LVU408
1082 0034 C36A ldr r3, [r0, #44]
589:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1083 .loc 1 589 6 view .LVU409
1084 0036 03B1 cbz r3, .L64
592:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1085 .loc 1 592 5 is_stmt 1 view .LVU410
1086 0038 9847 blx r3
1087 .LVL65:
1088 .L64:
648:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1089 .loc 1 648 1 is_stmt 0 view .LVU411
1090 003a 38BD pop {r3, r4, r5, pc}
1091 .LVL66:
1092 .L65:
597:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1093 .loc 1 597 8 is_stmt 1 view .LVU412
597:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1094 .loc 1 597 47 is_stmt 0 view .LVU413
1095 003c 0223 movs r3, #2
1096 003e 8B40 lsls r3, r3, r1
597:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1097 .loc 1 597 11 view .LVU414
1098 0040 1342 tst r3, r2
ARM GAS /tmp/cczKwjqg.s page 42
1099 0042 1AD0 beq .L68
597:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1100 .loc 1 597 72 discriminator 1 view .LVU415
1101 0044 15F0020F tst r5, #2
1102 0048 17D0 beq .L68
599:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1103 .loc 1 599 4 is_stmt 1 view .LVU416
599:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1104 .loc 1 599 22 is_stmt 0 view .LVU417
1105 004a 2368 ldr r3, [r4]
599:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1106 .loc 1 599 6 view .LVU418
1107 004c 13F0200F tst r3, #32
1108 0050 06D1 bne .L69
603:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1109 .loc 1 603 5 is_stmt 1 view .LVU419
603:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1110 .loc 1 603 19 is_stmt 0 view .LVU420
1111 0052 2368 ldr r3, [r4]
603:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1112 .loc 1 603 25 view .LVU421
1113 0054 23F00A03 bic r3, r3, #10
1114 0058 2360 str r3, [r4]
606:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1115 .loc 1 606 5 is_stmt 1 view .LVU422
606:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1116 .loc 1 606 17 is_stmt 0 view .LVU423
1117 005a 0123 movs r3, #1
1118 005c 80F82130 strb r3, [r0, #33]
1119 .L69:
610:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1120 .loc 1 610 4 is_stmt 1 view .LVU424
610:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1121 .loc 1 610 53 is_stmt 0 view .LVU425
1122 0060 016C ldr r1, [r0, #64]
610:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1123 .loc 1 610 8 view .LVU426
1124 0062 C26B ldr r2, [r0, #60]
1125 .LVL67:
610:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1126 .loc 1 610 46 view .LVU427
1127 0064 0223 movs r3, #2
1128 0066 8B40 lsls r3, r3, r1
610:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1129 .loc 1 610 31 view .LVU428
1130 0068 5360 str r3, [r2, #4]
613:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1131 .loc 1 613 4 is_stmt 1 view .LVU429
613:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1132 .loc 1 613 4 view .LVU430
1133 006a 0023 movs r3, #0
1134 006c 80F82030 strb r3, [r0, #32]
613:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1135 .loc 1 613 4 view .LVU431
615:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1136 .loc 1 615 4 view .LVU432
615:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
ARM GAS /tmp/cczKwjqg.s page 43
1137 .loc 1 615 11 is_stmt 0 view .LVU433
1138 0070 836A ldr r3, [r0, #40]
615:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1139 .loc 1 615 6 view .LVU434
1140 0072 002B cmp r3, #0
1141 0074 E1D0 beq .L64
618:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1142 .loc 1 618 5 is_stmt 1 view .LVU435
1143 0076 9847 blx r3
1144 .LVL68:
618:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1145 .loc 1 618 5 is_stmt 0 view .LVU436
1146 0078 DFE7 b .L64
1147 .LVL69:
1148 .L68:
623:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1149 .loc 1 623 8 is_stmt 1 view .LVU437
623:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1150 .loc 1 623 48 is_stmt 0 view .LVU438
1151 007a 0823 movs r3, #8
1152 007c 8B40 lsls r3, r3, r1
623:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1153 .loc 1 623 11 view .LVU439
1154 007e 1342 tst r3, r2
1155 0080 DBD0 beq .L64
623:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1156 .loc 1 623 73 discriminator 1 view .LVU440
1157 0082 15F0080F tst r5, #8
1158 0086 D8D0 beq .L64
628:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1159 .loc 1 628 5 is_stmt 1 view .LVU441
628:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1160 .loc 1 628 19 is_stmt 0 view .LVU442
1161 0088 2368 ldr r3, [r4]
628:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1162 .loc 1 628 25 view .LVU443
1163 008a 23F00E03 bic r3, r3, #14
1164 008e 2360 str r3, [r4]
631:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1165 .loc 1 631 5 is_stmt 1 view .LVU444
631:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1166 .loc 1 631 54 is_stmt 0 view .LVU445
1167 0090 026C ldr r2, [r0, #64]
1168 .LVL70:
631:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1169 .loc 1 631 9 view .LVU446
1170 0092 C16B ldr r1, [r0, #60]
631:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1171 .loc 1 631 47 view .LVU447
1172 0094 0123 movs r3, #1
1173 0096 03FA02F2 lsl r2, r3, r2
631:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1174 .loc 1 631 32 view .LVU448
1175 009a 4A60 str r2, [r1, #4]
634:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1176 .loc 1 634 5 is_stmt 1 view .LVU449
634:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
ARM GAS /tmp/cczKwjqg.s page 44
1177 .loc 1 634 21 is_stmt 0 view .LVU450
1178 009c 8363 str r3, [r0, #56]
637:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1179 .loc 1 637 5 is_stmt 1 view .LVU451
637:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1180 .loc 1 637 17 is_stmt 0 view .LVU452
1181 009e 80F82130 strb r3, [r0, #33]
640:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1182 .loc 1 640 5 is_stmt 1 view .LVU453
640:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1183 .loc 1 640 5 view .LVU454
1184 00a2 0023 movs r3, #0
1185 00a4 80F82030 strb r3, [r0, #32]
640:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1186 .loc 1 640 5 view .LVU455
642:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1187 .loc 1 642 5 view .LVU456
642:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1188 .loc 1 642 12 is_stmt 0 view .LVU457
1189 00a8 036B ldr r3, [r0, #48]
642:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1190 .loc 1 642 7 view .LVU458
1191 00aa 002B cmp r3, #0
1192 00ac C5D0 beq .L64
645:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1193 .loc 1 645 6 is_stmt 1 view .LVU459
1194 00ae 9847 blx r3
1195 .LVL71:
648:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1196 .loc 1 648 1 is_stmt 0 view .LVU460
1197 00b0 C3E7 b .L64
1198 .cfi_endproc
1199 .LFE137:
1201 .section .text.HAL_DMA_RegisterCallback,"ax",%progbits
1202 .align 1
1203 .global HAL_DMA_RegisterCallback
1204 .syntax unified
1205 .thumb
1206 .thumb_func
1208 HAL_DMA_RegisterCallback:
1209 .LVL72:
1210 .LFB138:
661:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
1211 .loc 1 661 1 is_stmt 1 view -0
1212 .cfi_startproc
1213 @ args = 0, pretend = 0, frame = 0
1214 @ frame_needed = 0, uses_anonymous_args = 0
1215 @ link register save eliminated.
661:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
1216 .loc 1 661 1 is_stmt 0 view .LVU462
1217 0000 0346 mov r3, r0
662:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1218 .loc 1 662 3 is_stmt 1 view .LVU463
1219 .LVL73:
665:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1220 .loc 1 665 3 view .LVU464
665:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
ARM GAS /tmp/cczKwjqg.s page 45
1221 .loc 1 665 3 view .LVU465
1222 0002 90F82000 ldrb r0, [r0, #32] @ zero_extendqisi2
1223 .LVL74:
665:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1224 .loc 1 665 3 is_stmt 0 view .LVU466
1225 0006 0128 cmp r0, #1
1226 0008 1DD0 beq .L79
665:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1227 .loc 1 665 3 is_stmt 1 discriminator 2 view .LVU467
1228 000a 0120 movs r0, #1
1229 000c 83F82000 strb r0, [r3, #32]
665:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1230 .loc 1 665 3 discriminator 2 view .LVU468
667:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1231 .loc 1 667 3 view .LVU469
667:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1232 .loc 1 667 33 is_stmt 0 view .LVU470
1233 0010 93F82100 ldrb r0, [r3, #33] @ zero_extendqisi2
667:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1234 .loc 1 667 5 view .LVU471
1235 0014 0128 cmp r0, #1
1236 0016 04D0 beq .L82
694:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1237 .loc 1 694 12 view .LVU472
1238 0018 0120 movs r0, #1
1239 .L73:
1240 .LVL75:
698:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1241 .loc 1 698 3 is_stmt 1 view .LVU473
698:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1242 .loc 1 698 3 view .LVU474
1243 001a 0022 movs r2, #0
1244 .LVL76:
698:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1245 .loc 1 698 3 is_stmt 0 view .LVU475
1246 001c 83F82020 strb r2, [r3, #32]
698:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1247 .loc 1 698 3 is_stmt 1 view .LVU476
700:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1248 .loc 1 700 3 view .LVU477
700:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1249 .loc 1 700 10 is_stmt 0 view .LVU478
1250 0020 7047 bx lr
1251 .LVL77:
1252 .L82:
669:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1253 .loc 1 669 5 is_stmt 1 view .LVU479
1254 0022 0329 cmp r1, #3
1255 0024 F9D8 bhi .L73
1256 0026 DFE801F0 tbb [pc, r1]
1257 .L75:
1258 002a 02 .byte (.L78-.L75)/2
1259 002b 05 .byte (.L77-.L75)/2
1260 002c 08 .byte (.L76-.L75)/2
1261 002d 0B .byte (.L74-.L75)/2
1262 .p2align 1
1263 .L78:
ARM GAS /tmp/cczKwjqg.s page 46
672:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1264 .loc 1 672 12 view .LVU480
672:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1265 .loc 1 672 35 is_stmt 0 view .LVU481
1266 002e 9A62 str r2, [r3, #40]
673:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1267 .loc 1 673 12 is_stmt 1 view .LVU482
662:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1268 .loc 1 662 21 is_stmt 0 view .LVU483
1269 0030 0846 mov r0, r1
673:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1270 .loc 1 673 12 view .LVU484
1271 0032 F2E7 b .L73
1272 .L77:
676:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1273 .loc 1 676 12 is_stmt 1 view .LVU485
676:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1274 .loc 1 676 39 is_stmt 0 view .LVU486
1275 0034 DA62 str r2, [r3, #44]
677:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1276 .loc 1 677 12 is_stmt 1 view .LVU487
662:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1277 .loc 1 662 21 is_stmt 0 view .LVU488
1278 0036 0020 movs r0, #0
677:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1279 .loc 1 677 12 view .LVU489
1280 0038 EFE7 b .L73
1281 .L76:
680:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1282 .loc 1 680 12 is_stmt 1 view .LVU490
680:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1283 .loc 1 680 36 is_stmt 0 view .LVU491
1284 003a 1A63 str r2, [r3, #48]
681:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1285 .loc 1 681 12 is_stmt 1 view .LVU492
662:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1286 .loc 1 662 21 is_stmt 0 view .LVU493
1287 003c 0020 movs r0, #0
681:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1288 .loc 1 681 12 view .LVU494
1289 003e ECE7 b .L73
1290 .L74:
684:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1291 .loc 1 684 12 is_stmt 1 view .LVU495
684:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1292 .loc 1 684 36 is_stmt 0 view .LVU496
1293 0040 5A63 str r2, [r3, #52]
685:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1294 .loc 1 685 12 is_stmt 1 view .LVU497
662:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1295 .loc 1 662 21 is_stmt 0 view .LVU498
1296 0042 0020 movs r0, #0
685:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1297 .loc 1 685 12 view .LVU499
1298 0044 E9E7 b .L73
1299 .L79:
665:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
ARM GAS /tmp/cczKwjqg.s page 47
1300 .loc 1 665 3 discriminator 1 view .LVU500
1301 0046 0220 movs r0, #2
701:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1302 .loc 1 701 1 view .LVU501
1303 0048 7047 bx lr
1304 .cfi_endproc
1305 .LFE138:
1307 .section .text.HAL_DMA_UnRegisterCallback,"ax",%progbits
1308 .align 1
1309 .global HAL_DMA_UnRegisterCallback
1310 .syntax unified
1311 .thumb
1312 .thumb_func
1314 HAL_DMA_UnRegisterCallback:
1315 .LVL78:
1316 .LFB139:
712:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
1317 .loc 1 712 1 is_stmt 1 view -0
1318 .cfi_startproc
1319 @ args = 0, pretend = 0, frame = 0
1320 @ frame_needed = 0, uses_anonymous_args = 0
1321 @ link register save eliminated.
712:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
1322 .loc 1 712 1 is_stmt 0 view .LVU503
1323 0000 0346 mov r3, r0
713:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1324 .loc 1 713 3 is_stmt 1 view .LVU504
1325 .LVL79:
716:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1326 .loc 1 716 3 view .LVU505
716:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1327 .loc 1 716 3 view .LVU506
1328 0002 90F82020 ldrb r2, [r0, #32] @ zero_extendqisi2
1329 0006 012A cmp r2, #1
1330 0008 25D0 beq .L92
716:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1331 .loc 1 716 3 discriminator 2 view .LVU507
1332 000a 0122 movs r2, #1
1333 000c 80F82020 strb r2, [r0, #32]
716:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1334 .loc 1 716 3 discriminator 2 view .LVU508
718:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1335 .loc 1 718 3 view .LVU509
718:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1336 .loc 1 718 33 is_stmt 0 view .LVU510
1337 0010 90F82100 ldrb r0, [r0, #33] @ zero_extendqisi2
1338 .LVL80:
718:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1339 .loc 1 718 5 view .LVU511
1340 0014 9042 cmp r0, r2
1341 0016 04D0 beq .L95
752:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1342 .loc 1 752 12 view .LVU512
1343 0018 0120 movs r0, #1
1344 .L85:
1345 .LVL81:
756:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
ARM GAS /tmp/cczKwjqg.s page 48
1346 .loc 1 756 3 is_stmt 1 view .LVU513
756:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1347 .loc 1 756 3 view .LVU514
1348 001a 0022 movs r2, #0
1349 001c 83F82020 strb r2, [r3, #32]
756:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1350 .loc 1 756 3 view .LVU515
758:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1351 .loc 1 758 3 view .LVU516
758:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1352 .loc 1 758 10 is_stmt 0 view .LVU517
1353 0020 7047 bx lr
1354 .LVL82:
1355 .L95:
720:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** {
1356 .loc 1 720 5 is_stmt 1 view .LVU518
1357 0022 0429 cmp r1, #4
1358 0024 F9D8 bhi .L85
1359 0026 DFE801F0 tbb [pc, r1]
1360 .L87:
1361 002a 03 .byte (.L91-.L87)/2
1362 002b 07 .byte (.L90-.L87)/2
1363 002c 0A .byte (.L89-.L87)/2
1364 002d 0D .byte (.L88-.L87)/2
1365 002e 10 .byte (.L86-.L87)/2
1366 002f 00 .p2align 1
1367 .L91:
723:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1368 .loc 1 723 12 view .LVU519
723:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1369 .loc 1 723 35 is_stmt 0 view .LVU520
1370 0030 0022 movs r2, #0
1371 0032 9A62 str r2, [r3, #40]
724:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1372 .loc 1 724 12 is_stmt 1 view .LVU521
713:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1373 .loc 1 713 21 is_stmt 0 view .LVU522
1374 0034 0846 mov r0, r1
724:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1375 .loc 1 724 12 view .LVU523
1376 0036 F0E7 b .L85
1377 .L90:
727:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1378 .loc 1 727 12 is_stmt 1 view .LVU524
727:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1379 .loc 1 727 39 is_stmt 0 view .LVU525
1380 0038 0020 movs r0, #0
1381 003a D862 str r0, [r3, #44]
728:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1382 .loc 1 728 12 is_stmt 1 view .LVU526
1383 003c EDE7 b .L85
1384 .L89:
731:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1385 .loc 1 731 12 view .LVU527
731:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1386 .loc 1 731 36 is_stmt 0 view .LVU528
1387 003e 0020 movs r0, #0
ARM GAS /tmp/cczKwjqg.s page 49
1388 0040 1863 str r0, [r3, #48]
732:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1389 .loc 1 732 12 is_stmt 1 view .LVU529
1390 0042 EAE7 b .L85
1391 .L88:
735:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1392 .loc 1 735 12 view .LVU530
735:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1393 .loc 1 735 36 is_stmt 0 view .LVU531
1394 0044 0020 movs r0, #0
1395 0046 5863 str r0, [r3, #52]
736:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1396 .loc 1 736 12 is_stmt 1 view .LVU532
1397 0048 E7E7 b .L85
1398 .L86:
739:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
1399 .loc 1 739 12 view .LVU533
739:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
1400 .loc 1 739 35 is_stmt 0 view .LVU534
1401 004a 0020 movs r0, #0
1402 004c 9862 str r0, [r3, #40]
740:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
1403 .loc 1 740 12 is_stmt 1 view .LVU535
740:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
1404 .loc 1 740 39 is_stmt 0 view .LVU536
1405 004e D862 str r0, [r3, #44]
741:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
1406 .loc 1 741 12 is_stmt 1 view .LVU537
741:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
1407 .loc 1 741 36 is_stmt 0 view .LVU538
1408 0050 1863 str r0, [r3, #48]
742:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1409 .loc 1 742 12 is_stmt 1 view .LVU539
742:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** break;
1410 .loc 1 742 36 is_stmt 0 view .LVU540
1411 0052 5863 str r0, [r3, #52]
743:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1412 .loc 1 743 12 is_stmt 1 view .LVU541
1413 0054 E1E7 b .L85
1414 .LVL83:
1415 .L92:
716:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1416 .loc 1 716 3 is_stmt 0 discriminator 1 view .LVU542
1417 0056 0220 movs r0, #2
1418 .LVL84:
759:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1419 .loc 1 759 1 view .LVU543
1420 0058 7047 bx lr
1421 .cfi_endproc
1422 .LFE139:
1424 .section .text.HAL_DMA_GetState,"ax",%progbits
1425 .align 1
1426 .global HAL_DMA_GetState
1427 .syntax unified
1428 .thumb
1429 .thumb_func
1431 HAL_DMA_GetState:
ARM GAS /tmp/cczKwjqg.s page 50
1432 .LVL85:
1433 .LFB140:
788:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return hdma->State;
1434 .loc 1 788 1 is_stmt 1 view -0
1435 .cfi_startproc
1436 @ args = 0, pretend = 0, frame = 0
1437 @ frame_needed = 0, uses_anonymous_args = 0
1438 @ link register save eliminated.
789:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1439 .loc 1 789 3 view .LVU545
790:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1440 .loc 1 790 1 is_stmt 0 view .LVU546
1441 0000 90F82100 ldrb r0, [r0, #33] @ zero_extendqisi2
1442 .LVL86:
790:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1443 .loc 1 790 1 view .LVU547
1444 0004 7047 bx lr
1445 .cfi_endproc
1446 .LFE140:
1448 .section .text.HAL_DMA_GetError,"ax",%progbits
1449 .align 1
1450 .global HAL_DMA_GetError
1451 .syntax unified
1452 .thumb
1453 .thumb_func
1455 HAL_DMA_GetError:
1456 .LVL87:
1457 .LFB141:
799:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** return hdma->ErrorCode;
1458 .loc 1 799 1 is_stmt 1 view -0
1459 .cfi_startproc
1460 @ args = 0, pretend = 0, frame = 0
1461 @ frame_needed = 0, uses_anonymous_args = 0
1462 @ link register save eliminated.
800:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1463 .loc 1 800 3 view .LVU549
800:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c **** }
1464 .loc 1 800 14 is_stmt 0 view .LVU550
1465 0000 806B ldr r0, [r0, #56]
1466 .LVL88:
801:Drivers/STM32F3xx_HAL_Driver/Src/stm32f3xx_hal_dma.c ****
1467 .loc 1 801 1 view .LVU551
1468 0002 7047 bx lr
1469 .cfi_endproc
1470 .LFE141:
1472 .text
1473 .Letext0:
1474 .file 2 "/home/h/.var/app/com.visualstudio.code/config/Code/User/globalStorage/bmd.stm32-for-vscod
1475 .file 3 "/home/h/.var/app/com.visualstudio.code/config/Code/User/globalStorage/bmd.stm32-for-vscod
1476 .file 4 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f302xc.h"
1477 .file 5 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f3xx.h"
1478 .file 6 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_def.h"
1479 .file 7 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_dma.h"
1480 .file 8 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal.h"
ARM GAS /tmp/cczKwjqg.s page 51
DEFINED SYMBOLS
*ABS*:00000000 stm32f3xx_hal_dma.c
/tmp/cczKwjqg.s:21 .text.DMA_SetConfig:00000000 $t
/tmp/cczKwjqg.s:26 .text.DMA_SetConfig:00000000 DMA_SetConfig
/tmp/cczKwjqg.s:97 .text.DMA_CalcBaseAndBitshift:00000000 $t
/tmp/cczKwjqg.s:102 .text.DMA_CalcBaseAndBitshift:00000000 DMA_CalcBaseAndBitshift
/tmp/cczKwjqg.s:156 .text.DMA_CalcBaseAndBitshift:00000034 $d
/tmp/cczKwjqg.s:166 .text.HAL_DMA_Init:00000000 $t
/tmp/cczKwjqg.s:172 .text.HAL_DMA_Init:00000000 HAL_DMA_Init
/tmp/cczKwjqg.s:277 .text.HAL_DMA_DeInit:00000000 $t
/tmp/cczKwjqg.s:283 .text.HAL_DMA_DeInit:00000000 HAL_DMA_DeInit
/tmp/cczKwjqg.s:387 .text.HAL_DMA_Start:00000000 $t
/tmp/cczKwjqg.s:393 .text.HAL_DMA_Start:00000000 HAL_DMA_Start
/tmp/cczKwjqg.s:485 .text.HAL_DMA_Start_IT:00000000 $t
/tmp/cczKwjqg.s:491 .text.HAL_DMA_Start_IT:00000000 HAL_DMA_Start_IT
/tmp/cczKwjqg.s:615 .text.HAL_DMA_Abort:00000000 $t
/tmp/cczKwjqg.s:621 .text.HAL_DMA_Abort:00000000 HAL_DMA_Abort
/tmp/cczKwjqg.s:696 .text.HAL_DMA_Abort_IT:00000000 $t
/tmp/cczKwjqg.s:702 .text.HAL_DMA_Abort_IT:00000000 HAL_DMA_Abort_IT
/tmp/cczKwjqg.s:793 .text.HAL_DMA_PollForTransfer:00000000 $t
/tmp/cczKwjqg.s:799 .text.HAL_DMA_PollForTransfer:00000000 HAL_DMA_PollForTransfer
/tmp/cczKwjqg.s:1012 .text.HAL_DMA_IRQHandler:00000000 $t
/tmp/cczKwjqg.s:1018 .text.HAL_DMA_IRQHandler:00000000 HAL_DMA_IRQHandler
/tmp/cczKwjqg.s:1202 .text.HAL_DMA_RegisterCallback:00000000 $t
/tmp/cczKwjqg.s:1208 .text.HAL_DMA_RegisterCallback:00000000 HAL_DMA_RegisterCallback
/tmp/cczKwjqg.s:1258 .text.HAL_DMA_RegisterCallback:0000002a $d
/tmp/cczKwjqg.s:1262 .text.HAL_DMA_RegisterCallback:0000002e $t
/tmp/cczKwjqg.s:1308 .text.HAL_DMA_UnRegisterCallback:00000000 $t
/tmp/cczKwjqg.s:1314 .text.HAL_DMA_UnRegisterCallback:00000000 HAL_DMA_UnRegisterCallback
/tmp/cczKwjqg.s:1361 .text.HAL_DMA_UnRegisterCallback:0000002a $d
/tmp/cczKwjqg.s:1425 .text.HAL_DMA_GetState:00000000 $t
/tmp/cczKwjqg.s:1431 .text.HAL_DMA_GetState:00000000 HAL_DMA_GetState
/tmp/cczKwjqg.s:1449 .text.HAL_DMA_GetError:00000000 $t
/tmp/cczKwjqg.s:1455 .text.HAL_DMA_GetError:00000000 HAL_DMA_GetError
/tmp/cczKwjqg.s:1366 .text.HAL_DMA_UnRegisterCallback:0000002f $d
/tmp/cczKwjqg.s:1366 .text.HAL_DMA_UnRegisterCallback:00000030 $t
UNDEFINED SYMBOLS
HAL_GetTick