Rev 18 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
19 | mjames | 1 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 1 |
16 | mjames | 2 | |
3 | |||
4 | 1 .cpu cortex-m3 |
||
5 | 2 .eabi_attribute 20, 1 |
||
6 | 3 .eabi_attribute 21, 1 |
||
7 | 4 .eabi_attribute 23, 3 |
||
8 | 5 .eabi_attribute 24, 1 |
||
9 | 6 .eabi_attribute 25, 1 |
||
10 | 7 .eabi_attribute 26, 1 |
||
11 | 8 .eabi_attribute 30, 1 |
||
12 | 9 .eabi_attribute 34, 1 |
||
13 | 10 .eabi_attribute 18, 4 |
||
14 | 11 .file "stm32f1xx_hal_dma.c" |
||
15 | 12 .text |
||
16 | 13 .Ltext0: |
||
17 | 14 .cfi_sections .debug_frame |
||
18 | 15 .section .text.DMA_SetConfig,"ax",%progbits |
||
19 | 16 .align 1 |
||
20 | 17 .arch armv7-m |
||
21 | 18 .syntax unified |
||
22 | 19 .thumb |
||
23 | 20 .thumb_func |
||
24 | 21 .fpu softvfp |
||
25 | 23 DMA_SetConfig: |
||
26 | 24 .LVL0: |
||
27 | 25 .LFB77: |
||
28 | 26 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c" |
||
29 | 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
30 | 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ****************************************************************************** |
||
31 | 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @file stm32f1xx_hal_dma.c |
||
32 | 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @author MCD Application Team |
||
33 | 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief DMA HAL module driver. |
||
34 | 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * This file provides firmware functions to manage the following |
||
35 | 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * functionalities of the Direct Memory Access (DMA) peripheral: |
||
36 | 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * + Initialization and de-initialization functions |
||
37 | 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * + IO operation functions |
||
38 | 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * + Peripheral State and errors functions |
||
39 | 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim |
||
40 | 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ============================================================================== |
||
41 | 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### How to use this driver ##### |
||
42 | 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ============================================================================== |
||
43 | 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..] |
||
44 | 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) Enable and configure the peripheral to be connected to the DMA Channel |
||
45 | 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (except for internal SRAM / FLASH memories: no initialization is |
||
46 | 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** necessary). Please refer to the Reference manual for connection between peripherals |
||
47 | 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** and DMA requests. |
||
48 | 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
49 | 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) For a given Channel, program the required configuration through the following parameters: |
||
50 | 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Channel request, Transfer Direction, Source and Destination data formats, |
||
51 | 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Circular or Normal mode, Channel Priority level, Source and Destination Increment mode |
||
52 | 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** using HAL_DMA_Init() function. |
||
53 | 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
54 | 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) Use HAL_DMA_GetState() function to return the DMA state and HAL_DMA_GetError() in case of er |
||
55 | 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** detection. |
||
56 | 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
57 | 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) Use HAL_DMA_Abort() function to abort the current transfer |
||
58 | 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
59 | 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** -@- In Memory-to-Memory transfer mode, Circular mode is not allowed. |
||
60 | 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *** Polling mode IO operation *** |
||
19 | mjames | 61 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 2 |
16 | mjames | 62 | |
63 | |||
64 | 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ================================= |
||
65 | 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..] |
||
66 | 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_Start() to start DMA transfer after the configuration of Source |
||
67 | 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** address and destination address and the Length of data to be transferred |
||
68 | 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_PollForTransfer() to poll for the end of current transfer, in this |
||
69 | 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case a fixed Timeout can be configured by User depending from his application. |
||
70 | 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
71 | 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *** Interrupt mode IO operation *** |
||
72 | 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** =================================== |
||
73 | 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..] |
||
74 | 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Configure the DMA interrupt priority using HAL_NVIC_SetPriority() |
||
75 | 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Enable the DMA IRQ handler using HAL_NVIC_EnableIRQ() |
||
76 | 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_Start_IT() to start DMA transfer after the configuration of |
||
77 | 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Source address and destination address and the Length of data to be transferred. |
||
78 | 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** In this case the DMA interrupt is configured |
||
79 | 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_IRQHandler() called under DMA_IRQHandler() Interrupt subroutine |
||
80 | 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) At the end of data transfer HAL_DMA_IRQHandler() function is executed and user can |
||
81 | 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** add his own function by customization of function pointer XferCpltCallback and |
||
82 | 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** XferErrorCallback (i.e. a member of DMA handle structure). |
||
83 | 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
84 | 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *** DMA HAL driver macros list *** |
||
85 | 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ============================================= |
||
86 | 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..] |
||
87 | 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Below the list of most used macros in DMA HAL driver. |
||
88 | 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
89 | 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_ENABLE: Enable the specified DMA Channel. |
||
90 | 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_DISABLE: Disable the specified DMA Channel. |
||
91 | 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_GET_FLAG: Get the DMA Channel pending flags. |
||
92 | 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_CLEAR_FLAG: Clear the DMA Channel pending flags. |
||
93 | 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_ENABLE_IT: Enable the specified DMA Channel interrupts. |
||
94 | 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_DISABLE_IT: Disable the specified DMA Channel interrupts. |
||
95 | 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_GET_IT_SOURCE: Check whether the specified DMA Channel interrupt has occurred |
||
96 | 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
97 | 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..] |
||
98 | 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (@) You can refer to the DMA HAL driver header file for more useful macros |
||
99 | 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
100 | 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim |
||
101 | 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ****************************************************************************** |
||
102 | 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @attention |
||
103 | 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * |
||
104 | 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * <h2><center>© Copyright (c) 2016 STMicroelectronics. |
||
105 | 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * All rights reserved.</center></h2> |
||
106 | 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * |
||
107 | 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * This software component is licensed by ST under BSD 3-Clause license, |
||
108 | 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the "License"; You may not use this file except in compliance with the |
||
109 | 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * License. You may obtain a copy of the License at: |
||
110 | 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * opensource.org/licenses/BSD-3-Clause |
||
111 | 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * |
||
112 | 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ****************************************************************************** |
||
113 | 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
114 | 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
115 | 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Includes ------------------------------------------------------------------*/ |
||
116 | 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #include "stm32f1xx_hal.h" |
||
117 | 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
118 | 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @addtogroup STM32F1xx_HAL_Driver |
||
119 | 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{ |
||
120 | 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
19 | mjames | 121 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 3 |
16 | mjames | 122 | |
123 | |||
124 | 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
125 | 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA DMA |
||
126 | 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief DMA HAL module driver |
||
127 | 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{ |
||
128 | 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
129 | 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
130 | 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #ifdef HAL_DMA_MODULE_ENABLED |
||
131 | 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
132 | 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private typedef -----------------------------------------------------------*/ |
||
133 | 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private define ------------------------------------------------------------*/ |
||
134 | 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private macro -------------------------------------------------------------*/ |
||
135 | 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private variables ---------------------------------------------------------*/ |
||
136 | 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private function prototypes -----------------------------------------------*/ |
||
137 | 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Private_Functions DMA Private Functions |
||
138 | 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{ |
||
139 | 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
140 | 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32 |
||
141 | 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
142 | 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @} |
||
143 | 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
144 | 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
145 | 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Exported functions ---------------------------------------------------------*/ |
||
146 | 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
147 | 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions DMA Exported Functions |
||
148 | 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{ |
||
149 | 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
150 | 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
151 | 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group1 Initialization and de-initialization functions |
||
152 | 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Initialization and de-initialization functions |
||
153 | 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * |
||
154 | 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim |
||
155 | 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** =============================================================================== |
||
156 | 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### Initialization and de-initialization functions ##### |
||
157 | 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** =============================================================================== |
||
158 | 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..] |
||
159 | 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** This section provides functions allowing to initialize the DMA Channel source |
||
160 | 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** and destination addresses, incrementation and data sizes, transfer direction, |
||
161 | 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** circular/normal mode selection, memory-to-memory mode selection and Channel priority value. |
||
162 | 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..] |
||
163 | 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** The HAL_DMA_Init() function follows the DMA configuration procedures as described in |
||
164 | 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** reference manual. |
||
165 | 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
166 | 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim |
||
167 | 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{ |
||
168 | 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
169 | 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
170 | 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
171 | 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Initialize the DMA according to the specified |
||
172 | 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * parameters in the DMA_InitTypeDef and initialize the associated handle. |
||
173 | 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: Pointer to a DMA_HandleTypeDef structure that contains |
||
174 | 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel. |
||
175 | 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status |
||
176 | 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
177 | 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma) |
||
178 | 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
179 | 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tmp = 0U; |
||
180 | 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
19 | mjames | 181 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 4 |
16 | mjames | 182 | |
183 | |||
184 | 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */ |
||
185 | 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma == NULL) |
||
186 | 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
187 | 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR; |
||
188 | 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
189 | 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
190 | 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */ |
||
191 | 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance)); |
||
192 | 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction)); |
||
193 | 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc)); |
||
194 | 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc)); |
||
195 | 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment)); |
||
196 | 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment)); |
||
197 | 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode)); |
||
198 | 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority)); |
||
199 | 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
200 | 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #if defined (DMA2) |
||
201 | 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* calculation of the channel index */ |
||
202 | 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if ((uint32_t)(hdma->Instance) < (uint32_t)(DMA2_Channel1)) |
||
203 | 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
204 | 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */ |
||
205 | 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Ch |
||
206 | 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
207 | 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
208 | 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else |
||
209 | 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
210 | 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA2 */ |
||
211 | 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA2_Channel1) / ((uint32_t)DMA2_Ch |
||
212 | 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; |
||
213 | 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
214 | 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #else |
||
215 | 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */ |
||
216 | 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Chan |
||
217 | 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
218 | 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */ |
||
219 | 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
220 | 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change DMA peripheral state */ |
||
221 | 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY; |
||
222 | 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
223 | 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Get the CR register value */ |
||
224 | 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tmp = hdma->Instance->CCR; |
||
225 | 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
226 | 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear PL, MSIZE, PSIZE, MINC, PINC, CIRC and DIR bits */ |
||
227 | 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tmp &= ((uint32_t)~(DMA_CCR_PL | DMA_CCR_MSIZE | DMA_CCR_PSIZE | \ |
||
228 | 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \ |
||
229 | 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_DIR)); |
||
230 | 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
231 | 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Prepare the DMA Channel configuration */ |
||
232 | 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tmp |= hdma->Init.Direction | |
||
233 | 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | |
||
234 | 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | |
||
235 | 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority; |
||
236 | 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
237 | 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Write to DMA Channel CR register */ |
||
238 | 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CCR = tmp; |
||
239 | 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
240 | 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Initialise the error code */ |
||
19 | mjames | 241 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 5 |
16 | mjames | 242 | |
243 | |||
244 | 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; |
||
245 | 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
246 | 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Initialize the DMA state*/ |
||
247 | 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; |
||
248 | 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Allocate lock resource and initialize it */ |
||
249 | 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Lock = HAL_UNLOCKED; |
||
250 | 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
251 | 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_OK; |
||
252 | 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
253 | 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
254 | 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
255 | 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief DeInitialize the DMA peripheral. |
||
256 | 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains |
||
257 | 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel. |
||
258 | 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status |
||
259 | 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
260 | 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma) |
||
261 | 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
262 | 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */ |
||
263 | 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma == NULL) |
||
264 | 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
265 | 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR; |
||
266 | 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
267 | 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
268 | 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */ |
||
269 | 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance)); |
||
270 | 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
271 | 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the selected DMA Channelx */ |
||
272 | 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); |
||
273 | 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
274 | 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel control register */ |
||
275 | 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CCR = 0U; |
||
276 | 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
277 | 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel Number of Data to Transfer register */ |
||
278 | 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CNDTR = 0U; |
||
279 | 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
280 | 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel peripheral address register */ |
||
281 | 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CPAR = 0U; |
||
282 | 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
283 | 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel memory address register */ |
||
284 | 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CMAR = 0U; |
||
285 | 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
286 | 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #if defined (DMA2) |
||
287 | 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* calculation of the channel index */ |
||
288 | 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if ((uint32_t)(hdma->Instance) < (uint32_t)(DMA2_Channel1)) |
||
289 | 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
290 | 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */ |
||
291 | 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Ch |
||
292 | 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
293 | 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
294 | 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else |
||
295 | 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
296 | 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA2 */ |
||
297 | 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA2_Channel1) / ((uint32_t)DMA2_Ch |
||
298 | 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2; |
||
299 | 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
300 | 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #else |
||
19 | mjames | 301 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 6 |
16 | mjames | 302 | |
303 | |||
304 | 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */ |
||
305 | 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Chan |
||
306 | 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
307 | 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */ |
||
308 | 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
309 | 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */ |
||
310 | 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << (hdma->ChannelIndex)); |
||
311 | 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
312 | 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clean all callbacks */ |
||
313 | 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = NULL; |
||
314 | 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; |
||
315 | 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL; |
||
316 | 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL; |
||
317 | 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
318 | 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset the error code */ |
||
319 | 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; |
||
320 | 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
321 | 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset the DMA state */ |
||
322 | 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_RESET; |
||
323 | 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
324 | 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Release Lock */ |
||
325 | 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
326 | 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
327 | 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_OK; |
||
328 | 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
329 | 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
330 | 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
331 | 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @} |
||
332 | 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
333 | 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
334 | 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group2 Input and Output operation functions |
||
335 | 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Input and Output operation functions |
||
336 | 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * |
||
337 | 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim |
||
338 | 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** =============================================================================== |
||
339 | 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### IO operation functions ##### |
||
340 | 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** =============================================================================== |
||
341 | 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..] This section provides functions allowing to: |
||
342 | 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Configure the source, destination address and data length and Start DMA transfer |
||
343 | 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Configure the source, destination address and data length and |
||
344 | 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Start DMA transfer with interrupt |
||
345 | 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Abort DMA transfer |
||
346 | 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Poll for transfer complete |
||
347 | 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Handle DMA interrupt request |
||
348 | 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
349 | 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim |
||
350 | 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{ |
||
351 | 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
352 | 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
353 | 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
354 | 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Start the DMA Transfer. |
||
355 | 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains |
||
356 | 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel. |
||
357 | 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address |
||
358 | 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address |
||
359 | 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination |
||
360 | 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status |
||
19 | mjames | 361 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 7 |
16 | mjames | 362 | |
363 | |||
364 | 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
365 | 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, |
||
366 | 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
367 | 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
368 | 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
369 | 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */ |
||
370 | 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength)); |
||
371 | 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
372 | 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */ |
||
373 | 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma); |
||
374 | 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
375 | 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State) |
||
376 | 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
377 | 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change DMA peripheral state */ |
||
378 | 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY; |
||
379 | 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; |
||
380 | 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
381 | 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the peripheral */ |
||
382 | 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); |
||
383 | 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
384 | 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure the source, destination address and the data length & clear flags*/ |
||
385 | 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength); |
||
386 | 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
387 | 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the Peripheral */ |
||
388 | 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE(hdma); |
||
389 | 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
390 | 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else |
||
391 | 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
392 | 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */ |
||
393 | 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
394 | 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY; |
||
395 | 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
396 | 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status; |
||
397 | 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
398 | 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
399 | 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
400 | 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Start the DMA Transfer with interrupt enabled. |
||
401 | 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains |
||
402 | 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel. |
||
403 | 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address |
||
404 | 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address |
||
405 | 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination |
||
406 | 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status |
||
407 | 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
408 | 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddres |
||
409 | 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
410 | 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
411 | 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
412 | 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */ |
||
413 | 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength)); |
||
414 | 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
415 | 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */ |
||
416 | 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma); |
||
417 | 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
418 | 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State) |
||
419 | 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
420 | 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change DMA peripheral state */ |
||
19 | mjames | 421 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 8 |
16 | mjames | 422 | |
423 | |||
424 | 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY; |
||
425 | 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; |
||
426 | 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
427 | 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the peripheral */ |
||
428 | 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); |
||
429 | 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
430 | 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure the source, destination address and the data length & clear flags*/ |
||
431 | 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength); |
||
432 | 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
433 | 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the transfer complete interrupt */ |
||
434 | 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the transfer Error interrupt */ |
||
435 | 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(NULL != hdma->XferHalfCpltCallback) |
||
436 | 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
437 | 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the Half transfer complete interrupt as well */ |
||
438 | 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE)); |
||
439 | 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
440 | 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else |
||
441 | 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
442 | 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_HT); |
||
443 | 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_TE)); |
||
444 | 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
445 | 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the Peripheral */ |
||
446 | 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE(hdma); |
||
447 | 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
448 | 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else |
||
449 | 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
450 | 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */ |
||
451 | 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
452 | 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
453 | 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Remain BUSY */ |
||
454 | 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY; |
||
455 | 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
456 | 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status; |
||
457 | 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
458 | 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
459 | 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
460 | 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Abort the DMA Transfer. |
||
461 | 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains |
||
462 | 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel. |
||
463 | 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status |
||
464 | 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
465 | 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma) |
||
466 | 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
467 | 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
468 | 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
469 | 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->State != HAL_DMA_STATE_BUSY) |
||
470 | 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
471 | 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* no transfer ongoing */ |
||
472 | 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER; |
||
473 | 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
474 | 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */ |
||
475 | 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
476 | 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
477 | 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR; |
||
478 | 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
479 | 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else |
||
480 | 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
19 | mjames | 481 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 9 |
16 | mjames | 482 | |
483 | |||
484 | 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
485 | 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable DMA IT */ |
||
486 | 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE)); |
||
487 | 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
488 | 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the channel */ |
||
489 | 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); |
||
490 | 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
491 | 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */ |
||
492 | 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex); |
||
493 | 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
494 | 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */ |
||
495 | 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; |
||
496 | 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
497 | 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */ |
||
498 | 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
499 | 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
500 | 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status; |
||
501 | 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
502 | 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
503 | 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
504 | 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Aborts the DMA Transfer in Interrupt mode. |
||
505 | 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains |
||
506 | 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel. |
||
507 | 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status |
||
508 | 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
509 | 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma) |
||
510 | 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
511 | 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
512 | 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
513 | 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State) |
||
514 | 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
515 | 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* no transfer ongoing */ |
||
516 | 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER; |
||
517 | 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
518 | 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR; |
||
519 | 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
520 | 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else |
||
521 | 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
522 | 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable DMA IT */ |
||
523 | 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE)); |
||
524 | 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
525 | 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the channel */ |
||
526 | 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma); |
||
527 | 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
528 | 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */ |
||
529 | 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_GI_FLAG_INDEX(hdma)); |
||
530 | 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
531 | 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */ |
||
532 | 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; |
||
533 | 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
534 | 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */ |
||
535 | 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
536 | 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
537 | 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Call User Abort callback */ |
||
538 | 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->XferAbortCallback != NULL) |
||
539 | 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
540 | 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback(hdma); |
||
19 | mjames | 541 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 10 |
16 | mjames | 542 | |
543 | |||
544 | 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
545 | 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
546 | 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status; |
||
547 | 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
548 | 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
549 | 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
550 | 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Polling for transfer complete. |
||
551 | 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains |
||
552 | 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel. |
||
553 | 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param CompleteLevel: Specifies the DMA level complete. |
||
554 | 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param Timeout: Timeout duration. |
||
555 | 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status |
||
556 | 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
557 | 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, uint32_t CompleteLevel, uint32_t |
||
558 | 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
559 | 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t temp; |
||
560 | 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tickstart = 0U; |
||
561 | 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
562 | 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State) |
||
563 | 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
564 | 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* no transfer ongoing */ |
||
565 | 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER; |
||
566 | 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
567 | 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR; |
||
568 | 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
569 | 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
570 | 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Polling mode not supported in circular mode */ |
||
571 | 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if (RESET != (hdma->Instance->CCR & DMA_CCR_CIRC)) |
||
572 | 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
573 | 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NOT_SUPPORTED; |
||
574 | 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR; |
||
575 | 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
576 | 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
577 | 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Get the level transfer complete flag */ |
||
578 | 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(CompleteLevel == HAL_DMA_FULL_TRANSFER) |
||
579 | 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
580 | 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer Complete flag */ |
||
581 | 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** temp = __HAL_DMA_GET_TC_FLAG_INDEX(hdma); |
||
582 | 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
583 | 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else |
||
584 | 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
585 | 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Half Transfer Complete flag */ |
||
586 | 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** temp = __HAL_DMA_GET_HT_FLAG_INDEX(hdma); |
||
587 | 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
588 | 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
589 | 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Get tick */ |
||
590 | 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tickstart = HAL_GetTick(); |
||
591 | 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
592 | 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** while(__HAL_DMA_GET_FLAG(hdma, temp) == RESET) |
||
593 | 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
594 | 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((__HAL_DMA_GET_FLAG(hdma, __HAL_DMA_GET_TE_FLAG_INDEX(hdma)) != RESET)) |
||
595 | 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
596 | 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* When a DMA transfer error occurs */ |
||
597 | 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */ |
||
598 | 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */ |
||
599 | 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex); |
||
600 | 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
19 | mjames | 601 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 11 |
16 | mjames | 602 | |
603 | |||
604 | 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Update error code */ |
||
605 | 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** SET_BIT(hdma->ErrorCode, HAL_DMA_ERROR_TE); |
||
606 | 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
607 | 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */ |
||
608 | 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State= HAL_DMA_STATE_READY; |
||
609 | 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
610 | 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */ |
||
611 | 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
612 | 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
613 | 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR; |
||
614 | 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
615 | 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check for the Timeout */ |
||
616 | 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(Timeout != HAL_MAX_DELAY) |
||
617 | 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
618 | 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((Timeout == 0U) || ((HAL_GetTick() - tickstart) > Timeout)) |
||
619 | 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
620 | 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Update error code */ |
||
621 | 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** SET_BIT(hdma->ErrorCode, HAL_DMA_ERROR_TIMEOUT); |
||
622 | 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
623 | 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */ |
||
624 | 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; |
||
625 | 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
626 | 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */ |
||
627 | 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
628 | 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
629 | 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR; |
||
630 | 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
631 | 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
632 | 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
633 | 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
634 | 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(CompleteLevel == HAL_DMA_FULL_TRANSFER) |
||
635 | 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
636 | 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the transfer complete flag */ |
||
637 | 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TC_FLAG_INDEX(hdma)); |
||
638 | 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
639 | 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* The selected Channelx EN bit is cleared (DMA is disabled and |
||
640 | 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** all transfers are complete) */ |
||
641 | 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; |
||
642 | 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
643 | 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else |
||
644 | 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
645 | 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the half transfer complete flag */ |
||
646 | 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_HT_FLAG_INDEX(hdma)); |
||
647 | 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
648 | 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
649 | 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process unlocked */ |
||
650 | 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
651 | 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
652 | 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_OK; |
||
653 | 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
654 | 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
655 | 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
656 | 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Handles DMA interrupt request. |
||
657 | 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains |
||
658 | 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel. |
||
659 | 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval None |
||
660 | 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
19 | mjames | 661 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 12 |
16 | mjames | 662 | |
663 | |||
664 | 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma) |
||
665 | 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
666 | 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR; |
||
667 | 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR; |
||
668 | 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
669 | 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Half Transfer Complete Interrupt management ******************************/ |
||
670 | 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if (((flag_it & (DMA_FLAG_HT1 << hdma->ChannelIndex)) != RESET) && ((source_it & DMA_IT_HT) != RE |
||
671 | 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
672 | 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the half transfer interrupt if the DMA mode is not CIRCULAR */ |
||
673 | 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U) |
||
674 | 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
675 | 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the half transfer interrupt */ |
||
676 | 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_HT); |
||
677 | 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
678 | 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the half transfer complete flag */ |
||
679 | 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_HT_FLAG_INDEX(hdma)); |
||
680 | 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
681 | 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA peripheral state is not updated in Half Transfer */ |
||
682 | 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* but in Transfer Complete case */ |
||
683 | 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
684 | 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->XferHalfCpltCallback != NULL) |
||
685 | 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
686 | 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Half transfer callback */ |
||
687 | 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback(hdma); |
||
688 | 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
689 | 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
690 | 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
691 | 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer Complete Interrupt management ***********************************/ |
||
692 | 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else if (((flag_it & (DMA_FLAG_TC1 << hdma->ChannelIndex)) != RESET) && ((source_it & DMA_IT_TC) |
||
693 | 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
694 | 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U) |
||
695 | 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
696 | 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the transfer complete and error interrupt */ |
||
697 | 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_TE | DMA_IT_TC); |
||
698 | 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
699 | 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */ |
||
700 | 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; |
||
701 | 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
702 | 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the transfer complete flag */ |
||
703 | 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TC_FLAG_INDEX(hdma)); |
||
704 | 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
705 | 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */ |
||
706 | 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
707 | 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
708 | 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->XferCpltCallback != NULL) |
||
709 | 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
710 | 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer complete callback */ |
||
711 | 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback(hdma); |
||
712 | 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
713 | 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
714 | 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
715 | 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer Error Interrupt management **************************************/ |
||
716 | 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else if (( RESET != (flag_it & (DMA_FLAG_TE1 << hdma->ChannelIndex))) && (RESET != (source_it & D |
||
717 | 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
718 | 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* When a DMA transfer error occurs */ |
||
719 | 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */ |
||
720 | 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable ALL DMA IT */ |
||
19 | mjames | 721 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 13 |
16 | mjames | 722 | |
723 | |||
724 | 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE)); |
||
725 | 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
726 | 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */ |
||
727 | 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex); |
||
728 | 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
729 | 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Update error code */ |
||
730 | 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TE; |
||
731 | 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
732 | 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */ |
||
733 | 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY; |
||
734 | 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
735 | 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */ |
||
736 | 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
737 | 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
738 | 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if (hdma->XferErrorCallback != NULL) |
||
739 | 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
740 | 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer error callback */ |
||
741 | 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback(hdma); |
||
742 | 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
743 | 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
744 | 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return; |
||
745 | 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
746 | 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
747 | 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
748 | 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Register callbacks |
||
749 | 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains |
||
750 | 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel. |
||
751 | 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param CallbackID: User Callback identifer |
||
752 | 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter. |
||
753 | 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param pCallback: pointer to private callbacsk function which has pointer to |
||
754 | 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * a DMA_HandleTypeDef structure as parameter. |
||
755 | 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status |
||
756 | 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
757 | 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Callb |
||
758 | 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
759 | 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
760 | 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
761 | 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */ |
||
762 | 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma); |
||
763 | 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
764 | 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State) |
||
765 | 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
766 | 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** switch (CallbackID) |
||
767 | 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
768 | 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID: |
||
769 | 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = pCallback; |
||
770 | 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
771 | 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
772 | 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID: |
||
773 | 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = pCallback; |
||
774 | 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
775 | 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
776 | 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID: |
||
777 | 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = pCallback; |
||
778 | 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
779 | 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
780 | 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID: |
||
19 | mjames | 781 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 14 |
16 | mjames | 782 | |
783 | |||
784 | 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = pCallback; |
||
785 | 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
786 | 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
787 | 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** default: |
||
788 | 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR; |
||
789 | 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
790 | 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
791 | 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
792 | 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else |
||
793 | 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
794 | 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR; |
||
795 | 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
796 | 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
797 | 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Release Lock */ |
||
798 | 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
799 | 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
800 | 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status; |
||
801 | 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
802 | 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
803 | 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
804 | 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief UnRegister callbacks |
||
805 | 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains |
||
806 | 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel. |
||
807 | 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param CallbackID: User Callback identifer |
||
808 | 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter. |
||
809 | 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status |
||
810 | 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
811 | 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Cal |
||
812 | 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
813 | 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
814 | 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
815 | 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */ |
||
816 | 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma); |
||
817 | 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
818 | 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State) |
||
819 | 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
820 | 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** switch (CallbackID) |
||
821 | 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
822 | 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID: |
||
823 | 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = NULL; |
||
824 | 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
825 | 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
826 | 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID: |
||
827 | 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; |
||
828 | 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
829 | 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
830 | 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID: |
||
831 | 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL; |
||
832 | 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
833 | 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
834 | 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID: |
||
835 | 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL; |
||
836 | 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
837 | 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
838 | 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ALL_CB_ID: |
||
839 | 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = NULL; |
||
840 | 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; |
||
19 | mjames | 841 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 15 |
16 | mjames | 842 | |
843 | |||
844 | 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL; |
||
845 | 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL; |
||
846 | 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
847 | 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
848 | 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** default: |
||
849 | 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR; |
||
850 | 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
851 | 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
852 | 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
853 | 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else |
||
854 | 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
855 | 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR; |
||
856 | 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
857 | 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
858 | 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Release Lock */ |
||
859 | 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
860 | 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
861 | 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status; |
||
862 | 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
863 | 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
864 | 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
865 | 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @} |
||
866 | 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
867 | 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
868 | 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group3 Peripheral State and Errors functions |
||
869 | 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Peripheral State and Errors functions |
||
870 | 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * |
||
871 | 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim |
||
872 | 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** =============================================================================== |
||
873 | 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### Peripheral State and Errors functions ##### |
||
874 | 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** =============================================================================== |
||
875 | 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..] |
||
876 | 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** This subsection provides functions allowing to |
||
877 | 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Check the DMA state |
||
878 | 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Get error code |
||
879 | 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
880 | 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim |
||
881 | 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{ |
||
882 | 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
883 | 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
884 | 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
885 | 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Return the DMA hande state. |
||
886 | 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains |
||
887 | 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel. |
||
888 | 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL state |
||
889 | 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
890 | 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_DMA_StateTypeDef HAL_DMA_GetState(DMA_HandleTypeDef *hdma) |
||
891 | 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
892 | 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Return DMA handle state */ |
||
893 | 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return hdma->State; |
||
894 | 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
895 | 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
896 | 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
897 | 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Return the DMA error code. |
||
898 | 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains |
||
899 | 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel. |
||
900 | 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval DMA Error Code |
||
19 | mjames | 901 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 16 |
16 | mjames | 902 | |
903 | |||
904 | 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
905 | 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma) |
||
906 | 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
907 | 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return hdma->ErrorCode; |
||
908 | 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
909 | 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
910 | 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
911 | 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @} |
||
912 | 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
913 | 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
914 | 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
915 | 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @} |
||
916 | 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
917 | 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
918 | 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @addtogroup DMA_Private_Functions |
||
919 | 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{ |
||
920 | 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
921 | 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
922 | 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** |
||
923 | 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Sets the DMA Transfer parameter. |
||
924 | 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains |
||
925 | 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel. |
||
926 | 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address |
||
927 | 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address |
||
928 | 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination |
||
929 | 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status |
||
930 | 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */ |
||
931 | 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32 |
||
932 | 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
933 | 27 .loc 1 859 1 view -0 |
||
934 | 28 .cfi_startproc |
||
935 | 29 @ args = 0, pretend = 0, frame = 0 |
||
936 | 30 @ frame_needed = 0, uses_anonymous_args = 0 |
||
937 | 31 @ link register save eliminated. |
||
938 | 32 .loc 1 859 1 is_stmt 0 view .LVU1 |
||
939 | 33 0000 70B4 push {r4, r5, r6} |
||
940 | 34 .LCFI0: |
||
941 | 35 .cfi_def_cfa_offset 12 |
||
942 | 36 .cfi_offset 4, -12 |
||
943 | 37 .cfi_offset 5, -8 |
||
944 | 38 .cfi_offset 6, -4 |
||
945 | 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */ |
||
946 | 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex); |
||
947 | 39 .loc 1 861 3 is_stmt 1 view .LVU2 |
||
948 | 40 .loc 1 861 53 is_stmt 0 view .LVU3 |
||
949 | 41 0002 066C ldr r6, [r0, #64] |
||
950 | 42 .loc 1 861 7 view .LVU4 |
||
951 | 43 0004 C56B ldr r5, [r0, #60] |
||
952 | 44 .loc 1 861 46 view .LVU5 |
||
953 | 45 0006 0124 movs r4, #1 |
||
954 | 46 0008 B440 lsls r4, r4, r6 |
||
955 | 47 .loc 1 861 30 view .LVU6 |
||
956 | 48 000a 6C60 str r4, [r5, #4] |
||
957 | 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
958 | 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel data length */ |
||
959 | 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CNDTR = DataLength; |
||
960 | 49 .loc 1 864 3 is_stmt 1 view .LVU7 |
||
19 | mjames | 961 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 17 |
16 | mjames | 962 | |
963 | |||
964 | 50 .loc 1 864 7 is_stmt 0 view .LVU8 |
||
965 | 51 000c 0468 ldr r4, [r0] |
||
966 | 52 .loc 1 864 25 view .LVU9 |
||
967 | 53 000e 6360 str r3, [r4, #4] |
||
968 | 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
969 | 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Memory to Peripheral */ |
||
970 | 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((hdma->Init.Direction) == DMA_MEMORY_TO_PERIPH) |
||
971 | 54 .loc 1 867 3 is_stmt 1 view .LVU10 |
||
972 | 55 .loc 1 867 17 is_stmt 0 view .LVU11 |
||
973 | 56 0010 4368 ldr r3, [r0, #4] |
||
974 | 57 .LVL1: |
||
975 | 58 .loc 1 867 5 view .LVU12 |
||
976 | 59 0012 102B cmp r3, #16 |
||
977 | 60 0014 05D0 beq .L5 |
||
978 | 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
979 | 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel destination address */ |
||
980 | 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CPAR = DstAddress; |
||
981 | 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
982 | 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel source address */ |
||
983 | 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CMAR = SrcAddress; |
||
984 | 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
985 | 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Peripheral to Memory */ |
||
986 | 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else |
||
987 | 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
988 | 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel source address */ |
||
989 | 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CPAR = SrcAddress; |
||
990 | 61 .loc 1 879 5 is_stmt 1 view .LVU13 |
||
991 | 62 .loc 1 879 9 is_stmt 0 view .LVU14 |
||
992 | 63 0016 0368 ldr r3, [r0] |
||
993 | 64 .loc 1 879 26 view .LVU15 |
||
994 | 65 0018 9960 str r1, [r3, #8] |
||
995 | 66 .LVL2: |
||
996 | 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
997 | 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel destination address */ |
||
998 | 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CMAR = DstAddress; |
||
999 | 67 .loc 1 882 5 is_stmt 1 view .LVU16 |
||
1000 | 68 .loc 1 882 9 is_stmt 0 view .LVU17 |
||
1001 | 69 001a 0368 ldr r3, [r0] |
||
1002 | 70 .loc 1 882 26 view .LVU18 |
||
1003 | 71 001c DA60 str r2, [r3, #12] |
||
1004 | 72 .L1: |
||
1005 | 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1006 | 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1007 | 73 .loc 1 884 1 view .LVU19 |
||
1008 | 74 001e 70BC pop {r4, r5, r6} |
||
1009 | 75 .LCFI1: |
||
1010 | 76 .cfi_remember_state |
||
1011 | 77 .cfi_restore 6 |
||
1012 | 78 .cfi_restore 5 |
||
1013 | 79 .cfi_restore 4 |
||
1014 | 80 .cfi_def_cfa_offset 0 |
||
1015 | 81 0020 7047 bx lr |
||
1016 | 82 .LVL3: |
||
1017 | 83 .L5: |
||
1018 | 84 .LCFI2: |
||
1019 | 85 .cfi_restore_state |
||
1020 | 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
19 | mjames | 1021 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 18 |
16 | mjames | 1022 | |
1023 | |||
1024 | 86 .loc 1 870 5 is_stmt 1 view .LVU20 |
||
1025 | 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1026 | 87 .loc 1 870 9 is_stmt 0 view .LVU21 |
||
1027 | 88 0022 0368 ldr r3, [r0] |
||
1028 | 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1029 | 89 .loc 1 870 26 view .LVU22 |
||
1030 | 90 0024 9A60 str r2, [r3, #8] |
||
1031 | 91 .LVL4: |
||
1032 | 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1033 | 92 .loc 1 873 5 is_stmt 1 view .LVU23 |
||
1034 | 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1035 | 93 .loc 1 873 9 is_stmt 0 view .LVU24 |
||
1036 | 94 0026 0368 ldr r3, [r0] |
||
1037 | 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1038 | 95 .loc 1 873 26 view .LVU25 |
||
1039 | 96 0028 D960 str r1, [r3, #12] |
||
1040 | 97 002a F8E7 b .L1 |
||
1041 | 98 .cfi_endproc |
||
1042 | 99 .LFE77: |
||
1043 | 101 .section .text.HAL_DMA_Init,"ax",%progbits |
||
1044 | 102 .align 1 |
||
1045 | 103 .global HAL_DMA_Init |
||
1046 | 104 .syntax unified |
||
1047 | 105 .thumb |
||
1048 | 106 .thumb_func |
||
1049 | 107 .fpu softvfp |
||
1050 | 109 HAL_DMA_Init: |
||
1051 | 110 .LVL5: |
||
1052 | 111 .LFB65: |
||
1053 | 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tmp = 0U; |
||
1054 | 112 .loc 1 144 1 is_stmt 1 view -0 |
||
1055 | 113 .cfi_startproc |
||
1056 | 114 @ args = 0, pretend = 0, frame = 0 |
||
1057 | 115 @ frame_needed = 0, uses_anonymous_args = 0 |
||
1058 | 116 @ link register save eliminated. |
||
1059 | 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1060 | 117 .loc 1 145 3 view .LVU27 |
||
1061 | 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1062 | 118 .loc 1 148 3 view .LVU28 |
||
1063 | 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1064 | 119 .loc 1 148 5 is_stmt 0 view .LVU29 |
||
1065 | 120 0000 60B3 cbz r0, .L8 |
||
1066 | 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tmp = 0U; |
||
1067 | 121 .loc 1 144 1 view .LVU30 |
||
1068 | 122 0002 10B4 push {r4} |
||
1069 | 123 .LCFI3: |
||
1070 | 124 .cfi_def_cfa_offset 4 |
||
1071 | 125 .cfi_offset 4, -4 |
||
1072 | 126 0004 0246 mov r2, r0 |
||
1073 | 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction)); |
||
1074 | 127 .loc 1 154 3 is_stmt 1 view .LVU31 |
||
1075 | 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc)); |
||
1076 | 128 .loc 1 155 3 view .LVU32 |
||
1077 | 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc)); |
||
1078 | 129 .loc 1 156 3 view .LVU33 |
||
1079 | 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment)); |
||
1080 | 130 .loc 1 157 3 view .LVU34 |
||
19 | mjames | 1081 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 19 |
16 | mjames | 1082 | |
1083 | |||
1084 | 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment)); |
||
1085 | 131 .loc 1 158 3 view .LVU35 |
||
1086 | 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode)); |
||
1087 | 132 .loc 1 159 3 view .LVU36 |
||
1088 | 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority)); |
||
1089 | 133 .loc 1 160 3 view .LVU37 |
||
1090 | 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1091 | 134 .loc 1 161 3 view .LVU38 |
||
1092 | 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
1093 | 135 .loc 1 179 3 view .LVU39 |
||
1094 | 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
1095 | 136 .loc 1 179 40 is_stmt 0 view .LVU40 |
||
1096 | 137 0006 0168 ldr r1, [r0] |
||
1097 | 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
1098 | 138 .loc 1 179 51 view .LVU41 |
||
1099 | 139 0008 154B ldr r3, .L13 |
||
1100 | 140 000a 0B44 add r3, r3, r1 |
||
1101 | 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
1102 | 141 .loc 1 179 78 view .LVU42 |
||
1103 | 142 000c 1548 ldr r0, .L13+4 |
||
1104 | 143 .LVL6: |
||
1105 | 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
1106 | 144 .loc 1 179 78 view .LVU43 |
||
1107 | 145 000e A0FB0303 umull r0, r3, r0, r3 |
||
1108 | 146 0012 1B09 lsrs r3, r3, #4 |
||
1109 | 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
1110 | 147 .loc 1 179 133 view .LVU44 |
||
1111 | 148 0014 9B00 lsls r3, r3, #2 |
||
1112 | 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
1113 | 149 .loc 1 179 22 view .LVU45 |
||
1114 | 150 0016 1364 str r3, [r2, #64] |
||
1115 | 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */ |
||
1116 | 151 .loc 1 180 3 is_stmt 1 view .LVU46 |
||
1117 | 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */ |
||
1118 | 152 .loc 1 180 24 is_stmt 0 view .LVU47 |
||
1119 | 153 0018 134B ldr r3, .L13+8 |
||
1120 | 154 001a D363 str r3, [r2, #60] |
||
1121 | 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1122 | 155 .loc 1 184 3 is_stmt 1 view .LVU48 |
||
1123 | 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1124 | 156 .loc 1 184 15 is_stmt 0 view .LVU49 |
||
1125 | 157 001c 0223 movs r3, #2 |
||
1126 | 158 001e 82F82130 strb r3, [r2, #33] |
||
1127 | 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1128 | 159 .loc 1 187 3 is_stmt 1 view .LVU50 |
||
1129 | 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1130 | 160 .loc 1 187 7 is_stmt 0 view .LVU51 |
||
1131 | 161 0022 0868 ldr r0, [r1] |
||
1132 | 162 .LVL7: |
||
1133 | 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \ |
||
1134 | 163 .loc 1 190 3 is_stmt 1 view .LVU52 |
||
1135 | 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \ |
||
1136 | 164 .loc 1 190 7 is_stmt 0 view .LVU53 |
||
1137 | 165 0024 20F47F50 bic r0, r0, #16320 |
||
1138 | 166 .LVL8: |
||
1139 | 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \ |
||
1140 | 167 .loc 1 190 7 view .LVU54 |
||
19 | mjames | 1141 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 20 |
16 | mjames | 1142 | |
1143 | |||
1144 | 168 0028 20F03000 bic r0, r0, #48 |
||
1145 | 169 .LVL9: |
||
1146 | 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | |
||
1147 | 170 .loc 1 195 3 is_stmt 1 view .LVU55 |
||
1148 | 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | |
||
1149 | 171 .loc 1 195 21 is_stmt 0 view .LVU56 |
||
1150 | 172 002c 5368 ldr r3, [r2, #4] |
||
1151 | 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | |
||
1152 | 173 .loc 1 196 21 view .LVU57 |
||
1153 | 174 002e 9468 ldr r4, [r2, #8] |
||
1154 | 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | |
||
1155 | 175 .loc 1 195 39 view .LVU58 |
||
1156 | 176 0030 2343 orrs r3, r3, r4 |
||
1157 | 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | |
||
1158 | 177 .loc 1 196 54 view .LVU59 |
||
1159 | 178 0032 D468 ldr r4, [r2, #12] |
||
1160 | 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | |
||
1161 | 179 .loc 1 196 42 view .LVU60 |
||
1162 | 180 0034 2343 orrs r3, r3, r4 |
||
1163 | 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority; |
||
1164 | 181 .loc 1 197 21 view .LVU61 |
||
1165 | 182 0036 1469 ldr r4, [r2, #16] |
||
1166 | 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | |
||
1167 | 183 .loc 1 196 72 view .LVU62 |
||
1168 | 184 0038 2343 orrs r3, r3, r4 |
||
1169 | 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority; |
||
1170 | 185 .loc 1 197 54 view .LVU63 |
||
1171 | 186 003a 5469 ldr r4, [r2, #20] |
||
1172 | 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority; |
||
1173 | 187 .loc 1 197 42 view .LVU64 |
||
1174 | 188 003c 2343 orrs r3, r3, r4 |
||
1175 | 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1176 | 189 .loc 1 198 21 view .LVU65 |
||
1177 | 190 003e 9469 ldr r4, [r2, #24] |
||
1178 | 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority; |
||
1179 | 191 .loc 1 197 72 view .LVU66 |
||
1180 | 192 0040 2343 orrs r3, r3, r4 |
||
1181 | 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1182 | 193 .loc 1 198 54 view .LVU67 |
||
1183 | 194 0042 D469 ldr r4, [r2, #28] |
||
1184 | 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1185 | 195 .loc 1 198 42 view .LVU68 |
||
1186 | 196 0044 2343 orrs r3, r3, r4 |
||
1187 | 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc | |
||
1188 | 197 .loc 1 195 7 view .LVU69 |
||
1189 | 198 0046 0343 orrs r3, r3, r0 |
||
1190 | 199 .LVL10: |
||
1191 | 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1192 | 200 .loc 1 201 3 is_stmt 1 view .LVU70 |
||
1193 | 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1194 | 201 .loc 1 201 23 is_stmt 0 view .LVU71 |
||
1195 | 202 0048 0B60 str r3, [r1] |
||
1196 | 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1197 | 203 .loc 1 204 3 is_stmt 1 view .LVU72 |
||
1198 | 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1199 | 204 .loc 1 204 19 is_stmt 0 view .LVU73 |
||
1200 | 205 004a 0020 movs r0, #0 |
||
19 | mjames | 1201 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 21 |
16 | mjames | 1202 | |
1203 | |||
1204 | 206 004c 9063 str r0, [r2, #56] |
||
1205 | 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Allocate lock resource and initialize it */ |
||
1206 | 207 .loc 1 207 3 is_stmt 1 view .LVU74 |
||
1207 | 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Allocate lock resource and initialize it */ |
||
1208 | 208 .loc 1 207 15 is_stmt 0 view .LVU75 |
||
1209 | 209 004e 0123 movs r3, #1 |
||
1210 | 210 .LVL11: |
||
1211 | 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Allocate lock resource and initialize it */ |
||
1212 | 211 .loc 1 207 15 view .LVU76 |
||
1213 | 212 0050 82F82130 strb r3, [r2, #33] |
||
1214 | 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1215 | 213 .loc 1 209 3 is_stmt 1 view .LVU77 |
||
1216 | 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1217 | 214 .loc 1 209 14 is_stmt 0 view .LVU78 |
||
1218 | 215 0054 82F82000 strb r0, [r2, #32] |
||
1219 | 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1220 | 216 .loc 1 211 3 is_stmt 1 view .LVU79 |
||
1221 | 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1222 | 217 .loc 1 212 1 is_stmt 0 view .LVU80 |
||
1223 | 218 0058 10BC pop {r4} |
||
1224 | 219 .LCFI4: |
||
1225 | 220 .cfi_restore 4 |
||
1226 | 221 .cfi_def_cfa_offset 0 |
||
1227 | 222 005a 7047 bx lr |
||
1228 | 223 .LVL12: |
||
1229 | 224 .L8: |
||
1230 | 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1231 | 225 .loc 1 150 12 view .LVU81 |
||
1232 | 226 005c 0120 movs r0, #1 |
||
1233 | 227 .LVL13: |
||
1234 | 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1235 | 228 .loc 1 212 1 view .LVU82 |
||
1236 | 229 005e 7047 bx lr |
||
1237 | 230 .L14: |
||
1238 | 231 .align 2 |
||
1239 | 232 .L13: |
||
1240 | 233 0060 F8FFFDBF .word -1073872904 |
||
1241 | 234 0064 CDCCCCCC .word -858993459 |
||
1242 | 235 0068 00000240 .word 1073872896 |
||
1243 | 236 .cfi_endproc |
||
1244 | 237 .LFE65: |
||
1245 | 239 .section .text.HAL_DMA_DeInit,"ax",%progbits |
||
1246 | 240 .align 1 |
||
1247 | 241 .global HAL_DMA_DeInit |
||
1248 | 242 .syntax unified |
||
1249 | 243 .thumb |
||
1250 | 244 .thumb_func |
||
1251 | 245 .fpu softvfp |
||
1252 | 247 HAL_DMA_DeInit: |
||
1253 | 248 .LVL14: |
||
1254 | 249 .LFB66: |
||
1255 | 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */ |
||
1256 | 250 .loc 1 221 1 is_stmt 1 view -0 |
||
1257 | 251 .cfi_startproc |
||
1258 | 252 @ args = 0, pretend = 0, frame = 0 |
||
1259 | 253 @ frame_needed = 0, uses_anonymous_args = 0 |
||
1260 | 254 @ link register save eliminated. |
||
19 | mjames | 1261 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 22 |
16 | mjames | 1262 | |
1263 | |||
1264 | 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1265 | 255 .loc 1 223 3 view .LVU84 |
||
1266 | 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1267 | 256 .loc 1 223 5 is_stmt 0 view .LVU85 |
||
1268 | 257 0000 0028 cmp r0, #0 |
||
1269 | 258 0002 29D0 beq .L17 |
||
1270 | 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */ |
||
1271 | 259 .loc 1 221 1 view .LVU86 |
||
1272 | 260 0004 10B4 push {r4} |
||
1273 | 261 .LCFI5: |
||
1274 | 262 .cfi_def_cfa_offset 4 |
||
1275 | 263 .cfi_offset 4, -4 |
||
1276 | 264 0006 0346 mov r3, r0 |
||
1277 | 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1278 | 265 .loc 1 229 3 is_stmt 1 view .LVU87 |
||
1279 | 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1280 | 266 .loc 1 232 3 view .LVU88 |
||
1281 | 267 0008 0168 ldr r1, [r0] |
||
1282 | 268 000a 0A68 ldr r2, [r1] |
||
1283 | 269 000c 22F00102 bic r2, r2, #1 |
||
1284 | 270 0010 0A60 str r2, [r1] |
||
1285 | 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1286 | 271 .loc 1 235 3 view .LVU89 |
||
1287 | 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1288 | 272 .loc 1 235 7 is_stmt 0 view .LVU90 |
||
1289 | 273 0012 0268 ldr r2, [r0] |
||
1290 | 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1291 | 274 .loc 1 235 24 view .LVU91 |
||
1292 | 275 0014 0020 movs r0, #0 |
||
1293 | 276 .LVL15: |
||
1294 | 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1295 | 277 .loc 1 235 24 view .LVU92 |
||
1296 | 278 0016 1060 str r0, [r2] |
||
1297 | 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1298 | 279 .loc 1 238 3 is_stmt 1 view .LVU93 |
||
1299 | 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1300 | 280 .loc 1 238 7 is_stmt 0 view .LVU94 |
||
1301 | 281 0018 1A68 ldr r2, [r3] |
||
1302 | 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1303 | 282 .loc 1 238 25 view .LVU95 |
||
1304 | 283 001a 5060 str r0, [r2, #4] |
||
1305 | 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1306 | 284 .loc 1 241 3 is_stmt 1 view .LVU96 |
||
1307 | 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1308 | 285 .loc 1 241 7 is_stmt 0 view .LVU97 |
||
1309 | 286 001c 1A68 ldr r2, [r3] |
||
1310 | 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1311 | 287 .loc 1 241 25 view .LVU98 |
||
1312 | 288 001e 9060 str r0, [r2, #8] |
||
1313 | 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1314 | 289 .loc 1 244 3 is_stmt 1 view .LVU99 |
||
1315 | 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1316 | 290 .loc 1 244 7 is_stmt 0 view .LVU100 |
||
1317 | 291 0020 1A68 ldr r2, [r3] |
||
1318 | 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1319 | 292 .loc 1 244 24 view .LVU101 |
||
1320 | 293 0022 D060 str r0, [r2, #12] |
||
19 | mjames | 1321 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 23 |
16 | mjames | 1322 | |
1323 | |||
1324 | 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
1325 | 294 .loc 1 262 3 is_stmt 1 view .LVU102 |
||
1326 | 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
1327 | 295 .loc 1 262 40 is_stmt 0 view .LVU103 |
||
1328 | 296 0024 1968 ldr r1, [r3] |
||
1329 | 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
1330 | 297 .loc 1 262 51 view .LVU104 |
||
1331 | 298 0026 0D4A ldr r2, .L22 |
||
1332 | 299 0028 0A44 add r2, r2, r1 |
||
1333 | 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
1334 | 300 .loc 1 262 78 view .LVU105 |
||
1335 | 301 002a 0D49 ldr r1, .L22+4 |
||
1336 | 302 002c A1FB0212 umull r1, r2, r1, r2 |
||
1337 | 303 0030 1209 lsrs r2, r2, #4 |
||
1338 | 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
1339 | 304 .loc 1 262 133 view .LVU106 |
||
1340 | 305 0032 9200 lsls r2, r2, #2 |
||
1341 | 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1; |
||
1342 | 306 .loc 1 262 22 view .LVU107 |
||
1343 | 307 0034 1A64 str r2, [r3, #64] |
||
1344 | 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */ |
||
1345 | 308 .loc 1 263 3 is_stmt 1 view .LVU108 |
||
1346 | 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */ |
||
1347 | 309 .loc 1 263 24 is_stmt 0 view .LVU109 |
||
1348 | 310 0036 0B4C ldr r4, .L22+8 |
||
1349 | 311 0038 DC63 str r4, [r3, #60] |
||
1350 | 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1351 | 312 .loc 1 267 3 is_stmt 1 view .LVU110 |
||
1352 | 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1353 | 313 .loc 1 267 46 is_stmt 0 view .LVU111 |
||
1354 | 314 003a 0121 movs r1, #1 |
||
1355 | 315 003c 01FA02F2 lsl r2, r1, r2 |
||
1356 | 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1357 | 316 .loc 1 267 30 view .LVU112 |
||
1358 | 317 0040 6260 str r2, [r4, #4] |
||
1359 | 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; |
||
1360 | 318 .loc 1 270 3 is_stmt 1 view .LVU113 |
||
1361 | 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; |
||
1362 | 319 .loc 1 270 26 is_stmt 0 view .LVU114 |
||
1363 | 320 0042 9862 str r0, [r3, #40] |
||
1364 | 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL; |
||
1365 | 321 .loc 1 271 3 is_stmt 1 view .LVU115 |
||
1366 | 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL; |
||
1367 | 322 .loc 1 271 30 is_stmt 0 view .LVU116 |
||
1368 | 323 0044 D862 str r0, [r3, #44] |
||
1369 | 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL; |
||
1370 | 324 .loc 1 272 3 is_stmt 1 view .LVU117 |
||
1371 | 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL; |
||
1372 | 325 .loc 1 272 27 is_stmt 0 view .LVU118 |
||
1373 | 326 0046 1863 str r0, [r3, #48] |
||
1374 | 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1375 | 327 .loc 1 273 3 is_stmt 1 view .LVU119 |
||
1376 | 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1377 | 328 .loc 1 273 27 is_stmt 0 view .LVU120 |
||
1378 | 329 0048 5863 str r0, [r3, #52] |
||
1379 | 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1380 | 330 .loc 1 276 3 is_stmt 1 view .LVU121 |
||
19 | mjames | 1381 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 24 |
16 | mjames | 1382 | |
1383 | |||
1384 | 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1385 | 331 .loc 1 276 19 is_stmt 0 view .LVU122 |
||
1386 | 332 004a 9863 str r0, [r3, #56] |
||
1387 | 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1388 | 333 .loc 1 279 3 is_stmt 1 view .LVU123 |
||
1389 | 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1390 | 334 .loc 1 279 15 is_stmt 0 view .LVU124 |
||
1391 | 335 004c 83F82100 strb r0, [r3, #33] |
||
1392 | 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1393 | 336 .loc 1 282 3 is_stmt 1 view .LVU125 |
||
1394 | 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1395 | 337 .loc 1 282 3 view .LVU126 |
||
1396 | 338 0050 83F82000 strb r0, [r3, #32] |
||
1397 | 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1398 | 339 .loc 1 284 3 view .LVU127 |
||
1399 | 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1400 | 340 .loc 1 285 1 is_stmt 0 view .LVU128 |
||
1401 | 341 0054 10BC pop {r4} |
||
1402 | 342 .LCFI6: |
||
1403 | 343 .cfi_restore 4 |
||
1404 | 344 .cfi_def_cfa_offset 0 |
||
1405 | 345 0056 7047 bx lr |
||
1406 | 346 .LVL16: |
||
1407 | 347 .L17: |
||
1408 | 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1409 | 348 .loc 1 225 12 view .LVU129 |
||
1410 | 349 0058 0120 movs r0, #1 |
||
1411 | 350 .LVL17: |
||
1412 | 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1413 | 351 .loc 1 285 1 view .LVU130 |
||
1414 | 352 005a 7047 bx lr |
||
1415 | 353 .L23: |
||
1416 | 354 .align 2 |
||
1417 | 355 .L22: |
||
1418 | 356 005c F8FFFDBF .word -1073872904 |
||
1419 | 357 0060 CDCCCCCC .word -858993459 |
||
1420 | 358 0064 00000240 .word 1073872896 |
||
1421 | 359 .cfi_endproc |
||
1422 | 360 .LFE66: |
||
1423 | 362 .section .text.HAL_DMA_Start,"ax",%progbits |
||
1424 | 363 .align 1 |
||
1425 | 364 .global HAL_DMA_Start |
||
1426 | 365 .syntax unified |
||
1427 | 366 .thumb |
||
1428 | 367 .thumb_func |
||
1429 | 368 .fpu softvfp |
||
1430 | 370 HAL_DMA_Start: |
||
1431 | 371 .LVL18: |
||
1432 | 372 .LFB67: |
||
1433 | 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
1434 | 373 .loc 1 320 1 is_stmt 1 view -0 |
||
1435 | 374 .cfi_startproc |
||
1436 | 375 @ args = 0, pretend = 0, frame = 0 |
||
1437 | 376 @ frame_needed = 0, uses_anonymous_args = 0 |
||
1438 | 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
1439 | 377 .loc 1 320 1 is_stmt 0 view .LVU132 |
||
1440 | 378 0000 70B5 push {r4, r5, r6, lr} |
||
19 | mjames | 1441 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 25 |
16 | mjames | 1442 | |
1443 | |||
1444 | 379 .LCFI7: |
||
1445 | 380 .cfi_def_cfa_offset 16 |
||
1446 | 381 .cfi_offset 4, -16 |
||
1447 | 382 .cfi_offset 5, -12 |
||
1448 | 383 .cfi_offset 6, -8 |
||
1449 | 384 .cfi_offset 14, -4 |
||
1450 | 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1451 | 385 .loc 1 321 3 is_stmt 1 view .LVU133 |
||
1452 | 386 .LVL19: |
||
1453 | 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1454 | 387 .loc 1 324 3 view .LVU134 |
||
1455 | 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1456 | 388 .loc 1 327 3 view .LVU135 |
||
1457 | 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1458 | 389 .loc 1 327 3 view .LVU136 |
||
1459 | 390 0002 90F82040 ldrb r4, [r0, #32] @ zero_extendqisi2 |
||
1460 | 391 0006 012C cmp r4, #1 |
||
1461 | 392 0008 20D0 beq .L27 |
||
1462 | 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1463 | 393 .loc 1 327 3 discriminator 2 view .LVU137 |
||
1464 | 394 000a 0124 movs r4, #1 |
||
1465 | 395 000c 80F82040 strb r4, [r0, #32] |
||
1466 | 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1467 | 396 .loc 1 329 3 discriminator 2 view .LVU138 |
||
1468 | 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1469 | 397 .loc 1 329 33 is_stmt 0 discriminator 2 view .LVU139 |
||
1470 | 398 0010 90F82140 ldrb r4, [r0, #33] @ zero_extendqisi2 |
||
1471 | 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1472 | 399 .loc 1 329 5 discriminator 2 view .LVU140 |
||
1473 | 400 0014 012C cmp r4, #1 |
||
1474 | 401 0016 04D0 beq .L29 |
||
1475 | 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY; |
||
1476 | 402 .loc 1 347 4 is_stmt 1 view .LVU141 |
||
1477 | 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY; |
||
1478 | 403 .loc 1 347 4 view .LVU142 |
||
1479 | 404 0018 0023 movs r3, #0 |
||
1480 | 405 .LVL20: |
||
1481 | 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY; |
||
1482 | 406 .loc 1 347 4 is_stmt 0 view .LVU143 |
||
1483 | 407 001a 80F82030 strb r3, [r0, #32] |
||
1484 | 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1485 | 408 .loc 1 348 4 is_stmt 1 view .LVU144 |
||
1486 | 409 .LVL21: |
||
1487 | 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1488 | 410 .loc 1 348 11 is_stmt 0 view .LVU145 |
||
1489 | 411 001e 0220 movs r0, #2 |
||
1490 | 412 .LVL22: |
||
1491 | 413 .L25: |
||
1492 | 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1493 | 414 .loc 1 351 1 view .LVU146 |
||
1494 | 415 0020 70BD pop {r4, r5, r6, pc} |
||
1495 | 416 .LVL23: |
||
1496 | 417 .L29: |
||
1497 | 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1498 | 418 .loc 1 351 1 view .LVU147 |
||
1499 | 419 0022 0446 mov r4, r0 |
||
1500 | 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; |
||
19 | mjames | 1501 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 26 |
16 | mjames | 1502 | |
1503 | |||
1504 | 420 .loc 1 332 5 is_stmt 1 view .LVU148 |
||
1505 | 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; |
||
1506 | 421 .loc 1 332 17 is_stmt 0 view .LVU149 |
||
1507 | 422 0024 0220 movs r0, #2 |
||
1508 | 423 .LVL24: |
||
1509 | 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; |
||
1510 | 424 .loc 1 332 17 view .LVU150 |
||
1511 | 425 0026 84F82100 strb r0, [r4, #33] |
||
1512 | 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1513 | 426 .loc 1 333 5 is_stmt 1 view .LVU151 |
||
1514 | 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1515 | 427 .loc 1 333 21 is_stmt 0 view .LVU152 |
||
1516 | 428 002a 0025 movs r5, #0 |
||
1517 | 429 002c A563 str r5, [r4, #56] |
||
1518 | 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1519 | 430 .loc 1 336 5 is_stmt 1 view .LVU153 |
||
1520 | 431 002e 2668 ldr r6, [r4] |
||
1521 | 432 0030 3068 ldr r0, [r6] |
||
1522 | 433 0032 20F00100 bic r0, r0, #1 |
||
1523 | 434 0036 3060 str r0, [r6] |
||
1524 | 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1525 | 435 .loc 1 339 5 view .LVU154 |
||
1526 | 436 0038 2046 mov r0, r4 |
||
1527 | 437 003a FFF7FEFF bl DMA_SetConfig |
||
1528 | 438 .LVL25: |
||
1529 | 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1530 | 439 .loc 1 342 5 view .LVU155 |
||
1531 | 440 003e 2268 ldr r2, [r4] |
||
1532 | 441 0040 1368 ldr r3, [r2] |
||
1533 | 442 0042 43F00103 orr r3, r3, #1 |
||
1534 | 443 0046 1360 str r3, [r2] |
||
1535 | 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1536 | 444 .loc 1 321 21 is_stmt 0 view .LVU156 |
||
1537 | 445 0048 2846 mov r0, r5 |
||
1538 | 446 004a E9E7 b .L25 |
||
1539 | 447 .LVL26: |
||
1540 | 448 .L27: |
||
1541 | 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1542 | 449 .loc 1 327 3 view .LVU157 |
||
1543 | 450 004c 0220 movs r0, #2 |
||
1544 | 451 .LVL27: |
||
1545 | 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1546 | 452 .loc 1 327 3 view .LVU158 |
||
1547 | 453 004e E7E7 b .L25 |
||
1548 | 454 .cfi_endproc |
||
1549 | 455 .LFE67: |
||
1550 | 457 .section .text.HAL_DMA_Start_IT,"ax",%progbits |
||
1551 | 458 .align 1 |
||
1552 | 459 .global HAL_DMA_Start_IT |
||
1553 | 460 .syntax unified |
||
1554 | 461 .thumb |
||
1555 | 462 .thumb_func |
||
1556 | 463 .fpu softvfp |
||
1557 | 465 HAL_DMA_Start_IT: |
||
1558 | 466 .LVL28: |
||
1559 | 467 .LFB68: |
||
1560 | 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
19 | mjames | 1561 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 27 |
16 | mjames | 1562 | |
1563 | |||
1564 | 468 .loc 1 363 1 is_stmt 1 view -0 |
||
1565 | 469 .cfi_startproc |
||
1566 | 470 @ args = 0, pretend = 0, frame = 0 |
||
1567 | 471 @ frame_needed = 0, uses_anonymous_args = 0 |
||
1568 | 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
1569 | 472 .loc 1 363 1 is_stmt 0 view .LVU160 |
||
1570 | 473 0000 38B5 push {r3, r4, r5, lr} |
||
1571 | 474 .LCFI8: |
||
1572 | 475 .cfi_def_cfa_offset 16 |
||
1573 | 476 .cfi_offset 3, -16 |
||
1574 | 477 .cfi_offset 4, -12 |
||
1575 | 478 .cfi_offset 5, -8 |
||
1576 | 479 .cfi_offset 14, -4 |
||
1577 | 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1578 | 480 .loc 1 364 3 is_stmt 1 view .LVU161 |
||
1579 | 481 .LVL29: |
||
1580 | 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1581 | 482 .loc 1 367 3 view .LVU162 |
||
1582 | 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1583 | 483 .loc 1 370 3 view .LVU163 |
||
1584 | 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1585 | 484 .loc 1 370 3 view .LVU164 |
||
1586 | 485 0002 90F82040 ldrb r4, [r0, #32] @ zero_extendqisi2 |
||
1587 | 486 0006 012C cmp r4, #1 |
||
1588 | 487 0008 32D0 beq .L35 |
||
1589 | 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1590 | 488 .loc 1 370 3 discriminator 2 view .LVU165 |
||
1591 | 489 000a 0124 movs r4, #1 |
||
1592 | 490 000c 80F82040 strb r4, [r0, #32] |
||
1593 | 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1594 | 491 .loc 1 372 3 discriminator 2 view .LVU166 |
||
1595 | 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1596 | 492 .loc 1 372 33 is_stmt 0 discriminator 2 view .LVU167 |
||
1597 | 493 0010 90F82140 ldrb r4, [r0, #33] @ zero_extendqisi2 |
||
1598 | 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1599 | 494 .loc 1 372 5 discriminator 2 view .LVU168 |
||
1600 | 495 0014 012C cmp r4, #1 |
||
1601 | 496 0016 04D0 beq .L37 |
||
1602 | 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1603 | 497 .loc 1 402 5 is_stmt 1 view .LVU169 |
||
1604 | 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1605 | 498 .loc 1 402 5 view .LVU170 |
||
1606 | 499 0018 0023 movs r3, #0 |
||
1607 | 500 .LVL30: |
||
1608 | 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1609 | 501 .loc 1 402 5 is_stmt 0 view .LVU171 |
||
1610 | 502 001a 80F82030 strb r3, [r0, #32] |
||
1611 | 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1612 | 503 .loc 1 405 5 is_stmt 1 view .LVU172 |
||
1613 | 504 .LVL31: |
||
1614 | 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1615 | 505 .loc 1 405 12 is_stmt 0 view .LVU173 |
||
1616 | 506 001e 0220 movs r0, #2 |
||
1617 | 507 .LVL32: |
||
1618 | 508 .L31: |
||
1619 | 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1620 | 509 .loc 1 408 1 view .LVU174 |
||
19 | mjames | 1621 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 28 |
16 | mjames | 1622 | |
1623 | |||
1624 | 510 0020 38BD pop {r3, r4, r5, pc} |
||
1625 | 511 .LVL33: |
||
1626 | 512 .L37: |
||
1627 | 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1628 | 513 .loc 1 408 1 view .LVU175 |
||
1629 | 514 0022 0446 mov r4, r0 |
||
1630 | 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; |
||
1631 | 515 .loc 1 375 5 is_stmt 1 view .LVU176 |
||
1632 | 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; |
||
1633 | 516 .loc 1 375 17 is_stmt 0 view .LVU177 |
||
1634 | 517 0024 0220 movs r0, #2 |
||
1635 | 518 .LVL34: |
||
1636 | 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE; |
||
1637 | 519 .loc 1 375 17 view .LVU178 |
||
1638 | 520 0026 84F82100 strb r0, [r4, #33] |
||
1639 | 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1640 | 521 .loc 1 376 5 is_stmt 1 view .LVU179 |
||
1641 | 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1642 | 522 .loc 1 376 21 is_stmt 0 view .LVU180 |
||
1643 | 523 002a 0020 movs r0, #0 |
||
1644 | 524 002c A063 str r0, [r4, #56] |
||
1645 | 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1646 | 525 .loc 1 379 5 is_stmt 1 view .LVU181 |
||
1647 | 526 002e 2568 ldr r5, [r4] |
||
1648 | 527 0030 2868 ldr r0, [r5] |
||
1649 | 528 0032 20F00100 bic r0, r0, #1 |
||
1650 | 529 0036 2860 str r0, [r5] |
||
1651 | 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1652 | 530 .loc 1 382 5 view .LVU182 |
||
1653 | 531 0038 2046 mov r0, r4 |
||
1654 | 532 003a FFF7FEFF bl DMA_SetConfig |
||
1655 | 533 .LVL35: |
||
1656 | 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1657 | 534 .loc 1 386 5 view .LVU183 |
||
1658 | 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1659 | 535 .loc 1 386 20 is_stmt 0 view .LVU184 |
||
1660 | 536 003e E36A ldr r3, [r4, #44] |
||
1661 | 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1662 | 537 .loc 1 386 7 view .LVU185 |
||
1663 | 538 0040 5BB1 cbz r3, .L33 |
||
1664 | 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1665 | 539 .loc 1 389 7 is_stmt 1 view .LVU186 |
||
1666 | 540 0042 2268 ldr r2, [r4] |
||
1667 | 541 0044 1368 ldr r3, [r2] |
||
1668 | 542 0046 43F00E03 orr r3, r3, #14 |
||
1669 | 543 004a 1360 str r3, [r2] |
||
1670 | 544 .L34: |
||
1671 | 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1672 | 545 .loc 1 397 5 view .LVU187 |
||
1673 | 546 004c 2268 ldr r2, [r4] |
||
1674 | 547 004e 1368 ldr r3, [r2] |
||
1675 | 548 0050 43F00103 orr r3, r3, #1 |
||
1676 | 549 0054 1360 str r3, [r2] |
||
1677 | 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1678 | 550 .loc 1 364 21 is_stmt 0 view .LVU188 |
||
1679 | 551 0056 0020 movs r0, #0 |
||
1680 | 552 0058 E2E7 b .L31 |
||
19 | mjames | 1681 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 29 |
16 | mjames | 1682 | |
1683 | |||
1684 | 553 .L33: |
||
1685 | 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_TE)); |
||
1686 | 554 .loc 1 393 7 is_stmt 1 view .LVU189 |
||
1687 | 555 005a 2268 ldr r2, [r4] |
||
1688 | 556 005c 1368 ldr r3, [r2] |
||
1689 | 557 005e 23F00403 bic r3, r3, #4 |
||
1690 | 558 0062 1360 str r3, [r2] |
||
1691 | 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1692 | 559 .loc 1 394 7 view .LVU190 |
||
1693 | 560 0064 2268 ldr r2, [r4] |
||
1694 | 561 0066 1368 ldr r3, [r2] |
||
1695 | 562 0068 43F00A03 orr r3, r3, #10 |
||
1696 | 563 006c 1360 str r3, [r2] |
||
1697 | 564 006e EDE7 b .L34 |
||
1698 | 565 .LVL36: |
||
1699 | 566 .L35: |
||
1700 | 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1701 | 567 .loc 1 370 3 is_stmt 0 view .LVU191 |
||
1702 | 568 0070 0220 movs r0, #2 |
||
1703 | 569 .LVL37: |
||
1704 | 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1705 | 570 .loc 1 370 3 view .LVU192 |
||
1706 | 571 0072 D5E7 b .L31 |
||
1707 | 572 .cfi_endproc |
||
1708 | 573 .LFE68: |
||
1709 | 575 .section .text.HAL_DMA_Abort,"ax",%progbits |
||
1710 | 576 .align 1 |
||
1711 | 577 .global HAL_DMA_Abort |
||
1712 | 578 .syntax unified |
||
1713 | 579 .thumb |
||
1714 | 580 .thumb_func |
||
1715 | 581 .fpu softvfp |
||
1716 | 583 HAL_DMA_Abort: |
||
1717 | 584 .LVL38: |
||
1718 | 585 .LFB69: |
||
1719 | 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
1720 | 586 .loc 1 417 1 is_stmt 1 view -0 |
||
1721 | 587 .cfi_startproc |
||
1722 | 588 @ args = 0, pretend = 0, frame = 0 |
||
1723 | 589 @ frame_needed = 0, uses_anonymous_args = 0 |
||
1724 | 590 @ link register save eliminated. |
||
1725 | 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1726 | 591 .loc 1 418 3 view .LVU194 |
||
1727 | 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1728 | 592 .loc 1 420 3 view .LVU195 |
||
1729 | 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1730 | 593 .loc 1 420 10 is_stmt 0 view .LVU196 |
||
1731 | 594 0000 90F82130 ldrb r3, [r0, #33] @ zero_extendqisi2 |
||
1732 | 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1733 | 595 .loc 1 420 5 view .LVU197 |
||
1734 | 596 0004 022B cmp r3, #2 |
||
1735 | 597 0006 06D0 beq .L39 |
||
1736 | 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1737 | 598 .loc 1 423 5 is_stmt 1 view .LVU198 |
||
1738 | 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1739 | 599 .loc 1 423 21 is_stmt 0 view .LVU199 |
||
1740 | 600 0008 0423 movs r3, #4 |
||
19 | mjames | 1741 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 30 |
16 | mjames | 1742 | |
1743 | |||
1744 | 601 000a 8363 str r3, [r0, #56] |
||
1745 | 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1746 | 602 .loc 1 426 5 is_stmt 1 view .LVU200 |
||
1747 | 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1748 | 603 .loc 1 426 5 view .LVU201 |
||
1749 | 604 000c 0023 movs r3, #0 |
||
1750 | 605 000e 80F82030 strb r3, [r0, #32] |
||
1751 | 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1752 | 606 .loc 1 428 5 view .LVU202 |
||
1753 | 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1754 | 607 .loc 1 428 12 is_stmt 0 view .LVU203 |
||
1755 | 608 0012 0120 movs r0, #1 |
||
1756 | 609 .LVL39: |
||
1757 | 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1758 | 610 .loc 1 428 12 view .LVU204 |
||
1759 | 611 0014 7047 bx lr |
||
1760 | 612 .LVL40: |
||
1761 | 613 .L39: |
||
1762 | 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1763 | 614 .loc 1 434 5 is_stmt 1 view .LVU205 |
||
1764 | 615 0016 0268 ldr r2, [r0] |
||
1765 | 616 0018 1368 ldr r3, [r2] |
||
1766 | 617 001a 23F00E03 bic r3, r3, #14 |
||
1767 | 618 001e 1360 str r3, [r2] |
||
1768 | 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1769 | 619 .loc 1 437 5 view .LVU206 |
||
1770 | 620 0020 0268 ldr r2, [r0] |
||
1771 | 621 0022 1368 ldr r3, [r2] |
||
1772 | 622 0024 23F00103 bic r3, r3, #1 |
||
1773 | 623 0028 1360 str r3, [r2] |
||
1774 | 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1775 | 624 .loc 1 440 5 view .LVU207 |
||
1776 | 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1777 | 625 .loc 1 440 55 is_stmt 0 view .LVU208 |
||
1778 | 626 002a 036C ldr r3, [r0, #64] |
||
1779 | 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1780 | 627 .loc 1 440 9 view .LVU209 |
||
1781 | 628 002c C16B ldr r1, [r0, #60] |
||
1782 | 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1783 | 629 .loc 1 440 48 view .LVU210 |
||
1784 | 630 002e 0122 movs r2, #1 |
||
1785 | 631 0030 02FA03F3 lsl r3, r2, r3 |
||
1786 | 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1787 | 632 .loc 1 440 32 view .LVU211 |
||
1788 | 633 0034 4B60 str r3, [r1, #4] |
||
1789 | 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1790 | 634 .loc 1 443 3 is_stmt 1 view .LVU212 |
||
1791 | 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1792 | 635 .loc 1 443 15 is_stmt 0 view .LVU213 |
||
1793 | 636 0036 80F82120 strb r2, [r0, #33] |
||
1794 | 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1795 | 637 .loc 1 446 3 is_stmt 1 view .LVU214 |
||
1796 | 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1797 | 638 .loc 1 446 3 view .LVU215 |
||
1798 | 639 003a 0023 movs r3, #0 |
||
1799 | 640 003c 80F82030 strb r3, [r0, #32] |
||
1800 | 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
19 | mjames | 1801 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 31 |
16 | mjames | 1802 | |
1803 | |||
1804 | 641 .loc 1 448 3 view .LVU216 |
||
1805 | 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1806 | 642 .loc 1 448 10 is_stmt 0 view .LVU217 |
||
1807 | 643 0040 1846 mov r0, r3 |
||
1808 | 644 .LVL41: |
||
1809 | 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1810 | 645 .loc 1 449 1 view .LVU218 |
||
1811 | 646 0042 7047 bx lr |
||
1812 | 647 .cfi_endproc |
||
1813 | 648 .LFE69: |
||
1814 | 650 .section .text.HAL_DMA_Abort_IT,"ax",%progbits |
||
1815 | 651 .align 1 |
||
1816 | 652 .global HAL_DMA_Abort_IT |
||
1817 | 653 .syntax unified |
||
1818 | 654 .thumb |
||
1819 | 655 .thumb_func |
||
1820 | 656 .fpu softvfp |
||
1821 | 658 HAL_DMA_Abort_IT: |
||
1822 | 659 .LVL42: |
||
1823 | 660 .LFB70: |
||
1824 | 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
1825 | 661 .loc 1 458 1 is_stmt 1 view -0 |
||
1826 | 662 .cfi_startproc |
||
1827 | 663 @ args = 0, pretend = 0, frame = 0 |
||
1828 | 664 @ frame_needed = 0, uses_anonymous_args = 0 |
||
1829 | 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
1830 | 665 .loc 1 458 1 is_stmt 0 view .LVU220 |
||
1831 | 666 0000 08B5 push {r3, lr} |
||
1832 | 667 .LCFI9: |
||
1833 | 668 .cfi_def_cfa_offset 8 |
||
1834 | 669 .cfi_offset 3, -8 |
||
1835 | 670 .cfi_offset 14, -4 |
||
1836 | 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1837 | 671 .loc 1 459 3 is_stmt 1 view .LVU221 |
||
1838 | 672 .LVL43: |
||
1839 | 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1840 | 673 .loc 1 461 3 view .LVU222 |
||
1841 | 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1842 | 674 .loc 1 461 32 is_stmt 0 view .LVU223 |
||
1843 | 675 0002 90F82130 ldrb r3, [r0, #33] @ zero_extendqisi2 |
||
1844 | 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1845 | 676 .loc 1 461 5 view .LVU224 |
||
1846 | 677 0006 022B cmp r3, #2 |
||
1847 | 678 0008 03D0 beq .L42 |
||
1848 | 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1849 | 679 .loc 1 464 5 is_stmt 1 view .LVU225 |
||
1850 | 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1851 | 680 .loc 1 464 21 is_stmt 0 view .LVU226 |
||
1852 | 681 000a 0423 movs r3, #4 |
||
1853 | 682 000c 8363 str r3, [r0, #56] |
||
1854 | 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1855 | 683 .loc 1 466 5 is_stmt 1 view .LVU227 |
||
1856 | 684 .LVL44: |
||
1857 | 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1858 | 685 .loc 1 466 12 is_stmt 0 view .LVU228 |
||
1859 | 686 000e 0120 movs r0, #1 |
||
1860 | 687 .LVL45: |
||
19 | mjames | 1861 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 32 |
16 | mjames | 1862 | |
1863 | |||
1864 | 688 .L43: |
||
1865 | 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1866 | 689 .loc 1 491 3 is_stmt 1 view .LVU229 |
||
1867 | 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1868 | 690 .loc 1 492 1 is_stmt 0 view .LVU230 |
||
1869 | 691 0010 08BD pop {r3, pc} |
||
1870 | 692 .LVL46: |
||
1871 | 693 .L42: |
||
1872 | 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1873 | 694 .loc 1 471 5 is_stmt 1 view .LVU231 |
||
1874 | 695 0012 0268 ldr r2, [r0] |
||
1875 | 696 0014 1368 ldr r3, [r2] |
||
1876 | 697 0016 23F00E03 bic r3, r3, #14 |
||
1877 | 698 001a 1360 str r3, [r2] |
||
1878 | 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1879 | 699 .loc 1 474 5 view .LVU232 |
||
1880 | 700 001c 0268 ldr r2, [r0] |
||
1881 | 701 001e 1368 ldr r3, [r2] |
||
1882 | 702 0020 23F00103 bic r3, r3, #1 |
||
1883 | 703 0024 1360 str r3, [r2] |
||
1884 | 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1885 | 704 .loc 1 477 5 view .LVU233 |
||
1886 | 705 0026 0368 ldr r3, [r0] |
||
1887 | 706 0028 194A ldr r2, .L54 |
||
1888 | 707 002a 9342 cmp r3, r2 |
||
1889 | 708 002c 14D0 beq .L45 |
||
1890 | 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1891 | 709 .loc 1 477 5 is_stmt 0 discriminator 1 view .LVU234 |
||
1892 | 710 002e 1432 adds r2, r2, #20 |
||
1893 | 711 0030 9342 cmp r3, r2 |
||
1894 | 712 0032 1FD0 beq .L46 |
||
1895 | 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1896 | 713 .loc 1 477 5 discriminator 3 view .LVU235 |
||
1897 | 714 0034 1432 adds r2, r2, #20 |
||
1898 | 715 0036 9342 cmp r3, r2 |
||
1899 | 716 0038 1ED0 beq .L47 |
||
1900 | 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1901 | 717 .loc 1 477 5 discriminator 5 view .LVU236 |
||
1902 | 718 003a 1432 adds r2, r2, #20 |
||
1903 | 719 003c 9342 cmp r3, r2 |
||
1904 | 720 003e 1ED0 beq .L48 |
||
1905 | 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1906 | 721 .loc 1 477 5 discriminator 7 view .LVU237 |
||
1907 | 722 0040 1432 adds r2, r2, #20 |
||
1908 | 723 0042 9342 cmp r3, r2 |
||
1909 | 724 0044 1ED0 beq .L49 |
||
1910 | 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1911 | 725 .loc 1 477 5 discriminator 9 view .LVU238 |
||
1912 | 726 0046 1432 adds r2, r2, #20 |
||
1913 | 727 0048 9342 cmp r3, r2 |
||
1914 | 728 004a 02D0 beq .L53 |
||
1915 | 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1916 | 729 .loc 1 477 5 view .LVU239 |
||
1917 | 730 004c 4FF08072 mov r2, #16777216 |
||
1918 | 731 0050 03E0 b .L44 |
||
1919 | 732 .L53: |
||
1920 | 733 0052 4FF48012 mov r2, #1048576 |
||
19 | mjames | 1921 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 33 |
16 | mjames | 1922 | |
1923 | |||
1924 | 734 0056 00E0 b .L44 |
||
1925 | 735 .L45: |
||
1926 | 736 0058 0122 movs r2, #1 |
||
1927 | 737 .L44: |
||
1928 | 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1929 | 738 .loc 1 477 5 discriminator 24 view .LVU240 |
||
1930 | 739 005a 0E4B ldr r3, .L54+4 |
||
1931 | 740 005c 5A60 str r2, [r3, #4] |
||
1932 | 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1933 | 741 .loc 1 480 5 is_stmt 1 discriminator 24 view .LVU241 |
||
1934 | 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1935 | 742 .loc 1 480 17 is_stmt 0 discriminator 24 view .LVU242 |
||
1936 | 743 005e 0123 movs r3, #1 |
||
1937 | 744 0060 80F82130 strb r3, [r0, #33] |
||
1938 | 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1939 | 745 .loc 1 483 5 is_stmt 1 discriminator 24 view .LVU243 |
||
1940 | 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1941 | 746 .loc 1 483 5 discriminator 24 view .LVU244 |
||
1942 | 747 0064 0023 movs r3, #0 |
||
1943 | 748 0066 80F82030 strb r3, [r0, #32] |
||
1944 | 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1945 | 749 .loc 1 486 5 discriminator 24 view .LVU245 |
||
1946 | 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1947 | 750 .loc 1 486 12 is_stmt 0 discriminator 24 view .LVU246 |
||
1948 | 751 006a 436B ldr r3, [r0, #52] |
||
1949 | 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
1950 | 752 .loc 1 486 7 discriminator 24 view .LVU247 |
||
1951 | 753 006c 6BB1 cbz r3, .L51 |
||
1952 | 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
1953 | 754 .loc 1 488 7 is_stmt 1 view .LVU248 |
||
1954 | 755 006e 9847 blx r3 |
||
1955 | 756 .LVL47: |
||
1956 | 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1957 | 757 .loc 1 459 21 is_stmt 0 view .LVU249 |
||
1958 | 758 0070 0020 movs r0, #0 |
||
1959 | 759 0072 CDE7 b .L43 |
||
1960 | 760 .LVL48: |
||
1961 | 761 .L46: |
||
1962 | 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1963 | 762 .loc 1 477 5 view .LVU250 |
||
1964 | 763 0074 1022 movs r2, #16 |
||
1965 | 764 0076 F0E7 b .L44 |
||
1966 | 765 .L47: |
||
1967 | 766 0078 4FF48072 mov r2, #256 |
||
1968 | 767 007c EDE7 b .L44 |
||
1969 | 768 .L48: |
||
1970 | 769 007e 4FF48052 mov r2, #4096 |
||
1971 | 770 0082 EAE7 b .L44 |
||
1972 | 771 .L49: |
||
1973 | 772 0084 4FF48032 mov r2, #65536 |
||
1974 | 773 0088 E7E7 b .L44 |
||
1975 | 774 .L51: |
||
1976 | 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
1977 | 775 .loc 1 459 21 view .LVU251 |
||
1978 | 776 008a 0020 movs r0, #0 |
||
1979 | 777 .LVL49: |
||
1980 | 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
19 | mjames | 1981 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 34 |
16 | mjames | 1982 | |
1983 | |||
1984 | 778 .loc 1 459 21 view .LVU252 |
||
1985 | 779 008c C0E7 b .L43 |
||
1986 | 780 .L55: |
||
1987 | 781 008e 00BF .align 2 |
||
1988 | 782 .L54: |
||
1989 | 783 0090 08000240 .word 1073872904 |
||
1990 | 784 0094 00000240 .word 1073872896 |
||
1991 | 785 .cfi_endproc |
||
1992 | 786 .LFE70: |
||
1993 | 788 .section .text.HAL_DMA_PollForTransfer,"ax",%progbits |
||
1994 | 789 .align 1 |
||
1995 | 790 .global HAL_DMA_PollForTransfer |
||
1996 | 791 .syntax unified |
||
1997 | 792 .thumb |
||
1998 | 793 .thumb_func |
||
1999 | 794 .fpu softvfp |
||
2000 | 796 HAL_DMA_PollForTransfer: |
||
2001 | 797 .LVL50: |
||
2002 | 798 .LFB71: |
||
2003 | 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t temp; |
||
2004 | 799 .loc 1 503 1 is_stmt 1 view -0 |
||
2005 | 800 .cfi_startproc |
||
2006 | 801 @ args = 0, pretend = 0, frame = 0 |
||
2007 | 802 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2008 | 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tickstart = 0U; |
||
2009 | 803 .loc 1 504 3 view .LVU254 |
||
2010 | 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2011 | 804 .loc 1 505 3 view .LVU255 |
||
2012 | 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2013 | 805 .loc 1 507 3 view .LVU256 |
||
2014 | 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2015 | 806 .loc 1 507 32 is_stmt 0 view .LVU257 |
||
2016 | 807 0000 90F82130 ldrb r3, [r0, #33] @ zero_extendqisi2 |
||
2017 | 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2018 | 808 .loc 1 507 5 view .LVU258 |
||
2019 | 809 0004 022B cmp r3, #2 |
||
2020 | 810 0006 06D0 beq .L57 |
||
2021 | 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
2022 | 811 .loc 1 510 5 is_stmt 1 view .LVU259 |
||
2023 | 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma); |
||
2024 | 812 .loc 1 510 21 is_stmt 0 view .LVU260 |
||
2025 | 813 0008 0423 movs r3, #4 |
||
2026 | 814 000a 8363 str r3, [r0, #56] |
||
2027 | 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR; |
||
2028 | 815 .loc 1 511 5 is_stmt 1 view .LVU261 |
||
2029 | 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR; |
||
2030 | 816 .loc 1 511 5 view .LVU262 |
||
2031 | 817 000c 0023 movs r3, #0 |
||
2032 | 818 000e 80F82030 strb r3, [r0, #32] |
||
2033 | 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2034 | 819 .loc 1 512 5 view .LVU263 |
||
2035 | 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2036 | 820 .loc 1 512 12 is_stmt 0 view .LVU264 |
||
2037 | 821 0012 0120 movs r0, #1 |
||
2038 | 822 .LVL51: |
||
2039 | 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2040 | 823 .loc 1 595 1 view .LVU265 |
||
19 | mjames | 2041 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 35 |
16 | mjames | 2042 | |
2043 | |||
2044 | 824 0014 7047 bx lr |
||
2045 | 825 .LVL52: |
||
2046 | 826 .L57: |
||
2047 | 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t temp; |
||
2048 | 827 .loc 1 503 1 view .LVU266 |
||
2049 | 828 0016 2DE9F041 push {r4, r5, r6, r7, r8, lr} |
||
2050 | 829 .LCFI10: |
||
2051 | 830 .cfi_def_cfa_offset 24 |
||
2052 | 831 .cfi_offset 4, -24 |
||
2053 | 832 .cfi_offset 5, -20 |
||
2054 | 833 .cfi_offset 6, -16 |
||
2055 | 834 .cfi_offset 7, -12 |
||
2056 | 835 .cfi_offset 8, -8 |
||
2057 | 836 .cfi_offset 14, -4 |
||
2058 | 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2059 | 837 .loc 1 516 3 is_stmt 1 view .LVU267 |
||
2060 | 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2061 | 838 .loc 1 516 21 is_stmt 0 view .LVU268 |
||
2062 | 839 001a 0368 ldr r3, [r0] |
||
2063 | 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2064 | 840 .loc 1 516 31 view .LVU269 |
||
2065 | 841 001c 1C68 ldr r4, [r3] |
||
2066 | 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2067 | 842 .loc 1 516 6 view .LVU270 |
||
2068 | 843 001e 14F0200F tst r4, #32 |
||
2069 | 844 0022 15D1 bne .L105 |
||
2070 | 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2071 | 845 .loc 1 523 3 is_stmt 1 view .LVU271 |
||
2072 | 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2073 | 846 .loc 1 523 5 is_stmt 0 view .LVU272 |
||
2074 | 847 0024 E9B9 cbnz r1, .L60 |
||
2075 | 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2076 | 848 .loc 1 526 5 is_stmt 1 view .LVU273 |
||
2077 | 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2078 | 849 .loc 1 526 12 is_stmt 0 view .LVU274 |
||
2079 | 850 0026 7F4C ldr r4, .L114 |
||
2080 | 851 0028 A342 cmp r3, r4 |
||
2081 | 852 002a 32D0 beq .L72 |
||
2082 | 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2083 | 853 .loc 1 526 12 discriminator 1 view .LVU275 |
||
2084 | 854 002c 1434 adds r4, r4, #20 |
||
2085 | 855 002e A342 cmp r3, r4 |
||
2086 | 856 0030 37D0 beq .L73 |
||
2087 | 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2088 | 857 .loc 1 526 12 discriminator 3 view .LVU276 |
||
2089 | 858 0032 1434 adds r4, r4, #20 |
||
2090 | 859 0034 A342 cmp r3, r4 |
||
2091 | 860 0036 36D0 beq .L74 |
||
2092 | 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2093 | 861 .loc 1 526 12 discriminator 5 view .LVU277 |
||
2094 | 862 0038 1434 adds r4, r4, #20 |
||
2095 | 863 003a A342 cmp r3, r4 |
||
2096 | 864 003c 36D0 beq .L75 |
||
2097 | 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2098 | 865 .loc 1 526 12 discriminator 7 view .LVU278 |
||
2099 | 866 003e 1434 adds r4, r4, #20 |
||
2100 | 867 0040 A342 cmp r3, r4 |
||
19 | mjames | 2101 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 36 |
16 | mjames | 2102 | |
2103 | |||
2104 | 868 0042 36D0 beq .L76 |
||
2105 | 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2106 | 869 .loc 1 526 12 discriminator 9 view .LVU279 |
||
2107 | 870 0044 1434 adds r4, r4, #20 |
||
2108 | 871 0046 A342 cmp r3, r4 |
||
2109 | 872 0048 08D0 beq .L106 |
||
2110 | 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2111 | 873 .loc 1 526 12 view .LVU280 |
||
2112 | 874 004a 4FF00076 mov r6, #33554432 |
||
2113 | 875 004e 21E0 b .L61 |
||
2114 | 876 .L105: |
||
2115 | 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR; |
||
2116 | 877 .loc 1 518 5 is_stmt 1 view .LVU281 |
||
2117 | 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR; |
||
2118 | 878 .loc 1 518 21 is_stmt 0 view .LVU282 |
||
2119 | 879 0050 4FF48073 mov r3, #256 |
||
2120 | 880 0054 8363 str r3, [r0, #56] |
||
2121 | 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2122 | 881 .loc 1 519 5 is_stmt 1 view .LVU283 |
||
2123 | 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2124 | 882 .loc 1 519 12 is_stmt 0 view .LVU284 |
||
2125 | 883 0056 0120 movs r0, #1 |
||
2126 | 884 .LVL53: |
||
2127 | 885 .L58: |
||
2128 | 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2129 | 886 .loc 1 595 1 view .LVU285 |
||
2130 | 887 0058 BDE8F081 pop {r4, r5, r6, r7, r8, pc} |
||
2131 | 888 .LVL54: |
||
2132 | 889 .L106: |
||
2133 | 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2134 | 890 .loc 1 526 12 view .LVU286 |
||
2135 | 891 005c 4FF40016 mov r6, #2097152 |
||
2136 | 892 0060 18E0 b .L61 |
||
2137 | 893 .L60: |
||
2138 | 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2139 | 894 .loc 1 531 5 is_stmt 1 view .LVU287 |
||
2140 | 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2141 | 895 .loc 1 531 12 is_stmt 0 view .LVU288 |
||
2142 | 896 0062 704C ldr r4, .L114 |
||
2143 | 897 0064 A342 cmp r3, r4 |
||
2144 | 898 0066 27D0 beq .L78 |
||
2145 | 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2146 | 899 .loc 1 531 12 discriminator 1 view .LVU289 |
||
2147 | 900 0068 1434 adds r4, r4, #20 |
||
2148 | 901 006a A342 cmp r3, r4 |
||
2149 | 902 006c 26D0 beq .L79 |
||
2150 | 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2151 | 903 .loc 1 531 12 discriminator 3 view .LVU290 |
||
2152 | 904 006e 1434 adds r4, r4, #20 |
||
2153 | 905 0070 A342 cmp r3, r4 |
||
2154 | 906 0072 25D0 beq .L80 |
||
2155 | 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2156 | 907 .loc 1 531 12 discriminator 5 view .LVU291 |
||
2157 | 908 0074 1434 adds r4, r4, #20 |
||
2158 | 909 0076 A342 cmp r3, r4 |
||
2159 | 910 0078 25D0 beq .L81 |
||
2160 | 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
19 | mjames | 2161 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 37 |
16 | mjames | 2162 | |
2163 | |||
2164 | 911 .loc 1 531 12 discriminator 7 view .LVU292 |
||
2165 | 912 007a 1434 adds r4, r4, #20 |
||
2166 | 913 007c A342 cmp r3, r4 |
||
2167 | 914 007e 25D0 beq .L82 |
||
2168 | 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2169 | 915 .loc 1 531 12 discriminator 9 view .LVU293 |
||
2170 | 916 0080 1434 adds r4, r4, #20 |
||
2171 | 917 0082 A342 cmp r3, r4 |
||
2172 | 918 0084 02D0 beq .L107 |
||
2173 | 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2174 | 919 .loc 1 531 12 view .LVU294 |
||
2175 | 920 0086 4FF08066 mov r6, #67108864 |
||
2176 | 921 008a 03E0 b .L61 |
||
2177 | 922 .L107: |
||
2178 | 923 008c 4FF48006 mov r6, #4194304 |
||
2179 | 924 0090 00E0 b .L61 |
||
2180 | 925 .L72: |
||
2181 | 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2182 | 926 .loc 1 526 12 view .LVU295 |
||
2183 | 927 0092 0226 movs r6, #2 |
||
2184 | 928 .L61: |
||
2185 | 929 0094 1546 mov r5, r2 |
||
2186 | 930 0096 0F46 mov r7, r1 |
||
2187 | 931 0098 0446 mov r4, r0 |
||
2188 | 932 .LVL55: |
||
2189 | 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2190 | 933 .loc 1 535 3 is_stmt 1 view .LVU296 |
||
2191 | 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2192 | 934 .loc 1 535 15 is_stmt 0 view .LVU297 |
||
2193 | 935 009a FFF7FEFF bl HAL_GetTick |
||
2194 | 936 .LVL56: |
||
2195 | 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2196 | 937 .loc 1 535 15 view .LVU298 |
||
2197 | 938 009e 8046 mov r8, r0 |
||
2198 | 939 .LVL57: |
||
2199 | 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2200 | 940 .loc 1 537 3 is_stmt 1 view .LVU299 |
||
2201 | 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2202 | 941 .loc 1 537 8 is_stmt 0 view .LVU300 |
||
2203 | 942 00a0 20E0 b .L65 |
||
2204 | 943 .LVL58: |
||
2205 | 944 .L73: |
||
2206 | 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2207 | 945 .loc 1 526 12 view .LVU301 |
||
2208 | 946 00a2 2026 movs r6, #32 |
||
2209 | 947 00a4 F6E7 b .L61 |
||
2210 | 948 .L74: |
||
2211 | 949 00a6 4FF40076 mov r6, #512 |
||
2212 | 950 00aa F3E7 b .L61 |
||
2213 | 951 .L75: |
||
2214 | 952 00ac 4FF40056 mov r6, #8192 |
||
2215 | 953 00b0 F0E7 b .L61 |
||
2216 | 954 .L76: |
||
2217 | 955 00b2 4FF40036 mov r6, #131072 |
||
2218 | 956 00b6 EDE7 b .L61 |
||
2219 | 957 .L78: |
||
2220 | 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
19 | mjames | 2221 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 38 |
16 | mjames | 2222 | |
2223 | |||
2224 | 958 .loc 1 531 12 view .LVU302 |
||
2225 | 959 00b8 0426 movs r6, #4 |
||
2226 | 960 00ba EBE7 b .L61 |
||
2227 | 961 .L79: |
||
2228 | 962 00bc 4026 movs r6, #64 |
||
2229 | 963 00be E9E7 b .L61 |
||
2230 | 964 .L80: |
||
2231 | 965 00c0 4FF48066 mov r6, #1024 |
||
2232 | 966 00c4 E6E7 b .L61 |
||
2233 | 967 .L81: |
||
2234 | 968 00c6 4FF48046 mov r6, #16384 |
||
2235 | 969 00ca E3E7 b .L61 |
||
2236 | 970 .L82: |
||
2237 | 971 00cc 4FF48026 mov r6, #262144 |
||
2238 | 972 00d0 E0E7 b .L61 |
||
2239 | 973 .LVL59: |
||
2240 | 974 .L111: |
||
2241 | 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2242 | 975 .loc 1 539 9 view .LVU303 |
||
2243 | 976 00d2 4FF40003 mov r3, #8388608 |
||
2244 | 977 00d6 00E0 b .L63 |
||
2245 | 978 .L84: |
||
2246 | 979 00d8 0823 movs r3, #8 |
||
2247 | 980 .L63: |
||
2248 | 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2249 | 981 .loc 1 539 7 discriminator 24 view .LVU304 |
||
2250 | 982 00da 1A42 tst r2, r3 |
||
2251 | 983 00dc 29D1 bne .L108 |
||
2252 | 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2253 | 984 .loc 1 558 5 is_stmt 1 view .LVU305 |
||
2254 | 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2255 | 985 .loc 1 558 7 is_stmt 0 view .LVU306 |
||
2256 | 986 00de B5F1FF3F cmp r5, #-1 |
||
2257 | 987 00e2 35D1 bne .L109 |
||
2258 | 988 .L65: |
||
2259 | 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2260 | 989 .loc 1 537 9 view .LVU307 |
||
2261 | 990 00e4 504B ldr r3, .L114+4 |
||
2262 | 991 00e6 1B68 ldr r3, [r3] |
||
2263 | 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2264 | 992 .loc 1 537 8 view .LVU308 |
||
2265 | 993 00e8 3342 tst r3, r6 |
||
2266 | 994 00ea 43D1 bne .L110 |
||
2267 | 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2268 | 995 .loc 1 539 5 is_stmt 1 view .LVU309 |
||
2269 | 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2270 | 996 .loc 1 539 9 is_stmt 0 view .LVU310 |
||
2271 | 997 00ec 4E4B ldr r3, .L114+4 |
||
2272 | 998 00ee 1A68 ldr r2, [r3] |
||
2273 | 999 00f0 2368 ldr r3, [r4] |
||
2274 | 1000 00f2 4C49 ldr r1, .L114 |
||
2275 | 1001 00f4 8B42 cmp r3, r1 |
||
2276 | 1002 00f6 EFD0 beq .L84 |
||
2277 | 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2278 | 1003 .loc 1 539 9 discriminator 1 view .LVU311 |
||
2279 | 1004 00f8 1431 adds r1, r1, #20 |
||
2280 | 1005 00fa 8B42 cmp r3, r1 |
||
19 | mjames | 2281 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 39 |
16 | mjames | 2282 | |
2283 | |||
2284 | 1006 00fc 0ED0 beq .L85 |
||
2285 | 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2286 | 1007 .loc 1 539 9 discriminator 3 view .LVU312 |
||
2287 | 1008 00fe 1431 adds r1, r1, #20 |
||
2288 | 1009 0100 8B42 cmp r3, r1 |
||
2289 | 1010 0102 0DD0 beq .L86 |
||
2290 | 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2291 | 1011 .loc 1 539 9 discriminator 5 view .LVU313 |
||
2292 | 1012 0104 1431 adds r1, r1, #20 |
||
2293 | 1013 0106 8B42 cmp r3, r1 |
||
2294 | 1014 0108 0DD0 beq .L87 |
||
2295 | 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2296 | 1015 .loc 1 539 9 discriminator 7 view .LVU314 |
||
2297 | 1016 010a 1431 adds r1, r1, #20 |
||
2298 | 1017 010c 8B42 cmp r3, r1 |
||
2299 | 1018 010e 0DD0 beq .L88 |
||
2300 | 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2301 | 1019 .loc 1 539 9 discriminator 9 view .LVU315 |
||
2302 | 1020 0110 1431 adds r1, r1, #20 |
||
2303 | 1021 0112 8B42 cmp r3, r1 |
||
2304 | 1022 0114 DDD0 beq .L111 |
||
2305 | 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2306 | 1023 .loc 1 539 9 view .LVU316 |
||
2307 | 1024 0116 4FF00063 mov r3, #134217728 |
||
2308 | 1025 011a DEE7 b .L63 |
||
2309 | 1026 .L85: |
||
2310 | 1027 011c 8023 movs r3, #128 |
||
2311 | 1028 011e DCE7 b .L63 |
||
2312 | 1029 .L86: |
||
2313 | 1030 0120 4FF40063 mov r3, #2048 |
||
2314 | 1031 0124 D9E7 b .L63 |
||
2315 | 1032 .L87: |
||
2316 | 1033 0126 4FF40043 mov r3, #32768 |
||
2317 | 1034 012a D6E7 b .L63 |
||
2318 | 1035 .L88: |
||
2319 | 1036 012c 4FF40023 mov r3, #524288 |
||
2320 | 1037 0130 D3E7 b .L63 |
||
2321 | 1038 .L108: |
||
2322 | 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2323 | 1039 .loc 1 544 7 is_stmt 1 view .LVU317 |
||
2324 | 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2325 | 1040 .loc 1 544 57 is_stmt 0 view .LVU318 |
||
2326 | 1041 0132 236C ldr r3, [r4, #64] |
||
2327 | 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2328 | 1042 .loc 1 544 11 view .LVU319 |
||
2329 | 1043 0134 E26B ldr r2, [r4, #60] |
||
2330 | 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2331 | 1044 .loc 1 544 50 view .LVU320 |
||
2332 | 1045 0136 0120 movs r0, #1 |
||
2333 | 1046 0138 00FA03F3 lsl r3, r0, r3 |
||
2334 | 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2335 | 1047 .loc 1 544 34 view .LVU321 |
||
2336 | 1048 013c 5360 str r3, [r2, #4] |
||
2337 | 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2338 | 1049 .loc 1 547 7 is_stmt 1 view .LVU322 |
||
2339 | 1050 013e A36B ldr r3, [r4, #56] |
||
2340 | 1051 0140 0343 orrs r3, r3, r0 |
||
19 | mjames | 2341 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 40 |
16 | mjames | 2342 | |
2343 | |||
2344 | 1052 0142 A363 str r3, [r4, #56] |
||
2345 | 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2346 | 1053 .loc 1 550 7 view .LVU323 |
||
2347 | 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2348 | 1054 .loc 1 550 18 is_stmt 0 view .LVU324 |
||
2349 | 1055 0144 84F82100 strb r0, [r4, #33] |
||
2350 | 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2351 | 1056 .loc 1 553 7 is_stmt 1 view .LVU325 |
||
2352 | 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2353 | 1057 .loc 1 553 7 view .LVU326 |
||
2354 | 1058 0148 0023 movs r3, #0 |
||
2355 | 1059 014a 84F82030 strb r3, [r4, #32] |
||
2356 | 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2357 | 1060 .loc 1 555 7 view .LVU327 |
||
2358 | 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2359 | 1061 .loc 1 555 14 is_stmt 0 view .LVU328 |
||
2360 | 1062 014e 83E7 b .L58 |
||
2361 | 1063 .L109: |
||
2362 | 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2363 | 1064 .loc 1 560 7 is_stmt 1 view .LVU329 |
||
2364 | 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2365 | 1065 .loc 1 560 9 is_stmt 0 view .LVU330 |
||
2366 | 1066 0150 2DB1 cbz r5, .L66 |
||
2367 | 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2368 | 1067 .loc 1 560 31 discriminator 1 view .LVU331 |
||
2369 | 1068 0152 FFF7FEFF bl HAL_GetTick |
||
2370 | 1069 .LVL60: |
||
2371 | 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2372 | 1070 .loc 1 560 45 discriminator 1 view .LVU332 |
||
2373 | 1071 0156 A0EB0800 sub r0, r0, r8 |
||
2374 | 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2375 | 1072 .loc 1 560 26 discriminator 1 view .LVU333 |
||
2376 | 1073 015a A842 cmp r0, r5 |
||
2377 | 1074 015c C2D9 bls .L65 |
||
2378 | 1075 .L66: |
||
2379 | 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2380 | 1076 .loc 1 563 9 is_stmt 1 view .LVU334 |
||
2381 | 1077 015e A36B ldr r3, [r4, #56] |
||
2382 | 1078 0160 43F02003 orr r3, r3, #32 |
||
2383 | 1079 0164 A363 str r3, [r4, #56] |
||
2384 | 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2385 | 1080 .loc 1 566 9 view .LVU335 |
||
2386 | 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2387 | 1081 .loc 1 566 21 is_stmt 0 view .LVU336 |
||
2388 | 1082 0166 0120 movs r0, #1 |
||
2389 | 1083 0168 84F82100 strb r0, [r4, #33] |
||
2390 | 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2391 | 1084 .loc 1 569 9 is_stmt 1 view .LVU337 |
||
2392 | 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2393 | 1085 .loc 1 569 9 view .LVU338 |
||
2394 | 1086 016c 0023 movs r3, #0 |
||
2395 | 1087 016e 84F82030 strb r3, [r4, #32] |
||
2396 | 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2397 | 1088 .loc 1 571 9 view .LVU339 |
||
2398 | 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2399 | 1089 .loc 1 571 16 is_stmt 0 view .LVU340 |
||
2400 | 1090 0172 71E7 b .L58 |
||
19 | mjames | 2401 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 41 |
16 | mjames | 2402 | |
2403 | |||
2404 | 1091 .L110: |
||
2405 | 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2406 | 1092 .loc 1 576 3 is_stmt 1 view .LVU341 |
||
2407 | 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2408 | 1093 .loc 1 576 5 is_stmt 0 view .LVU342 |
||
2409 | 1094 0174 6FBB cbnz r7, .L68 |
||
2410 | 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2411 | 1095 .loc 1 579 5 is_stmt 1 view .LVU343 |
||
2412 | 1096 0176 2368 ldr r3, [r4] |
||
2413 | 1097 0178 2A4A ldr r2, .L114 |
||
2414 | 1098 017a 9342 cmp r3, r2 |
||
2415 | 1099 017c 14D0 beq .L90 |
||
2416 | 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2417 | 1100 .loc 1 579 5 is_stmt 0 discriminator 1 view .LVU344 |
||
2418 | 1101 017e 1432 adds r2, r2, #20 |
||
2419 | 1102 0180 9342 cmp r3, r2 |
||
2420 | 1103 0182 1BD0 beq .L91 |
||
2421 | 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2422 | 1104 .loc 1 579 5 discriminator 3 view .LVU345 |
||
2423 | 1105 0184 1432 adds r2, r2, #20 |
||
2424 | 1106 0186 9342 cmp r3, r2 |
||
2425 | 1107 0188 1AD0 beq .L92 |
||
2426 | 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2427 | 1108 .loc 1 579 5 discriminator 5 view .LVU346 |
||
2428 | 1109 018a 1432 adds r2, r2, #20 |
||
2429 | 1110 018c 9342 cmp r3, r2 |
||
2430 | 1111 018e 1AD0 beq .L93 |
||
2431 | 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2432 | 1112 .loc 1 579 5 discriminator 7 view .LVU347 |
||
2433 | 1113 0190 1432 adds r2, r2, #20 |
||
2434 | 1114 0192 9342 cmp r3, r2 |
||
2435 | 1115 0194 1AD0 beq .L94 |
||
2436 | 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2437 | 1116 .loc 1 579 5 discriminator 9 view .LVU348 |
||
2438 | 1117 0196 1432 adds r2, r2, #20 |
||
2439 | 1118 0198 9342 cmp r3, r2 |
||
2440 | 1119 019a 02D0 beq .L112 |
||
2441 | 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2442 | 1120 .loc 1 579 5 view .LVU349 |
||
2443 | 1121 019c 4FF00072 mov r2, #33554432 |
||
2444 | 1122 01a0 03E0 b .L69 |
||
2445 | 1123 .L112: |
||
2446 | 1124 01a2 4FF40012 mov r2, #2097152 |
||
2447 | 1125 01a6 00E0 b .L69 |
||
2448 | 1126 .L90: |
||
2449 | 1127 01a8 0222 movs r2, #2 |
||
2450 | 1128 .L69: |
||
2451 | 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2452 | 1129 .loc 1 579 5 discriminator 24 view .LVU350 |
||
2453 | 1130 01aa 1F4B ldr r3, .L114+4 |
||
2454 | 1131 01ac 5A60 str r2, [r3, #4] |
||
2455 | 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2456 | 1132 .loc 1 583 5 is_stmt 1 discriminator 24 view .LVU351 |
||
2457 | 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2458 | 1133 .loc 1 583 17 is_stmt 0 discriminator 24 view .LVU352 |
||
2459 | 1134 01ae 0123 movs r3, #1 |
||
2460 | 1135 01b0 84F82130 strb r3, [r4, #33] |
||
19 | mjames | 2461 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 42 |
16 | mjames | 2462 | |
2463 | |||
2464 | 1136 .L70: |
||
2465 | 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2466 | 1137 .loc 1 592 3 is_stmt 1 view .LVU353 |
||
2467 | 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2468 | 1138 .loc 1 592 3 view .LVU354 |
||
2469 | 1139 01b4 0020 movs r0, #0 |
||
2470 | 1140 01b6 84F82000 strb r0, [r4, #32] |
||
2471 | 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2472 | 1141 .loc 1 594 3 view .LVU355 |
||
2473 | 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2474 | 1142 .loc 1 594 10 is_stmt 0 view .LVU356 |
||
2475 | 1143 01ba 4DE7 b .L58 |
||
2476 | 1144 .L91: |
||
2477 | 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2478 | 1145 .loc 1 579 5 view .LVU357 |
||
2479 | 1146 01bc 2022 movs r2, #32 |
||
2480 | 1147 01be F4E7 b .L69 |
||
2481 | 1148 .L92: |
||
2482 | 1149 01c0 4FF40072 mov r2, #512 |
||
2483 | 1150 01c4 F1E7 b .L69 |
||
2484 | 1151 .L93: |
||
2485 | 1152 01c6 4FF40052 mov r2, #8192 |
||
2486 | 1153 01ca EEE7 b .L69 |
||
2487 | 1154 .L94: |
||
2488 | 1155 01cc 4FF40032 mov r2, #131072 |
||
2489 | 1156 01d0 EBE7 b .L69 |
||
2490 | 1157 .L68: |
||
2491 | 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2492 | 1158 .loc 1 588 5 is_stmt 1 view .LVU358 |
||
2493 | 1159 01d2 2368 ldr r3, [r4] |
||
2494 | 1160 01d4 134A ldr r2, .L114 |
||
2495 | 1161 01d6 9342 cmp r3, r2 |
||
2496 | 1162 01d8 14D0 beq .L96 |
||
2497 | 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2498 | 1163 .loc 1 588 5 is_stmt 0 discriminator 1 view .LVU359 |
||
2499 | 1164 01da 1432 adds r2, r2, #20 |
||
2500 | 1165 01dc 9342 cmp r3, r2 |
||
2501 | 1166 01de 15D0 beq .L97 |
||
2502 | 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2503 | 1167 .loc 1 588 5 discriminator 3 view .LVU360 |
||
2504 | 1168 01e0 1432 adds r2, r2, #20 |
||
2505 | 1169 01e2 9342 cmp r3, r2 |
||
2506 | 1170 01e4 14D0 beq .L98 |
||
2507 | 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2508 | 1171 .loc 1 588 5 discriminator 5 view .LVU361 |
||
2509 | 1172 01e6 1432 adds r2, r2, #20 |
||
2510 | 1173 01e8 9342 cmp r3, r2 |
||
2511 | 1174 01ea 14D0 beq .L99 |
||
2512 | 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2513 | 1175 .loc 1 588 5 discriminator 7 view .LVU362 |
||
2514 | 1176 01ec 1432 adds r2, r2, #20 |
||
2515 | 1177 01ee 9342 cmp r3, r2 |
||
2516 | 1178 01f0 14D0 beq .L100 |
||
2517 | 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2518 | 1179 .loc 1 588 5 discriminator 9 view .LVU363 |
||
2519 | 1180 01f2 1432 adds r2, r2, #20 |
||
2520 | 1181 01f4 9342 cmp r3, r2 |
||
19 | mjames | 2521 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 43 |
16 | mjames | 2522 | |
2523 | |||
2524 | 1182 01f6 02D0 beq .L113 |
||
2525 | 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2526 | 1183 .loc 1 588 5 view .LVU364 |
||
2527 | 1184 01f8 4FF08062 mov r2, #67108864 |
||
2528 | 1185 01fc 03E0 b .L71 |
||
2529 | 1186 .L113: |
||
2530 | 1187 01fe 4FF48002 mov r2, #4194304 |
||
2531 | 1188 0202 00E0 b .L71 |
||
2532 | 1189 .L96: |
||
2533 | 1190 0204 0422 movs r2, #4 |
||
2534 | 1191 .L71: |
||
2535 | 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2536 | 1192 .loc 1 588 5 discriminator 24 view .LVU365 |
||
2537 | 1193 0206 084B ldr r3, .L114+4 |
||
2538 | 1194 0208 5A60 str r2, [r3, #4] |
||
2539 | 1195 020a D3E7 b .L70 |
||
2540 | 1196 .L97: |
||
2541 | 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2542 | 1197 .loc 1 588 5 view .LVU366 |
||
2543 | 1198 020c 4022 movs r2, #64 |
||
2544 | 1199 020e FAE7 b .L71 |
||
2545 | 1200 .L98: |
||
2546 | 1201 0210 4FF48062 mov r2, #1024 |
||
2547 | 1202 0214 F7E7 b .L71 |
||
2548 | 1203 .L99: |
||
2549 | 1204 0216 4FF48042 mov r2, #16384 |
||
2550 | 1205 021a F4E7 b .L71 |
||
2551 | 1206 .L100: |
||
2552 | 1207 021c 4FF48022 mov r2, #262144 |
||
2553 | 1208 0220 F1E7 b .L71 |
||
2554 | 1209 .L115: |
||
2555 | 1210 0222 00BF .align 2 |
||
2556 | 1211 .L114: |
||
2557 | 1212 0224 08000240 .word 1073872904 |
||
2558 | 1213 0228 00000240 .word 1073872896 |
||
2559 | 1214 .cfi_endproc |
||
2560 | 1215 .LFE71: |
||
2561 | 1217 .section .text.HAL_DMA_IRQHandler,"ax",%progbits |
||
2562 | 1218 .align 1 |
||
2563 | 1219 .global HAL_DMA_IRQHandler |
||
2564 | 1220 .syntax unified |
||
2565 | 1221 .thumb |
||
2566 | 1222 .thumb_func |
||
2567 | 1223 .fpu softvfp |
||
2568 | 1225 HAL_DMA_IRQHandler: |
||
2569 | 1226 .LVL61: |
||
2570 | 1227 .LFB72: |
||
2571 | 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR; |
||
2572 | 1228 .loc 1 604 1 is_stmt 1 view -0 |
||
2573 | 1229 .cfi_startproc |
||
2574 | 1230 @ args = 0, pretend = 0, frame = 0 |
||
2575 | 1231 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2576 | 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR; |
||
2577 | 1232 .loc 1 604 1 is_stmt 0 view .LVU368 |
||
2578 | 1233 0000 38B5 push {r3, r4, r5, lr} |
||
2579 | 1234 .LCFI11: |
||
2580 | 1235 .cfi_def_cfa_offset 16 |
||
19 | mjames | 2581 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 44 |
16 | mjames | 2582 | |
2583 | |||
2584 | 1236 .cfi_offset 3, -16 |
||
2585 | 1237 .cfi_offset 4, -12 |
||
2586 | 1238 .cfi_offset 5, -8 |
||
2587 | 1239 .cfi_offset 14, -4 |
||
2588 | 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR; |
||
2589 | 1240 .loc 1 605 3 is_stmt 1 view .LVU369 |
||
2590 | 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR; |
||
2591 | 1241 .loc 1 605 26 is_stmt 0 view .LVU370 |
||
2592 | 1242 0002 C36B ldr r3, [r0, #60] |
||
2593 | 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR; |
||
2594 | 1243 .loc 1 605 12 view .LVU371 |
||
2595 | 1244 0004 1A68 ldr r2, [r3] |
||
2596 | 1245 .LVL62: |
||
2597 | 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2598 | 1246 .loc 1 606 3 is_stmt 1 view .LVU372 |
||
2599 | 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2600 | 1247 .loc 1 606 28 is_stmt 0 view .LVU373 |
||
2601 | 1248 0006 0468 ldr r4, [r0] |
||
2602 | 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2603 | 1249 .loc 1 606 12 view .LVU374 |
||
2604 | 1250 0008 2568 ldr r5, [r4] |
||
2605 | 1251 .LVL63: |
||
2606 | 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2607 | 1252 .loc 1 609 3 is_stmt 1 view .LVU375 |
||
2608 | 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2609 | 1253 .loc 1 609 40 is_stmt 0 view .LVU376 |
||
2610 | 1254 000a 016C ldr r1, [r0, #64] |
||
2611 | 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2612 | 1255 .loc 1 609 33 view .LVU377 |
||
2613 | 1256 000c 0423 movs r3, #4 |
||
2614 | 1257 000e 8B40 lsls r3, r3, r1 |
||
2615 | 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2616 | 1258 .loc 1 609 6 view .LVU378 |
||
2617 | 1259 0010 1342 tst r3, r2 |
||
2618 | 1260 0012 35D0 beq .L117 |
||
2619 | 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2620 | 1261 .loc 1 609 67 discriminator 1 view .LVU379 |
||
2621 | 1262 0014 15F0040F tst r5, #4 |
||
2622 | 1263 0018 32D0 beq .L117 |
||
2623 | 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2624 | 1264 .loc 1 612 5 is_stmt 1 view .LVU380 |
||
2625 | 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2626 | 1265 .loc 1 612 23 is_stmt 0 view .LVU381 |
||
2627 | 1266 001a 2368 ldr r3, [r4] |
||
2628 | 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2629 | 1267 .loc 1 612 7 view .LVU382 |
||
2630 | 1268 001c 13F0200F tst r3, #32 |
||
2631 | 1269 0020 03D1 bne .L118 |
||
2632 | 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2633 | 1270 .loc 1 615 7 is_stmt 1 view .LVU383 |
||
2634 | 1271 0022 2368 ldr r3, [r4] |
||
2635 | 1272 0024 23F00403 bic r3, r3, #4 |
||
2636 | 1273 0028 2360 str r3, [r4] |
||
2637 | 1274 .L118: |
||
2638 | 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2639 | 1275 .loc 1 618 5 view .LVU384 |
||
2640 | 1276 002a 0368 ldr r3, [r0] |
||
19 | mjames | 2641 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 45 |
16 | mjames | 2642 | |
2643 | |||
2644 | 1277 002c 434A ldr r2, .L139 |
||
2645 | 1278 .LVL64: |
||
2646 | 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2647 | 1279 .loc 1 618 5 is_stmt 0 view .LVU385 |
||
2648 | 1280 002e 9342 cmp r3, r2 |
||
2649 | 1281 0030 14D0 beq .L124 |
||
2650 | 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2651 | 1282 .loc 1 618 5 discriminator 1 view .LVU386 |
||
2652 | 1283 0032 1432 adds r2, r2, #20 |
||
2653 | 1284 0034 9342 cmp r3, r2 |
||
2654 | 1285 0036 18D0 beq .L125 |
||
2655 | 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2656 | 1286 .loc 1 618 5 discriminator 3 view .LVU387 |
||
2657 | 1287 0038 1432 adds r2, r2, #20 |
||
2658 | 1288 003a 9342 cmp r3, r2 |
||
2659 | 1289 003c 17D0 beq .L126 |
||
2660 | 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2661 | 1290 .loc 1 618 5 discriminator 5 view .LVU388 |
||
2662 | 1291 003e 1432 adds r2, r2, #20 |
||
2663 | 1292 0040 9342 cmp r3, r2 |
||
2664 | 1293 0042 17D0 beq .L127 |
||
2665 | 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2666 | 1294 .loc 1 618 5 discriminator 7 view .LVU389 |
||
2667 | 1295 0044 1432 adds r2, r2, #20 |
||
2668 | 1296 0046 9342 cmp r3, r2 |
||
2669 | 1297 0048 17D0 beq .L128 |
||
2670 | 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2671 | 1298 .loc 1 618 5 discriminator 9 view .LVU390 |
||
2672 | 1299 004a 1432 adds r2, r2, #20 |
||
2673 | 1300 004c 9342 cmp r3, r2 |
||
2674 | 1301 004e 02D0 beq .L137 |
||
2675 | 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2676 | 1302 .loc 1 618 5 view .LVU391 |
||
2677 | 1303 0050 4FF08062 mov r2, #67108864 |
||
2678 | 1304 0054 03E0 b .L119 |
||
2679 | 1305 .L137: |
||
2680 | 1306 0056 4FF48002 mov r2, #4194304 |
||
2681 | 1307 005a 00E0 b .L119 |
||
2682 | 1308 .L124: |
||
2683 | 1309 005c 0422 movs r2, #4 |
||
2684 | 1310 .L119: |
||
2685 | 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2686 | 1311 .loc 1 618 5 discriminator 24 view .LVU392 |
||
2687 | 1312 005e 384B ldr r3, .L139+4 |
||
2688 | 1313 0060 5A60 str r2, [r3, #4] |
||
2689 | 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2690 | 1314 .loc 1 623 5 is_stmt 1 discriminator 24 view .LVU393 |
||
2691 | 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2692 | 1315 .loc 1 623 12 is_stmt 0 discriminator 24 view .LVU394 |
||
2693 | 1316 0062 C36A ldr r3, [r0, #44] |
||
2694 | 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2695 | 1317 .loc 1 623 7 discriminator 24 view .LVU395 |
||
2696 | 1318 0064 03B1 cbz r3, .L116 |
||
2697 | 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2698 | 1319 .loc 1 626 7 is_stmt 1 view .LVU396 |
||
2699 | 1320 0066 9847 blx r3 |
||
2700 | 1321 .LVL65: |
||
19 | mjames | 2701 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 46 |
16 | mjames | 2702 | |
2703 | |||
2704 | 1322 .L116: |
||
2705 | 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2706 | 1323 .loc 1 681 1 is_stmt 0 view .LVU397 |
||
2707 | 1324 0068 38BD pop {r3, r4, r5, pc} |
||
2708 | 1325 .LVL66: |
||
2709 | 1326 .L125: |
||
2710 | 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2711 | 1327 .loc 1 618 5 view .LVU398 |
||
2712 | 1328 006a 4022 movs r2, #64 |
||
2713 | 1329 006c F7E7 b .L119 |
||
2714 | 1330 .L126: |
||
2715 | 1331 006e 4FF48062 mov r2, #1024 |
||
2716 | 1332 0072 F4E7 b .L119 |
||
2717 | 1333 .L127: |
||
2718 | 1334 0074 4FF48042 mov r2, #16384 |
||
2719 | 1335 0078 F1E7 b .L119 |
||
2720 | 1336 .L128: |
||
2721 | 1337 007a 4FF48022 mov r2, #262144 |
||
2722 | 1338 007e EEE7 b .L119 |
||
2723 | 1339 .LVL67: |
||
2724 | 1340 .L117: |
||
2725 | 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2726 | 1341 .loc 1 631 8 is_stmt 1 view .LVU399 |
||
2727 | 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2728 | 1342 .loc 1 631 38 is_stmt 0 view .LVU400 |
||
2729 | 1343 0080 0223 movs r3, #2 |
||
2730 | 1344 0082 8B40 lsls r3, r3, r1 |
||
2731 | 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2732 | 1345 .loc 1 631 11 view .LVU401 |
||
2733 | 1346 0084 1342 tst r3, r2 |
||
2734 | 1347 0086 3CD0 beq .L121 |
||
2735 | 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2736 | 1348 .loc 1 631 72 discriminator 1 view .LVU402 |
||
2737 | 1349 0088 15F0020F tst r5, #2 |
||
2738 | 1350 008c 39D0 beq .L121 |
||
2739 | 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2740 | 1351 .loc 1 633 5 is_stmt 1 view .LVU403 |
||
2741 | 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2742 | 1352 .loc 1 633 23 is_stmt 0 view .LVU404 |
||
2743 | 1353 008e 2368 ldr r3, [r4] |
||
2744 | 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2745 | 1354 .loc 1 633 7 view .LVU405 |
||
2746 | 1355 0090 13F0200F tst r3, #32 |
||
2747 | 1356 0094 06D1 bne .L122 |
||
2748 | 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2749 | 1357 .loc 1 636 7 is_stmt 1 view .LVU406 |
||
2750 | 1358 0096 2368 ldr r3, [r4] |
||
2751 | 1359 0098 23F00A03 bic r3, r3, #10 |
||
2752 | 1360 009c 2360 str r3, [r4] |
||
2753 | 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2754 | 1361 .loc 1 639 7 view .LVU407 |
||
2755 | 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2756 | 1362 .loc 1 639 19 is_stmt 0 view .LVU408 |
||
2757 | 1363 009e 0123 movs r3, #1 |
||
2758 | 1364 00a0 80F82130 strb r3, [r0, #33] |
||
2759 | 1365 .L122: |
||
2760 | 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
19 | mjames | 2761 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 47 |
16 | mjames | 2762 | |
2763 | |||
2764 | 1366 .loc 1 642 7 is_stmt 1 view .LVU409 |
||
2765 | 1367 00a4 0368 ldr r3, [r0] |
||
2766 | 1368 00a6 254A ldr r2, .L139 |
||
2767 | 1369 .LVL68: |
||
2768 | 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2769 | 1370 .loc 1 642 7 is_stmt 0 view .LVU410 |
||
2770 | 1371 00a8 9342 cmp r3, r2 |
||
2771 | 1372 00aa 14D0 beq .L130 |
||
2772 | 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2773 | 1373 .loc 1 642 7 discriminator 1 view .LVU411 |
||
2774 | 1374 00ac 1432 adds r2, r2, #20 |
||
2775 | 1375 00ae 9342 cmp r3, r2 |
||
2776 | 1376 00b0 1CD0 beq .L131 |
||
2777 | 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2778 | 1377 .loc 1 642 7 discriminator 3 view .LVU412 |
||
2779 | 1378 00b2 1432 adds r2, r2, #20 |
||
2780 | 1379 00b4 9342 cmp r3, r2 |
||
2781 | 1380 00b6 1BD0 beq .L132 |
||
2782 | 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2783 | 1381 .loc 1 642 7 discriminator 5 view .LVU413 |
||
2784 | 1382 00b8 1432 adds r2, r2, #20 |
||
2785 | 1383 00ba 9342 cmp r3, r2 |
||
2786 | 1384 00bc 1BD0 beq .L133 |
||
2787 | 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2788 | 1385 .loc 1 642 7 discriminator 7 view .LVU414 |
||
2789 | 1386 00be 1432 adds r2, r2, #20 |
||
2790 | 1387 00c0 9342 cmp r3, r2 |
||
2791 | 1388 00c2 1BD0 beq .L134 |
||
2792 | 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2793 | 1389 .loc 1 642 7 discriminator 9 view .LVU415 |
||
2794 | 1390 00c4 1432 adds r2, r2, #20 |
||
2795 | 1391 00c6 9342 cmp r3, r2 |
||
2796 | 1392 00c8 02D0 beq .L138 |
||
2797 | 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2798 | 1393 .loc 1 642 7 view .LVU416 |
||
2799 | 1394 00ca 4FF00072 mov r2, #33554432 |
||
2800 | 1395 00ce 03E0 b .L123 |
||
2801 | 1396 .L138: |
||
2802 | 1397 00d0 4FF40012 mov r2, #2097152 |
||
2803 | 1398 00d4 00E0 b .L123 |
||
2804 | 1399 .L130: |
||
2805 | 1400 00d6 0222 movs r2, #2 |
||
2806 | 1401 .L123: |
||
2807 | 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2808 | 1402 .loc 1 642 7 discriminator 24 view .LVU417 |
||
2809 | 1403 00d8 194B ldr r3, .L139+4 |
||
2810 | 1404 00da 5A60 str r2, [r3, #4] |
||
2811 | 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2812 | 1405 .loc 1 645 5 is_stmt 1 discriminator 24 view .LVU418 |
||
2813 | 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2814 | 1406 .loc 1 645 5 discriminator 24 view .LVU419 |
||
2815 | 1407 00dc 0023 movs r3, #0 |
||
2816 | 1408 00de 80F82030 strb r3, [r0, #32] |
||
2817 | 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2818 | 1409 .loc 1 647 5 discriminator 24 view .LVU420 |
||
2819 | 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2820 | 1410 .loc 1 647 12 is_stmt 0 discriminator 24 view .LVU421 |
||
19 | mjames | 2821 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 48 |
16 | mjames | 2822 | |
2823 | |||
2824 | 1411 00e2 836A ldr r3, [r0, #40] |
||
2825 | 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2826 | 1412 .loc 1 647 7 discriminator 24 view .LVU422 |
||
2827 | 1413 00e4 002B cmp r3, #0 |
||
2828 | 1414 00e6 BFD0 beq .L116 |
||
2829 | 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2830 | 1415 .loc 1 650 7 is_stmt 1 view .LVU423 |
||
2831 | 1416 00e8 9847 blx r3 |
||
2832 | 1417 .LVL69: |
||
2833 | 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2834 | 1418 .loc 1 650 7 is_stmt 0 view .LVU424 |
||
2835 | 1419 00ea BDE7 b .L116 |
||
2836 | 1420 .LVL70: |
||
2837 | 1421 .L131: |
||
2838 | 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2839 | 1422 .loc 1 642 7 view .LVU425 |
||
2840 | 1423 00ec 2022 movs r2, #32 |
||
2841 | 1424 00ee F3E7 b .L123 |
||
2842 | 1425 .L132: |
||
2843 | 1426 00f0 4FF40072 mov r2, #512 |
||
2844 | 1427 00f4 F0E7 b .L123 |
||
2845 | 1428 .L133: |
||
2846 | 1429 00f6 4FF40052 mov r2, #8192 |
||
2847 | 1430 00fa EDE7 b .L123 |
||
2848 | 1431 .L134: |
||
2849 | 1432 00fc 4FF40032 mov r2, #131072 |
||
2850 | 1433 0100 EAE7 b .L123 |
||
2851 | 1434 .LVL71: |
||
2852 | 1435 .L121: |
||
2853 | 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2854 | 1436 .loc 1 655 8 is_stmt 1 view .LVU426 |
||
2855 | 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2856 | 1437 .loc 1 655 48 is_stmt 0 view .LVU427 |
||
2857 | 1438 0102 0823 movs r3, #8 |
||
2858 | 1439 0104 03FA01F1 lsl r1, r3, r1 |
||
2859 | 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2860 | 1440 .loc 1 655 11 view .LVU428 |
||
2861 | 1441 0108 1142 tst r1, r2 |
||
2862 | 1442 010a ADD0 beq .L116 |
||
2863 | 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2864 | 1443 .loc 1 655 73 discriminator 1 view .LVU429 |
||
2865 | 1444 010c 15F0080F tst r5, #8 |
||
2866 | 1445 0110 AAD0 beq .L116 |
||
2867 | 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2868 | 1446 .loc 1 660 5 is_stmt 1 view .LVU430 |
||
2869 | 1447 0112 2368 ldr r3, [r4] |
||
2870 | 1448 0114 23F00E03 bic r3, r3, #14 |
||
2871 | 1449 0118 2360 str r3, [r4] |
||
2872 | 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2873 | 1450 .loc 1 663 5 view .LVU431 |
||
2874 | 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2875 | 1451 .loc 1 663 55 is_stmt 0 view .LVU432 |
||
2876 | 1452 011a 026C ldr r2, [r0, #64] |
||
2877 | 1453 .LVL72: |
||
2878 | 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2879 | 1454 .loc 1 663 9 view .LVU433 |
||
2880 | 1455 011c C16B ldr r1, [r0, #60] |
||
19 | mjames | 2881 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 49 |
16 | mjames | 2882 | |
2883 | |||
2884 | 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2885 | 1456 .loc 1 663 48 view .LVU434 |
||
2886 | 1457 011e 0123 movs r3, #1 |
||
2887 | 1458 0120 03FA02F2 lsl r2, r3, r2 |
||
2888 | 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2889 | 1459 .loc 1 663 32 view .LVU435 |
||
2890 | 1460 0124 4A60 str r2, [r1, #4] |
||
2891 | 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2892 | 1461 .loc 1 666 5 is_stmt 1 view .LVU436 |
||
2893 | 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2894 | 1462 .loc 1 666 21 is_stmt 0 view .LVU437 |
||
2895 | 1463 0126 8363 str r3, [r0, #56] |
||
2896 | 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2897 | 1464 .loc 1 669 5 is_stmt 1 view .LVU438 |
||
2898 | 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2899 | 1465 .loc 1 669 17 is_stmt 0 view .LVU439 |
||
2900 | 1466 0128 80F82130 strb r3, [r0, #33] |
||
2901 | 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2902 | 1467 .loc 1 672 5 is_stmt 1 view .LVU440 |
||
2903 | 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2904 | 1468 .loc 1 672 5 view .LVU441 |
||
2905 | 1469 012c 0023 movs r3, #0 |
||
2906 | 1470 012e 80F82030 strb r3, [r0, #32] |
||
2907 | 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2908 | 1471 .loc 1 674 5 view .LVU442 |
||
2909 | 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2910 | 1472 .loc 1 674 13 is_stmt 0 view .LVU443 |
||
2911 | 1473 0132 036B ldr r3, [r0, #48] |
||
2912 | 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2913 | 1474 .loc 1 674 8 view .LVU444 |
||
2914 | 1475 0134 002B cmp r3, #0 |
||
2915 | 1476 0136 97D0 beq .L116 |
||
2916 | 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2917 | 1477 .loc 1 677 7 is_stmt 1 view .LVU445 |
||
2918 | 1478 0138 9847 blx r3 |
||
2919 | 1479 .LVL73: |
||
2920 | 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2921 | 1480 .loc 1 680 3 view .LVU446 |
||
2922 | 1481 013a 95E7 b .L116 |
||
2923 | 1482 .L140: |
||
2924 | 1483 .align 2 |
||
2925 | 1484 .L139: |
||
2926 | 1485 013c 08000240 .word 1073872904 |
||
2927 | 1486 0140 00000240 .word 1073872896 |
||
2928 | 1487 .cfi_endproc |
||
2929 | 1488 .LFE72: |
||
2930 | 1490 .section .text.HAL_DMA_RegisterCallback,"ax",%progbits |
||
2931 | 1491 .align 1 |
||
2932 | 1492 .global HAL_DMA_RegisterCallback |
||
2933 | 1493 .syntax unified |
||
2934 | 1494 .thumb |
||
2935 | 1495 .thumb_func |
||
2936 | 1496 .fpu softvfp |
||
2937 | 1498 HAL_DMA_RegisterCallback: |
||
2938 | 1499 .LVL74: |
||
2939 | 1500 .LFB73: |
||
2940 | 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
19 | mjames | 2941 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 50 |
16 | mjames | 2942 | |
2943 | |||
2944 | 1501 .loc 1 694 1 view -0 |
||
2945 | 1502 .cfi_startproc |
||
2946 | 1503 @ args = 0, pretend = 0, frame = 0 |
||
2947 | 1504 @ frame_needed = 0, uses_anonymous_args = 0 |
||
2948 | 1505 @ link register save eliminated. |
||
2949 | 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
2950 | 1506 .loc 1 694 1 is_stmt 0 view .LVU448 |
||
2951 | 1507 0000 0346 mov r3, r0 |
||
2952 | 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2953 | 1508 .loc 1 695 3 is_stmt 1 view .LVU449 |
||
2954 | 1509 .LVL75: |
||
2955 | 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2956 | 1510 .loc 1 698 3 view .LVU450 |
||
2957 | 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2958 | 1511 .loc 1 698 3 view .LVU451 |
||
2959 | 1512 0002 90F82000 ldrb r0, [r0, #32] @ zero_extendqisi2 |
||
2960 | 1513 .LVL76: |
||
2961 | 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2962 | 1514 .loc 1 698 3 is_stmt 0 view .LVU452 |
||
2963 | 1515 0006 0128 cmp r0, #1 |
||
2964 | 1516 0008 1FD0 beq .L149 |
||
2965 | 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2966 | 1517 .loc 1 698 3 is_stmt 1 discriminator 2 view .LVU453 |
||
2967 | 1518 000a 0120 movs r0, #1 |
||
2968 | 1519 000c 83F82000 strb r0, [r3, #32] |
||
2969 | 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2970 | 1520 .loc 1 700 3 discriminator 2 view .LVU454 |
||
2971 | 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2972 | 1521 .loc 1 700 33 is_stmt 0 discriminator 2 view .LVU455 |
||
2973 | 1522 0010 93F82100 ldrb r0, [r3, #33] @ zero_extendqisi2 |
||
2974 | 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
2975 | 1523 .loc 1 700 5 discriminator 2 view .LVU456 |
||
2976 | 1524 0014 0128 cmp r0, #1 |
||
2977 | 1525 0016 04D0 beq .L152 |
||
2978 | 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2979 | 1526 .loc 1 727 12 view .LVU457 |
||
2980 | 1527 0018 0120 movs r0, #1 |
||
2981 | 1528 .L143: |
||
2982 | 1529 .LVL77: |
||
2983 | 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2984 | 1530 .loc 1 731 3 is_stmt 1 view .LVU458 |
||
2985 | 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2986 | 1531 .loc 1 731 3 view .LVU459 |
||
2987 | 1532 001a 0022 movs r2, #0 |
||
2988 | 1533 .LVL78: |
||
2989 | 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
2990 | 1534 .loc 1 731 3 is_stmt 0 view .LVU460 |
||
2991 | 1535 001c 83F82020 strb r2, [r3, #32] |
||
2992 | 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2993 | 1536 .loc 1 733 3 is_stmt 1 view .LVU461 |
||
2994 | 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
2995 | 1537 .loc 1 733 10 is_stmt 0 view .LVU462 |
||
2996 | 1538 0020 7047 bx lr |
||
2997 | 1539 .LVL79: |
||
2998 | 1540 .L152: |
||
2999 | 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
3000 | 1541 .loc 1 702 5 is_stmt 1 view .LVU463 |
||
19 | mjames | 3001 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 51 |
16 | mjames | 3002 | |
3003 | |||
3004 | 1542 0022 0329 cmp r1, #3 |
||
3005 | 1543 0024 0FD8 bhi .L151 |
||
3006 | 1544 0026 DFE801F0 tbb [pc, r1] |
||
3007 | 1545 .L145: |
||
3008 | 1546 002a 02 .byte (.L148-.L145)/2 |
||
3009 | 1547 002b 05 .byte (.L147-.L145)/2 |
||
3010 | 1548 002c 08 .byte (.L146-.L145)/2 |
||
3011 | 1549 002d 0B .byte (.L144-.L145)/2 |
||
3012 | 1550 .p2align 1 |
||
3013 | 1551 .L148: |
||
3014 | 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3015 | 1552 .loc 1 705 7 view .LVU464 |
||
3016 | 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3017 | 1553 .loc 1 705 30 is_stmt 0 view .LVU465 |
||
3018 | 1554 002e 9A62 str r2, [r3, #40] |
||
3019 | 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3020 | 1555 .loc 1 706 7 is_stmt 1 view .LVU466 |
||
3021 | 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3022 | 1556 .loc 1 695 21 is_stmt 0 view .LVU467 |
||
3023 | 1557 0030 0020 movs r0, #0 |
||
3024 | 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3025 | 1558 .loc 1 706 7 view .LVU468 |
||
3026 | 1559 0032 F2E7 b .L143 |
||
3027 | 1560 .L147: |
||
3028 | 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3029 | 1561 .loc 1 709 7 is_stmt 1 view .LVU469 |
||
3030 | 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3031 | 1562 .loc 1 709 34 is_stmt 0 view .LVU470 |
||
3032 | 1563 0034 DA62 str r2, [r3, #44] |
||
3033 | 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3034 | 1564 .loc 1 710 7 is_stmt 1 view .LVU471 |
||
3035 | 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3036 | 1565 .loc 1 695 21 is_stmt 0 view .LVU472 |
||
3037 | 1566 0036 0020 movs r0, #0 |
||
3038 | 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3039 | 1567 .loc 1 710 7 view .LVU473 |
||
3040 | 1568 0038 EFE7 b .L143 |
||
3041 | 1569 .L146: |
||
3042 | 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3043 | 1570 .loc 1 713 7 is_stmt 1 view .LVU474 |
||
3044 | 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3045 | 1571 .loc 1 713 31 is_stmt 0 view .LVU475 |
||
3046 | 1572 003a 1A63 str r2, [r3, #48] |
||
3047 | 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3048 | 1573 .loc 1 714 7 is_stmt 1 view .LVU476 |
||
3049 | 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3050 | 1574 .loc 1 695 21 is_stmt 0 view .LVU477 |
||
3051 | 1575 003c 0020 movs r0, #0 |
||
3052 | 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3053 | 1576 .loc 1 714 7 view .LVU478 |
||
3054 | 1577 003e ECE7 b .L143 |
||
3055 | 1578 .L144: |
||
3056 | 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3057 | 1579 .loc 1 717 7 is_stmt 1 view .LVU479 |
||
3058 | 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3059 | 1580 .loc 1 717 31 is_stmt 0 view .LVU480 |
||
3060 | 1581 0040 5A63 str r2, [r3, #52] |
||
19 | mjames | 3061 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 52 |
16 | mjames | 3062 | |
3063 | |||
3064 | 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3065 | 1582 .loc 1 718 7 is_stmt 1 view .LVU481 |
||
3066 | 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3067 | 1583 .loc 1 695 21 is_stmt 0 view .LVU482 |
||
3068 | 1584 0042 0020 movs r0, #0 |
||
3069 | 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3070 | 1585 .loc 1 718 7 view .LVU483 |
||
3071 | 1586 0044 E9E7 b .L143 |
||
3072 | 1587 .L151: |
||
3073 | 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3074 | 1588 .loc 1 721 14 view .LVU484 |
||
3075 | 1589 0046 0120 movs r0, #1 |
||
3076 | 1590 0048 E7E7 b .L143 |
||
3077 | 1591 .L149: |
||
3078 | 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3079 | 1592 .loc 1 698 3 view .LVU485 |
||
3080 | 1593 004a 0220 movs r0, #2 |
||
3081 | 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3082 | 1594 .loc 1 734 1 view .LVU486 |
||
3083 | 1595 004c 7047 bx lr |
||
3084 | 1596 .cfi_endproc |
||
3085 | 1597 .LFE73: |
||
3086 | 1599 .section .text.HAL_DMA_UnRegisterCallback,"ax",%progbits |
||
3087 | 1600 .align 1 |
||
3088 | 1601 .global HAL_DMA_UnRegisterCallback |
||
3089 | 1602 .syntax unified |
||
3090 | 1603 .thumb |
||
3091 | 1604 .thumb_func |
||
3092 | 1605 .fpu softvfp |
||
3093 | 1607 HAL_DMA_UnRegisterCallback: |
||
3094 | 1608 .LVL80: |
||
3095 | 1609 .LFB74: |
||
3096 | 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
3097 | 1610 .loc 1 745 1 is_stmt 1 view -0 |
||
3098 | 1611 .cfi_startproc |
||
3099 | 1612 @ args = 0, pretend = 0, frame = 0 |
||
3100 | 1613 @ frame_needed = 0, uses_anonymous_args = 0 |
||
3101 | 1614 @ link register save eliminated. |
||
3102 | 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK; |
||
3103 | 1615 .loc 1 745 1 is_stmt 0 view .LVU488 |
||
3104 | 1616 0000 0346 mov r3, r0 |
||
3105 | 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3106 | 1617 .loc 1 746 3 is_stmt 1 view .LVU489 |
||
3107 | 1618 .LVL81: |
||
3108 | 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3109 | 1619 .loc 1 749 3 view .LVU490 |
||
3110 | 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3111 | 1620 .loc 1 749 3 view .LVU491 |
||
3112 | 1621 0002 90F82020 ldrb r2, [r0, #32] @ zero_extendqisi2 |
||
3113 | 1622 0006 012A cmp r2, #1 |
||
3114 | 1623 0008 26D0 beq .L162 |
||
3115 | 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3116 | 1624 .loc 1 749 3 discriminator 2 view .LVU492 |
||
3117 | 1625 000a 0122 movs r2, #1 |
||
3118 | 1626 000c 80F82020 strb r2, [r0, #32] |
||
3119 | 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
3120 | 1627 .loc 1 751 3 discriminator 2 view .LVU493 |
||
19 | mjames | 3121 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 53 |
16 | mjames | 3122 | |
3123 | |||
3124 | 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
3125 | 1628 .loc 1 751 33 is_stmt 0 discriminator 2 view .LVU494 |
||
3126 | 1629 0010 90F82120 ldrb r2, [r0, #33] @ zero_extendqisi2 |
||
3127 | 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
3128 | 1630 .loc 1 751 5 discriminator 2 view .LVU495 |
||
3129 | 1631 0014 012A cmp r2, #1 |
||
3130 | 1632 0016 04D0 beq .L165 |
||
3131 | 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
3132 | 1633 .loc 1 785 12 view .LVU496 |
||
3133 | 1634 0018 0120 movs r0, #1 |
||
3134 | 1635 .LVL82: |
||
3135 | 1636 .L155: |
||
3136 | 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3137 | 1637 .loc 1 789 3 is_stmt 1 view .LVU497 |
||
3138 | 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3139 | 1638 .loc 1 789 3 view .LVU498 |
||
3140 | 1639 001a 0022 movs r2, #0 |
||
3141 | 1640 001c 83F82020 strb r2, [r3, #32] |
||
3142 | 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
3143 | 1641 .loc 1 791 3 view .LVU499 |
||
3144 | 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
3145 | 1642 .loc 1 791 10 is_stmt 0 view .LVU500 |
||
3146 | 1643 0020 7047 bx lr |
||
3147 | 1644 .LVL83: |
||
3148 | 1645 .L165: |
||
3149 | 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** { |
||
3150 | 1646 .loc 1 753 5 is_stmt 1 view .LVU501 |
||
3151 | 1647 0022 0429 cmp r1, #4 |
||
3152 | 1648 0024 16D8 bhi .L164 |
||
3153 | 1649 0026 DFE801F0 tbb [pc, r1] |
||
3154 | 1650 .L157: |
||
3155 | 1651 002a 03 .byte (.L161-.L157)/2 |
||
3156 | 1652 002b 06 .byte (.L160-.L157)/2 |
||
3157 | 1653 002c 09 .byte (.L159-.L157)/2 |
||
3158 | 1654 002d 0C .byte (.L158-.L157)/2 |
||
3159 | 1655 002e 0F .byte (.L156-.L157)/2 |
||
3160 | 1656 002f 00 .p2align 1 |
||
3161 | 1657 .L161: |
||
3162 | 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3163 | 1658 .loc 1 756 7 view .LVU502 |
||
3164 | 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3165 | 1659 .loc 1 756 30 is_stmt 0 view .LVU503 |
||
3166 | 1660 0030 0020 movs r0, #0 |
||
3167 | 1661 .LVL84: |
||
3168 | 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3169 | 1662 .loc 1 756 30 view .LVU504 |
||
3170 | 1663 0032 9862 str r0, [r3, #40] |
||
3171 | 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3172 | 1664 .loc 1 757 7 is_stmt 1 view .LVU505 |
||
3173 | 1665 0034 F1E7 b .L155 |
||
3174 | 1666 .LVL85: |
||
3175 | 1667 .L160: |
||
3176 | 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3177 | 1668 .loc 1 760 7 view .LVU506 |
||
3178 | 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3179 | 1669 .loc 1 760 34 is_stmt 0 view .LVU507 |
||
3180 | 1670 0036 0020 movs r0, #0 |
||
19 | mjames | 3181 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 54 |
16 | mjames | 3182 | |
3183 | |||
3184 | 1671 .LVL86: |
||
3185 | 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3186 | 1672 .loc 1 760 34 view .LVU508 |
||
3187 | 1673 0038 D862 str r0, [r3, #44] |
||
3188 | 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3189 | 1674 .loc 1 761 7 is_stmt 1 view .LVU509 |
||
3190 | 1675 003a EEE7 b .L155 |
||
3191 | 1676 .LVL87: |
||
3192 | 1677 .L159: |
||
3193 | 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3194 | 1678 .loc 1 764 7 view .LVU510 |
||
3195 | 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3196 | 1679 .loc 1 764 31 is_stmt 0 view .LVU511 |
||
3197 | 1680 003c 0020 movs r0, #0 |
||
3198 | 1681 .LVL88: |
||
3199 | 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3200 | 1682 .loc 1 764 31 view .LVU512 |
||
3201 | 1683 003e 1863 str r0, [r3, #48] |
||
3202 | 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3203 | 1684 .loc 1 765 7 is_stmt 1 view .LVU513 |
||
3204 | 1685 0040 EBE7 b .L155 |
||
3205 | 1686 .LVL89: |
||
3206 | 1687 .L158: |
||
3207 | 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3208 | 1688 .loc 1 768 7 view .LVU514 |
||
3209 | 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3210 | 1689 .loc 1 768 31 is_stmt 0 view .LVU515 |
||
3211 | 1690 0042 0020 movs r0, #0 |
||
3212 | 1691 .LVL90: |
||
3213 | 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3214 | 1692 .loc 1 768 31 view .LVU516 |
||
3215 | 1693 0044 5863 str r0, [r3, #52] |
||
3216 | 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3217 | 1694 .loc 1 769 7 is_stmt 1 view .LVU517 |
||
3218 | 1695 0046 E8E7 b .L155 |
||
3219 | 1696 .LVL91: |
||
3220 | 1697 .L156: |
||
3221 | 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; |
||
3222 | 1698 .loc 1 772 7 view .LVU518 |
||
3223 | 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; |
||
3224 | 1699 .loc 1 772 30 is_stmt 0 view .LVU519 |
||
3225 | 1700 0048 0020 movs r0, #0 |
||
3226 | 1701 .LVL92: |
||
3227 | 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL; |
||
3228 | 1702 .loc 1 772 30 view .LVU520 |
||
3229 | 1703 004a 9862 str r0, [r3, #40] |
||
3230 | 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL; |
||
3231 | 1704 .loc 1 773 7 is_stmt 1 view .LVU521 |
||
3232 | 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL; |
||
3233 | 1705 .loc 1 773 34 is_stmt 0 view .LVU522 |
||
3234 | 1706 004c D862 str r0, [r3, #44] |
||
3235 | 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL; |
||
3236 | 1707 .loc 1 774 7 is_stmt 1 view .LVU523 |
||
3237 | 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL; |
||
3238 | 1708 .loc 1 774 31 is_stmt 0 view .LVU524 |
||
3239 | 1709 004e 1863 str r0, [r3, #48] |
||
3240 | 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
19 | mjames | 3241 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 55 |
16 | mjames | 3242 | |
3243 | |||
3244 | 1710 .loc 1 775 7 is_stmt 1 view .LVU525 |
||
3245 | 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3246 | 1711 .loc 1 775 31 is_stmt 0 view .LVU526 |
||
3247 | 1712 0050 5863 str r0, [r3, #52] |
||
3248 | 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3249 | 1713 .loc 1 776 7 is_stmt 1 view .LVU527 |
||
3250 | 1714 0052 E2E7 b .L155 |
||
3251 | 1715 .LVL93: |
||
3252 | 1716 .L164: |
||
3253 | 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3254 | 1717 .loc 1 779 14 is_stmt 0 view .LVU528 |
||
3255 | 1718 0054 0120 movs r0, #1 |
||
3256 | 1719 .LVL94: |
||
3257 | 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break; |
||
3258 | 1720 .loc 1 779 14 view .LVU529 |
||
3259 | 1721 0056 E0E7 b .L155 |
||
3260 | 1722 .LVL95: |
||
3261 | 1723 .L162: |
||
3262 | 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3263 | 1724 .loc 1 749 3 view .LVU530 |
||
3264 | 1725 0058 0220 movs r0, #2 |
||
3265 | 1726 .LVL96: |
||
3266 | 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3267 | 1727 .loc 1 792 1 view .LVU531 |
||
3268 | 1728 005a 7047 bx lr |
||
3269 | 1729 .cfi_endproc |
||
3270 | 1730 .LFE74: |
||
3271 | 1732 .section .text.HAL_DMA_GetState,"ax",%progbits |
||
3272 | 1733 .align 1 |
||
3273 | 1734 .global HAL_DMA_GetState |
||
3274 | 1735 .syntax unified |
||
3275 | 1736 .thumb |
||
3276 | 1737 .thumb_func |
||
3277 | 1738 .fpu softvfp |
||
3278 | 1740 HAL_DMA_GetState: |
||
3279 | 1741 .LVL97: |
||
3280 | 1742 .LFB75: |
||
3281 | 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Return DMA handle state */ |
||
3282 | 1743 .loc 1 821 1 is_stmt 1 view -0 |
||
3283 | 1744 .cfi_startproc |
||
3284 | 1745 @ args = 0, pretend = 0, frame = 0 |
||
3285 | 1746 @ frame_needed = 0, uses_anonymous_args = 0 |
||
3286 | 1747 @ link register save eliminated. |
||
3287 | 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
3288 | 1748 .loc 1 823 3 view .LVU533 |
||
3289 | 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3290 | 1749 .loc 1 824 1 is_stmt 0 view .LVU534 |
||
3291 | 1750 0000 90F82100 ldrb r0, [r0, #33] @ zero_extendqisi2 |
||
3292 | 1751 .LVL98: |
||
3293 | 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3294 | 1752 .loc 1 824 1 view .LVU535 |
||
3295 | 1753 0004 7047 bx lr |
||
3296 | 1754 .cfi_endproc |
||
3297 | 1755 .LFE75: |
||
3298 | 1757 .section .text.HAL_DMA_GetError,"ax",%progbits |
||
3299 | 1758 .align 1 |
||
3300 | 1759 .global HAL_DMA_GetError |
||
19 | mjames | 3301 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 56 |
16 | mjames | 3302 | |
3303 | |||
3304 | 1760 .syntax unified |
||
3305 | 1761 .thumb |
||
3306 | 1762 .thumb_func |
||
3307 | 1763 .fpu softvfp |
||
3308 | 1765 HAL_DMA_GetError: |
||
3309 | 1766 .LVL99: |
||
3310 | 1767 .LFB76: |
||
3311 | 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return hdma->ErrorCode; |
||
3312 | 1768 .loc 1 833 1 is_stmt 1 view -0 |
||
3313 | 1769 .cfi_startproc |
||
3314 | 1770 @ args = 0, pretend = 0, frame = 0 |
||
3315 | 1771 @ frame_needed = 0, uses_anonymous_args = 0 |
||
3316 | 1772 @ link register save eliminated. |
||
3317 | 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
3318 | 1773 .loc 1 834 3 view .LVU537 |
||
3319 | 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** } |
||
3320 | 1774 .loc 1 834 14 is_stmt 0 view .LVU538 |
||
3321 | 1775 0000 806B ldr r0, [r0, #56] |
||
3322 | 1776 .LVL100: |
||
3323 | 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** |
||
3324 | 1777 .loc 1 835 1 view .LVU539 |
||
3325 | 1778 0002 7047 bx lr |
||
3326 | 1779 .cfi_endproc |
||
3327 | 1780 .LFE76: |
||
3328 | 1782 .text |
||
3329 | 1783 .Letext0: |
||
3330 | 1784 .file 2 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7 |
||
3331 | 1785 .file 3 "c:\\users\\mike\\appdata\\roaming\\xpacks\\@gnu-mcu-eclipse\\arm-none-eabi-gcc\\8.2.1-1.7 |
||
3332 | 1786 .file 4 "Drivers/CMSIS/Include/core_cm3.h" |
||
3333 | 1787 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h" |
||
3334 | 1788 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h" |
||
3335 | 1789 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h" |
||
3336 | 1790 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h" |
||
3337 | 1791 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h" |
||
3338 | 1792 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h" |
||
19 | mjames | 3339 | ARM GAS C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s page 57 |
16 | mjames | 3340 | |
3341 | |||
3342 | DEFINED SYMBOLS |
||
3343 | *ABS*:0000000000000000 stm32f1xx_hal_dma.c |
||
19 | mjames | 3344 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:16 .text.DMA_SetConfig:0000000000000000 $t |
3345 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:23 .text.DMA_SetConfig:0000000000000000 DMA_SetConfig |
||
3346 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:102 .text.HAL_DMA_Init:0000000000000000 $t |
||
3347 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:109 .text.HAL_DMA_Init:0000000000000000 HAL_DMA_Init |
||
3348 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:233 .text.HAL_DMA_Init:0000000000000060 $d |
||
3349 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:240 .text.HAL_DMA_DeInit:0000000000000000 $t |
||
3350 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:247 .text.HAL_DMA_DeInit:0000000000000000 HAL_DMA_DeInit |
||
3351 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:356 .text.HAL_DMA_DeInit:000000000000005c $d |
||
3352 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:363 .text.HAL_DMA_Start:0000000000000000 $t |
||
3353 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:370 .text.HAL_DMA_Start:0000000000000000 HAL_DMA_Start |
||
3354 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:458 .text.HAL_DMA_Start_IT:0000000000000000 $t |
||
3355 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:465 .text.HAL_DMA_Start_IT:0000000000000000 HAL_DMA_Start_IT |
||
3356 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:576 .text.HAL_DMA_Abort:0000000000000000 $t |
||
3357 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:583 .text.HAL_DMA_Abort:0000000000000000 HAL_DMA_Abort |
||
3358 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:651 .text.HAL_DMA_Abort_IT:0000000000000000 $t |
||
3359 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:658 .text.HAL_DMA_Abort_IT:0000000000000000 HAL_DMA_Abort_IT |
||
3360 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:783 .text.HAL_DMA_Abort_IT:0000000000000090 $d |
||
3361 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:789 .text.HAL_DMA_PollForTransfer:0000000000000000 $t |
||
3362 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:796 .text.HAL_DMA_PollForTransfer:0000000000000000 HAL_DMA_PollForTransfer |
||
3363 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1212 .text.HAL_DMA_PollForTransfer:0000000000000224 $d |
||
3364 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1218 .text.HAL_DMA_IRQHandler:0000000000000000 $t |
||
3365 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1225 .text.HAL_DMA_IRQHandler:0000000000000000 HAL_DMA_IRQHandler |
||
3366 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1485 .text.HAL_DMA_IRQHandler:000000000000013c $d |
||
3367 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1491 .text.HAL_DMA_RegisterCallback:0000000000000000 $t |
||
3368 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1498 .text.HAL_DMA_RegisterCallback:0000000000000000 HAL_DMA_RegisterCallback |
||
3369 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1546 .text.HAL_DMA_RegisterCallback:000000000000002a $d |
||
3370 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1550 .text.HAL_DMA_RegisterCallback:000000000000002e $t |
||
3371 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1600 .text.HAL_DMA_UnRegisterCallback:0000000000000000 $t |
||
3372 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1607 .text.HAL_DMA_UnRegisterCallback:0000000000000000 HAL_DMA_UnRegisterCallback |
||
3373 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1651 .text.HAL_DMA_UnRegisterCallback:000000000000002a $d |
||
3374 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1733 .text.HAL_DMA_GetState:0000000000000000 $t |
||
3375 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1740 .text.HAL_DMA_GetState:0000000000000000 HAL_DMA_GetState |
||
3376 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1758 .text.HAL_DMA_GetError:0000000000000000 $t |
||
3377 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1765 .text.HAL_DMA_GetError:0000000000000000 HAL_DMA_GetError |
||
3378 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1656 .text.HAL_DMA_UnRegisterCallback:000000000000002f $d |
||
3379 | C:\Users\mike\AppData\Local\Temp\ccZQF4Yh.s:1656 .text.HAL_DMA_UnRegisterCallback:0000000000000030 $t |
||
16 | mjames | 3380 | |
3381 | UNDEFINED SYMBOLS |
||
3382 | HAL_GetTick |