ARM GAS /tmp/ccYVRobT.s page 1
1 .cpu cortex-m4
2 .arch armv7e-m
3 .fpu fpv4-sp-d16
4 .eabi_attribute 27, 1
5 .eabi_attribute 28, 1
6 .eabi_attribute 20, 1
7 .eabi_attribute 21, 1
8 .eabi_attribute 23, 3
9 .eabi_attribute 24, 1
10 .eabi_attribute 25, 1
11 .eabi_attribute 26, 1
12 .eabi_attribute 30, 1
13 .eabi_attribute 34, 1
14 .eabi_attribute 18, 4
15 .file "stm32f4xx_hal_adc_ex.c"
16 .text
17 .Ltext0:
18 .cfi_sections .debug_frame
19 .section .text.ADC_MultiModeDMAError,"ax",%progbits
20 .align 1
21 .syntax unified
22 .thumb
23 .thumb_func
25 ADC_MultiModeDMAError:
26 .LVL0:
27 .LFB144:
28 .file 1 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c"
1:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
2:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ******************************************************************************
3:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @file stm32f4xx_hal_adc_ex.c
4:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @author MCD Application Team
5:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief This file provides firmware functions to manage the following
6:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * functionalities of the ADC extension peripheral:
7:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * + Extended features functions
8:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
9:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** @verbatim
10:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ==============================================================================
11:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ##### How to use this driver #####
12:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ==============================================================================
13:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
14:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (#)Initialize the ADC low level resources by implementing the HAL_ADC_MspInit():
15:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (##) Enable the ADC interface clock using __HAL_RCC_ADC_CLK_ENABLE()
16:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (##) ADC pins configuration
17:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Enable the clock for the ADC GPIOs using the following function:
18:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_RCC_GPIOx_CLK_ENABLE()
19:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Configure these ADC pins in analog mode using HAL_GPIO_Init()
20:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (##) In case of using interrupts (e.g. HAL_ADC_Start_IT())
21:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Configure the ADC interrupt priority using HAL_NVIC_SetPriority()
22:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Enable the ADC IRQ handler using HAL_NVIC_EnableIRQ()
23:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) In ADC IRQ handler, call HAL_ADC_IRQHandler()
24:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (##) In case of using DMA to control data transfer (e.g. HAL_ADC_Start_DMA())
25:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Enable the DMAx interface clock using __HAL_RCC_DMAx_CLK_ENABLE()
26:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Configure and enable two DMA streams stream for managing data
27:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** transfer from peripheral to memory (output stream)
28:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Associate the initialized DMA handle to the ADC DMA handle
29:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** using __HAL_LINKDMA()
30:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+++) Configure the priority and enable the NVIC for the transfer complete
ARM GAS /tmp/ccYVRobT.s page 2
31:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** interrupt on the two DMA Streams. The output stream should have higher
32:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** priority than the input stream.
33:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (#) Configure the ADC Prescaler, conversion resolution and data alignment
34:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** using the HAL_ADC_Init() function.
35:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
36:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (#) Configure the ADC Injected channels group features, use HAL_ADC_Init()
37:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** and HAL_ADC_ConfigChannel() functions.
38:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
39:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (#) Three operation modes are available within this driver :
40:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
41:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *** Polling mode IO operation ***
42:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** =================================
43:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
44:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start the ADC peripheral using HAL_ADCEx_InjectedStart()
45:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Wait for end of conversion using HAL_ADC_PollForConversion(), at this stage
46:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** user can specify the value of timeout according to his end application
47:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) To read the ADC converted values, use the HAL_ADCEx_InjectedGetValue() function.
48:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop the ADC peripheral using HAL_ADCEx_InjectedStop()
49:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
50:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *** Interrupt mode IO operation ***
51:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ===================================
52:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
53:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start the ADC peripheral using HAL_ADCEx_InjectedStart_IT()
54:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Use HAL_ADC_IRQHandler() called under ADC_IRQHandler() Interrupt subroutine
55:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) At ADC end of conversion HAL_ADCEx_InjectedConvCpltCallback() function is executed and u
56:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** add his own code by customization of function pointer HAL_ADCEx_InjectedConvCpltCallbac
57:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) In case of ADC Error, HAL_ADCEx_InjectedErrorCallback() function is executed and user ca
58:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** add his own code by customization of function pointer HAL_ADCEx_InjectedErrorCallback
59:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop the ADC peripheral using HAL_ADCEx_InjectedStop_IT()
60:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
61:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
62:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *** DMA mode IO operation ***
63:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ==============================
64:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
65:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start the ADC peripheral using HAL_ADCEx_InjectedStart_DMA(), at this stage the user spe
66:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** of data to be transferred at each end of conversion
67:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) At The end of data transfer ba HAL_ADCEx_InjectedConvCpltCallback() function is executed
68:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** add his own code by customization of function pointer HAL_ADCEx_InjectedConvCpltCallbac
69:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) In case of transfer Error, HAL_ADCEx_InjectedErrorCallback() function is executed and us
70:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** add his own code by customization of function pointer HAL_ADCEx_InjectedErrorCallback
71:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop the ADC peripheral using HAL_ADCEx_InjectedStop_DMA()
72:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
73:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *** Multi mode ADCs Regular channels configuration ***
74:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ======================================================
75:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..]
76:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Select the Multi mode ADC regular channels features (dual or triple mode)
77:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** and configure the DMA mode using HAL_ADCEx_MultiModeConfigChannel() functions.
78:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start the ADC peripheral using HAL_ADCEx_MultiModeStart_DMA(), at this stage the user sp
79:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** of data to be transferred at each end of conversion
80:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Read the ADCs converted values using the HAL_ADCEx_MultiModeGetValue() function.
81:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
82:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
83:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** @endverbatim
84:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ******************************************************************************
85:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @attention
86:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
87:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
© Copyright (c) 2017 STMicroelectronics.
ARM GAS /tmp/ccYVRobT.s page 3
88:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * All rights reserved.
89:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
90:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * This software component is licensed by ST under BSD 3-Clause license,
91:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the "License"; You may not use this file except in compliance with the
92:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * License. You may obtain a copy of the License at:
93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * opensource.org/licenses/BSD-3-Clause
94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
95:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ******************************************************************************
96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
97:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
98:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Includes ------------------------------------------------------------------*/
99:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #include "stm32f4xx_hal.h"
100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
101:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @addtogroup STM32F4xx_HAL_Driver
102:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
105:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @defgroup ADCEx ADCEx
106:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief ADC Extended driver modules
107:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
109:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
110:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #ifdef HAL_ADC_MODULE_ENABLED
111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
112:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private typedef -----------------------------------------------------------*/
113:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private define ------------------------------------------------------------*/
114:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private macro -------------------------------------------------------------*/
115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private variables ---------------------------------------------------------*/
116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @addtogroup ADCEx_Private_Functions
117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
118:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
119:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Private function prototypes -----------------------------------------------*/
120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAConvCplt(DMA_HandleTypeDef *hdma);
121:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAError(DMA_HandleTypeDef *hdma);
122:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAHalfConvCplt(DMA_HandleTypeDef *hdma);
123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
124:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @}
125:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Exported functions --------------------------------------------------------*/
128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @defgroup ADCEx_Exported_Functions ADC Exported Functions
129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
131:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
132:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /** @defgroup ADCEx_Exported_Functions_Group1 Extended features functions
133:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Extended features functions
134:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
135:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** @verbatim
136:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ===============================================================================
137:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ##### Extended features functions #####
138:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ===============================================================================
139:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** [..] This section provides functions allowing to:
140:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start conversion of injected channel.
141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop conversion of injected channel.
142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Start multimode and enable DMA transfer.
143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Stop multimode and disable DMA transfer.
144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Get result of injected channel conversion.
ARM GAS /tmp/ccYVRobT.s page 4
145:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Get result of multimode conversion.
146:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Configure injected channels.
147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (+) Configure multimode.
148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
149:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** @endverbatim
150:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @{
151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
152:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
153:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Enables the selected ADC software start conversion of the injected channels.
155:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
156:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
159:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStart(ADC_HandleTypeDef* hadc)
160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
164:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
167:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
168:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the ADC peripheral */
169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
170:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC peripheral is disabled in order to enable it and wait during
171:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** Tstab time the ADC's stabilization */
172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance->CR2 & ADC_CR2_ADON) != ADC_CR2_ADON)
173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the Peripheral */
175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE(hadc);
176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Delay for ADC stabilization time */
178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Compute number of CPU cycles to wait for */
179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U));
180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
181:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter--;
183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Start conversion if ADC is effectively enabled */
187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_ADON))
188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Clear state bitfield related to injected group conversion results */
191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Set state bitfield related to injected operation */
192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_INJ_BUSY);
195:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if a regular conversion is ongoing */
197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: On this device, there is no ADC error code fields related to */
198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* conversions on group injected only. In case of conversion on */
199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* going on group regular, no error code is reset. */
200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_REG_BUSY))
201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
ARM GAS /tmp/ccYVRobT.s page 5
202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset ADC all error code fields */
203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_CLEAR_ERRORCODE(hadc);
204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Unlock before starting ADC conversions: in case of potential */
208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* interruption, to let the process to ADC IRQ Handler. */
209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear injected group conversion flag */
212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JEOC);
214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
220:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if Multimode enabled */
221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(tmpADC_Common->CCR, ADC_CCR_MULTI))
222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN);
224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for injected group */
228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= ADC_CR2_JSWSTART;
229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
230:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
231:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN);
234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for injected group */
238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= ADC_CR2_JSWSTART;
239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
243:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
248:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Enables the interrupt and starts ADC conversion of injected channels.
249:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status.
253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStart_IT(ADC_HandleTypeDef* hadc)
255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
ARM GAS /tmp/ccYVRobT.s page 6
259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
262:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the ADC peripheral */
264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC peripheral is disabled in order to enable it and wait during
266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** Tstab time the ADC's stabilization */
267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance->CR2 & ADC_CR2_ADON) != ADC_CR2_ADON)
268:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
269:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the Peripheral */
270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE(hadc);
271:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Delay for ADC stabilization time */
273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Compute number of CPU cycles to wait for */
274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U));
275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter--;
278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
279:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Start conversion if ADC is effectively enabled */
282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_ADON))
283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
285:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Clear state bitfield related to injected group conversion results */
286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Set state bitfield related to injected operation */
287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
289:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_INJ_BUSY);
290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if a regular conversion is ongoing */
292:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: On this device, there is no ADC error code fields related to */
293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* conversions on group injected only. In case of conversion on */
294:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* going on group regular, no error code is reset. */
295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_REG_BUSY))
296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset ADC all error code fields */
298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_CLEAR_ERRORCODE(hadc);
299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
300:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
302:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Unlock before starting ADC conversions: in case of potential */
303:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* interruption, to let the process to ADC IRQ Handler. */
304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear injected group conversion flag */
307:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JEOC);
309:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
310:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable end of conversion interrupt for injected channels */
311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_JEOC);
312:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
314:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
ARM GAS /tmp/ccYVRobT.s page 7
316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if Multimode enabled */
319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(tmpADC_Common->CCR, ADC_CCR_MULTI))
320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN);
322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for injected group */
326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= ADC_CR2_JSWSTART;
327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
330:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp1 = HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_JEXTEN);
332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
334:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
335:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for injected group */
336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= ADC_CR2_JSWSTART;
337:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
338:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
339:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
340:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
341:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
344:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
345:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
346:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Stop conversion of injected channels. Disable ADC peripheral if
347:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * no regular conversion is on going.
348:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note If ADC must be disabled and if conversion is on going on
349:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * regular group, function HAL_ADC_Stop must be used to stop both
350:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * injected and regular groups, and disable the ADC.
351:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note If injected group mode auto-injection is enabled,
352:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * function HAL_ADC_Stop must be used.
353:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note In case of auto-injection mode, HAL_ADC_Stop must be used.
354:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc ADC handle
355:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
356:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
357:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStop(ADC_HandleTypeDef* hadc)
358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
360:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
361:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
363:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
364:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
366:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
367:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion and disable ADC peripheral */
368:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Conditioned to: */
369:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - No conversion on the other group (regular group) is intended to */
370:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* continue (injected and regular groups stop conversion and ADC disable */
371:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* are common) */
372:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - In case of auto-injection mode, HAL_ADC_Stop must be used. */
ARM GAS /tmp/ccYVRobT.s page 8
373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(((hadc->State & HAL_ADC_STATE_REG_BUSY) == RESET) &&
374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
375:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
376:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion on going, on regular and injected groups */
377:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC peripheral */
378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE(hadc);
379:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
380:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC is effectively disabled */
381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_ADON))
382:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
383:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
385:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
386:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY);
387:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
388:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
389:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
390:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
391:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update ADC state machine to error */
392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
393:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp_hal_status = HAL_ERROR;
395:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
396:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
397:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
399:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
400:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmp_hal_status;
402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
403:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
404:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
405:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Poll for injected conversion complete
406:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
407:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
408:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param Timeout Timeout value in millisecond.
409:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
410:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
411:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedPollForConversion(ADC_HandleTypeDef* hadc, uint32_t Timeout)
412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tickstart = 0U;
414:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
415:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Get tick */
416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tickstart = HAL_GetTick();
417:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
418:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check End of conversion flag */
419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(!(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_JEOC)))
420:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
421:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check for the Timeout */
422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(Timeout != HAL_MAX_DELAY)
423:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((Timeout == 0U)||((HAL_GetTick() - tickstart ) > Timeout))
425:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->State= HAL_ADC_STATE_TIMEOUT;
427:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_TIMEOUT;
ARM GAS /tmp/ccYVRobT.s page 9
430:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
431:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
432:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
433:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
434:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear injected group conversion flag */
435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JSTRT | ADC_FLAG_JEOC);
436:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
437:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update ADC state machine */
438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_INJ_EOC);
439:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
440:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Determine whether any further conversion upcoming on group injected */
441:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* by external trigger, continuous mode or scan sequence on going. */
442:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: On STM32F4, there is no independent flag of end of sequence. */
443:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* The test of scan sequence on going is done either with scan */
444:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* sequence disabled or with end of conversion flag set to */
445:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* of end of sequence. */
446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(ADC_IS_SOFTWARE_START_INJECTED(hadc) &&
447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) &&
449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
452:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
453:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_INJ_BUSY);
455:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_REG_BUSY))
457:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
459:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
460:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
461:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
462:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return ADC state */
463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
465:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
466:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
467:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Stop conversion of injected channels, disable interruption of
468:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * end-of-conversion. Disable ADC peripheral if no regular conversion
469:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * is on going.
470:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note If ADC must be disabled and if conversion is on going on
471:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * regular group, function HAL_ADC_Stop must be used to stop both
472:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * injected and regular groups, and disable the ADC.
473:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note If injected group mode auto-injection is enabled,
474:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * function HAL_ADC_Stop must be used.
475:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc ADC handle
476:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
477:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
478:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStop_IT(ADC_HandleTypeDef* hadc)
479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
481:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
482:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
484:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
485:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
ARM GAS /tmp/ccYVRobT.s page 10
487:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
488:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion and disable ADC peripheral */
489:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Conditioned to: */
490:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - No conversion on the other group (regular group) is intended to */
491:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* continue (injected and regular groups stop conversion and ADC disable */
492:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* are common) */
493:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - In case of auto-injection mode, HAL_ADC_Stop must be used. */
494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(((hadc->State & HAL_ADC_STATE_REG_BUSY) == RESET) &&
495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
496:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
497:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion on going, on regular and injected groups */
498:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC peripheral */
499:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE(hadc);
500:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
501:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC is effectively disabled */
502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_ADON))
503:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
504:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC end of conversion interrupt for injected channels */
505:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_JEOC);
506:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
507:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
508:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
509:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
510:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY);
511:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
512:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
513:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
514:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
515:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update ADC state machine to error */
516:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
517:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp_hal_status = HAL_ERROR;
519:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
520:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
521:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
523:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
524:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
525:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmp_hal_status;
526:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
527:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
528:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
529:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Gets the converted value from data register of injected channel.
530:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
531:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
532:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param InjectedRank the ADC injected rank.
533:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * This parameter can be one of the following values:
534:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_1: Injected Channel1 selected
535:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_2: Injected Channel2 selected
536:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_3: Injected Channel3 selected
537:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_4: Injected Channel4 selected
538:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
539:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
540:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t HAL_ADCEx_InjectedGetValue(ADC_HandleTypeDef* hadc, uint32_t InjectedRank)
541:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
542:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t tmp = 0U;
543:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
ARM GAS /tmp/ccYVRobT.s page 11
544:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
545:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_RANK(InjectedRank));
546:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
547:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear injected group conversion flag to have similar behaviour as */
548:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* regular group: reading data register also clears end of conversion flag. */
549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JEOC);
550:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
551:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return the selected ADC converted value */
552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** switch(InjectedRank)
553:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
554:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_4:
555:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = hadc->Instance->JDR4;
557:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
558:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
559:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_3:
560:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = hadc->Instance->JDR3;
562:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
563:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
564:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_2:
565:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = hadc->Instance->JDR2;
567:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
568:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
569:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_1:
570:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = hadc->Instance->JDR1;
572:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
573:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
574:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** default:
575:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
576:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
577:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmp;
578:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
579:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
580:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
581:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Enables ADC DMA request after last transfer (Multi-ADC mode) and enables ADC peripheral
582:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
583:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @note Caution: This function must be used only with the ADC master.
584:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** *
585:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
586:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
587:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param pData Pointer to buffer in which transferred from ADC peripheral to memory will be st
588:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param Length The length of data to be transferred from ADC peripheral to memory.
589:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
590:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
591:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_MultiModeStart_DMA(ADC_HandleTypeDef* hadc, uint32_t* pData, uint32_t L
592:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
594:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
595:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
596:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
597:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode));
598:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_EXT_TRIG_EDGE(hadc->Init.ExternalTrigConvEdge));
599:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.DMAContinuousRequests));
600:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
ARM GAS /tmp/ccYVRobT.s page 12
601:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
603:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
604:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC peripheral is disabled in order to enable it and wait during
605:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** Tstab time the ADC's stabilization */
606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance->CR2 & ADC_CR2_ADON) != ADC_CR2_ADON)
607:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
608:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the Peripheral */
609:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE(hadc);
610:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
611:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Delay for temperature sensor stabilization time */
612:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Compute number of CPU cycles to wait for */
613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U));
614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
615:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
616:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** counter--;
617:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
618:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
619:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
620:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Start conversion if ADC is effectively enabled */
621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_ADON))
622:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
623:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
624:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Clear state bitfield related to regular group conversion results */
625:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* - Set state bitfield related to regular group operation */
626:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
627:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR,
628:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY);
629:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
630:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* If conversions on group regular are also triggering group injected, */
631:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* update ADC state. */
632:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (READ_BIT(hadc->Instance->CR1, ADC_CR1_JAUTO) != RESET)
633:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
635:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
636:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
637:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* State machine update: Check if an injected conversion is ongoing */
638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_SET(hadc->State, HAL_ADC_STATE_INJ_BUSY))
639:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
640:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset ADC error code fields related to conversions on group regular */
641:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** CLEAR_BIT(hadc->ErrorCode, (HAL_ADC_ERROR_OVR | HAL_ADC_ERROR_DMA));
642:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
643:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
644:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
645:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset ADC all error code fields */
646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_CLEAR_ERRORCODE(hadc);
647:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
648:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
649:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
650:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Unlock before starting ADC conversions: in case of potential */
651:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* interruption, to let the process to ADC IRQ Handler. */
652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
653:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
654:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the DMA transfer complete callback */
655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->DMA_Handle->XferCpltCallback = ADC_MultiModeDMAConvCplt;
656:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
657:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the DMA half transfer complete callback */
ARM GAS /tmp/ccYVRobT.s page 13
658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->DMA_Handle->XferHalfCpltCallback = ADC_MultiModeDMAHalfConvCplt;
659:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
660:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the DMA error callback */
661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->DMA_Handle->XferErrorCallback = ADC_MultiModeDMAError ;
662:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
663:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Manage ADC and DMA start: ADC overrun interruption, DMA start, ADC */
664:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* start (in case of SW start): */
665:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
666:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear regular group conversion flag and overrun flag */
667:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
668:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EOC);
669:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
670:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable ADC overrun interrupt */
671:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_OVR);
672:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
673:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
674:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
675:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
676:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
677:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (hadc->Init.DMAContinuousRequests != DISABLE)
679:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
680:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC DMA request after last transfer */
681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= ADC_CCR_DDS;
682:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
683:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
684:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
685:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable the selected ADC EOC rising on each regular channel conversion */
686:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~ADC_CCR_DDS;
687:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
688:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
689:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the DMA Stream */
690:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_DMA_Start_IT(hadc->DMA_Handle, (uint32_t)&tmpADC_Common->CDR, (uint32_t)pData, Length);
691:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
692:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* if no external trigger present enable software conversion of regular channels */
693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance->CR2 & ADC_CR2_EXTEN) == RESET)
694:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
695:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC software conversion for regular group */
696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= (uint32_t)ADC_CR2_SWSTART;
697:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
698:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
699:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
700:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
702:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
703:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
704:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
705:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Disables ADC DMA (multi-ADC mode) and disables ADC peripheral
706:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
707:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
708:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
709:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
710:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_MultiModeStop_DMA(ADC_HandleTypeDef* hadc)
711:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
714:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
ARM GAS /tmp/ccYVRobT.s page 14
715:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
716:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
717:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
718:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
720:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
721:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Stop potential conversion on going, on regular and injected groups */
722:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC peripheral */
723:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE(hadc);
724:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
725:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
726:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
727:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
728:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
729:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
730:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check if ADC is effectively disabled */
731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_ADON))
732:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
733:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable the selected ADC DMA mode for multimode */
734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~ADC_CCR_DDS;
735:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
736:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable the DMA channel (in case of DMA in circular mode or stop while */
737:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* DMA transfer is on going) */
738:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp_hal_status = HAL_DMA_Abort(hadc->DMA_Handle);
739:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
740:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC overrun interrupt */
741:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_OVR);
742:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
743:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
744:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
745:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
746:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY);
747:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
748:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
749:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
751:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
752:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
753:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmp_hal_status;
754:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
755:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
756:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
757:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Returns the last ADC1, ADC2 and ADC3 regular conversions results
758:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * data in the selected multi mode.
759:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
760:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
761:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval The converted data value.
762:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
763:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t HAL_ADCEx_MultiModeGetValue(ADC_HandleTypeDef* hadc)
764:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
765:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
766:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
767:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
768:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
769:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
770:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
771:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
ARM GAS /tmp/ccYVRobT.s page 15
772:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return the multi mode conversion value */
773:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return tmpADC_Common->CDR;
774:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
775:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
776:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
777:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Injected conversion complete callback in non blocking mode
778:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
779:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
780:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
781:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
782:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __weak void HAL_ADCEx_InjectedConvCpltCallback(ADC_HandleTypeDef* hadc)
783:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
784:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Prevent unused argument(s) compilation warning */
785:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** UNUSED(hadc);
786:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* NOTE : This function Should not be modified, when the callback is needed,
787:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** the HAL_ADC_InjectedConvCpltCallback could be implemented in the user file
788:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
789:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
790:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
791:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
792:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Configures for the selected ADC injected channel its corresponding
793:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * rank in the sequencer and its sample time.
794:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
795:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
796:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param sConfigInjected ADC configuration structure for injected channel.
797:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
798:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
799:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedConfigChannel(ADC_HandleTypeDef* hadc, ADC_InjectionConfTypeDef
800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
801:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
802:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #ifdef USE_FULL_ASSERT
803:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp = 0U;
804:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
805:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #endif /* USE_FULL_ASSERT */
806:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
807:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
808:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
809:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
810:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_CHANNEL(sConfigInjected->InjectedChannel));
811:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_RANK(sConfigInjected->InjectedRank));
812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_SAMPLE_TIME(sConfigInjected->InjectedSamplingTime));
813:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_EXT_INJEC_TRIG(sConfigInjected->ExternalTrigInjecConv));
814:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_LENGTH(sConfigInjected->InjectedNbrOfConversion));
815:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sConfigInjected->AutoInjectedConv));
816:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sConfigInjected->InjectedDiscontinuousConvMode));
817:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
818:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #ifdef USE_FULL_ASSERT
819:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp = ADC_GET_RESOLUTION(hadc);
820:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_RANGE(tmp, sConfigInjected->InjectedOffset));
821:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** #endif /* USE_FULL_ASSERT */
822:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
823:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(sConfigInjected->ExternalTrigInjecConv != ADC_INJECTED_SOFTWARE_START)
824:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
825:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_EXT_INJEC_TRIG_EDGE(sConfigInjected->ExternalTrigInjecConvEdge));
826:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
827:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
828:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
ARM GAS /tmp/ccYVRobT.s page 16
829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
830:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
831:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* if ADC_Channel_10 ... ADC_Channel_18 is selected */
832:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (sConfigInjected->InjectedChannel > ADC_CHANNEL_9)
833:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
834:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear the old sample time */
835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->SMPR1 &= ~ADC_SMPR1(ADC_SMPR1_SMP10, sConfigInjected->InjectedChannel);
836:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
837:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the new sample time */
838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->SMPR1 |= ADC_SMPR1(sConfigInjected->InjectedSamplingTime, sConfigInjected->Inje
839:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
840:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else /* ADC_Channel include in ADC_Channel_[0..9] */
841:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
842:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear the old sample time */
843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->SMPR2 &= ~ADC_SMPR2(ADC_SMPR2_SMP0, sConfigInjected->InjectedChannel);
844:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
845:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the new sample time */
846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->SMPR2 |= ADC_SMPR2(sConfigInjected->InjectedSamplingTime, sConfigInjected->Inje
847:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
848:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
849:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /*---------------------------- ADCx JSQR Configuration -----------------*/
850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR &= ~(ADC_JSQR_JL);
851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR |= ADC_SQR1(sConfigInjected->InjectedNbrOfConversion);
852:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
853:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Rank configuration */
854:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
855:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Clear the old SQx bits for the selected rank */
856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR &= ~ADC_JSQR(ADC_JSQR_JSQ1, sConfigInjected->InjectedRank,sConfigInjected->I
857:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
858:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the SQx bits for the selected rank */
859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR |= ADC_JSQR(sConfigInjected->InjectedChannel, sConfigInjected->InjectedRank,
860:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
861:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable external trigger if trigger selection is different of software */
862:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* start. */
863:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: This configuration keeps the hardware feature of parameter */
864:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* ExternalTrigConvEdge "trigger edge none" equivalent to */
865:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* software start. */
866:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(sConfigInjected->ExternalTrigInjecConv != ADC_INJECTED_SOFTWARE_START)
867:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
868:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Select external trigger to start conversion */
869:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTSEL);
870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConv;
871:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
872:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Select external trigger polarity */
873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTEN);
874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConvEdge;
875:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
876:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
877:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
878:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Reset the external trigger */
879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTSEL);
880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTEN);
881:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
882:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (sConfigInjected->AutoInjectedConv != DISABLE)
884:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
885:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC automatic injected group conversion */
ARM GAS /tmp/ccYVRobT.s page 17
886:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR1 |= ADC_CR1_JAUTO;
887:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
888:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
889:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
890:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable the selected ADC automatic injected group conversion */
891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR1 &= ~(ADC_CR1_JAUTO);
892:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
893:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (sConfigInjected->InjectedDiscontinuousConvMode != DISABLE)
895:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
896:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the selected ADC injected discontinuous mode */
897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR1 |= ADC_CR1_JDISCEN;
898:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
899:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
900:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
901:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable the selected ADC injected discontinuous mode */
902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR1 &= ~(ADC_CR1_JDISCEN);
903:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
904:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
905:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** switch(sConfigInjected->InjectedRank)
906:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
907:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case 1U:
908:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set injected channel 1 offset */
909:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR1 &= ~(ADC_JOFR1_JOFFSET1);
910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR1 |= sConfigInjected->InjectedOffset;
911:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
912:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case 2U:
913:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set injected channel 2 offset */
914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR2 &= ~(ADC_JOFR2_JOFFSET2);
915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR2 |= sConfigInjected->InjectedOffset;
916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
917:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case 3U:
918:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set injected channel 3 offset */
919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR3 &= ~(ADC_JOFR3_JOFFSET3);
920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR3 |= sConfigInjected->InjectedOffset;
921:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
922:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** default:
923:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set injected channel 4 offset */
924:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR4 &= ~(ADC_JOFR4_JOFFSET4);
925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR4 |= sConfigInjected->InjectedOffset;
926:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
927:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
928:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
929:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
930:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
931:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
932:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
933:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
934:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* if ADC1 Channel_18 is selected enable VBAT Channel */
935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if ((hadc->Instance == ADC1) && (sConfigInjected->InjectedChannel == ADC_CHANNEL_VBAT))
936:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
937:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the VBAT channel*/
938:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= ADC_CCR_VBATE;
939:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
940:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
941:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* if ADC1 Channel_16 or Channel_17 is selected enable TSVREFE Channel(Temperature sensor and VRE
942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if ((hadc->Instance == ADC1) && ((sConfigInjected->InjectedChannel == ADC_CHANNEL_TEMPSENSOR) ||
ARM GAS /tmp/ccYVRobT.s page 18
943:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
944:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Enable the TSVREFE channel*/
945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= ADC_CCR_TSVREFE;
946:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
947:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
948:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
950:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
951:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
952:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
953:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
954:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
955:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
956:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief Configures the ADC multi-mode
957:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hadc pointer to a ADC_HandleTypeDef structure that contains
958:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified ADC.
959:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param multimode pointer to an ADC_MultiModeTypeDef structure that contains
960:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for multimode.
961:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval HAL status
962:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
963:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_MultiModeConfigChannel(ADC_HandleTypeDef* hadc, ADC_MultiModeTypeDef* m
964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
965:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
966:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
967:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
968:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Check the parameters */
969:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_MODE(multimode->Mode));
970:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_DMA_ACCESS_MODE(multimode->DMAAccessMode));
971:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_SAMPLING_DELAY(multimode->TwoSamplingDelay));
972:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
973:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process locked */
974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
975:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
976:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Pointer to the common control register to which is belonging hadc */
977:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* (Depending on STM32F4 product, there may be up to 3 ADC and 1 common */
978:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* control register) */
979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common = ADC_COMMON_REGISTER(hadc);
980:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
981:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC mode */
982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~(ADC_CCR_MULTI);
983:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->Mode;
984:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
985:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set the ADC DMA access mode */
986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~(ADC_CCR_DMA);
987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->DMAAccessMode;
988:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
989:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set delay between two sampling phases */
990:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR &= ~(ADC_CCR_DELAY);
991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->TwoSamplingDelay;
992:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
993:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
995:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
996:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Return function status */
997:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_OK;
998:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
999:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
ARM GAS /tmp/ccYVRobT.s page 19
1000:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
1001:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @}
1002:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
1003:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1004:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
1005:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief DMA transfer complete callback.
1006:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
1007:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified DMA module.
1008:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
1009:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
1010:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAConvCplt(DMA_HandleTypeDef *hdma)
1011:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1012:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Retrieve ADC handle corresponding to current DMA handle */
1013:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
1014:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1015:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update state machine on conversion status if not in error state */
1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL | HAL_ADC_STATE_ERROR_DMA))
1017:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1018:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Update ADC state machine */
1019:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOC);
1020:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1021:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Determine whether any further conversion upcoming on group regular */
1022:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* by external trigger, continuous mode or scan sequence on going. */
1023:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: On STM32F4, there is no independent flag of end of sequence. */
1024:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* The test of scan sequence on going is done either with scan */
1025:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* sequence disabled or with end of conversion flag set to */
1026:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* of end of sequence. */
1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
1028:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
1029:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
1030:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
1031:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1032:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Disable ADC end of single conversion interrupt on group regular */
1033:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Note: Overrun interrupt was enabled with EOC interrupt in */
1034:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* HAL_ADC_Start_IT(), but is not disabled here because can be used */
1035:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* by overrun IRQ process below. */
1036:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_EOC);
1037:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1038:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC state */
1039:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_REG_BUSY);
1040:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_INJ_BUSY))
1042:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1043:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
1044:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1045:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1046:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1047:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Conversion complete callback */
1048:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_ConvCpltCallback(hadc);
1049:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1050:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** else
1051:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1052:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Call DMA error callback */
1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->DMA_Handle->XferErrorCallback(hdma);
1054:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1055:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1056:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
ARM GAS /tmp/ccYVRobT.s page 20
1057:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
1058:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief DMA half transfer complete callback.
1059:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
1060:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified DMA module.
1061:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
1062:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
1063:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAHalfConvCplt(DMA_HandleTypeDef *hdma)
1064:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1065:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
1066:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Conversion complete callback */
1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_ConvHalfCpltCallback(hadc);
1068:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1069:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1070:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /**
1071:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @brief DMA error callback
1072:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
1073:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * the configuration information for the specified DMA module.
1074:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** * @retval None
1075:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** */
1076:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** static void ADC_MultiModeDMAError(DMA_HandleTypeDef *hdma)
1077:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
29 .loc 1 1077 1 view -0
30 .cfi_startproc
31 @ args = 0, pretend = 0, frame = 0
32 @ frame_needed = 0, uses_anonymous_args = 0
33 .loc 1 1077 1 is_stmt 0 view .LVU1
34 0000 08B5 push {r3, lr}
35 .LCFI0:
36 .cfi_def_cfa_offset 8
37 .cfi_offset 3, -8
38 .cfi_offset 14, -4
1078:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
39 .loc 1 1078 5 is_stmt 1 view .LVU2
40 .loc 1 1078 24 is_stmt 0 view .LVU3
41 0002 806B ldr r0, [r0, #56]
42 .LVL1:
1079:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->State= HAL_ADC_STATE_ERROR_DMA;
43 .loc 1 1079 5 is_stmt 1 view .LVU4
44 .loc 1 1079 16 is_stmt 0 view .LVU5
45 0004 4023 movs r3, #64
46 0006 0364 str r3, [r0, #64]
1080:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Set ADC error code to DMA error */
1081:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->ErrorCode |= HAL_ADC_ERROR_DMA;
47 .loc 1 1081 5 is_stmt 1 view .LVU6
48 .loc 1 1081 21 is_stmt 0 view .LVU7
49 0008 436C ldr r3, [r0, #68]
50 000a 43F00403 orr r3, r3, #4
51 000e 4364 str r3, [r0, #68]
1082:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_ErrorCallback(hadc);
52 .loc 1 1082 5 is_stmt 1 view .LVU8
53 0010 FFF7FEFF bl HAL_ADC_ErrorCallback
54 .LVL2:
1083:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
55 .loc 1 1083 1 is_stmt 0 view .LVU9
56 0014 08BD pop {r3, pc}
57 .cfi_endproc
58 .LFE144:
ARM GAS /tmp/ccYVRobT.s page 21
60 .section .text.ADC_MultiModeDMAHalfConvCplt,"ax",%progbits
61 .align 1
62 .syntax unified
63 .thumb
64 .thumb_func
66 ADC_MultiModeDMAHalfConvCplt:
67 .LVL3:
68 .LFB143:
1064:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
69 .loc 1 1064 1 is_stmt 1 view -0
70 .cfi_startproc
71 @ args = 0, pretend = 0, frame = 0
72 @ frame_needed = 0, uses_anonymous_args = 0
1064:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
73 .loc 1 1064 1 is_stmt 0 view .LVU11
74 0000 08B5 push {r3, lr}
75 .LCFI1:
76 .cfi_def_cfa_offset 8
77 .cfi_offset 3, -8
78 .cfi_offset 14, -4
1065:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Conversion complete callback */
79 .loc 1 1065 5 is_stmt 1 view .LVU12
80 .LVL4:
1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
81 .loc 1 1067 5 view .LVU13
82 0002 806B ldr r0, [r0, #56]
83 .LVL5:
1067:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
84 .loc 1 1067 5 is_stmt 0 view .LVU14
85 0004 FFF7FEFF bl HAL_ADC_ConvHalfCpltCallback
86 .LVL6:
1068:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
87 .loc 1 1068 1 view .LVU15
88 0008 08BD pop {r3, pc}
89 .cfi_endproc
90 .LFE143:
92 .section .text.ADC_MultiModeDMAConvCplt,"ax",%progbits
93 .align 1
94 .syntax unified
95 .thumb
96 .thumb_func
98 ADC_MultiModeDMAConvCplt:
99 .LVL7:
100 .LFB142:
1011:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Retrieve ADC handle corresponding to current DMA handle */
101 .loc 1 1011 1 is_stmt 1 view -0
102 .cfi_startproc
103 @ args = 0, pretend = 0, frame = 0
104 @ frame_needed = 0, uses_anonymous_args = 0
1011:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Retrieve ADC handle corresponding to current DMA handle */
105 .loc 1 1011 1 is_stmt 0 view .LVU17
106 0000 08B5 push {r3, lr}
107 .LCFI2:
108 .cfi_def_cfa_offset 8
109 .cfi_offset 3, -8
110 .cfi_offset 14, -4
1013:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
ARM GAS /tmp/ccYVRobT.s page 22
111 .loc 1 1013 3 is_stmt 1 view .LVU18
1013:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
112 .loc 1 1013 22 is_stmt 0 view .LVU19
113 0002 836B ldr r3, [r0, #56]
114 .LVL8:
1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
115 .loc 1 1016 3 is_stmt 1 view .LVU20
1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
116 .loc 1 1016 7 is_stmt 0 view .LVU21
117 0004 1A6C ldr r2, [r3, #64]
1016:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
118 .loc 1 1016 6 view .LVU22
119 0006 12F0500F tst r2, #80
120 000a 26D1 bne .L6
1019:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
121 .loc 1 1019 5 is_stmt 1 view .LVU23
122 000c 1A6C ldr r2, [r3, #64]
123 000e 42F40072 orr r2, r2, #512
124 0012 1A64 str r2, [r3, #64]
1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
125 .loc 1 1027 5 view .LVU24
1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
126 .loc 1 1027 8 is_stmt 0 view .LVU25
127 0014 1A68 ldr r2, [r3]
128 0016 9168 ldr r1, [r2, #8]
1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
129 .loc 1 1027 7 view .LVU26
130 0018 11F0405F tst r1, #805306368
131 001c 19D1 bne .L7
1028:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
132 .loc 1 1028 19 discriminator 1 view .LVU27
133 001e 197E ldrb r1, [r3, #24] @ zero_extendqisi2
1027:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) &&
134 .loc 1 1027 62 discriminator 1 view .LVU28
135 0020 B9B9 cbnz r1, .L7
1029:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
136 .loc 1 1029 9 view .LVU29
137 0022 D16A ldr r1, [r2, #44]
1028:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) ||
138 .loc 1 1028 62 view .LVU30
139 0024 11F4700F tst r1, #15728640
140 0028 03D0 beq .L8
1030:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
141 .loc 1 1030 9 view .LVU31
142 002a 9168 ldr r1, [r2, #8]
1029:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) )
143 .loc 1 1029 58 view .LVU32
144 002c 11F4806F tst r1, #1024
145 0030 0FD1 bne .L7
146 .L8:
1036:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
147 .loc 1 1036 7 is_stmt 1 view .LVU33
148 0032 5168 ldr r1, [r2, #4]
149 0034 21F02001 bic r1, r1, #32
150 0038 5160 str r1, [r2, #4]
1039:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
151 .loc 1 1039 7 view .LVU34
ARM GAS /tmp/ccYVRobT.s page 23
152 003a 1A6C ldr r2, [r3, #64]
153 003c 22F48072 bic r2, r2, #256
154 0040 1A64 str r2, [r3, #64]
1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
155 .loc 1 1041 7 view .LVU35
1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
156 .loc 1 1041 11 is_stmt 0 view .LVU36
157 0042 1A6C ldr r2, [r3, #64]
1041:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
158 .loc 1 1041 10 view .LVU37
159 0044 12F4805F tst r2, #4096
160 0048 03D1 bne .L7
1043:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
161 .loc 1 1043 9 is_stmt 1 view .LVU38
162 004a 1A6C ldr r2, [r3, #64]
163 004c 42F00102 orr r2, r2, #1
164 0050 1A64 str r2, [r3, #64]
165 .L7:
1048:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
166 .loc 1 1048 5 view .LVU39
167 0052 1846 mov r0, r3
168 .LVL9:
1048:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
169 .loc 1 1048 5 is_stmt 0 view .LVU40
170 0054 FFF7FEFF bl HAL_ADC_ConvCpltCallback
171 .LVL10:
172 .L5:
1055:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
173 .loc 1 1055 1 view .LVU41
174 0058 08BD pop {r3, pc}
175 .LVL11:
176 .L6:
1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
177 .loc 1 1053 5 is_stmt 1 view .LVU42
1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
178 .loc 1 1053 9 is_stmt 0 view .LVU43
179 005a 9B6B ldr r3, [r3, #56]
180 .LVL12:
1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
181 .loc 1 1053 21 view .LVU44
182 005c DB6C ldr r3, [r3, #76]
1053:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
183 .loc 1 1053 5 view .LVU45
184 005e 9847 blx r3
185 .LVL13:
1055:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
186 .loc 1 1055 1 view .LVU46
187 0060 FAE7 b .L5
188 .cfi_endproc
189 .LFE142:
191 .section .text.HAL_ADCEx_InjectedStart,"ax",%progbits
192 .align 1
193 .global HAL_ADCEx_InjectedStart
194 .syntax unified
195 .thumb
196 .thumb_func
198 HAL_ADCEx_InjectedStart:
ARM GAS /tmp/ccYVRobT.s page 24
199 .LVL14:
200 .LFB130:
160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
201 .loc 1 160 1 is_stmt 1 view -0
202 .cfi_startproc
203 @ args = 0, pretend = 0, frame = 8
204 @ frame_needed = 0, uses_anonymous_args = 0
205 @ link register save eliminated.
160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
206 .loc 1 160 1 is_stmt 0 view .LVU48
207 0000 82B0 sub sp, sp, #8
208 .LCFI3:
209 .cfi_def_cfa_offset 8
161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
210 .loc 1 161 3 is_stmt 1 view .LVU49
161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
211 .loc 1 161 17 is_stmt 0 view .LVU50
212 0002 0023 movs r3, #0
213 0004 0193 str r3, [sp, #4]
162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
214 .loc 1 162 3 is_stmt 1 view .LVU51
215 .LVL15:
163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
216 .loc 1 163 3 view .LVU52
166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
217 .loc 1 166 3 view .LVU53
166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
218 .loc 1 166 3 view .LVU54
219 0006 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
220 000a 012B cmp r3, #1
221 000c 5CD0 beq .L18
166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
222 .loc 1 166 3 discriminator 2 view .LVU55
223 000e 0123 movs r3, #1
224 0010 80F83C30 strb r3, [r0, #60]
166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
225 .loc 1 166 3 discriminator 2 view .LVU56
172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
226 .loc 1 172 3 discriminator 2 view .LVU57
172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
227 .loc 1 172 11 is_stmt 0 discriminator 2 view .LVU58
228 0014 0368 ldr r3, [r0]
172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
229 .loc 1 172 21 discriminator 2 view .LVU59
230 0016 9A68 ldr r2, [r3, #8]
172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
231 .loc 1 172 5 discriminator 2 view .LVU60
232 0018 12F0010F tst r2, #1
233 001c 13D1 bne .L13
175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
234 .loc 1 175 5 is_stmt 1 view .LVU61
235 001e 9A68 ldr r2, [r3, #8]
236 0020 42F00102 orr r2, r2, #1
237 0024 9A60 str r2, [r3, #8]
179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
238 .loc 1 179 5 view .LVU62
179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
ARM GAS /tmp/ccYVRobT.s page 25
239 .loc 1 179 53 is_stmt 0 view .LVU63
240 0026 2F4B ldr r3, .L27
241 0028 1B68 ldr r3, [r3]
242 002a 2F4A ldr r2, .L27+4
243 002c A2FB0323 umull r2, r3, r2, r3
244 0030 9B0C lsrs r3, r3, #18
179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
245 .loc 1 179 34 view .LVU64
246 0032 03EB4303 add r3, r3, r3, lsl #1
179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
247 .loc 1 179 13 view .LVU65
248 0036 0193 str r3, [sp, #4]
180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
249 .loc 1 180 5 is_stmt 1 view .LVU66
180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
250 .loc 1 180 10 is_stmt 0 view .LVU67
251 0038 02E0 b .L14
252 .L15:
182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
253 .loc 1 182 7 is_stmt 1 view .LVU68
182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
254 .loc 1 182 14 is_stmt 0 view .LVU69
255 003a 019B ldr r3, [sp, #4]
256 003c 013B subs r3, r3, #1
257 003e 0193 str r3, [sp, #4]
258 .L14:
180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
259 .loc 1 180 10 is_stmt 1 view .LVU70
180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
260 .loc 1 180 19 is_stmt 0 view .LVU71
261 0040 019B ldr r3, [sp, #4]
180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
262 .loc 1 180 10 view .LVU72
263 0042 002B cmp r3, #0
264 0044 F9D1 bne .L15
265 .L13:
187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
266 .loc 1 187 3 is_stmt 1 view .LVU73
187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
267 .loc 1 187 6 is_stmt 0 view .LVU74
268 0046 0268 ldr r2, [r0]
269 0048 9368 ldr r3, [r2, #8]
187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
270 .loc 1 187 5 view .LVU75
271 004a 13F0010F tst r3, #1
272 004e 3DD0 beq .L19
192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
273 .loc 1 192 5 is_stmt 1 view .LVU76
274 0050 036C ldr r3, [r0, #64]
275 0052 23F44053 bic r3, r3, #12288
276 0056 23F00103 bic r3, r3, #1
277 005a 43F48053 orr r3, r3, #4096
278 005e 0364 str r3, [r0, #64]
200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
279 .loc 1 200 5 view .LVU77
200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
280 .loc 1 200 9 is_stmt 0 view .LVU78
ARM GAS /tmp/ccYVRobT.s page 26
281 0060 036C ldr r3, [r0, #64]
200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
282 .loc 1 200 8 view .LVU79
283 0062 13F4807F tst r3, #256
284 0066 01D1 bne .L16
203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
285 .loc 1 203 7 is_stmt 1 view .LVU80
286 0068 0023 movs r3, #0
287 006a 4364 str r3, [r0, #68]
288 .L16:
209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
289 .loc 1 209 5 view .LVU81
209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
290 .loc 1 209 5 view .LVU82
291 006c 0023 movs r3, #0
292 006e 80F83C30 strb r3, [r0, #60]
209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
293 .loc 1 209 5 view .LVU83
213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
294 .loc 1 213 5 view .LVU84
295 0072 6FF00403 mvn r3, #4
296 0076 1360 str r3, [r2]
218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
297 .loc 1 218 5 view .LVU85
298 .LVL16:
221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
299 .loc 1 221 5 view .LVU86
221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
300 .loc 1 221 8 is_stmt 0 view .LVU87
301 0078 1C4B ldr r3, .L27+8
302 007a 5B68 ldr r3, [r3, #4]
221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
303 .loc 1 221 7 view .LVU88
304 007c 13F01F0F tst r3, #31
305 0080 0ED1 bne .L17
223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
306 .loc 1 223 7 is_stmt 1 view .LVU89
223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
307 .loc 1 223 14 is_stmt 0 view .LVU90
308 0082 0268 ldr r2, [r0]
309 0084 9168 ldr r1, [r2, #8]
310 .LVL17:
224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
311 .loc 1 224 7 is_stmt 1 view .LVU91
224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
312 .loc 1 224 14 is_stmt 0 view .LVU92
313 0086 5368 ldr r3, [r2, #4]
314 0088 03F48063 and r3, r3, #1024
315 .LVL18:
225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
316 .loc 1 225 7 is_stmt 1 view .LVU93
225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
317 .loc 1 225 9 is_stmt 0 view .LVU94
318 008c 11F4401F tst r1, #3145728
319 0090 1FD1 bne .L20
225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
320 .loc 1 225 15 discriminator 1 view .LVU95
ARM GAS /tmp/ccYVRobT.s page 27
321 0092 03BB cbnz r3, .L21
228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
322 .loc 1 228 9 is_stmt 1 view .LVU96
228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
323 .loc 1 228 29 is_stmt 0 view .LVU97
324 0094 9368 ldr r3, [r2, #8]
325 .LVL19:
228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
326 .loc 1 228 29 view .LVU98
327 0096 43F48003 orr r3, r3, #4194304
328 009a 9360 str r3, [r2, #8]
244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
329 .loc 1 244 10 view .LVU99
330 009c 0020 movs r0, #0
331 .LVL20:
244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
332 .loc 1 244 10 view .LVU100
333 009e 16E0 b .L12
334 .LVL21:
335 .L17:
233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
336 .loc 1 233 7 is_stmt 1 view .LVU101
233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
337 .loc 1 233 14 is_stmt 0 view .LVU102
338 00a0 0368 ldr r3, [r0]
339 00a2 9A68 ldr r2, [r3, #8]
340 00a4 02F44012 and r2, r2, #3145728
341 .LVL22:
234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
342 .loc 1 234 7 is_stmt 1 view .LVU103
234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
343 .loc 1 234 14 is_stmt 0 view .LVU104
344 00a8 5968 ldr r1, [r3, #4]
345 00aa 01F48061 and r1, r1, #1024
346 .LVL23:
235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
347 .loc 1 235 7 is_stmt 1 view .LVU105
235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
348 .loc 1 235 9 is_stmt 0 view .LVU106
349 00ae 1048 ldr r0, .L27+12
350 .LVL24:
235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
351 .loc 1 235 9 view .LVU107
352 00b0 8342 cmp r3, r0
353 00b2 01D0 beq .L26
244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
354 .loc 1 244 10 view .LVU108
355 00b4 0020 movs r0, #0
356 00b6 0AE0 b .L12
357 .L26:
235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
358 .loc 1 235 35 discriminator 1 view .LVU109
359 00b8 7AB9 cbnz r2, .L23
235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
360 .loc 1 235 43 discriminator 2 view .LVU110
361 00ba 81B9 cbnz r1, .L24
238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
ARM GAS /tmp/ccYVRobT.s page 28
362 .loc 1 238 9 is_stmt 1 view .LVU111
238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
363 .loc 1 238 29 is_stmt 0 view .LVU112
364 00bc 9A68 ldr r2, [r3, #8]
365 .LVL25:
238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
366 .loc 1 238 29 view .LVU113
367 00be 42F48002 orr r2, r2, #4194304
368 00c2 9A60 str r2, [r3, #8]
244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
369 .loc 1 244 10 view .LVU114
370 00c4 0020 movs r0, #0
371 00c6 02E0 b .L12
372 .LVL26:
373 .L18:
166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
374 .loc 1 166 3 view .LVU115
375 00c8 0220 movs r0, #2
376 .LVL27:
166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
377 .loc 1 166 3 view .LVU116
378 00ca 00E0 b .L12
379 .LVL28:
380 .L19:
244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
381 .loc 1 244 10 view .LVU117
382 00cc 0020 movs r0, #0
383 .LVL29:
384 .L12:
245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
385 .loc 1 245 1 view .LVU118
386 00ce 02B0 add sp, sp, #8
387 .LCFI4:
388 .cfi_remember_state
389 .cfi_def_cfa_offset 0
390 @ sp needed
391 00d0 7047 bx lr
392 .LVL30:
393 .L20:
394 .LCFI5:
395 .cfi_restore_state
244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
396 .loc 1 244 10 view .LVU119
397 00d2 0020 movs r0, #0
398 .LVL31:
244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
399 .loc 1 244 10 view .LVU120
400 00d4 FBE7 b .L12
401 .LVL32:
402 .L21:
244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
403 .loc 1 244 10 view .LVU121
404 00d6 0020 movs r0, #0
405 .LVL33:
244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
406 .loc 1 244 10 view .LVU122
407 00d8 F9E7 b .L12
ARM GAS /tmp/ccYVRobT.s page 29
408 .LVL34:
409 .L23:
244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
410 .loc 1 244 10 view .LVU123
411 00da 0020 movs r0, #0
412 00dc F7E7 b .L12
413 .L24:
414 00de 0020 movs r0, #0
415 00e0 F5E7 b .L12
416 .L28:
417 00e2 00BF .align 2
418 .L27:
419 00e4 00000000 .word SystemCoreClock
420 00e8 83DE1B43 .word 1125899907
421 00ec 00230140 .word 1073816320
422 00f0 00200140 .word 1073815552
423 .cfi_endproc
424 .LFE130:
426 .section .text.HAL_ADCEx_InjectedStart_IT,"ax",%progbits
427 .align 1
428 .global HAL_ADCEx_InjectedStart_IT
429 .syntax unified
430 .thumb
431 .thumb_func
433 HAL_ADCEx_InjectedStart_IT:
434 .LVL35:
435 .LFB131:
255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
436 .loc 1 255 1 is_stmt 1 view -0
437 .cfi_startproc
438 @ args = 0, pretend = 0, frame = 8
439 @ frame_needed = 0, uses_anonymous_args = 0
440 @ link register save eliminated.
255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
441 .loc 1 255 1 is_stmt 0 view .LVU125
442 0000 82B0 sub sp, sp, #8
443 .LCFI6:
444 .cfi_def_cfa_offset 8
256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
445 .loc 1 256 3 is_stmt 1 view .LVU126
256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tmp1 = 0U, tmp2 = 0U;
446 .loc 1 256 17 is_stmt 0 view .LVU127
447 0002 0023 movs r3, #0
448 0004 0193 str r3, [sp, #4]
257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
449 .loc 1 257 3 is_stmt 1 view .LVU128
450 .LVL36:
258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
451 .loc 1 258 3 view .LVU129
261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
452 .loc 1 261 3 view .LVU130
261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
453 .loc 1 261 3 view .LVU131
454 0006 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
455 000a 012B cmp r3, #1
456 000c 61D0 beq .L36
261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
ARM GAS /tmp/ccYVRobT.s page 30
457 .loc 1 261 3 discriminator 2 view .LVU132
458 000e 0123 movs r3, #1
459 0010 80F83C30 strb r3, [r0, #60]
261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
460 .loc 1 261 3 discriminator 2 view .LVU133
267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
461 .loc 1 267 3 discriminator 2 view .LVU134
267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
462 .loc 1 267 11 is_stmt 0 discriminator 2 view .LVU135
463 0014 0368 ldr r3, [r0]
267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
464 .loc 1 267 21 discriminator 2 view .LVU136
465 0016 9A68 ldr r2, [r3, #8]
267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
466 .loc 1 267 5 discriminator 2 view .LVU137
467 0018 12F0010F tst r2, #1
468 001c 13D1 bne .L31
270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
469 .loc 1 270 5 is_stmt 1 view .LVU138
470 001e 9A68 ldr r2, [r3, #8]
471 0020 42F00102 orr r2, r2, #1
472 0024 9A60 str r2, [r3, #8]
274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
473 .loc 1 274 5 view .LVU139
274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
474 .loc 1 274 53 is_stmt 0 view .LVU140
475 0026 314B ldr r3, .L45
476 0028 1B68 ldr r3, [r3]
477 002a 314A ldr r2, .L45+4
478 002c A2FB0323 umull r2, r3, r2, r3
479 0030 9B0C lsrs r3, r3, #18
274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
480 .loc 1 274 34 view .LVU141
481 0032 03EB4303 add r3, r3, r3, lsl #1
274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
482 .loc 1 274 13 view .LVU142
483 0036 0193 str r3, [sp, #4]
275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
484 .loc 1 275 5 is_stmt 1 view .LVU143
275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
485 .loc 1 275 10 is_stmt 0 view .LVU144
486 0038 02E0 b .L32
487 .L33:
277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
488 .loc 1 277 7 is_stmt 1 view .LVU145
277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
489 .loc 1 277 14 is_stmt 0 view .LVU146
490 003a 019B ldr r3, [sp, #4]
491 003c 013B subs r3, r3, #1
492 003e 0193 str r3, [sp, #4]
493 .L32:
275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
494 .loc 1 275 10 is_stmt 1 view .LVU147
275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
495 .loc 1 275 19 is_stmt 0 view .LVU148
496 0040 019B ldr r3, [sp, #4]
275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
ARM GAS /tmp/ccYVRobT.s page 31
497 .loc 1 275 10 view .LVU149
498 0042 002B cmp r3, #0
499 0044 F9D1 bne .L33
500 .L31:
282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
501 .loc 1 282 3 is_stmt 1 view .LVU150
282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
502 .loc 1 282 6 is_stmt 0 view .LVU151
503 0046 0268 ldr r2, [r0]
504 0048 9368 ldr r3, [r2, #8]
282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
505 .loc 1 282 5 view .LVU152
506 004a 13F0010F tst r3, #1
507 004e 42D0 beq .L37
287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
508 .loc 1 287 5 is_stmt 1 view .LVU153
509 0050 036C ldr r3, [r0, #64]
510 0052 23F44053 bic r3, r3, #12288
511 0056 23F00103 bic r3, r3, #1
512 005a 43F48053 orr r3, r3, #4096
513 005e 0364 str r3, [r0, #64]
295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
514 .loc 1 295 5 view .LVU154
295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
515 .loc 1 295 9 is_stmt 0 view .LVU155
516 0060 036C ldr r3, [r0, #64]
295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
517 .loc 1 295 8 view .LVU156
518 0062 13F4807F tst r3, #256
519 0066 01D1 bne .L34
298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
520 .loc 1 298 7 is_stmt 1 view .LVU157
521 0068 0023 movs r3, #0
522 006a 4364 str r3, [r0, #68]
523 .L34:
304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
524 .loc 1 304 5 view .LVU158
304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
525 .loc 1 304 5 view .LVU159
526 006c 0023 movs r3, #0
527 006e 80F83C30 strb r3, [r0, #60]
304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
528 .loc 1 304 5 view .LVU160
308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
529 .loc 1 308 5 view .LVU161
530 0072 6FF00403 mvn r3, #4
531 0076 1360 str r3, [r2]
311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
532 .loc 1 311 5 view .LVU162
533 0078 0268 ldr r2, [r0]
534 007a 5368 ldr r3, [r2, #4]
535 007c 43F08003 orr r3, r3, #128
536 0080 5360 str r3, [r2, #4]
316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
537 .loc 1 316 5 view .LVU163
538 .LVL37:
319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
ARM GAS /tmp/ccYVRobT.s page 32
539 .loc 1 319 5 view .LVU164
319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
540 .loc 1 319 8 is_stmt 0 view .LVU165
541 0082 1C4B ldr r3, .L45+8
542 0084 5B68 ldr r3, [r3, #4]
319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
543 .loc 1 319 7 view .LVU166
544 0086 13F01F0F tst r3, #31
545 008a 0ED1 bne .L35
321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
546 .loc 1 321 7 is_stmt 1 view .LVU167
321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
547 .loc 1 321 14 is_stmt 0 view .LVU168
548 008c 0268 ldr r2, [r0]
549 008e 9168 ldr r1, [r2, #8]
550 .LVL38:
322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
551 .loc 1 322 7 is_stmt 1 view .LVU169
322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if(tmp1 && tmp2)
552 .loc 1 322 14 is_stmt 0 view .LVU170
553 0090 5368 ldr r3, [r2, #4]
554 0092 03F48063 and r3, r3, #1024
555 .LVL39:
323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
556 .loc 1 323 7 is_stmt 1 view .LVU171
323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
557 .loc 1 323 9 is_stmt 0 view .LVU172
558 0096 11F4401F tst r1, #3145728
559 009a 1FD1 bne .L38
323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
560 .loc 1 323 15 discriminator 1 view .LVU173
561 009c 03BB cbnz r3, .L39
326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
562 .loc 1 326 9 is_stmt 1 view .LVU174
326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
563 .loc 1 326 29 is_stmt 0 view .LVU175
564 009e 9368 ldr r3, [r2, #8]
565 .LVL40:
326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
566 .loc 1 326 29 view .LVU176
567 00a0 43F48003 orr r3, r3, #4194304
568 00a4 9360 str r3, [r2, #8]
342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
569 .loc 1 342 10 view .LVU177
570 00a6 0020 movs r0, #0
571 .LVL41:
342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
572 .loc 1 342 10 view .LVU178
573 00a8 16E0 b .L30
574 .LVL42:
575 .L35:
331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
576 .loc 1 331 7 is_stmt 1 view .LVU179
331:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO);
577 .loc 1 331 14 is_stmt 0 view .LVU180
578 00aa 0368 ldr r3, [r0]
579 00ac 9A68 ldr r2, [r3, #8]
ARM GAS /tmp/ccYVRobT.s page 33
580 00ae 02F44012 and r2, r2, #3145728
581 .LVL43:
332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
582 .loc 1 332 7 is_stmt 1 view .LVU181
332:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** if((hadc->Instance == ADC1) && tmp1 && tmp2)
583 .loc 1 332 14 is_stmt 0 view .LVU182
584 00b2 5968 ldr r1, [r3, #4]
585 00b4 01F48061 and r1, r1, #1024
586 .LVL44:
333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
587 .loc 1 333 7 is_stmt 1 view .LVU183
333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
588 .loc 1 333 9 is_stmt 0 view .LVU184
589 00b8 0F48 ldr r0, .L45+12
590 .LVL45:
333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
591 .loc 1 333 9 view .LVU185
592 00ba 8342 cmp r3, r0
593 00bc 01D0 beq .L44
342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
594 .loc 1 342 10 view .LVU186
595 00be 0020 movs r0, #0
596 00c0 0AE0 b .L30
597 .L44:
333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
598 .loc 1 333 35 discriminator 1 view .LVU187
599 00c2 7AB9 cbnz r2, .L41
333:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
600 .loc 1 333 43 discriminator 2 view .LVU188
601 00c4 81B9 cbnz r1, .L42
336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
602 .loc 1 336 9 is_stmt 1 view .LVU189
336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
603 .loc 1 336 29 is_stmt 0 view .LVU190
604 00c6 9A68 ldr r2, [r3, #8]
605 .LVL46:
336:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
606 .loc 1 336 29 view .LVU191
607 00c8 42F48002 orr r2, r2, #4194304
608 00cc 9A60 str r2, [r3, #8]
342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
609 .loc 1 342 10 view .LVU192
610 00ce 0020 movs r0, #0
611 00d0 02E0 b .L30
612 .LVL47:
613 .L36:
261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
614 .loc 1 261 3 view .LVU193
615 00d2 0220 movs r0, #2
616 .LVL48:
261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
617 .loc 1 261 3 view .LVU194
618 00d4 00E0 b .L30
619 .LVL49:
620 .L37:
342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
621 .loc 1 342 10 view .LVU195
ARM GAS /tmp/ccYVRobT.s page 34
622 00d6 0020 movs r0, #0
623 .LVL50:
624 .L30:
343:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
625 .loc 1 343 1 view .LVU196
626 00d8 02B0 add sp, sp, #8
627 .LCFI7:
628 .cfi_remember_state
629 .cfi_def_cfa_offset 0
630 @ sp needed
631 00da 7047 bx lr
632 .LVL51:
633 .L38:
634 .LCFI8:
635 .cfi_restore_state
342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
636 .loc 1 342 10 view .LVU197
637 00dc 0020 movs r0, #0
638 .LVL52:
342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
639 .loc 1 342 10 view .LVU198
640 00de FBE7 b .L30
641 .LVL53:
642 .L39:
342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
643 .loc 1 342 10 view .LVU199
644 00e0 0020 movs r0, #0
645 .LVL54:
342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
646 .loc 1 342 10 view .LVU200
647 00e2 F9E7 b .L30
648 .LVL55:
649 .L41:
342:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
650 .loc 1 342 10 view .LVU201
651 00e4 0020 movs r0, #0
652 00e6 F7E7 b .L30
653 .L42:
654 00e8 0020 movs r0, #0
655 00ea F5E7 b .L30
656 .L46:
657 .align 2
658 .L45:
659 00ec 00000000 .word SystemCoreClock
660 00f0 83DE1B43 .word 1125899907
661 00f4 00230140 .word 1073816320
662 00f8 00200140 .word 1073815552
663 .cfi_endproc
664 .LFE131:
666 .section .text.HAL_ADCEx_InjectedStop,"ax",%progbits
667 .align 1
668 .global HAL_ADCEx_InjectedStop
669 .syntax unified
670 .thumb
671 .thumb_func
673 HAL_ADCEx_InjectedStop:
674 .LVL56:
ARM GAS /tmp/ccYVRobT.s page 35
675 .LFB132:
358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
676 .loc 1 358 1 is_stmt 1 view -0
677 .cfi_startproc
678 @ args = 0, pretend = 0, frame = 0
679 @ frame_needed = 0, uses_anonymous_args = 0
680 @ link register save eliminated.
358:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
681 .loc 1 358 1 is_stmt 0 view .LVU203
682 0000 0346 mov r3, r0
359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
683 .loc 1 359 3 is_stmt 1 view .LVU204
684 .LVL57:
362:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
685 .loc 1 362 3 view .LVU205
365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
686 .loc 1 365 3 view .LVU206
365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
687 .loc 1 365 3 view .LVU207
688 0002 90F83C20 ldrb r2, [r0, #60] @ zero_extendqisi2
689 0006 012A cmp r2, #1
690 0008 29D0 beq .L51
365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
691 .loc 1 365 3 discriminator 2 view .LVU208
692 000a 0122 movs r2, #1
693 000c 80F83C20 strb r2, [r0, #60]
365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
694 .loc 1 365 3 discriminator 2 view .LVU209
373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
695 .loc 1 373 3 discriminator 2 view .LVU210
373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
696 .loc 1 373 12 is_stmt 0 discriminator 2 view .LVU211
697 0010 026C ldr r2, [r0, #64]
373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
698 .loc 1 373 5 discriminator 2 view .LVU212
699 0012 12F4807F tst r2, #256
700 0016 17D1 bne .L49
374:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
701 .loc 1 374 6 discriminator 1 view .LVU213
702 0018 0268 ldr r2, [r0]
703 001a 5168 ldr r1, [r2, #4]
373:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
704 .loc 1 373 57 discriminator 1 view .LVU214
705 001c 11F4806F tst r1, #1024
706 0020 12D1 bne .L49
378:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
707 .loc 1 378 5 is_stmt 1 view .LVU215
708 0022 9168 ldr r1, [r2, #8]
709 0024 21F00101 bic r1, r1, #1
710 0028 9160 str r1, [r2, #8]
381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
711 .loc 1 381 5 view .LVU216
381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
712 .loc 1 381 8 is_stmt 0 view .LVU217
713 002a 0268 ldr r2, [r0]
714 002c 9268 ldr r2, [r2, #8]
381:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
ARM GAS /tmp/ccYVRobT.s page 36
715 .loc 1 381 7 view .LVU218
716 002e 12F0010F tst r2, #1
717 0032 12D1 bne .L52
384:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
718 .loc 1 384 7 is_stmt 1 view .LVU219
719 0034 026C ldr r2, [r0, #64]
720 0036 22F48852 bic r2, r2, #4352
721 003a 22F00102 bic r2, r2, #1
722 003e 42F00102 orr r2, r2, #1
723 0042 0264 str r2, [r0, #64]
359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
724 .loc 1 359 21 is_stmt 0 view .LVU220
725 0044 0020 movs r0, #0
726 .LVL58:
359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
727 .loc 1 359 21 view .LVU221
728 0046 04E0 b .L50
729 .LVL59:
730 .L49:
392:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
731 .loc 1 392 5 is_stmt 1 view .LVU222
732 0048 1A6C ldr r2, [r3, #64]
733 004a 42F02002 orr r2, r2, #32
734 004e 1A64 str r2, [r3, #64]
394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
735 .loc 1 394 5 view .LVU223
736 .LVL60:
394:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
737 .loc 1 394 20 is_stmt 0 view .LVU224
738 0050 0120 movs r0, #1
739 .LVL61:
740 .L50:
398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
741 .loc 1 398 3 is_stmt 1 view .LVU225
398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
742 .loc 1 398 3 view .LVU226
743 0052 0022 movs r2, #0
744 0054 83F83C20 strb r2, [r3, #60]
398:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
745 .loc 1 398 3 view .LVU227
401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
746 .loc 1 401 3 view .LVU228
401:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
747 .loc 1 401 10 is_stmt 0 view .LVU229
748 0058 7047 bx lr
749 .LVL62:
750 .L52:
359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
751 .loc 1 359 21 view .LVU230
752 005a 0020 movs r0, #0
753 .LVL63:
359:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
754 .loc 1 359 21 view .LVU231
755 005c F9E7 b .L50
756 .LVL64:
757 .L51:
365:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
ARM GAS /tmp/ccYVRobT.s page 37
758 .loc 1 365 3 view .LVU232
759 005e 0220 movs r0, #2
760 .LVL65:
402:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
761 .loc 1 402 1 view .LVU233
762 0060 7047 bx lr
763 .cfi_endproc
764 .LFE132:
766 .section .text.HAL_ADCEx_InjectedPollForConversion,"ax",%progbits
767 .align 1
768 .global HAL_ADCEx_InjectedPollForConversion
769 .syntax unified
770 .thumb
771 .thumb_func
773 HAL_ADCEx_InjectedPollForConversion:
774 .LVL66:
775 .LFB133:
412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tickstart = 0U;
776 .loc 1 412 1 is_stmt 1 view -0
777 .cfi_startproc
778 @ args = 0, pretend = 0, frame = 0
779 @ frame_needed = 0, uses_anonymous_args = 0
412:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** uint32_t tickstart = 0U;
780 .loc 1 412 1 is_stmt 0 view .LVU235
781 0000 70B5 push {r4, r5, r6, lr}
782 .LCFI9:
783 .cfi_def_cfa_offset 16
784 .cfi_offset 4, -16
785 .cfi_offset 5, -12
786 .cfi_offset 6, -8
787 .cfi_offset 14, -4
788 0002 0446 mov r4, r0
789 0004 0D46 mov r5, r1
413:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
790 .loc 1 413 3 is_stmt 1 view .LVU236
791 .LVL67:
416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
792 .loc 1 416 3 view .LVU237
416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
793 .loc 1 416 15 is_stmt 0 view .LVU238
794 0006 FFF7FEFF bl HAL_GetTick
795 .LVL68:
416:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
796 .loc 1 416 15 view .LVU239
797 000a 0646 mov r6, r0
798 .LVL69:
419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
799 .loc 1 419 3 is_stmt 1 view .LVU240
800 .L55:
419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
801 .loc 1 419 8 view .LVU241
419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
802 .loc 1 419 11 is_stmt 0 view .LVU242
803 000c 2368 ldr r3, [r4]
804 000e 1A68 ldr r2, [r3]
419:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
805 .loc 1 419 8 view .LVU243
ARM GAS /tmp/ccYVRobT.s page 38
806 0010 12F0040F tst r2, #4
807 0014 0FD1 bne .L66
422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
808 .loc 1 422 5 is_stmt 1 view .LVU244
422:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
809 .loc 1 422 7 is_stmt 0 view .LVU245
810 0016 B5F1FF3F cmp r5, #-1
811 001a F7D0 beq .L55
424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
812 .loc 1 424 7 is_stmt 1 view .LVU246
424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
813 .loc 1 424 9 is_stmt 0 view .LVU247
814 001c 25B1 cbz r5, .L56
424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
815 .loc 1 424 29 discriminator 1 view .LVU248
816 001e FFF7FEFF bl HAL_GetTick
817 .LVL70:
424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
818 .loc 1 424 43 discriminator 1 view .LVU249
819 0022 801B subs r0, r0, r6
424:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
820 .loc 1 424 25 discriminator 1 view .LVU250
821 0024 A842 cmp r0, r5
822 0026 F1D9 bls .L55
823 .L56:
426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
824 .loc 1 426 9 is_stmt 1 view .LVU251
426:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Process unlocked */
825 .loc 1 426 20 is_stmt 0 view .LVU252
826 0028 0423 movs r3, #4
827 002a 2364 str r3, [r4, #64]
428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_TIMEOUT;
828 .loc 1 428 9 is_stmt 1 view .LVU253
428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_TIMEOUT;
829 .loc 1 428 9 view .LVU254
830 002c 0023 movs r3, #0
831 002e 84F83C30 strb r3, [r4, #60]
428:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** return HAL_TIMEOUT;
832 .loc 1 428 9 view .LVU255
429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
833 .loc 1 429 9 view .LVU256
429:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
834 .loc 1 429 16 is_stmt 0 view .LVU257
835 0032 0320 movs r0, #3
836 0034 2BE0 b .L57
837 .L66:
435:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
838 .loc 1 435 3 is_stmt 1 view .LVU258
839 0036 6FF00C02 mvn r2, #12
840 003a 1A60 str r2, [r3]
438:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
841 .loc 1 438 3 view .LVU259
842 003c 236C ldr r3, [r4, #64]
843 003e 43F40053 orr r3, r3, #8192
844 0042 2364 str r3, [r4, #64]
446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
845 .loc 1 446 3 view .LVU260
ARM GAS /tmp/ccYVRobT.s page 39
446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
846 .loc 1 446 6 is_stmt 0 view .LVU261
847 0044 2368 ldr r3, [r4]
848 0046 9A68 ldr r2, [r3, #8]
446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
849 .loc 1 446 5 view .LVU262
850 0048 12F4401F tst r2, #3145728
851 004c 1ED1 bne .L60
447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) &&
852 .loc 1 447 7 discriminator 1 view .LVU263
853 004e 9A6B ldr r2, [r3, #56]
446:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->JSQR, ADC_JSQR_JL) ||
854 .loc 1 446 62 discriminator 1 view .LVU264
855 0050 12F4401F tst r2, #3145728
856 0054 03D0 beq .L59
448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
857 .loc 1 448 7 view .LVU265
858 0056 9A68 ldr r2, [r3, #8]
447:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR2, ADC_CR2_EOCS) ) &&
859 .loc 1 447 58 view .LVU266
860 0058 12F4806F tst r2, #1024
861 005c 18D1 bne .L61
862 .L59:
449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
863 .loc 1 449 7 view .LVU267
864 005e 5A68 ldr r2, [r3, #4]
448:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
865 .loc 1 448 62 view .LVU268
866 0060 12F4806F tst r2, #1024
867 0064 16D1 bne .L62
450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
868 .loc 1 450 8 view .LVU269
869 0066 9B68 ldr r3, [r3, #8]
449:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
870 .loc 1 449 58 view .LVU270
871 0068 13F0405F tst r3, #805306368
872 006c 14D1 bne .L63
451:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
873 .loc 1 451 18 view .LVU271
874 006e 207E ldrb r0, [r4, #24] @ zero_extendqisi2
450:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
875 .loc 1 450 50 view .LVU272
876 0070 A0B9 cbnz r0, .L64
454:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
877 .loc 1 454 5 is_stmt 1 view .LVU273
878 0072 236C ldr r3, [r4, #64]
879 0074 23F48053 bic r3, r3, #4096
880 0078 2364 str r3, [r4, #64]
456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
881 .loc 1 456 5 view .LVU274
456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
882 .loc 1 456 9 is_stmt 0 view .LVU275
883 007a 236C ldr r3, [r4, #64]
456:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
884 .loc 1 456 8 view .LVU276
885 007c 13F4807F tst r3, #256
886 0080 05D1 bne .L57
ARM GAS /tmp/ccYVRobT.s page 40
458:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
887 .loc 1 458 7 is_stmt 1 view .LVU277
888 0082 236C ldr r3, [r4, #64]
889 0084 43F00103 orr r3, r3, #1
890 0088 2364 str r3, [r4, #64]
891 008a 00E0 b .L57
892 .L60:
463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
893 .loc 1 463 10 is_stmt 0 view .LVU278
894 008c 0020 movs r0, #0
895 .L57:
464:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
896 .loc 1 464 1 view .LVU279
897 008e 70BD pop {r4, r5, r6, pc}
898 .LVL71:
899 .L61:
463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
900 .loc 1 463 10 view .LVU280
901 0090 0020 movs r0, #0
902 0092 FCE7 b .L57
903 .L62:
904 0094 0020 movs r0, #0
905 0096 FAE7 b .L57
906 .L63:
907 0098 0020 movs r0, #0
908 009a F8E7 b .L57
909 .L64:
463:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
910 .loc 1 463 10 view .LVU281
911 009c 0020 movs r0, #0
912 009e F6E7 b .L57
913 .cfi_endproc
914 .LFE133:
916 .section .text.HAL_ADCEx_InjectedStop_IT,"ax",%progbits
917 .align 1
918 .global HAL_ADCEx_InjectedStop_IT
919 .syntax unified
920 .thumb
921 .thumb_func
923 HAL_ADCEx_InjectedStop_IT:
924 .LVL72:
925 .LFB134:
479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
926 .loc 1 479 1 is_stmt 1 view -0
927 .cfi_startproc
928 @ args = 0, pretend = 0, frame = 0
929 @ frame_needed = 0, uses_anonymous_args = 0
930 @ link register save eliminated.
479:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
931 .loc 1 479 1 is_stmt 0 view .LVU283
932 0000 0346 mov r3, r0
480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
933 .loc 1 480 3 is_stmt 1 view .LVU284
934 .LVL73:
483:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
935 .loc 1 483 3 view .LVU285
486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
ARM GAS /tmp/ccYVRobT.s page 41
936 .loc 1 486 3 view .LVU286
486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
937 .loc 1 486 3 view .LVU287
938 0002 90F83C20 ldrb r2, [r0, #60] @ zero_extendqisi2
939 0006 012A cmp r2, #1
940 0008 2DD0 beq .L71
486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
941 .loc 1 486 3 discriminator 2 view .LVU288
942 000a 0122 movs r2, #1
943 000c 80F83C20 strb r2, [r0, #60]
486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
944 .loc 1 486 3 discriminator 2 view .LVU289
494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
945 .loc 1 494 3 discriminator 2 view .LVU290
494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
946 .loc 1 494 12 is_stmt 0 discriminator 2 view .LVU291
947 0010 026C ldr r2, [r0, #64]
494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
948 .loc 1 494 5 discriminator 2 view .LVU292
949 0012 12F4807F tst r2, #256
950 0016 1BD1 bne .L69
495:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
951 .loc 1 495 6 discriminator 1 view .LVU293
952 0018 0268 ldr r2, [r0]
953 001a 5168 ldr r1, [r2, #4]
494:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
954 .loc 1 494 57 discriminator 1 view .LVU294
955 001c 11F4806F tst r1, #1024
956 0020 16D1 bne .L69
499:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
957 .loc 1 499 5 is_stmt 1 view .LVU295
958 0022 9168 ldr r1, [r2, #8]
959 0024 21F00101 bic r1, r1, #1
960 0028 9160 str r1, [r2, #8]
502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
961 .loc 1 502 5 view .LVU296
502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
962 .loc 1 502 8 is_stmt 0 view .LVU297
963 002a 0268 ldr r2, [r0]
964 002c 9168 ldr r1, [r2, #8]
502:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
965 .loc 1 502 7 view .LVU298
966 002e 11F0010F tst r1, #1
967 0032 16D1 bne .L72
505:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
968 .loc 1 505 7 is_stmt 1 view .LVU299
969 0034 5168 ldr r1, [r2, #4]
970 0036 21F08001 bic r1, r1, #128
971 003a 5160 str r1, [r2, #4]
508:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
972 .loc 1 508 7 view .LVU300
973 003c 026C ldr r2, [r0, #64]
974 003e 22F48852 bic r2, r2, #4352
975 0042 22F00102 bic r2, r2, #1
976 0046 42F00102 orr r2, r2, #1
977 004a 0264 str r2, [r0, #64]
480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
ARM GAS /tmp/ccYVRobT.s page 42
978 .loc 1 480 21 is_stmt 0 view .LVU301
979 004c 0020 movs r0, #0
980 .LVL74:
480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
981 .loc 1 480 21 view .LVU302
982 004e 04E0 b .L70
983 .LVL75:
984 .L69:
516:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
985 .loc 1 516 5 is_stmt 1 view .LVU303
986 0050 1A6C ldr r2, [r3, #64]
987 0052 42F02002 orr r2, r2, #32
988 0056 1A64 str r2, [r3, #64]
518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
989 .loc 1 518 5 view .LVU304
990 .LVL76:
518:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
991 .loc 1 518 20 is_stmt 0 view .LVU305
992 0058 0120 movs r0, #1
993 .LVL77:
994 .L70:
522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
995 .loc 1 522 3 is_stmt 1 view .LVU306
522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
996 .loc 1 522 3 view .LVU307
997 005a 0022 movs r2, #0
998 005c 83F83C20 strb r2, [r3, #60]
522:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
999 .loc 1 522 3 view .LVU308
525:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1000 .loc 1 525 3 view .LVU309
525:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1001 .loc 1 525 10 is_stmt 0 view .LVU310
1002 0060 7047 bx lr
1003 .LVL78:
1004 .L72:
480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1005 .loc 1 480 21 view .LVU311
1006 0062 0020 movs r0, #0
1007 .LVL79:
480:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1008 .loc 1 480 21 view .LVU312
1009 0064 F9E7 b .L70
1010 .LVL80:
1011 .L71:
486:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1012 .loc 1 486 3 view .LVU313
1013 0066 0220 movs r0, #2
1014 .LVL81:
526:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1015 .loc 1 526 1 view .LVU314
1016 0068 7047 bx lr
1017 .cfi_endproc
1018 .LFE134:
1020 .section .text.HAL_ADCEx_InjectedGetValue,"ax",%progbits
1021 .align 1
1022 .global HAL_ADCEx_InjectedGetValue
ARM GAS /tmp/ccYVRobT.s page 43
1023 .syntax unified
1024 .thumb
1025 .thumb_func
1027 HAL_ADCEx_InjectedGetValue:
1028 .LVL82:
1029 .LFB135:
541:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t tmp = 0U;
1030 .loc 1 541 1 is_stmt 1 view -0
1031 .cfi_startproc
1032 @ args = 0, pretend = 0, frame = 8
1033 @ frame_needed = 0, uses_anonymous_args = 0
1034 @ link register save eliminated.
541:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t tmp = 0U;
1035 .loc 1 541 1 is_stmt 0 view .LVU316
1036 0000 82B0 sub sp, sp, #8
1037 .LCFI10:
1038 .cfi_def_cfa_offset 8
542:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1039 .loc 1 542 3 is_stmt 1 view .LVU317
542:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1040 .loc 1 542 17 is_stmt 0 view .LVU318
1041 0002 0023 movs r3, #0
1042 0004 0193 str r3, [sp, #4]
545:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1043 .loc 1 545 3 is_stmt 1 view .LVU319
549:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1044 .loc 1 549 3 view .LVU320
1045 0006 0368 ldr r3, [r0]
1046 0008 6FF00402 mvn r2, #4
1047 000c 1A60 str r2, [r3]
552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1048 .loc 1 552 3 view .LVU321
1049 000e 0139 subs r1, r1, #1
1050 .LVL83:
552:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1051 .loc 1 552 3 is_stmt 0 view .LVU322
1052 0010 0329 cmp r1, #3
1053 0012 06D8 bhi .L74
1054 0014 DFE801F0 tbb [pc, r1]
1055 .L76:
1056 0018 10 .byte (.L79-.L76)/2
1057 0019 0C .byte (.L78-.L76)/2
1058 001a 08 .byte (.L77-.L76)/2
1059 001b 02 .byte (.L75-.L76)/2
1060 .p2align 1
1061 .L75:
556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1062 .loc 1 556 7 is_stmt 1 view .LVU323
556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1063 .loc 1 556 18 is_stmt 0 view .LVU324
1064 001c 0368 ldr r3, [r0]
556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1065 .loc 1 556 28 view .LVU325
1066 001e 9B6C ldr r3, [r3, #72]
556:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1067 .loc 1 556 11 view .LVU326
1068 0020 0193 str r3, [sp, #4]
ARM GAS /tmp/ccYVRobT.s page 44
558:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_3:
1069 .loc 1 558 5 is_stmt 1 view .LVU327
1070 .L74:
577:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1071 .loc 1 577 3 view .LVU328
577:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1072 .loc 1 577 10 is_stmt 0 view .LVU329
1073 0022 0198 ldr r0, [sp, #4]
1074 .LVL84:
578:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1075 .loc 1 578 1 view .LVU330
1076 0024 02B0 add sp, sp, #8
1077 .LCFI11:
1078 .cfi_remember_state
1079 .cfi_def_cfa_offset 0
1080 @ sp needed
1081 0026 7047 bx lr
1082 .LVL85:
1083 .L77:
1084 .LCFI12:
1085 .cfi_restore_state
561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1086 .loc 1 561 7 is_stmt 1 view .LVU331
561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1087 .loc 1 561 18 is_stmt 0 view .LVU332
1088 0028 0368 ldr r3, [r0]
561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1089 .loc 1 561 28 view .LVU333
1090 002a 5B6C ldr r3, [r3, #68]
561:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1091 .loc 1 561 11 view .LVU334
1092 002c 0193 str r3, [sp, #4]
563:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_2:
1093 .loc 1 563 5 is_stmt 1 view .LVU335
1094 002e F8E7 b .L74
1095 .L78:
566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1096 .loc 1 566 7 view .LVU336
566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1097 .loc 1 566 18 is_stmt 0 view .LVU337
1098 0030 0368 ldr r3, [r0]
566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1099 .loc 1 566 28 view .LVU338
1100 0032 1B6C ldr r3, [r3, #64]
566:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1101 .loc 1 566 11 view .LVU339
1102 0034 0193 str r3, [sp, #4]
568:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_1:
1103 .loc 1 568 5 is_stmt 1 view .LVU340
1104 0036 F4E7 b .L74
1105 .L79:
571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1106 .loc 1 571 7 view .LVU341
571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1107 .loc 1 571 18 is_stmt 0 view .LVU342
1108 0038 0368 ldr r3, [r0]
571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
ARM GAS /tmp/ccYVRobT.s page 45
1109 .loc 1 571 28 view .LVU343
1110 003a DB6B ldr r3, [r3, #60]
571:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1111 .loc 1 571 11 view .LVU344
1112 003c 0193 str r3, [sp, #4]
573:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** default:
1113 .loc 1 573 5 is_stmt 1 view .LVU345
1114 003e F0E7 b .L74
1115 .cfi_endproc
1116 .LFE135:
1118 .section .text.HAL_ADCEx_MultiModeStart_DMA,"ax",%progbits
1119 .align 1
1120 .global HAL_ADCEx_MultiModeStart_DMA
1121 .syntax unified
1122 .thumb
1123 .thumb_func
1125 HAL_ADCEx_MultiModeStart_DMA:
1126 .LVL86:
1127 .LFB136:
592:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
1128 .loc 1 592 1 view -0
1129 .cfi_startproc
1130 @ args = 0, pretend = 0, frame = 8
1131 @ frame_needed = 0, uses_anonymous_args = 0
592:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** __IO uint32_t counter = 0U;
1132 .loc 1 592 1 is_stmt 0 view .LVU347
1133 0000 30B5 push {r4, r5, lr}
1134 .LCFI13:
1135 .cfi_def_cfa_offset 12
1136 .cfi_offset 4, -12
1137 .cfi_offset 5, -8
1138 .cfi_offset 14, -4
1139 0002 83B0 sub sp, sp, #12
1140 .LCFI14:
1141 .cfi_def_cfa_offset 24
1142 0004 1346 mov r3, r2
593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
1143 .loc 1 593 3 is_stmt 1 view .LVU348
593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
1144 .loc 1 593 17 is_stmt 0 view .LVU349
1145 0006 0022 movs r2, #0
1146 .LVL87:
593:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
1147 .loc 1 593 17 view .LVU350
1148 0008 0192 str r2, [sp, #4]
594:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1149 .loc 1 594 3 is_stmt 1 view .LVU351
597:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_EXT_TRIG_EDGE(hadc->Init.ExternalTrigConvEdge));
1150 .loc 1 597 3 view .LVU352
598:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.DMAContinuousRequests));
1151 .loc 1 598 3 view .LVU353
599:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1152 .loc 1 599 3 view .LVU354
602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1153 .loc 1 602 3 view .LVU355
602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1154 .loc 1 602 3 view .LVU356
ARM GAS /tmp/ccYVRobT.s page 46
1155 000a 90F83C20 ldrb r2, [r0, #60] @ zero_extendqisi2
1156 000e 012A cmp r2, #1
1157 0010 71D0 beq .L91
1158 0012 0546 mov r5, r0
602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1159 .loc 1 602 3 discriminator 2 view .LVU357
1160 0014 0122 movs r2, #1
1161 0016 80F83C20 strb r2, [r0, #60]
602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1162 .loc 1 602 3 discriminator 2 view .LVU358
606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1163 .loc 1 606 3 discriminator 2 view .LVU359
606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1164 .loc 1 606 11 is_stmt 0 discriminator 2 view .LVU360
1165 001a 0268 ldr r2, [r0]
606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1166 .loc 1 606 21 discriminator 2 view .LVU361
1167 001c 9068 ldr r0, [r2, #8]
1168 .LVL88:
606:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1169 .loc 1 606 5 discriminator 2 view .LVU362
1170 001e 10F0010F tst r0, #1
1171 0022 13D1 bne .L83
609:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1172 .loc 1 609 5 is_stmt 1 view .LVU363
1173 0024 9068 ldr r0, [r2, #8]
1174 0026 40F00100 orr r0, r0, #1
1175 002a 9060 str r0, [r2, #8]
613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
1176 .loc 1 613 5 view .LVU364
613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
1177 .loc 1 613 53 is_stmt 0 view .LVU365
1178 002c 354A ldr r2, .L95
1179 002e 1068 ldr r0, [r2]
1180 0030 354A ldr r2, .L95+4
1181 0032 A2FB0020 umull r2, r0, r2, r0
1182 0036 800C lsrs r0, r0, #18
613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
1183 .loc 1 613 34 view .LVU366
1184 0038 00EB4000 add r0, r0, r0, lsl #1
613:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** while(counter != 0U)
1185 .loc 1 613 13 view .LVU367
1186 003c 0190 str r0, [sp, #4]
614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1187 .loc 1 614 5 is_stmt 1 view .LVU368
614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1188 .loc 1 614 10 is_stmt 0 view .LVU369
1189 003e 02E0 b .L84
1190 .L85:
616:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1191 .loc 1 616 7 is_stmt 1 view .LVU370
616:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1192 .loc 1 616 14 is_stmt 0 view .LVU371
1193 0040 019C ldr r4, [sp, #4]
1194 0042 013C subs r4, r4, #1
1195 0044 0194 str r4, [sp, #4]
1196 .L84:
ARM GAS /tmp/ccYVRobT.s page 47
614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1197 .loc 1 614 10 is_stmt 1 view .LVU372
614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1198 .loc 1 614 19 is_stmt 0 view .LVU373
1199 0046 0198 ldr r0, [sp, #4]
614:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1200 .loc 1 614 10 view .LVU374
1201 0048 0028 cmp r0, #0
1202 004a F9D1 bne .L85
1203 .L83:
621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1204 .loc 1 621 3 is_stmt 1 view .LVU375
621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1205 .loc 1 621 6 is_stmt 0 view .LVU376
1206 004c 2A68 ldr r2, [r5]
1207 004e 9068 ldr r0, [r2, #8]
621:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1208 .loc 1 621 5 view .LVU377
1209 0050 10F0010F tst r0, #1
1210 0054 51D0 beq .L92
626:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR,
1211 .loc 1 626 5 is_stmt 1 view .LVU378
1212 0056 286C ldr r0, [r5, #64]
1213 0058 20F4E060 bic r0, r0, #1792
1214 005c 20F00100 bic r0, r0, #1
1215 0060 40F48070 orr r0, r0, #256
1216 0064 2864 str r0, [r5, #64]
632:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1217 .loc 1 632 5 view .LVU379
632:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1218 .loc 1 632 9 is_stmt 0 view .LVU380
1219 0066 5268 ldr r2, [r2, #4]
632:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1220 .loc 1 632 8 view .LVU381
1221 0068 12F4806F tst r2, #1024
1222 006c 05D0 beq .L86
634:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1223 .loc 1 634 7 is_stmt 1 view .LVU382
1224 006e 2A6C ldr r2, [r5, #64]
1225 0070 22F44052 bic r2, r2, #12288
1226 0074 42F48052 orr r2, r2, #4096
1227 0078 2A64 str r2, [r5, #64]
1228 .L86:
638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1229 .loc 1 638 5 view .LVU383
638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1230 .loc 1 638 9 is_stmt 0 view .LVU384
1231 007a 2A6C ldr r2, [r5, #64]
638:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1232 .loc 1 638 8 view .LVU385
1233 007c 12F4805F tst r2, #4096
1234 0080 30D0 beq .L87
641:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1235 .loc 1 641 7 is_stmt 1 view .LVU386
1236 0082 6A6C ldr r2, [r5, #68]
1237 0084 22F00602 bic r2, r2, #6
1238 0088 6A64 str r2, [r5, #68]
ARM GAS /tmp/ccYVRobT.s page 48
1239 .L88:
652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1240 .loc 1 652 5 view .LVU387
652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1241 .loc 1 652 5 view .LVU388
1242 008a 0022 movs r2, #0
1243 008c 85F83C20 strb r2, [r5, #60]
652:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1244 .loc 1 652 5 view .LVU389
655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1245 .loc 1 655 5 view .LVU390
655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1246 .loc 1 655 9 is_stmt 0 view .LVU391
1247 0090 AA6B ldr r2, [r5, #56]
655:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1248 .loc 1 655 40 view .LVU392
1249 0092 1E48 ldr r0, .L95+8
1250 0094 D063 str r0, [r2, #60]
658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1251 .loc 1 658 5 is_stmt 1 view .LVU393
658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1252 .loc 1 658 9 is_stmt 0 view .LVU394
1253 0096 AA6B ldr r2, [r5, #56]
658:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1254 .loc 1 658 44 view .LVU395
1255 0098 1D48 ldr r0, .L95+12
1256 009a 1064 str r0, [r2, #64]
661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1257 .loc 1 661 5 is_stmt 1 view .LVU396
661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1258 .loc 1 661 9 is_stmt 0 view .LVU397
1259 009c AA6B ldr r2, [r5, #56]
661:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1260 .loc 1 661 41 view .LVU398
1261 009e 1D48 ldr r0, .L95+16
1262 00a0 D064 str r0, [r2, #76]
668:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1263 .loc 1 668 5 is_stmt 1 view .LVU399
1264 00a2 2A68 ldr r2, [r5]
1265 00a4 6FF00200 mvn r0, #2
1266 00a8 1060 str r0, [r2]
671:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1267 .loc 1 671 5 view .LVU400
1268 00aa 2868 ldr r0, [r5]
1269 00ac 4268 ldr r2, [r0, #4]
1270 00ae 42F08062 orr r2, r2, #67108864
1271 00b2 4260 str r2, [r0, #4]
676:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1272 .loc 1 676 5 view .LVU401
1273 .LVL89:
678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1274 .loc 1 678 5 view .LVU402
678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1275 .loc 1 678 19 is_stmt 0 view .LVU403
1276 00b4 95F83020 ldrb r2, [r5, #48] @ zero_extendqisi2
678:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1277 .loc 1 678 8 view .LVU404
ARM GAS /tmp/ccYVRobT.s page 49
1278 00b8 BAB1 cbz r2, .L89
681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1279 .loc 1 681 7 is_stmt 1 view .LVU405
681:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1280 .loc 1 681 26 is_stmt 0 view .LVU406
1281 00ba 1748 ldr r0, .L95+20
1282 00bc 4268 ldr r2, [r0, #4]
1283 00be 42F40052 orr r2, r2, #8192
1284 00c2 4260 str r2, [r0, #4]
1285 .L90:
690:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1286 .loc 1 690 5 is_stmt 1 view .LVU407
1287 00c4 0A46 mov r2, r1
1288 00c6 1549 ldr r1, .L95+24
1289 .LVL90:
690:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1290 .loc 1 690 5 is_stmt 0 view .LVU408
1291 00c8 A86B ldr r0, [r5, #56]
1292 00ca FFF7FEFF bl HAL_DMA_Start_IT
1293 .LVL91:
693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1294 .loc 1 693 5 is_stmt 1 view .LVU409
693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1295 .loc 1 693 13 is_stmt 0 view .LVU410
1296 00ce 2B68 ldr r3, [r5]
693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1297 .loc 1 693 23 view .LVU411
1298 00d0 9A68 ldr r2, [r3, #8]
693:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1299 .loc 1 693 7 view .LVU412
1300 00d2 12F0405F tst r2, #805306368
1301 00d6 13D1 bne .L93
696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1302 .loc 1 696 7 is_stmt 1 view .LVU413
696:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1303 .loc 1 696 27 is_stmt 0 view .LVU414
1304 00d8 9A68 ldr r2, [r3, #8]
1305 00da 42F08042 orr r2, r2, #1073741824
1306 00de 9A60 str r2, [r3, #8]
701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1307 .loc 1 701 10 view .LVU415
1308 00e0 0020 movs r0, #0
1309 00e2 0BE0 b .L82
1310 .LVL92:
1311 .L87:
646:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1312 .loc 1 646 7 is_stmt 1 view .LVU416
1313 00e4 0022 movs r2, #0
1314 00e6 6A64 str r2, [r5, #68]
1315 00e8 CFE7 b .L88
1316 .LVL93:
1317 .L89:
686:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1318 .loc 1 686 7 view .LVU417
686:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1319 .loc 1 686 26 is_stmt 0 view .LVU418
1320 00ea 0B48 ldr r0, .L95+20
ARM GAS /tmp/ccYVRobT.s page 50
1321 00ec 4268 ldr r2, [r0, #4]
1322 00ee 22F40052 bic r2, r2, #8192
1323 00f2 4260 str r2, [r0, #4]
1324 00f4 E6E7 b .L90
1325 .LVL94:
1326 .L91:
602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1327 .loc 1 602 3 view .LVU419
1328 00f6 0220 movs r0, #2
1329 .LVL95:
602:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1330 .loc 1 602 3 view .LVU420
1331 00f8 00E0 b .L82
1332 .LVL96:
1333 .L92:
701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1334 .loc 1 701 10 view .LVU421
1335 00fa 0020 movs r0, #0
1336 .LVL97:
1337 .L82:
702:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1338 .loc 1 702 1 view .LVU422
1339 00fc 03B0 add sp, sp, #12
1340 .LCFI15:
1341 .cfi_remember_state
1342 .cfi_def_cfa_offset 12
1343 @ sp needed
1344 00fe 30BD pop {r4, r5, pc}
1345 .LVL98:
1346 .L93:
1347 .LCFI16:
1348 .cfi_restore_state
701:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1349 .loc 1 701 10 view .LVU423
1350 0100 0020 movs r0, #0
1351 0102 FBE7 b .L82
1352 .L96:
1353 .align 2
1354 .L95:
1355 0104 00000000 .word SystemCoreClock
1356 0108 83DE1B43 .word 1125899907
1357 010c 00000000 .word ADC_MultiModeDMAConvCplt
1358 0110 00000000 .word ADC_MultiModeDMAHalfConvCplt
1359 0114 00000000 .word ADC_MultiModeDMAError
1360 0118 00230140 .word 1073816320
1361 011c 08230140 .word 1073816328
1362 .cfi_endproc
1363 .LFE136:
1365 .section .text.HAL_ADCEx_MultiModeStop_DMA,"ax",%progbits
1366 .align 1
1367 .global HAL_ADCEx_MultiModeStop_DMA
1368 .syntax unified
1369 .thumb
1370 .thumb_func
1372 HAL_ADCEx_MultiModeStop_DMA:
1373 .LVL99:
1374 .LFB137:
ARM GAS /tmp/ccYVRobT.s page 51
711:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
1375 .loc 1 711 1 is_stmt 1 view -0
1376 .cfi_startproc
1377 @ args = 0, pretend = 0, frame = 0
1378 @ frame_needed = 0, uses_anonymous_args = 0
712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
1379 .loc 1 712 3 view .LVU425
713:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1380 .loc 1 713 3 view .LVU426
716:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1381 .loc 1 716 3 view .LVU427
719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1382 .loc 1 719 3 view .LVU428
719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1383 .loc 1 719 3 view .LVU429
1384 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
1385 0004 012B cmp r3, #1
1386 0006 29D0 beq .L100
711:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
1387 .loc 1 711 1 is_stmt 0 discriminator 2 view .LVU430
1388 0008 10B5 push {r4, lr}
1389 .LCFI17:
1390 .cfi_def_cfa_offset 8
1391 .cfi_offset 4, -8
1392 .cfi_offset 14, -4
1393 000a 0446 mov r4, r0
719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1394 .loc 1 719 3 is_stmt 1 discriminator 2 view .LVU431
1395 000c 0123 movs r3, #1
1396 000e 80F83C30 strb r3, [r0, #60]
719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1397 .loc 1 719 3 discriminator 2 view .LVU432
723:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1398 .loc 1 723 3 discriminator 2 view .LVU433
1399 0012 0268 ldr r2, [r0]
1400 0014 9368 ldr r3, [r2, #8]
1401 0016 23F00103 bic r3, r3, #1
1402 001a 9360 str r3, [r2, #8]
728:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1403 .loc 1 728 3 discriminator 2 view .LVU434
1404 .LVL100:
731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1405 .loc 1 731 3 discriminator 2 view .LVU435
731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1406 .loc 1 731 6 is_stmt 0 discriminator 2 view .LVU436
1407 001c 0368 ldr r3, [r0]
1408 001e 9B68 ldr r3, [r3, #8]
731:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1409 .loc 1 731 5 discriminator 2 view .LVU437
1410 0020 13F0010F tst r3, #1
1411 0024 04D0 beq .L106
712:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
1412 .loc 1 712 21 view .LVU438
1413 0026 0020 movs r0, #0
1414 .LVL101:
1415 .L99:
750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
ARM GAS /tmp/ccYVRobT.s page 52
1416 .loc 1 750 3 is_stmt 1 view .LVU439
750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1417 .loc 1 750 3 view .LVU440
1418 0028 0023 movs r3, #0
1419 002a 84F83C30 strb r3, [r4, #60]
750:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1420 .loc 1 750 3 view .LVU441
753:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1421 .loc 1 753 3 view .LVU442
754:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1422 .loc 1 754 1 is_stmt 0 view .LVU443
1423 002e 10BD pop {r4, pc}
1424 .LVL102:
1425 .L106:
734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1426 .loc 1 734 5 is_stmt 1 view .LVU444
734:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1427 .loc 1 734 24 is_stmt 0 view .LVU445
1428 0030 0B4A ldr r2, .L107
1429 0032 5368 ldr r3, [r2, #4]
1430 0034 23F40053 bic r3, r3, #8192
1431 0038 5360 str r3, [r2, #4]
738:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1432 .loc 1 738 5 is_stmt 1 view .LVU446
738:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1433 .loc 1 738 22 is_stmt 0 view .LVU447
1434 003a 806B ldr r0, [r0, #56]
1435 .LVL103:
738:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1436 .loc 1 738 22 view .LVU448
1437 003c FFF7FEFF bl HAL_DMA_Abort
1438 .LVL104:
741:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1439 .loc 1 741 5 is_stmt 1 view .LVU449
1440 0040 2268 ldr r2, [r4]
1441 0042 5368 ldr r3, [r2, #4]
1442 0044 23F08063 bic r3, r3, #67108864
1443 0048 5360 str r3, [r2, #4]
744:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
1444 .loc 1 744 5 view .LVU450
1445 004a 236C ldr r3, [r4, #64]
1446 004c 23F48853 bic r3, r3, #4352
1447 0050 23F00103 bic r3, r3, #1
1448 0054 43F00103 orr r3, r3, #1
1449 0058 2364 str r3, [r4, #64]
1450 005a E5E7 b .L99
1451 .LVL105:
1452 .L100:
1453 .LCFI18:
1454 .cfi_def_cfa_offset 0
1455 .cfi_restore 4
1456 .cfi_restore 14
719:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1457 .loc 1 719 3 is_stmt 0 view .LVU451
1458 005c 0220 movs r0, #2
1459 .LVL106:
754:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
ARM GAS /tmp/ccYVRobT.s page 53
1460 .loc 1 754 1 view .LVU452
1461 005e 7047 bx lr
1462 .L108:
1463 .align 2
1464 .L107:
1465 0060 00230140 .word 1073816320
1466 .cfi_endproc
1467 .LFE137:
1469 .section .text.HAL_ADCEx_MultiModeGetValue,"ax",%progbits
1470 .align 1
1471 .global HAL_ADCEx_MultiModeGetValue
1472 .syntax unified
1473 .thumb
1474 .thumb_func
1476 HAL_ADCEx_MultiModeGetValue:
1477 .LVL107:
1478 .LFB138:
764:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** ADC_Common_TypeDef *tmpADC_Common;
1479 .loc 1 764 1 is_stmt 1 view -0
1480 .cfi_startproc
1481 @ args = 0, pretend = 0, frame = 0
1482 @ frame_needed = 0, uses_anonymous_args = 0
1483 @ link register save eliminated.
765:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1484 .loc 1 765 3 view .LVU454
770:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1485 .loc 1 770 3 view .LVU455
773:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1486 .loc 1 773 3 view .LVU456
773:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1487 .loc 1 773 23 is_stmt 0 view .LVU457
1488 0000 014B ldr r3, .L110
1489 0002 9868 ldr r0, [r3, #8]
1490 .LVL108:
774:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1491 .loc 1 774 1 view .LVU458
1492 0004 7047 bx lr
1493 .L111:
1494 0006 00BF .align 2
1495 .L110:
1496 0008 00230140 .word 1073816320
1497 .cfi_endproc
1498 .LFE138:
1500 .section .text.HAL_ADCEx_InjectedConvCpltCallback,"ax",%progbits
1501 .align 1
1502 .weak HAL_ADCEx_InjectedConvCpltCallback
1503 .syntax unified
1504 .thumb
1505 .thumb_func
1507 HAL_ADCEx_InjectedConvCpltCallback:
1508 .LVL109:
1509 .LFB139:
783:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* Prevent unused argument(s) compilation warning */
1510 .loc 1 783 1 is_stmt 1 view -0
1511 .cfi_startproc
1512 @ args = 0, pretend = 0, frame = 0
1513 @ frame_needed = 0, uses_anonymous_args = 0
ARM GAS /tmp/ccYVRobT.s page 54
1514 @ link register save eliminated.
785:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** /* NOTE : This function Should not be modified, when the callback is needed,
1515 .loc 1 785 3 view .LVU460
789:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1516 .loc 1 789 1 is_stmt 0 view .LVU461
1517 0000 7047 bx lr
1518 .cfi_endproc
1519 .LFE139:
1521 .section .text.HAL_ADCEx_InjectedConfigChannel,"ax",%progbits
1522 .align 1
1523 .global HAL_ADCEx_InjectedConfigChannel
1524 .syntax unified
1525 .thumb
1526 .thumb_func
1528 HAL_ADCEx_InjectedConfigChannel:
1529 .LVL110:
1530 .LFB140:
800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1531 .loc 1 800 1 is_stmt 1 view -0
1532 .cfi_startproc
1533 @ args = 0, pretend = 0, frame = 0
1534 @ frame_needed = 0, uses_anonymous_args = 0
1535 @ link register save eliminated.
807:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1536 .loc 1 807 3 view .LVU463
810:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_RANK(sConfigInjected->InjectedRank));
1537 .loc 1 810 3 view .LVU464
811:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_SAMPLE_TIME(sConfigInjected->InjectedSamplingTime));
1538 .loc 1 811 3 view .LVU465
812:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_EXT_INJEC_TRIG(sConfigInjected->ExternalTrigInjecConv));
1539 .loc 1 812 3 view .LVU466
813:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_LENGTH(sConfigInjected->InjectedNbrOfConversion));
1540 .loc 1 813 3 view .LVU467
814:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sConfigInjected->AutoInjectedConv));
1541 .loc 1 814 3 view .LVU468
815:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sConfigInjected->InjectedDiscontinuousConvMode));
1542 .loc 1 815 3 view .LVU469
816:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1543 .loc 1 816 3 view .LVU470
823:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1544 .loc 1 823 3 view .LVU471
825:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1545 .loc 1 825 5 view .LVU472
829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1546 .loc 1 829 3 view .LVU473
829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1547 .loc 1 829 3 view .LVU474
1548 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
1549 0004 012B cmp r3, #1
1550 0006 00F0FB80 beq .L129
800:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1551 .loc 1 800 1 is_stmt 0 discriminator 2 view .LVU475
1552 000a 30B4 push {r4, r5}
1553 .LCFI19:
1554 .cfi_def_cfa_offset 8
1555 .cfi_offset 4, -8
1556 .cfi_offset 5, -4
ARM GAS /tmp/ccYVRobT.s page 55
829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1557 .loc 1 829 3 is_stmt 1 discriminator 2 view .LVU476
1558 000c 0123 movs r3, #1
1559 000e 80F83C30 strb r3, [r0, #60]
829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1560 .loc 1 829 3 discriminator 2 view .LVU477
832:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1561 .loc 1 832 3 discriminator 2 view .LVU478
832:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1562 .loc 1 832 22 is_stmt 0 discriminator 2 view .LVU479
1563 0012 0B68 ldr r3, [r1]
832:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1564 .loc 1 832 6 discriminator 2 view .LVU480
1565 0014 092B cmp r3, #9
1566 0016 7FD9 bls .L115
835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1567 .loc 1 835 5 is_stmt 1 view .LVU481
835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1568 .loc 1 835 9 is_stmt 0 view .LVU482
1569 0018 0568 ldr r5, [r0]
835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1570 .loc 1 835 27 view .LVU483
1571 001a EA68 ldr r2, [r5, #12]
835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1572 .loc 1 835 31 view .LVU484
1573 001c 9BB2 uxth r3, r3
1574 001e 03EB4303 add r3, r3, r3, lsl #1
1575 0022 1E3B subs r3, r3, #30
1576 0024 0724 movs r4, #7
1577 0026 04FA03F3 lsl r3, r4, r3
835:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1578 .loc 1 835 27 view .LVU485
1579 002a 22EA0303 bic r3, r2, r3
1580 002e EB60 str r3, [r5, #12]
838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1581 .loc 1 838 5 is_stmt 1 view .LVU486
838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1582 .loc 1 838 9 is_stmt 0 view .LVU487
1583 0030 0568 ldr r5, [r0]
838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1584 .loc 1 838 27 view .LVU488
1585 0032 EA68 ldr r2, [r5, #12]
838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1586 .loc 1 838 30 view .LVU489
1587 0034 8C68 ldr r4, [r1, #8]
1588 0036 0B88 ldrh r3, [r1]
1589 0038 03EB4303 add r3, r3, r3, lsl #1
1590 003c 1E3B subs r3, r3, #30
1591 003e 04FA03F3 lsl r3, r4, r3
838:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1592 .loc 1 838 27 view .LVU490
1593 0042 1343 orrs r3, r3, r2
1594 0044 EB60 str r3, [r5, #12]
1595 .L116:
850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR |= ADC_SQR1(sConfigInjected->InjectedNbrOfConversion);
1596 .loc 1 850 3 is_stmt 1 view .LVU491
850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR |= ADC_SQR1(sConfigInjected->InjectedNbrOfConversion);
ARM GAS /tmp/ccYVRobT.s page 56
1597 .loc 1 850 7 is_stmt 0 view .LVU492
1598 0046 0268 ldr r2, [r0]
850:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JSQR |= ADC_SQR1(sConfigInjected->InjectedNbrOfConversion);
1599 .loc 1 850 24 view .LVU493
1600 0048 936B ldr r3, [r2, #56]
1601 004a 23F44013 bic r3, r3, #3145728
1602 004e 9363 str r3, [r2, #56]
851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1603 .loc 1 851 3 is_stmt 1 view .LVU494
851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1604 .loc 1 851 7 is_stmt 0 view .LVU495
1605 0050 0468 ldr r4, [r0]
851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1606 .loc 1 851 24 view .LVU496
1607 0052 A36B ldr r3, [r4, #56]
851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1608 .loc 1 851 28 view .LVU497
1609 0054 0A69 ldr r2, [r1, #16]
1610 0056 013A subs r2, r2, #1
851:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1611 .loc 1 851 24 view .LVU498
1612 0058 43EA0253 orr r3, r3, r2, lsl #20
1613 005c A363 str r3, [r4, #56]
856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1614 .loc 1 856 3 is_stmt 1 view .LVU499
856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1615 .loc 1 856 7 is_stmt 0 view .LVU500
1616 005e 0468 ldr r4, [r0]
856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1617 .loc 1 856 24 view .LVU501
1618 0060 A26B ldr r2, [r4, #56]
856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1619 .loc 1 856 28 view .LVU502
1620 0062 4B68 ldr r3, [r1, #4]
1621 0064 0D69 ldr r5, [r1, #16]
1622 0066 5B1B subs r3, r3, r5
1623 0068 DBB2 uxtb r3, r3
1624 006a 0333 adds r3, r3, #3
1625 006c DBB2 uxtb r3, r3
1626 006e 03EB8303 add r3, r3, r3, lsl #2
1627 0072 4FF01F0C mov ip, #31
1628 0076 0CFA03F3 lsl r3, ip, r3
856:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1629 .loc 1 856 24 view .LVU503
1630 007a 22EA0303 bic r3, r2, r3
1631 007e A363 str r3, [r4, #56]
859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1632 .loc 1 859 3 is_stmt 1 view .LVU504
859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1633 .loc 1 859 7 is_stmt 0 view .LVU505
1634 0080 0468 ldr r4, [r0]
859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1635 .loc 1 859 24 view .LVU506
1636 0082 A26B ldr r2, [r4, #56]
859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1637 .loc 1 859 27 view .LVU507
1638 0084 4B68 ldr r3, [r1, #4]
ARM GAS /tmp/ccYVRobT.s page 57
1639 0086 0D69 ldr r5, [r1, #16]
1640 0088 5B1B subs r3, r3, r5
1641 008a DBB2 uxtb r3, r3
1642 008c 0333 adds r3, r3, #3
1643 008e DBB2 uxtb r3, r3
1644 0090 03EB8303 add r3, r3, r3, lsl #2
1645 0094 B1F800C0 ldrh ip, [r1]
1646 0098 0CFA03F3 lsl r3, ip, r3
859:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1647 .loc 1 859 24 view .LVU508
1648 009c 1343 orrs r3, r3, r2
1649 009e A363 str r3, [r4, #56]
866:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1650 .loc 1 866 3 is_stmt 1 view .LVU509
866:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1651 .loc 1 866 21 is_stmt 0 view .LVU510
1652 00a0 8A69 ldr r2, [r1, #24]
866:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1653 .loc 1 866 5 view .LVU511
1654 00a2 584B ldr r3, .L137
1655 00a4 9A42 cmp r2, r3
1656 00a6 4DD0 beq .L117
869:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConv;
1657 .loc 1 869 5 is_stmt 1 view .LVU512
869:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConv;
1658 .loc 1 869 9 is_stmt 0 view .LVU513
1659 00a8 0268 ldr r2, [r0]
869:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConv;
1660 .loc 1 869 25 view .LVU514
1661 00aa 9368 ldr r3, [r2, #8]
1662 00ac 23F47023 bic r3, r3, #983040
1663 00b0 9360 str r3, [r2, #8]
870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1664 .loc 1 870 5 is_stmt 1 view .LVU515
870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1665 .loc 1 870 9 is_stmt 0 view .LVU516
1666 00b2 0268 ldr r2, [r0]
870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1667 .loc 1 870 25 view .LVU517
1668 00b4 9368 ldr r3, [r2, #8]
870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1669 .loc 1 870 44 view .LVU518
1670 00b6 8C69 ldr r4, [r1, #24]
870:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1671 .loc 1 870 25 view .LVU519
1672 00b8 2343 orrs r3, r3, r4
1673 00ba 9360 str r3, [r2, #8]
873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConvEdge;
1674 .loc 1 873 5 is_stmt 1 view .LVU520
873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConvEdge;
1675 .loc 1 873 9 is_stmt 0 view .LVU521
1676 00bc 0268 ldr r2, [r0]
873:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 |= sConfigInjected->ExternalTrigInjecConvEdge;
1677 .loc 1 873 25 view .LVU522
1678 00be 9368 ldr r3, [r2, #8]
1679 00c0 23F44013 bic r3, r3, #3145728
1680 00c4 9360 str r3, [r2, #8]
ARM GAS /tmp/ccYVRobT.s page 58
874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1681 .loc 1 874 5 is_stmt 1 view .LVU523
874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1682 .loc 1 874 9 is_stmt 0 view .LVU524
1683 00c6 0268 ldr r2, [r0]
874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1684 .loc 1 874 25 view .LVU525
1685 00c8 9368 ldr r3, [r2, #8]
874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1686 .loc 1 874 43 view .LVU526
1687 00ca CC69 ldr r4, [r1, #28]
874:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1688 .loc 1 874 25 view .LVU527
1689 00cc 2343 orrs r3, r3, r4
1690 00ce 9360 str r3, [r2, #8]
1691 .L118:
883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1692 .loc 1 883 3 is_stmt 1 view .LVU528
883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1693 .loc 1 883 22 is_stmt 0 view .LVU529
1694 00d0 4B7D ldrb r3, [r1, #21] @ zero_extendqisi2
883:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1695 .loc 1 883 6 view .LVU530
1696 00d2 002B cmp r3, #0
1697 00d4 41D0 beq .L119
886:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1698 .loc 1 886 5 is_stmt 1 view .LVU531
886:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1699 .loc 1 886 9 is_stmt 0 view .LVU532
1700 00d6 0268 ldr r2, [r0]
886:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1701 .loc 1 886 25 view .LVU533
1702 00d8 5368 ldr r3, [r2, #4]
1703 00da 43F48063 orr r3, r3, #1024
1704 00de 5360 str r3, [r2, #4]
1705 .L120:
894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1706 .loc 1 894 3 is_stmt 1 view .LVU534
894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1707 .loc 1 894 22 is_stmt 0 view .LVU535
1708 00e0 0B7D ldrb r3, [r1, #20] @ zero_extendqisi2
894:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1709 .loc 1 894 6 view .LVU536
1710 00e2 002B cmp r3, #0
1711 00e4 3FD0 beq .L121
897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1712 .loc 1 897 5 is_stmt 1 view .LVU537
897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1713 .loc 1 897 9 is_stmt 0 view .LVU538
1714 00e6 0268 ldr r2, [r0]
897:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1715 .loc 1 897 25 view .LVU539
1716 00e8 5368 ldr r3, [r2, #4]
1717 00ea 43F48053 orr r3, r3, #4096
1718 00ee 5360 str r3, [r2, #4]
1719 .L122:
905:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
ARM GAS /tmp/ccYVRobT.s page 59
1720 .loc 1 905 3 is_stmt 1 view .LVU540
905:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1721 .loc 1 905 25 is_stmt 0 view .LVU541
1722 00f0 4B68 ldr r3, [r1, #4]
905:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1723 .loc 1 905 3 view .LVU542
1724 00f2 022B cmp r3, #2
1725 00f4 57D0 beq .L123
1726 00f6 032B cmp r3, #3
1727 00f8 62D0 beq .L124
1728 00fa 012B cmp r3, #1
1729 00fc 39D0 beq .L134
924:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR4 |= sConfigInjected->InjectedOffset;
1730 .loc 1 924 7 is_stmt 1 view .LVU543
924:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR4 |= sConfigInjected->InjectedOffset;
1731 .loc 1 924 11 is_stmt 0 view .LVU544
1732 00fe 0268 ldr r2, [r0]
924:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR4 |= sConfigInjected->InjectedOffset;
1733 .loc 1 924 29 view .LVU545
1734 0100 136A ldr r3, [r2, #32]
1735 0102 23F47F63 bic r3, r3, #4080
1736 0106 23F00F03 bic r3, r3, #15
1737 010a 1362 str r3, [r2, #32]
925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1738 .loc 1 925 7 is_stmt 1 view .LVU546
925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1739 .loc 1 925 11 is_stmt 0 view .LVU547
1740 010c 0268 ldr r2, [r0]
925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1741 .loc 1 925 29 view .LVU548
1742 010e 136A ldr r3, [r2, #32]
925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1743 .loc 1 925 47 view .LVU549
1744 0110 CC68 ldr r4, [r1, #12]
925:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1745 .loc 1 925 29 view .LVU550
1746 0112 2343 orrs r3, r3, r4
1747 0114 1362 str r3, [r2, #32]
926:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1748 .loc 1 926 7 is_stmt 1 view .LVU551
1749 0116 38E0 b .L126
1750 .L115:
843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1751 .loc 1 843 5 view .LVU552
843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1752 .loc 1 843 9 is_stmt 0 view .LVU553
1753 0118 0568 ldr r5, [r0]
843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1754 .loc 1 843 27 view .LVU554
1755 011a 2A69 ldr r2, [r5, #16]
843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1756 .loc 1 843 31 view .LVU555
1757 011c 9BB2 uxth r3, r3
1758 011e 03EB4303 add r3, r3, r3, lsl #1
1759 0122 0724 movs r4, #7
1760 0124 04FA03F3 lsl r3, r4, r3
843:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
ARM GAS /tmp/ccYVRobT.s page 60
1761 .loc 1 843 27 view .LVU556
1762 0128 22EA0303 bic r3, r2, r3
1763 012c 2B61 str r3, [r5, #16]
846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1764 .loc 1 846 5 is_stmt 1 view .LVU557
846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1765 .loc 1 846 9 is_stmt 0 view .LVU558
1766 012e 0568 ldr r5, [r0]
846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1767 .loc 1 846 27 view .LVU559
1768 0130 2A69 ldr r2, [r5, #16]
846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1769 .loc 1 846 30 view .LVU560
1770 0132 8C68 ldr r4, [r1, #8]
1771 0134 0B88 ldrh r3, [r1]
1772 0136 03EB4303 add r3, r3, r3, lsl #1
1773 013a 04FA03F3 lsl r3, r4, r3
846:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1774 .loc 1 846 27 view .LVU561
1775 013e 1343 orrs r3, r3, r2
1776 0140 2B61 str r3, [r5, #16]
1777 0142 80E7 b .L116
1778 .L117:
879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTEN);
1779 .loc 1 879 5 is_stmt 1 view .LVU562
879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTEN);
1780 .loc 1 879 9 is_stmt 0 view .LVU563
1781 0144 0268 ldr r2, [r0]
879:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->CR2 &= ~(ADC_CR2_JEXTEN);
1782 .loc 1 879 25 view .LVU564
1783 0146 9368 ldr r3, [r2, #8]
1784 0148 23F47023 bic r3, r3, #983040
1785 014c 9360 str r3, [r2, #8]
880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1786 .loc 1 880 5 is_stmt 1 view .LVU565
880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1787 .loc 1 880 9 is_stmt 0 view .LVU566
1788 014e 0268 ldr r2, [r0]
880:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1789 .loc 1 880 25 view .LVU567
1790 0150 9368 ldr r3, [r2, #8]
1791 0152 23F44013 bic r3, r3, #3145728
1792 0156 9360 str r3, [r2, #8]
1793 0158 BAE7 b .L118
1794 .L119:
891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1795 .loc 1 891 5 is_stmt 1 view .LVU568
891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1796 .loc 1 891 9 is_stmt 0 view .LVU569
1797 015a 0268 ldr r2, [r0]
891:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1798 .loc 1 891 25 view .LVU570
1799 015c 5368 ldr r3, [r2, #4]
1800 015e 23F48063 bic r3, r3, #1024
1801 0162 5360 str r3, [r2, #4]
1802 0164 BCE7 b .L120
1803 .L121:
ARM GAS /tmp/ccYVRobT.s page 61
902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1804 .loc 1 902 5 is_stmt 1 view .LVU571
902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1805 .loc 1 902 9 is_stmt 0 view .LVU572
1806 0166 0268 ldr r2, [r0]
902:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1807 .loc 1 902 25 view .LVU573
1808 0168 5368 ldr r3, [r2, #4]
1809 016a 23F48053 bic r3, r3, #4096
1810 016e 5360 str r3, [r2, #4]
1811 0170 BEE7 b .L122
1812 .L134:
909:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR1 |= sConfigInjected->InjectedOffset;
1813 .loc 1 909 7 is_stmt 1 view .LVU574
909:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR1 |= sConfigInjected->InjectedOffset;
1814 .loc 1 909 11 is_stmt 0 view .LVU575
1815 0172 0268 ldr r2, [r0]
909:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR1 |= sConfigInjected->InjectedOffset;
1816 .loc 1 909 29 view .LVU576
1817 0174 5369 ldr r3, [r2, #20]
1818 0176 23F47F63 bic r3, r3, #4080
1819 017a 23F00F03 bic r3, r3, #15
1820 017e 5361 str r3, [r2, #20]
910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1821 .loc 1 910 7 is_stmt 1 view .LVU577
910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1822 .loc 1 910 11 is_stmt 0 view .LVU578
1823 0180 0268 ldr r2, [r0]
910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1824 .loc 1 910 29 view .LVU579
1825 0182 5369 ldr r3, [r2, #20]
910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1826 .loc 1 910 47 view .LVU580
1827 0184 CC68 ldr r4, [r1, #12]
910:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1828 .loc 1 910 29 view .LVU581
1829 0186 2343 orrs r3, r3, r4
1830 0188 5361 str r3, [r2, #20]
911:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case 2U:
1831 .loc 1 911 7 is_stmt 1 view .LVU582
1832 .L126:
932:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1833 .loc 1 932 5 view .LVU583
1834 .LVL111:
935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1835 .loc 1 935 3 view .LVU584
935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1836 .loc 1 935 12 is_stmt 0 view .LVU585
1837 018a 0268 ldr r2, [r0]
935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1838 .loc 1 935 6 view .LVU586
1839 018c 1E4B ldr r3, .L137+4
1840 018e 9A42 cmp r2, r3
1841 0190 23D0 beq .L135
1842 .L127:
942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1843 .loc 1 942 3 is_stmt 1 view .LVU587
ARM GAS /tmp/ccYVRobT.s page 62
942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1844 .loc 1 942 12 is_stmt 0 view .LVU588
1845 0192 0268 ldr r2, [r0]
942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1846 .loc 1 942 6 view .LVU589
1847 0194 1C4B ldr r3, .L137+4
1848 0196 9A42 cmp r2, r3
1849 0198 28D0 beq .L136
1850 .L128:
949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1851 .loc 1 949 3 is_stmt 1 view .LVU590
949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1852 .loc 1 949 3 view .LVU591
1853 019a 0023 movs r3, #0
1854 019c 80F83C30 strb r3, [r0, #60]
949:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1855 .loc 1 949 3 view .LVU592
952:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1856 .loc 1 952 3 view .LVU593
952:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1857 .loc 1 952 10 is_stmt 0 view .LVU594
1858 01a0 1846 mov r0, r3
1859 .LVL112:
953:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1860 .loc 1 953 1 view .LVU595
1861 01a2 30BC pop {r4, r5}
1862 .LCFI20:
1863 .cfi_remember_state
1864 .cfi_restore 5
1865 .cfi_restore 4
1866 .cfi_def_cfa_offset 0
1867 01a4 7047 bx lr
1868 .LVL113:
1869 .L123:
1870 .LCFI21:
1871 .cfi_restore_state
914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR2 |= sConfigInjected->InjectedOffset;
1872 .loc 1 914 7 is_stmt 1 view .LVU596
914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR2 |= sConfigInjected->InjectedOffset;
1873 .loc 1 914 11 is_stmt 0 view .LVU597
1874 01a6 0268 ldr r2, [r0]
914:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR2 |= sConfigInjected->InjectedOffset;
1875 .loc 1 914 29 view .LVU598
1876 01a8 9369 ldr r3, [r2, #24]
1877 01aa 23F47F63 bic r3, r3, #4080
1878 01ae 23F00F03 bic r3, r3, #15
1879 01b2 9361 str r3, [r2, #24]
915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1880 .loc 1 915 7 is_stmt 1 view .LVU599
915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1881 .loc 1 915 11 is_stmt 0 view .LVU600
1882 01b4 0268 ldr r2, [r0]
915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1883 .loc 1 915 29 view .LVU601
1884 01b6 9369 ldr r3, [r2, #24]
915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1885 .loc 1 915 47 view .LVU602
ARM GAS /tmp/ccYVRobT.s page 63
1886 01b8 CC68 ldr r4, [r1, #12]
915:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1887 .loc 1 915 29 view .LVU603
1888 01ba 2343 orrs r3, r3, r4
1889 01bc 9361 str r3, [r2, #24]
916:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** case 3U:
1890 .loc 1 916 7 is_stmt 1 view .LVU604
1891 01be E4E7 b .L126
1892 .L124:
919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR3 |= sConfigInjected->InjectedOffset;
1893 .loc 1 919 7 view .LVU605
919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR3 |= sConfigInjected->InjectedOffset;
1894 .loc 1 919 11 is_stmt 0 view .LVU606
1895 01c0 0268 ldr r2, [r0]
919:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** hadc->Instance->JOFR3 |= sConfigInjected->InjectedOffset;
1896 .loc 1 919 29 view .LVU607
1897 01c2 D369 ldr r3, [r2, #28]
1898 01c4 23F47F63 bic r3, r3, #4080
1899 01c8 23F00F03 bic r3, r3, #15
1900 01cc D361 str r3, [r2, #28]
920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1901 .loc 1 920 7 is_stmt 1 view .LVU608
920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1902 .loc 1 920 11 is_stmt 0 view .LVU609
1903 01ce 0268 ldr r2, [r0]
920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1904 .loc 1 920 29 view .LVU610
1905 01d0 D369 ldr r3, [r2, #28]
920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1906 .loc 1 920 47 view .LVU611
1907 01d2 CC68 ldr r4, [r1, #12]
920:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** break;
1908 .loc 1 920 29 view .LVU612
1909 01d4 2343 orrs r3, r3, r4
1910 01d6 D361 str r3, [r2, #28]
921:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** default:
1911 .loc 1 921 7 is_stmt 1 view .LVU613
1912 01d8 D7E7 b .L126
1913 .LVL114:
1914 .L135:
935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1915 .loc 1 935 51 is_stmt 0 discriminator 1 view .LVU614
1916 01da 0B68 ldr r3, [r1]
935:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1917 .loc 1 935 32 discriminator 1 view .LVU615
1918 01dc 122B cmp r3, #18
1919 01de D8D1 bne .L127
938:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1920 .loc 1 938 5 is_stmt 1 view .LVU616
938:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1921 .loc 1 938 24 is_stmt 0 view .LVU617
1922 01e0 0A4A ldr r2, .L137+8
1923 01e2 5368 ldr r3, [r2, #4]
1924 01e4 43F48003 orr r3, r3, #4194304
1925 01e8 5360 str r3, [r2, #4]
1926 01ea D2E7 b .L127
1927 .L136:
ARM GAS /tmp/ccYVRobT.s page 64
942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1928 .loc 1 942 52 discriminator 1 view .LVU618
1929 01ec 0B68 ldr r3, [r1]
942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1930 .loc 1 942 97 discriminator 1 view .LVU619
1931 01ee 103B subs r3, r3, #16
942:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** {
1932 .loc 1 942 32 discriminator 1 view .LVU620
1933 01f0 012B cmp r3, #1
1934 01f2 D2D8 bhi .L128
945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1935 .loc 1 945 5 is_stmt 1 view .LVU621
945:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
1936 .loc 1 945 24 is_stmt 0 view .LVU622
1937 01f4 054A ldr r2, .L137+8
1938 01f6 5368 ldr r3, [r2, #4]
1939 01f8 43F40003 orr r3, r3, #8388608
1940 01fc 5360 str r3, [r2, #4]
1941 01fe CCE7 b .L128
1942 .LVL115:
1943 .L129:
1944 .LCFI22:
1945 .cfi_def_cfa_offset 0
1946 .cfi_restore 4
1947 .cfi_restore 5
829:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1948 .loc 1 829 3 view .LVU623
1949 0200 0220 movs r0, #2
1950 .LVL116:
953:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1951 .loc 1 953 1 view .LVU624
1952 0202 7047 bx lr
1953 .L138:
1954 .align 2
1955 .L137:
1956 0204 01000F00 .word 983041
1957 0208 00200140 .word 1073815552
1958 020c 00230140 .word 1073816320
1959 .cfi_endproc
1960 .LFE140:
1962 .section .text.HAL_ADCEx_MultiModeConfigChannel,"ax",%progbits
1963 .align 1
1964 .global HAL_ADCEx_MultiModeConfigChannel
1965 .syntax unified
1966 .thumb
1967 .thumb_func
1969 HAL_ADCEx_MultiModeConfigChannel:
1970 .LVL117:
1971 .LFB141:
964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1972 .loc 1 964 1 is_stmt 1 view -0
1973 .cfi_startproc
1974 @ args = 0, pretend = 0, frame = 0
1975 @ frame_needed = 0, uses_anonymous_args = 0
1976 @ link register save eliminated.
966:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1977 .loc 1 966 3 view .LVU626
ARM GAS /tmp/ccYVRobT.s page 65
969:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_DMA_ACCESS_MODE(multimode->DMAAccessMode));
1978 .loc 1 969 3 view .LVU627
970:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** assert_param(IS_ADC_SAMPLING_DELAY(multimode->TwoSamplingDelay));
1979 .loc 1 970 3 view .LVU628
971:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1980 .loc 1 971 3 view .LVU629
974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1981 .loc 1 974 3 view .LVU630
974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1982 .loc 1 974 3 view .LVU631
1983 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
1984 0004 012B cmp r3, #1
1985 0006 23D0 beq .L141
964:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1986 .loc 1 964 1 is_stmt 0 discriminator 2 view .LVU632
1987 0008 10B4 push {r4}
1988 .LCFI23:
1989 .cfi_def_cfa_offset 4
1990 .cfi_offset 4, -4
974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1991 .loc 1 974 3 is_stmt 1 discriminator 2 view .LVU633
1992 000a 0123 movs r3, #1
1993 000c 80F83C30 strb r3, [r0, #60]
974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1994 .loc 1 974 3 discriminator 2 view .LVU634
979:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
1995 .loc 1 979 3 discriminator 2 view .LVU635
1996 .LVL118:
982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->Mode;
1997 .loc 1 982 3 discriminator 2 view .LVU636
982:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->Mode;
1998 .loc 1 982 22 is_stmt 0 discriminator 2 view .LVU637
1999 0010 104B ldr r3, .L146
2000 0012 5A68 ldr r2, [r3, #4]
2001 0014 22F01F02 bic r2, r2, #31
2002 0018 5A60 str r2, [r3, #4]
983:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
2003 .loc 1 983 3 is_stmt 1 discriminator 2 view .LVU638
983:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
2004 .loc 1 983 22 is_stmt 0 discriminator 2 view .LVU639
2005 001a 5A68 ldr r2, [r3, #4]
2006 001c 0C68 ldr r4, [r1]
2007 001e 2243 orrs r2, r2, r4
2008 0020 5A60 str r2, [r3, #4]
986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->DMAAccessMode;
2009 .loc 1 986 3 is_stmt 1 discriminator 2 view .LVU640
986:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->DMAAccessMode;
2010 .loc 1 986 22 is_stmt 0 discriminator 2 view .LVU641
2011 0022 5A68 ldr r2, [r3, #4]
2012 0024 22F44042 bic r2, r2, #49152
2013 0028 5A60 str r2, [r3, #4]
987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
2014 .loc 1 987 3 is_stmt 1 discriminator 2 view .LVU642
987:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
2015 .loc 1 987 22 is_stmt 0 discriminator 2 view .LVU643
2016 002a 5A68 ldr r2, [r3, #4]
2017 002c 4C68 ldr r4, [r1, #4]
ARM GAS /tmp/ccYVRobT.s page 66
2018 002e 2243 orrs r2, r2, r4
2019 0030 5A60 str r2, [r3, #4]
990:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->TwoSamplingDelay;
2020 .loc 1 990 3 is_stmt 1 discriminator 2 view .LVU644
990:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** tmpADC_Common->CCR |= multimode->TwoSamplingDelay;
2021 .loc 1 990 22 is_stmt 0 discriminator 2 view .LVU645
2022 0032 5A68 ldr r2, [r3, #4]
2023 0034 22F47062 bic r2, r2, #3840
2024 0038 5A60 str r2, [r3, #4]
991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
2025 .loc 1 991 3 is_stmt 1 discriminator 2 view .LVU646
991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
2026 .loc 1 991 22 is_stmt 0 discriminator 2 view .LVU647
2027 003a 5A68 ldr r2, [r3, #4]
991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
2028 .loc 1 991 34 discriminator 2 view .LVU648
2029 003c 8968 ldr r1, [r1, #8]
2030 .LVL119:
991:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
2031 .loc 1 991 22 discriminator 2 view .LVU649
2032 003e 0A43 orrs r2, r2, r1
2033 0040 5A60 str r2, [r3, #4]
994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
2034 .loc 1 994 3 is_stmt 1 discriminator 2 view .LVU650
994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
2035 .loc 1 994 3 discriminator 2 view .LVU651
2036 0042 0023 movs r3, #0
2037 0044 80F83C30 strb r3, [r0, #60]
994:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
2038 .loc 1 994 3 discriminator 2 view .LVU652
997:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
2039 .loc 1 997 3 discriminator 2 view .LVU653
997:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c **** }
2040 .loc 1 997 10 is_stmt 0 discriminator 2 view .LVU654
2041 0048 1846 mov r0, r3
2042 .LVL120:
998:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
2043 .loc 1 998 1 discriminator 2 view .LVU655
2044 004a 5DF8044B ldr r4, [sp], #4
2045 .LCFI24:
2046 .cfi_restore 4
2047 .cfi_def_cfa_offset 0
2048 004e 7047 bx lr
2049 .LVL121:
2050 .L141:
974:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
2051 .loc 1 974 3 view .LVU656
2052 0050 0220 movs r0, #2
2053 .LVL122:
998:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.c ****
2054 .loc 1 998 1 view .LVU657
2055 0052 7047 bx lr
2056 .L147:
2057 .align 2
2058 .L146:
2059 0054 00230140 .word 1073816320
2060 .cfi_endproc
ARM GAS /tmp/ccYVRobT.s page 67
2061 .LFE141:
2063 .text
2064 .Letext0:
2065 .file 2 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
2066 .file 3 "/home/gitc/\346\241\214\351\235\242/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/
2067 .file 4 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h"
2068 .file 5 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
2069 .file 6 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h"
2070 .file 7 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h"
2071 .file 8 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc.h"
2072 .file 9 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_adc_ex.h"
2073 .file 10 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h"
2074 .file 11 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h"
ARM GAS /tmp/ccYVRobT.s page 68
DEFINED SYMBOLS
*ABS*:0000000000000000 stm32f4xx_hal_adc_ex.c
/tmp/ccYVRobT.s:20 .text.ADC_MultiModeDMAError:0000000000000000 $t
/tmp/ccYVRobT.s:25 .text.ADC_MultiModeDMAError:0000000000000000 ADC_MultiModeDMAError
/tmp/ccYVRobT.s:61 .text.ADC_MultiModeDMAHalfConvCplt:0000000000000000 $t
/tmp/ccYVRobT.s:66 .text.ADC_MultiModeDMAHalfConvCplt:0000000000000000 ADC_MultiModeDMAHalfConvCplt
/tmp/ccYVRobT.s:93 .text.ADC_MultiModeDMAConvCplt:0000000000000000 $t
/tmp/ccYVRobT.s:98 .text.ADC_MultiModeDMAConvCplt:0000000000000000 ADC_MultiModeDMAConvCplt
/tmp/ccYVRobT.s:192 .text.HAL_ADCEx_InjectedStart:0000000000000000 $t
/tmp/ccYVRobT.s:198 .text.HAL_ADCEx_InjectedStart:0000000000000000 HAL_ADCEx_InjectedStart
/tmp/ccYVRobT.s:419 .text.HAL_ADCEx_InjectedStart:00000000000000e4 $d
/tmp/ccYVRobT.s:427 .text.HAL_ADCEx_InjectedStart_IT:0000000000000000 $t
/tmp/ccYVRobT.s:433 .text.HAL_ADCEx_InjectedStart_IT:0000000000000000 HAL_ADCEx_InjectedStart_IT
/tmp/ccYVRobT.s:659 .text.HAL_ADCEx_InjectedStart_IT:00000000000000ec $d
/tmp/ccYVRobT.s:667 .text.HAL_ADCEx_InjectedStop:0000000000000000 $t
/tmp/ccYVRobT.s:673 .text.HAL_ADCEx_InjectedStop:0000000000000000 HAL_ADCEx_InjectedStop
/tmp/ccYVRobT.s:767 .text.HAL_ADCEx_InjectedPollForConversion:0000000000000000 $t
/tmp/ccYVRobT.s:773 .text.HAL_ADCEx_InjectedPollForConversion:0000000000000000 HAL_ADCEx_InjectedPollForConversion
/tmp/ccYVRobT.s:917 .text.HAL_ADCEx_InjectedStop_IT:0000000000000000 $t
/tmp/ccYVRobT.s:923 .text.HAL_ADCEx_InjectedStop_IT:0000000000000000 HAL_ADCEx_InjectedStop_IT
/tmp/ccYVRobT.s:1021 .text.HAL_ADCEx_InjectedGetValue:0000000000000000 $t
/tmp/ccYVRobT.s:1027 .text.HAL_ADCEx_InjectedGetValue:0000000000000000 HAL_ADCEx_InjectedGetValue
/tmp/ccYVRobT.s:1056 .text.HAL_ADCEx_InjectedGetValue:0000000000000018 $d
/tmp/ccYVRobT.s:1060 .text.HAL_ADCEx_InjectedGetValue:000000000000001c $t
/tmp/ccYVRobT.s:1119 .text.HAL_ADCEx_MultiModeStart_DMA:0000000000000000 $t
/tmp/ccYVRobT.s:1125 .text.HAL_ADCEx_MultiModeStart_DMA:0000000000000000 HAL_ADCEx_MultiModeStart_DMA
/tmp/ccYVRobT.s:1355 .text.HAL_ADCEx_MultiModeStart_DMA:0000000000000104 $d
/tmp/ccYVRobT.s:1366 .text.HAL_ADCEx_MultiModeStop_DMA:0000000000000000 $t
/tmp/ccYVRobT.s:1372 .text.HAL_ADCEx_MultiModeStop_DMA:0000000000000000 HAL_ADCEx_MultiModeStop_DMA
/tmp/ccYVRobT.s:1465 .text.HAL_ADCEx_MultiModeStop_DMA:0000000000000060 $d
/tmp/ccYVRobT.s:1470 .text.HAL_ADCEx_MultiModeGetValue:0000000000000000 $t
/tmp/ccYVRobT.s:1476 .text.HAL_ADCEx_MultiModeGetValue:0000000000000000 HAL_ADCEx_MultiModeGetValue
/tmp/ccYVRobT.s:1496 .text.HAL_ADCEx_MultiModeGetValue:0000000000000008 $d
/tmp/ccYVRobT.s:1501 .text.HAL_ADCEx_InjectedConvCpltCallback:0000000000000000 $t
/tmp/ccYVRobT.s:1507 .text.HAL_ADCEx_InjectedConvCpltCallback:0000000000000000 HAL_ADCEx_InjectedConvCpltCallback
/tmp/ccYVRobT.s:1522 .text.HAL_ADCEx_InjectedConfigChannel:0000000000000000 $t
/tmp/ccYVRobT.s:1528 .text.HAL_ADCEx_InjectedConfigChannel:0000000000000000 HAL_ADCEx_InjectedConfigChannel
/tmp/ccYVRobT.s:1956 .text.HAL_ADCEx_InjectedConfigChannel:0000000000000204 $d
/tmp/ccYVRobT.s:1963 .text.HAL_ADCEx_MultiModeConfigChannel:0000000000000000 $t
/tmp/ccYVRobT.s:1969 .text.HAL_ADCEx_MultiModeConfigChannel:0000000000000000 HAL_ADCEx_MultiModeConfigChannel
/tmp/ccYVRobT.s:2059 .text.HAL_ADCEx_MultiModeConfigChannel:0000000000000054 $d
UNDEFINED SYMBOLS
HAL_ADC_ErrorCallback
HAL_ADC_ConvHalfCpltCallback
HAL_ADC_ConvCpltCallback
SystemCoreClock
HAL_GetTick
HAL_DMA_Start_IT
HAL_DMA_Abort