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