ams-master/Software/build/debug/stm32h7xx_hal_adc.lst
2025-03-10 15:48:19 +01:00

23177 lines
1.8 MiB
Raw Blame History

This file contains invisible Unicode characters

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

ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 1
1 .cpu cortex-m7
2 .arch armv7e-m
3 .fpu fpv5-d16
4 .eabi_attribute 28, 1
5 .eabi_attribute 20, 1
6 .eabi_attribute 21, 1
7 .eabi_attribute 23, 3
8 .eabi_attribute 24, 1
9 .eabi_attribute 25, 1
10 .eabi_attribute 26, 1
11 .eabi_attribute 30, 1
12 .eabi_attribute 34, 1
13 .eabi_attribute 18, 4
14 .file "stm32h7xx_hal_adc.c"
15 .text
16 .Ltext0:
17 .cfi_sections .debug_frame
18 .file 1 "Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c"
19 .section .text.LL_ADC_REG_SetSequencerRanks,"ax",%progbits
20 .align 1
21 .syntax unified
22 .thumb
23 .thumb_func
25 LL_ADC_REG_SetSequencerRanks:
26 .LVL0:
27 .LFB177:
28 .file 2 "Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h"
1:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ******************************************************************************
3:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @file stm32h7xx_ll_adc.h
4:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @author MCD Application Team
5:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Header file of ADC LL module.
6:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ******************************************************************************
7:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @attention
8:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
9:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Copyright (c) 2017 STMicroelectronics.
10:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * All rights reserved.
11:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
12:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This software is licensed under terms that can be found in the LICENSE file
13:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * in the root directory of this software component.
14:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * If no LICENSE file comes with this software, it is provided AS-IS.
15:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
16:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ******************************************************************************
17:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
18:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
19:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Define to prevent recursive inclusion -------------------------------------*/
20:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #ifndef STM32H7xx_LL_ADC_H
21:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define STM32H7xx_LL_ADC_H
22:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
23:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #ifdef __cplusplus
24:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** extern "C" {
25:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif
26:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
27:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Includes ------------------------------------------------------------------*/
28:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #include "stm32h7xx.h"
29:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
30:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @addtogroup STM32H7xx_LL_Driver
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 2
31:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
32:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
33:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
34:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined (ADC1) || defined (ADC2) || defined (ADC3)
35:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
36:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL ADC
37:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
38:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
39:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
40:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Private types -------------------------------------------------------------*/
41:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Private variables ---------------------------------------------------------*/
42:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
43:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Private constants ---------------------------------------------------------*/
44:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_Private_Constants ADC Private Constants
45:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
46:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
47:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
48:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal mask for ADC calibration: */
49:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal register offset for ADC calibration factors configuration */
50:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
51:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* To select into literals LL_ADC_CALIB_OFFSET, LL_ADC_CALIB_LINEARITY, ... */
52:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* the relevant bits for: */
53:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* (concatenation of multiple bits used in different registers) */
54:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - ADC calibration configuration: configuration before calibration start */
55:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - ADC calibration factors: register offset */
56:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CALIB_FACTOR_OFFSET_REGOFFSET (0x00000000UL) /* Register CALFACT defined as referenc
57:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CALIB_FACTOR_LINEARITY_REGOFFSET (0x00000001UL) /* Register CALFACT2 offset vs register
58:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CALIB_FACTOR_REGOFFSET_MASK (ADC_CALIB_FACTOR_OFFSET_REGOFFSET | ADC_CALIB_FACTOR_
59:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CALIB_MODE_MASK (ADC_CR_ADCALLIN)
60:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CALIB_MODE_BINARY_MASK (ADC_CALIB_FACTOR_REGOFFSET_MASK) /* Mask to get binar
61:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
62:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
63:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal mask for ADC group regular sequencer: */
64:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* To select into literal LL_ADC_REG_RANK_x the relevant bits for: */
65:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - sequencer register offset */
66:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - sequencer rank bits position into the selected register */
67:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
68:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal register offset for ADC group regular sequencer configuration */
69:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* (offset placed into a spare area of literal definition) */
70:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SQR1_REGOFFSET (0x00000000UL)
71:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SQR2_REGOFFSET (0x00000100UL)
72:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SQR3_REGOFFSET (0x00000200UL)
73:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SQR4_REGOFFSET (0x00000300UL)
74:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
75:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_SQRX_REGOFFSET_MASK (ADC_SQR1_REGOFFSET | ADC_SQR2_REGOFFSET | ADC_SQR3_REGO
76:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SQRX_REGOFFSET_POS (8UL) /* Position of bits ADC_SQRx_REGOFFSET in ADC_REG_
77:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_ID_SQRX_MASK (ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0)
78:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
79:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Definition of ADC group regular sequencer bits information to be inserted */
80:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* into ADC group regular sequencer ranks literals definition. */
81:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_1_SQRX_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_SQR1_SQ1" po
82:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_2_SQRX_BITOFFSET_POS (12UL) /* Value equivalent to bitfield "ADC_SQR1_SQ2" po
83:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_3_SQRX_BITOFFSET_POS (18UL) /* Value equivalent to bitfield "ADC_SQR1_SQ3" po
84:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_4_SQRX_BITOFFSET_POS (24UL) /* Value equivalent to bitfield "ADC_SQR1_SQ4" po
85:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_5_SQRX_BITOFFSET_POS ( 0UL) /* Value equivalent to bitfield "ADC_SQR2_SQ5" po
86:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_6_SQRX_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_SQR2_SQ6" po
87:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_7_SQRX_BITOFFSET_POS (12UL) /* Value equivalent to bitfield "ADC_SQR2_SQ7" po
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 3
88:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_8_SQRX_BITOFFSET_POS (18UL) /* Value equivalent to bitfield "ADC_SQR2_SQ8" po
89:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_9_SQRX_BITOFFSET_POS (24UL) /* Value equivalent to bitfield "ADC_SQR2_SQ9" po
90:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_10_SQRX_BITOFFSET_POS ( 0UL) /* Value equivalent to bitfield "ADC_SQR3_SQ10" p
91:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_11_SQRX_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_SQR3_SQ11" p
92:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_12_SQRX_BITOFFSET_POS (12UL) /* Value equivalent to bitfield "ADC_SQR3_SQ12" p
93:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_13_SQRX_BITOFFSET_POS (18UL) /* Value equivalent to bitfield "ADC_SQR3_SQ13" p
94:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_14_SQRX_BITOFFSET_POS (24UL) /* Value equivalent to bitfield "ADC_SQR3_SQ14" p
95:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_15_SQRX_BITOFFSET_POS ( 0UL) /* Value equivalent to bitfield "ADC_SQR4_SQ15" p
96:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_RANK_16_SQRX_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_SQR4_SQ16" p
97:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
98:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
99:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
100:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal mask for ADC group injected sequencer: */
101:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* To select into literal LL_ADC_INJ_RANK_x the relevant bits for: */
102:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - data register offset */
103:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - sequencer rank bits position into the selected register */
104:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
105:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal register offset for ADC group injected data register */
106:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* (offset placed into a spare area of literal definition) */
107:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_JDR1_REGOFFSET (0x00000000UL)
108:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_JDR2_REGOFFSET (0x00000100UL)
109:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_JDR3_REGOFFSET (0x00000200UL)
110:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_JDR4_REGOFFSET (0x00000300UL)
111:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
112:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_INJ_JDRX_REGOFFSET_MASK (ADC_JDR1_REGOFFSET | ADC_JDR2_REGOFFSET | ADC_JDR3_REGO
113:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_INJ_RANK_ID_JSQR_MASK (ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0)
114:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_JDRX_REGOFFSET_POS (8UL) /* Position of bits ADC_JDRx_REGOFFSET in ADC_INJ_
115:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
116:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Definition of ADC group injected sequencer bits information to be inserted */
117:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* into ADC group injected sequencer ranks literals definition. */
118:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_INJ_RANK_1_JSQR_BITOFFSET_POS (ADC_JSQR_JSQ1_Pos)
119:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_INJ_RANK_2_JSQR_BITOFFSET_POS (ADC_JSQR_JSQ2_Pos)
120:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_INJ_RANK_3_JSQR_BITOFFSET_POS (ADC_JSQR_JSQ3_Pos)
121:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_INJ_RANK_4_JSQR_BITOFFSET_POS (ADC_JSQR_JSQ4_Pos)
122:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
123:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
124:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
125:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal mask for ADC group regular trigger: */
126:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* To select into literal LL_ADC_REG_TRIG_x the relevant bits for: */
127:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - regular trigger source */
128:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - regular trigger edge */
129:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_TRIG_EXT_EDGE_DEFAULT (ADC_CFGR_EXTEN_0) /* Trigger edge set to rising edge (
130:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
131:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Mask containing trigger source masks for each of possible */
132:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* trigger edge selection duplicated with shifts [0; 4; 8; 12] */
133:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* corresponding to {SW start; ext trigger; ext trigger; ext trigger}. */
134:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_TRIG_SOURCE_MASK (((LL_ADC_REG_TRIG_SOFTWARE & ADC_CFGR_EXTSEL) << (4U *
135:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((ADC_CFGR_EXTSEL) << (4U *
136:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((ADC_CFGR_EXTSEL) << (4U *
137:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((ADC_CFGR_EXTSEL) << (4U *
138:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
139:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Mask containing trigger edge masks for each of possible */
140:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* trigger edge selection duplicated with shifts [0; 4; 8; 12] */
141:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* corresponding to {SW start; ext trigger; ext trigger; ext trigger}. */
142:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_TRIG_EDGE_MASK (((LL_ADC_REG_TRIG_SOFTWARE & ADC_CFGR_EXTEN) << (4U *
143:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((ADC_REG_TRIG_EXT_EDGE_DEFAULT) << (4U *
144:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((ADC_REG_TRIG_EXT_EDGE_DEFAULT) << (4U *
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 4
145:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((ADC_REG_TRIG_EXT_EDGE_DEFAULT) << (4U *
146:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
147:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Definition of ADC group regular trigger bits information. */
148:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_TRIG_EXTSEL_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_CFGR_EXTSEL"
149:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_REG_TRIG_EXTEN_BITOFFSET_POS (10UL) /* Value equivalent to bitfield "ADC_CFGR_EXTEN"
150:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
151:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
152:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
153:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal mask for ADC group injected trigger: */
154:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* To select into literal LL_ADC_INJ_TRIG_x the relevant bits for: */
155:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - injected trigger source */
156:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - injected trigger edge */
157:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_INJ_TRIG_EXT_EDGE_DEFAULT (ADC_JSQR_JEXTEN_0) /* Trigger edge set to rising edge (
158:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
159:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Mask containing trigger source masks for each of possible */
160:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* trigger edge selection duplicated with shifts [0; 4; 8; 12] */
161:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* corresponding to {SW start; ext trigger; ext trigger; ext trigger}. */
162:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_INJ_TRIG_SOURCE_MASK (((LL_ADC_INJ_TRIG_SOFTWARE & ADC_JSQR_JEXTSEL) << (4U
163:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((ADC_JSQR_JEXTSEL) << (4U
164:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((ADC_JSQR_JEXTSEL) << (4U
165:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((ADC_JSQR_JEXTSEL) << (4U
166:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
167:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Mask containing trigger edge masks for each of possible */
168:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* trigger edge selection duplicated with shifts [0; 4; 8; 12] */
169:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* corresponding to {SW start; ext trigger; ext trigger; ext trigger}. */
170:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_INJ_TRIG_EDGE_MASK (((LL_ADC_INJ_TRIG_SOFTWARE & ADC_JSQR_JEXTEN) << (4U *
171:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((ADC_INJ_TRIG_EXT_EDGE_DEFAULT) << (4U *
172:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((ADC_INJ_TRIG_EXT_EDGE_DEFAULT) << (4U *
173:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((ADC_INJ_TRIG_EXT_EDGE_DEFAULT) << (4U *
174:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
175:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Definition of ADC group injected trigger bits information. */
176:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_INJ_TRIG_EXTSEL_BITOFFSET_POS ( 2UL) /* Value equivalent to bitfield "ADC_JSQR_JEXTSEL
177:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_INJ_TRIG_EXTEN_BITOFFSET_POS ( 6UL) /* Value equivalent to bitfield "ADC_JSQR_JEXTEN"
178:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
179:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
180:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
181:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
182:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
183:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
184:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal mask for ADC channel: */
185:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* To select into literal LL_ADC_CHANNEL_x the relevant bits for: */
186:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - channel identifier defined by number */
187:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - channel identifier defined by bitfield */
188:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - channel differentiation between external channels (connected to */
189:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* GPIO pins) and internal channels (connected to internal paths) */
190:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - channel sampling time defined by SMPRx register offset */
191:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* and SMPx bits positions into SMPRx register */
192:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_ID_NUMBER_MASK (ADC_CFGR_AWD1CH)
193:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_ID_BITFIELD_MASK (ADC_AWD2CR_AWD2CH)
194:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS (26UL)/* Value equivalent to bitfield "ADC_CHANNEL_ID_N
195:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_ID_MASK (ADC_CHANNEL_ID_NUMBER_MASK | ADC_CHANNEL_ID_BITFIELD_MA
196:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Equivalent mask of ADC_CHANNEL_NUMBER_MASK aligned on register LSB (bit 0) */
197:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 (ADC_SQR2_SQ5) /* Equivalent to shift: (ADC_CHANNEL_NUMB
198:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
199:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Channel differentiation between external and internal channels */
200:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_ID_INTERNAL_CH (0x80000000UL) /* Marker of internal channel */
201:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_ID_INTERNAL_CH_MASK (ADC_CHANNEL_ID_INTERNAL_CH)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 5
202:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
203:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal register offset for ADC channel sampling time configuration */
204:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* (offset placed into a spare area of literal definition) */
205:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SMPR1_REGOFFSET (0x00000000UL)
206:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SMPR2_REGOFFSET (0x02000000UL)
207:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_SMPRX_REGOFFSET_MASK (ADC_SMPR1_REGOFFSET | ADC_SMPR2_REGOFFSET)
208:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SMPRX_REGOFFSET_POS (25UL) /* Position of bits ADC_SMPRx_REGOFFSET in ADC_CH
209:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
210:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_SMPx_BITOFFSET_MASK (0x01F00000UL)
211:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_SMPx_BITOFFSET_POS (20UL) /* Value equivalent to bitfield "ADC_CH
212:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
213:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Definition of channels ID number information to be inserted into */
214:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* channels literals definition. */
215:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_0_NUMBER (0x00000000UL)
216:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_1_NUMBER (
217:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_2_NUMBER (
218:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_3_NUMBER (
219:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_4_NUMBER ( ADC_CFGR_AWD1CH
220:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_5_NUMBER ( ADC_CFGR_AWD1CH
221:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_6_NUMBER ( ADC_CFGR_AWD1CH
222:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_7_NUMBER ( ADC_CFGR_AWD1CH
223:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_8_NUMBER ( ADC_CFGR_AWD1CH_3
224:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_9_NUMBER ( ADC_CFGR_AWD1CH_3
225:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_10_NUMBER ( ADC_CFGR_AWD1CH_3
226:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_11_NUMBER ( ADC_CFGR_AWD1CH_3
227:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_12_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH
228:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_13_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH
229:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_14_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH
230:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_15_NUMBER ( ADC_CFGR_AWD1CH_3 | ADC_CFGR_AWD1CH
231:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_16_NUMBER (ADC_CFGR_AWD1CH_4
232:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_17_NUMBER (ADC_CFGR_AWD1CH_4
233:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_18_NUMBER (ADC_CFGR_AWD1CH_4
234:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_19_NUMBER (ADC_CFGR_AWD1CH_4
235:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
236:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Definition of channels ID bitfield information to be inserted into */
237:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* channels literals definition. */
238:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_0_BITFIELD (ADC_AWD2CR_AWD2CH_0)
239:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_1_BITFIELD (ADC_AWD2CR_AWD2CH_1)
240:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_2_BITFIELD (ADC_AWD2CR_AWD2CH_2)
241:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_3_BITFIELD (ADC_AWD2CR_AWD2CH_3)
242:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_4_BITFIELD (ADC_AWD2CR_AWD2CH_4)
243:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_5_BITFIELD (ADC_AWD2CR_AWD2CH_5)
244:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_6_BITFIELD (ADC_AWD2CR_AWD2CH_6)
245:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_7_BITFIELD (ADC_AWD2CR_AWD2CH_7)
246:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_8_BITFIELD (ADC_AWD2CR_AWD2CH_8)
247:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_9_BITFIELD (ADC_AWD2CR_AWD2CH_9)
248:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_10_BITFIELD (ADC_AWD2CR_AWD2CH_10)
249:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_11_BITFIELD (ADC_AWD2CR_AWD2CH_11)
250:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_12_BITFIELD (ADC_AWD2CR_AWD2CH_12)
251:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_13_BITFIELD (ADC_AWD2CR_AWD2CH_13)
252:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_14_BITFIELD (ADC_AWD2CR_AWD2CH_14)
253:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_15_BITFIELD (ADC_AWD2CR_AWD2CH_15)
254:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_16_BITFIELD (ADC_AWD2CR_AWD2CH_16)
255:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_17_BITFIELD (ADC_AWD2CR_AWD2CH_17)
256:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_18_BITFIELD (ADC_AWD2CR_AWD2CH_18)
257:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_19_BITFIELD (ADC_AWD2CR_AWD2CH_19)
258:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 6
259:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Definition of channels sampling time information to be inserted into */
260:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* channels literals definition. */
261:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_0_SMP (ADC_SMPR1_REGOFFSET | (( 0UL) << ADC_CHANNEL_SMPx_BITOF
262:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_1_SMP (ADC_SMPR1_REGOFFSET | (( 3UL) << ADC_CHANNEL_SMPx_BITOF
263:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_2_SMP (ADC_SMPR1_REGOFFSET | (( 6UL) << ADC_CHANNEL_SMPx_BITOF
264:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_3_SMP (ADC_SMPR1_REGOFFSET | (( 9UL) << ADC_CHANNEL_SMPx_BITOF
265:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_4_SMP (ADC_SMPR1_REGOFFSET | ((12UL) << ADC_CHANNEL_SMPx_BITOF
266:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_5_SMP (ADC_SMPR1_REGOFFSET | ((15UL) << ADC_CHANNEL_SMPx_BITOF
267:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_6_SMP (ADC_SMPR1_REGOFFSET | ((18UL) << ADC_CHANNEL_SMPx_BITOF
268:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_7_SMP (ADC_SMPR1_REGOFFSET | ((21UL) << ADC_CHANNEL_SMPx_BITOF
269:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_8_SMP (ADC_SMPR1_REGOFFSET | ((24UL) << ADC_CHANNEL_SMPx_BITOF
270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_9_SMP (ADC_SMPR1_REGOFFSET | ((27UL) << ADC_CHANNEL_SMPx_BITOF
271:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_10_SMP (ADC_SMPR2_REGOFFSET | (( 0UL) << ADC_CHANNEL_SMPx_BITOF
272:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_11_SMP (ADC_SMPR2_REGOFFSET | (( 3UL) << ADC_CHANNEL_SMPx_BITOF
273:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_12_SMP (ADC_SMPR2_REGOFFSET | (( 6UL) << ADC_CHANNEL_SMPx_BITOF
274:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_13_SMP (ADC_SMPR2_REGOFFSET | (( 9UL) << ADC_CHANNEL_SMPx_BITOF
275:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_14_SMP (ADC_SMPR2_REGOFFSET | ((12UL) << ADC_CHANNEL_SMPx_BITOF
276:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_15_SMP (ADC_SMPR2_REGOFFSET | ((15UL) << ADC_CHANNEL_SMPx_BITOF
277:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_16_SMP (ADC_SMPR2_REGOFFSET | ((18UL) << ADC_CHANNEL_SMPx_BITOF
278:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_17_SMP (ADC_SMPR2_REGOFFSET | ((21UL) << ADC_CHANNEL_SMPx_BITOF
279:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_18_SMP (ADC_SMPR2_REGOFFSET | ((24UL) << ADC_CHANNEL_SMPx_BITOF
280:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CHANNEL_19_SMP (ADC_SMPR2_REGOFFSET | ((27UL) << ADC_CHANNEL_SMPx_BITOF
281:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
282:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
283:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal mask for ADC mode single or differential ended: */
284:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* To select into literals LL_ADC_SINGLE_ENDED or LL_ADC_SINGLE_DIFFERENTIAL */
285:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* the relevant bits for: */
286:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* (concatenation of multiple bits used in different registers) */
287:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - ADC calibration: calibration start, calibration factor get or set */
288:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - ADC channels: set each ADC channel ending mode */
289:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SINGLEDIFF_CALIB_START_MASK (ADC_CR_ADCALDIF)
290:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SINGLEDIFF_CALIB_FACTOR_MASK (ADC_CALFACT_CALFACT_D | ADC_CALFACT_CALFACT_S)
291:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SINGLEDIFF_CHANNEL_MASK (ADC_CHANNEL_ID_BITFIELD_MASK) /* Equivalent to ADC_DIFS
292:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SINGLEDIFF_CHANNEL_SHIFT_MASK (ADC_CALFACT_CALFACT_S_4 | ADC_CALFACT_CALFACT_S_3) /* B
293:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SINGLEDIFF_CALIB_F_BIT_D_MASK (0x00010000UL) /* Selection o
294:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SINGLEDIFF_CALIB_F_BIT_D_POS (16UL) /* Selection o
295:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_SINGLEDIFF_CALIB_F_BIT_D_SHIFT4 (ADC_SINGLEDIFF_CALIB_F_BIT_D_POS - 4UL) /* Shift of bi
296:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
297:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal mask for ADC analog watchdog: */
298:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* To select into literals LL_ADC_AWD_CHANNELx_xxx the relevant bits for: */
299:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* (concatenation of multiple bits used in different analog watchdogs, */
300:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* (feature of several watchdogs not available on all STM32 families)). */
301:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - analog watchdog 1: monitored channel defined by number, */
302:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* selection of ADC group (ADC groups regular and-or injected). */
303:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - analog watchdog 2 and 3: monitored channel defined by bitfield, no */
304:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* selection on groups. */
305:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
306:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal register offset for ADC analog watchdog channel configuration */
307:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_CR1_REGOFFSET (0x00000000UL)
308:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_CR2_REGOFFSET (0x00100000UL)
309:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_CR3_REGOFFSET (0x00200000UL)
310:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
311:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Register offset gap between AWD1 and AWD2-AWD3 configuration registers */
312:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* (Set separately as ADC_AWD_CRX_REGOFFSET to spare 32 bits space */
313:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_CR12_REGOFFSETGAP_MASK (ADC_AWD2CR_AWD2CH_0)
314:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_CR12_REGOFFSETGAP_VAL (0x00000024UL)
315:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 7
316:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_CRX_REGOFFSET_MASK (ADC_AWD_CR1_REGOFFSET | ADC_AWD_CR2_REGOFFSET | ADC_AWD
317:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
318:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_CR1_CHANNEL_MASK (ADC_CFGR_AWD1CH | ADC_CFGR_JAWD1EN | ADC_CFGR_AWD1EN |
319:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_CR23_CHANNEL_MASK (ADC_AWD2CR_AWD2CH)
320:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_CR_ALL_CHANNEL_MASK (ADC_AWD_CR1_CHANNEL_MASK | ADC_AWD_CR23_CHANNEL_MASK)
321:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
322:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_CRX_REGOFFSET_POS (20UL) /* Position of bits ADC_AWD_CRx_REGOFFSET in ADC_
323:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
324:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal register offset for ADC analog watchdog threshold configuration */
325:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_TR1_REGOFFSET (ADC_AWD_CR1_REGOFFSET)
326:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_TR2_REGOFFSET (ADC_AWD_CR2_REGOFFSET)
327:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_TR3_REGOFFSET (ADC_AWD_CR3_REGOFFSET)
328:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_TRX_REGOFFSET_MASK (ADC_AWD_TR1_REGOFFSET | ADC_AWD_TR2_REGOFFSET | ADC_AWD
329:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_TRX_REGOFFSET_POS (ADC_AWD_CRX_REGOFFSET_POS) /* Position of bits ADC_
330:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
331:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_TRX_BIT_HIGH_MASK (0x00010000UL) /* Selection of 1 bit t
332:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_TRX_BIT_HIGH_POS (16UL) /* Selection of 1 bit t
333:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_TRX_BIT_HIGH_SHIFT4 (ADC_AWD_TRX_BIT_HIGH_POS - 4UL) /* Shift of bit ADC_AWD
334:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
335:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
336:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Register offset gap between AWD1 and AWD2-AWD3 thresholds registers */
337:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* (Set separately as ADC_AWD_TRX_REGOFFSET to spare 32 bits space */
338:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_TR12_REGOFFSETGAP_MASK (ADC_AWD2CR_AWD2CH_0)
339:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_AWD_TR12_REGOFFSETGAP_VAL (0x00000022UL)
340:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
341:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Legacy literals */
342:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD1_TR LL_ADC_AWD1
343:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD2_TR LL_ADC_AWD2
344:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD3_TR LL_ADC_AWD3
345:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
346:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal mask for ADC offset: */
347:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal register offset for ADC offset number configuration */
348:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_OFR1_REGOFFSET (0x00000000UL)
349:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_OFR2_REGOFFSET (0x00000001UL)
350:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_OFR3_REGOFFSET (0x00000002UL)
351:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_OFR4_REGOFFSET (0x00000003UL)
352:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_OFRx_REGOFFSET_MASK (ADC_OFR1_REGOFFSET | ADC_OFR2_REGOFFSET | ADC_OFR3_REGO
353:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
354:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
355:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* ADC registers bits positions */
356:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CFGR_RES_BITOFFSET_POS (ADC_CFGR_RES_Pos)
357:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CFGR_AWD1SGL_BITOFFSET_POS (ADC_CFGR_AWD1SGL_Pos)
358:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CFGR_AWD1EN_BITOFFSET_POS (ADC_CFGR_AWD1EN_Pos)
359:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CFGR_JAWD1EN_BITOFFSET_POS (ADC_CFGR_JAWD1EN_Pos)
360:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
361:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CFGR_RES_BITOFFSET_POS_ADC3 (ADC3_CFGR_RES_Pos)
362:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
363:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
364:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
365:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* ADC registers bits groups */
366:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_CR_BITS_PROPERTY_RS (ADC_CR_ADCAL | ADC_CR_JADSTP | ADC_CR_ADSTP | ADC_CR_JA
367:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
368:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
369:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* ADC internal channels related definitions */
370:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Internal voltage reference VrefInt */
371:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_3)
372:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define VREFINT_CAL_ADDR ((uint16_t*) (0x8fff810UL)) /* Internal voltage referen
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 8
373:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Address related to STM32
374:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else /* ADC_VER_V5_90 || ADC_VER_V5_X */
375:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define VREFINT_CAL_ADDR ((uint16_t*) (0x1FF1E860UL)) /* Internal voltage referen
376:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_3 */
377:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define VREFINT_CAL_VREF (3300UL) /* Analog voltage reference
378:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Temperature sensor */
379:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_3)
380:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define TEMPSENSOR_CAL1_ADDR ((uint16_t*) (0x8fff814UL)) /* Internal temperature sen
381:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define TEMPSENSOR_CAL2_ADDR ((uint16_t*) (0x8fff818UL)) /* Internal temperature sen
382:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Addresses related to STM
383:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else /* ADC_VER_V5_90 || ADC_VER_V5_X */
384:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define TEMPSENSOR_CAL1_ADDR ((uint16_t*) (0x1FF1E820UL)) /* Internal temperature sen
385:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define TEMPSENSOR_CAL2_ADDR ((uint16_t*) (0x1FF1E840UL)) /* Internal temperature sen
386:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_3 */
387:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
388:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define TEMPSENSOR_CAL1_TEMP (30L) /* Internal temperature sen
389:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined (STM32H742xx) || defined (STM32H743xx) || defined (STM32H753xx)
390:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define TEMPSENSOR_CAL2_TEMP ((((DBGMCU->IDCODE) >> 16) <= ((uint32_t)0x1003)) ? 110L
391:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** temperature at which temperature sensor has been calibra
392:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** 110 °C for revision Y and 130 °C for revision V (tole
393:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
394:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define TEMPSENSOR_CAL2_TEMP (110L) /* Internal temperature sen
395:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** calibrated in production for data into TEMPSENSOR_CAL2_A
396:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* defined (STM32H742xx) || defined (STM32H743xx) || defined (STM32H753xx) */
397:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define TEMPSENSOR_CAL_VREFANALOG (3300UL) /* Analog voltage reference
398:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
399:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Registers addresses with ADC linearity calibration content (programmed during device production,
400:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_LINEAR_CALIB_REG_1_ADDR ((uint32_t*) (0x1FF1EC00UL))
401:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_LINEAR_CALIB_REG_2_ADDR ((uint32_t*) (0x1FF1EC04UL))
402:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_LINEAR_CALIB_REG_3_ADDR ((uint32_t*) (0x1FF1EC08UL))
403:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_LINEAR_CALIB_REG_4_ADDR ((uint32_t*) (0x1FF1EC0CUL))
404:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_LINEAR_CALIB_REG_5_ADDR ((uint32_t*) (0x1FF1EC10UL))
405:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_LINEAR_CALIB_REG_6_ADDR ((uint32_t*) (0x1FF1EC14UL))
406:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_LINEAR_CALIB_REG_COUNT (6UL)
407:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
408:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
409:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
410:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
411:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_Alias_definition ADC Alias definition
412:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
413:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
414:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SetChannelPreSelection LL_ADC_SetChannelPreselection /* Alias of LL_ADC_SetChann
415:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
416:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
417:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
418:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
419:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
420:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Private macros ------------------------------------------------------------*/
421:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_Private_Macros ADC Private Macros
422:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
423:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
424:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
425:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
426:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Driver macro reserved for internal use: set a pointer to
427:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * a register from a register basis from which an offset
428:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is applied.
429:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __REG__ Register basis from which the offset is applied.
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 9
430:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __REG_OFFFSET__ Offset to be applied (unit: number of registers).
431:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Pointer to register address
432:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
433:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __ADC_PTR_REG_OFFSET(__REG__, __REG_OFFFSET__) \
434:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__IO uint32_t *)((uint32_t) ((uint32_t)(&(__REG__)) + ((__REG_OFFFSET__) << 2UL))))
435:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
436:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
437:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
438:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
439:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
440:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
441:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Exported types ------------------------------------------------------------*/
442:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(USE_FULL_LL_DRIVER)
443:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_ES_INIT ADC Exported Init structure
444:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
445:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
446:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
447:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
448:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Structure definition of some features of ADC common parameters
449:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and multimode
450:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (all ADC instances belonging to the same ADC common instance).
451:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note The setting of these parameters by function @ref LL_ADC_CommonInit()
452:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is conditioned to ADC instances state (all ADC instances
453:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * sharing the same ADC common instance):
454:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * All ADC instances sharing the same ADC common instance must be
455:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * disabled.
456:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
457:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** typedef struct
458:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
459:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t CommonClock; /*!< Set parameter common to several ADC: Clock source and
460:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_COMMON
461:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** @note On this STM32 series, if ADC group injected is u
462:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** clock ratio constraints between ADC clock and AH
463:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** must be respected. Refer to reference manual.
464:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
465:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
466:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
467:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t Multimode; /*!< Set ADC multimode configuration to operate in independ
468:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_MULTI_
469:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
470:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
471:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
472:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t MultiDMATransfer; /*!< Set ADC dual ADC mode DMA transfer data format: Each D
473:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_MULTI_
474:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
475:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
476:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
477:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t MultiTwoSamplingDelay; /*!< Set ADC multimode delay between 2 sampling phases.
478:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_MULTI_
479:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
480:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
481:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
482:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** } LL_ADC_CommonInitTypeDef;
483:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
484:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
485:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Structure definition of some features of ADC instance.
486:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note These parameters have an impact on ADC scope: ADC instance.
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 10
487:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Affects both group regular and group injected (availability
488:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * of ADC group injected depends on STM32 families).
489:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to corresponding unitary functions into
490:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref ADC_LL_EF_Configuration_ADC_Instance .
491:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note The setting of these parameters by function @ref LL_ADC_Init()
492:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is conditioned to ADC state:
493:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC instance must be disabled.
494:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This condition is applied to all ADC features, for efficiency
495:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and compatibility over all STM32 families. However, the different
496:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * features can be set under different ADC state conditions
497:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (setting possible with ADC enabled without conversion on going,
498:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC enabled with conversion on going, ...)
499:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Each feature can be updated afterwards with a unitary function
500:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and potentially with ADC in a different state than disabled,
501:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * refer to description of each function for setting
502:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * conditioned to ADC state.
503:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
504:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** typedef struct
505:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
506:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t Resolution; /*!< Set ADC resolution.
507:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_RESOLU
508:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
509:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
510:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
511:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t LeftBitShift; /*!< Configures the left shifting applied to the final resu
512:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_LEFT_B
513:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
514:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t LowPowerMode; /*!< Set ADC low power mode.
515:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_LP_MOD
516:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
517:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
518:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
519:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** } LL_ADC_InitTypeDef;
520:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
521:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
522:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Structure definition of some features of ADC group regular.
523:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note These parameters have an impact on ADC scope: ADC group regular.
524:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to corresponding unitary functions into
525:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref ADC_LL_EF_Configuration_ADC_Group_Regular
526:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (functions with prefix "REG").
527:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note The setting of these parameters by function @ref LL_ADC_REG_Init()
528:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is conditioned to ADC state:
529:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC instance must be disabled.
530:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This condition is applied to all ADC features, for efficiency
531:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and compatibility over all STM32 families. However, the different
532:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * features can be set under different ADC state conditions
533:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (setting possible with ADC enabled without conversion on going,
534:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC enabled with conversion on going, ...)
535:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Each feature can be updated afterwards with a unitary function
536:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and potentially with ADC in a different state than disabled,
537:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * refer to description of each function for setting
538:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * conditioned to ADC state.
539:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
540:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** typedef struct
541:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
542:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t TriggerSource; /*!< Set ADC group regular conversion trigger source: inter
543:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_TR
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 11
544:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** @note On this STM32 series, setting trigger source to
545:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (default setting for compatibility with some ADC
546:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** In case of need to modify trigger edge, use func
547:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
548:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
549:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
550:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t SequencerLength; /*!< Set ADC group regular sequencer length.
551:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_SE
552:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
553:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
554:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
555:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t SequencerDiscont; /*!< Set ADC group regular sequencer discontinuous mode: se
556:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_SE
557:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** @note This parameter has an effect only if group regul
558:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (scan length of 2 ranks or more).
559:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
560:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
561:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
562:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t ContinuousMode; /*!< Set ADC continuous conversion mode on ADC group regula
563:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_CO
564:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** Note: It is not possible to enable both ADC group regu
565:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
566:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
567:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
568:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t DataTransferMode; /*!< Set ADC group regular conversion data transfer mode: n
569:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_DA
570:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
571:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
572:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
573:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t Overrun; /*!< Set ADC group regular behavior in case of overrun:
574:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** data preserved or overwritten.
575:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_REG_OV
576:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
577:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
578:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
579:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** } LL_ADC_REG_InitTypeDef;
580:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
581:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
582:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Structure definition of some features of ADC group injected.
583:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note These parameters have an impact on ADC scope: ADC group injected.
584:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to corresponding unitary functions into
585:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref ADC_LL_EF_Configuration_ADC_Group_Regular
586:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (functions with prefix "INJ").
587:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note The setting of these parameters by function @ref LL_ADC_INJ_Init()
588:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is conditioned to ADC state:
589:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC instance must be disabled.
590:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This condition is applied to all ADC features, for efficiency
591:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and compatibility over all STM32 families. However, the different
592:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * features can be set under different ADC state conditions
593:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (setting possible with ADC enabled without conversion on going,
594:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC enabled with conversion on going, ...)
595:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Each feature can be updated afterwards with a unitary function
596:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and potentially with ADC in a different state than disabled,
597:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * refer to description of each function for setting
598:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * conditioned to ADC state.
599:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
600:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** typedef struct
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 12
601:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
602:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t TriggerSource; /*!< Set ADC group injected conversion trigger source: inte
603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_INJ_TR
604:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** @note On this STM32 series, setting trigger source to
605:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (default setting for compatibility with some ADC
606:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** In case of need to modify trigger edge, use func
607:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
608:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
609:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
610:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t SequencerLength; /*!< Set ADC group injected sequencer length.
611:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_INJ_SE
612:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
613:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
614:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
615:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t SequencerDiscont; /*!< Set ADC group injected sequencer discontinuous mode: s
616:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_INJ_SE
617:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** @note This parameter has an effect only if group injec
618:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (scan length of 2 ranks or more).
619:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
620:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
621:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
622:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t TrigAuto; /*!< Set ADC group injected conversion trigger: independent
623:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This parameter can be a value of @ref ADC_LL_EC_INJ_TR
624:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** Note: This parameter must be set to set to independent
625:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
626:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** This feature can be modified afterwards using unitary
627:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
628:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** } LL_ADC_INJ_InitTypeDef;
629:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
630:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
631:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
632:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
633:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* USE_FULL_LL_DRIVER */
634:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
635:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Exported constants --------------------------------------------------------*/
636:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_Exported_Constants ADC Exported Constants
637:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
638:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
639:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
640:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_FLAG ADC flags
641:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Flags defines which can be used with LL_ADC_ReadReg function
642:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
643:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
644:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_ADRDY ADC_ISR_ADRDY /*!< ADC flag ADC instance ready */
645:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_EOC ADC_ISR_EOC /*!< ADC flag ADC group regular end o
646:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_EOS ADC_ISR_EOS /*!< ADC flag ADC group regular end o
647:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_OVR ADC_ISR_OVR /*!< ADC flag ADC group regular overr
648:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_EOSMP ADC_ISR_EOSMP /*!< ADC flag ADC group regular end o
649:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_JEOC ADC_ISR_JEOC /*!< ADC flag ADC group injected end
650:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_JEOS ADC_ISR_JEOS /*!< ADC flag ADC group injected end
651:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_JQOVF ADC_ISR_JQOVF /*!< ADC flag ADC group injected cont
652:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_AWD1 ADC_ISR_AWD1 /*!< ADC flag ADC analog watchdog 1 *
653:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_AWD2 ADC_ISR_AWD2 /*!< ADC flag ADC analog watchdog 2 *
654:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_AWD3 ADC_ISR_AWD3 /*!< ADC flag ADC analog watchdog 3 *
655:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_LDORDY ADC_ISR_LDORDY /*!< ADC flag ADC LDO output voltage
656:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_ADRDY_MST ADC_CSR_ADRDY_MST /*!< ADC flag ADC multimode master in
657:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_ADRDY_SLV ADC_CSR_ADRDY_SLV /*!< ADC flag ADC multimode slave ins
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 13
658:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_EOC_MST ADC_CSR_EOC_MST /*!< ADC flag ADC multimode master gr
659:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_EOC_SLV ADC_CSR_EOC_SLV /*!< ADC flag ADC multimode slave gro
660:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_EOS_MST ADC_CSR_EOS_MST /*!< ADC flag ADC multimode master gr
661:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_EOS_SLV ADC_CSR_EOS_SLV /*!< ADC flag ADC multimode slave gro
662:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_OVR_MST ADC_CSR_OVR_MST /*!< ADC flag ADC multimode master gr
663:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_OVR_SLV ADC_CSR_OVR_SLV /*!< ADC flag ADC multimode slave gro
664:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_EOSMP_MST ADC_CSR_EOSMP_MST /*!< ADC flag ADC multimode master gr
665:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_EOSMP_SLV ADC_CSR_EOSMP_SLV /*!< ADC flag ADC multimode slave gro
666:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_JEOC_MST ADC_CSR_JEOC_MST /*!< ADC flag ADC multimode master gr
667:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_JEOC_SLV ADC_CSR_JEOC_SLV /*!< ADC flag ADC multimode slave gro
668:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_JEOS_MST ADC_CSR_JEOS_MST /*!< ADC flag ADC multimode master gr
669:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_JEOS_SLV ADC_CSR_JEOS_SLV /*!< ADC flag ADC multimode slave gro
670:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_JQOVF_MST ADC_CSR_JQOVF_MST /*!< ADC flag ADC multimode master gr
671:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_JQOVF_SLV ADC_CSR_JQOVF_SLV /*!< ADC flag ADC multimode slave gro
672:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_AWD1_MST ADC_CSR_AWD1_MST /*!< ADC flag ADC multimode master an
673:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_AWD1_SLV ADC_CSR_AWD1_SLV /*!< ADC flag ADC multimode slave ana
674:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_AWD2_MST ADC_CSR_AWD2_MST /*!< ADC flag ADC multimode master an
675:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_AWD2_SLV ADC_CSR_AWD2_SLV /*!< ADC flag ADC multimode slave ana
676:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_AWD3_MST ADC_CSR_AWD3_MST /*!< ADC flag ADC multimode master an
677:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_FLAG_AWD3_SLV ADC_CSR_AWD3_SLV /*!< ADC flag ADC multimode slave ana
678:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
679:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
680:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
681:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
682:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_IT ADC interruptions for configuration (interruption enable or disable)
683:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief IT defines which can be used with LL_ADC_ReadReg and LL_ADC_WriteReg functions
684:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
685:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
686:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_IT_ADRDY ADC_IER_ADRDYIE /*!< ADC interruption ADC instance re
687:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_IT_EOC ADC_IER_EOCIE /*!< ADC interruption ADC group regul
688:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_IT_EOS ADC_IER_EOSIE /*!< ADC interruption ADC group regul
689:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_IT_OVR ADC_IER_OVRIE /*!< ADC interruption ADC group regul
690:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_IT_EOSMP ADC_IER_EOSMPIE /*!< ADC interruption ADC group regul
691:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_IT_JEOC ADC_IER_JEOCIE /*!< ADC interruption ADC group injec
692:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_IT_JEOS ADC_IER_JEOSIE /*!< ADC interruption ADC group injec
693:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_IT_JQOVF ADC_IER_JQOVFIE /*!< ADC interruption ADC group injec
694:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_IT_AWD1 ADC_IER_AWD1IE /*!< ADC interruption ADC analog watc
695:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_IT_AWD2 ADC_IER_AWD2IE /*!< ADC interruption ADC analog watc
696:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_IT_AWD3 ADC_IER_AWD3IE /*!< ADC interruption ADC analog watc
697:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
698:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
699:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
700:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
701:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REGISTERS ADC registers compliant with specific purpose
702:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
703:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
704:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* List of ADC registers intended to be used (most commonly) with */
705:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* DMA transfer. */
706:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Refer to function @ref LL_ADC_DMA_GetRegAddr(). */
707:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_DMA_REG_REGULAR_DATA (0x00000000UL) /* ADC group regular conversion data re
708:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_DMA_REG_REGULAR_DATA_MULTI (0x00000001UL) /* ADC group regular conversion data re
709:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
710:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
711:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
712:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
713:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_COMMON_CLOCK_SOURCE ADC common - Clock source
714:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 14
715:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
716:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_SYNC_PCLK_DIV1 (ADC_CCR_CKMODE_0) /*
717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_SYNC_PCLK_DIV2 (ADC_CCR_CKMODE_1 ) /*
718:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_SYNC_PCLK_DIV4 (ADC_CCR_CKMODE_1 | ADC_CCR_CKMODE_0) /*
719:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_ASYNC_DIV1 (0x00000000UL) /*
720:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_ASYNC_DIV2 (ADC_CCR_PRESC_0) /*
721:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_ASYNC_DIV4 (ADC_CCR_PRESC_1 ) /*
722:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_ASYNC_DIV6 (ADC_CCR_PRESC_1 | ADC_CCR_PRESC_0) /*
723:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_ASYNC_DIV8 (ADC_CCR_PRESC_2 ) /*
724:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_ASYNC_DIV10 (ADC_CCR_PRESC_2 | ADC_CCR_PRESC_0) /*
725:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_ASYNC_DIV12 (ADC_CCR_PRESC_2 | ADC_CCR_PRESC_1 ) /*
726:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_ASYNC_DIV16 (ADC_CCR_PRESC_2 | ADC_CCR_PRESC_1 | ADC_CCR_PRESC_0) /*
727:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_ASYNC_DIV32 (ADC_CCR_PRESC_3) /*
728:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_ASYNC_DIV64 (ADC_CCR_PRESC_3 | ADC_CCR_PRESC_0) /*
729:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_ASYNC_DIV128 (ADC_CCR_PRESC_3 | ADC_CCR_PRESC_1) /*
730:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CLOCK_ASYNC_DIV256 (ADC_CCR_PRESC_3 | ADC_CCR_PRESC_1 | ADC_CCR_PRESC_0) /*
731:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
732:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
734:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
735:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_COMMON_PATH_INTERNAL ADC common - Measurement path to internal channels
736:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
737:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
738:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Note: Other measurement paths to internal channels may be available */
739:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* (connections to other peripherals). */
740:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* If they are not listed below, they do not require any specific */
741:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* path enable. In this case, Access to measurement path is done */
742:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* only by selecting the corresponding ADC internal channel. */
743:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_PATH_INTERNAL_NONE (0x00000000UL) /*!< ADC measurement paths all di
744:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_PATH_INTERNAL_VREFINT (ADC_CCR_VREFEN) /*!< ADC measurement path to inte
745:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_PATH_INTERNAL_TEMPSENSOR (ADC_CCR_TSEN) /*!< ADC measurement path to inte
746:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_PATH_INTERNAL_VBAT (ADC_CCR_VBATEN) /*!< ADC measurement path to inte
747:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
748:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
749:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
750:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
751:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_BOOST_MODE ADC instance - Boost mode
752:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
753:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
754:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_BOOST_MODE_6MHZ25 (0x00000000UL) /*!< B
755:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_BOOST_MODE_12MHZ5 ( ADC_CR_BOOST_0) /*!< B
756:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_BOOST_MODE_20MHZ ( ADC_CR_BOOST_1 ) /*!< B
757:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_BOOST_MODE_25MHZ ((ADC_CR_BOOST_0 <<2) | ADC_CR_BOOST_1 ) /*!< B
758:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_BOOST_MODE_50MHZ ((ADC_CR_BOOST_0 <<2) | ADC_CR_BOOST_1 | ADC_CR_BOOST_0) /*!< B
759:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
760:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
761:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
762:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
763:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_CALIBRATION_OFFSET_LINEARITY ADC instance - Calibration mode for offset an
764:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
765:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
766:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CALIB_OFFSET (ADC_CALIB_FACTOR_OFFSET_REGOFFSET)
767:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CALIB_LINEARITY (ADC_CALIB_FACTOR_LINEARITY_REGOFFSET)
768:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CALIB_OFFSET_LINEARITY (ADC_CALIB_FACTOR_LINEARITY_REGOFFSET | ADC_CR_ADCALLIN)
769:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
770:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
771:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 15
772:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
773:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_CALIBRATION_LINEARITY_WORD ADC instance - Calibration linearity words
774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
775:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
776:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CALIB_LINEARITY_WORD1 (ADC_CR_LINCALRDYW1) /*!< ADC calibration linearity w
777:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CALIB_LINEARITY_WORD2 (ADC_CR_LINCALRDYW2) /*!< ADC calibration linearity w
778:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CALIB_LINEARITY_WORD3 (ADC_CR_LINCALRDYW3) /*!< ADC calibration linearity w
779:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CALIB_LINEARITY_WORD4 (ADC_CR_LINCALRDYW4) /*!< ADC calibration linearity w
780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CALIB_LINEARITY_WORD5 (ADC_CR_LINCALRDYW5) /*!< ADC calibration linearity w
781:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CALIB_LINEARITY_WORD6 (ADC_CR_LINCALRDYW6) /*!< ADC calibration linearity w
782:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
784:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
785:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_RESOLUTION ADC instance - Resolution
787:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
788:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
789:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_RESOLUTION_16B (0x00000000UL) /*!<
790:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_RESOLUTION_14B ( ADC_CFGR_RES_0) /*!<
791:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_RESOLUTION_12B ( ADC_CFGR_RES_1 ) /*!<
792:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_RESOLUTION_10B ( ADC_CFGR_RES_1 | ADC_CFGR_RES_0) /*!<
793:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
794:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined (ADC_VER_V5_X)
795:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_RESOLUTION_14B_OPT (ADC_CFGR_RES_2 | ADC_CFGR_RES_0) /*!<
796:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_RESOLUTION_12B_OPT (ADC_CFGR_RES_2 | ADC_CFGR_RES_1 ) /*!<
797:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif
798:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
799:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined (ADC_VER_V5_3) || defined(ADC_VER_V5_V90)
800:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_RESOLUTION_8B (ADC_CFGR_RES_2|ADC_CFGR_RES_1 | ADC_CFGR_RES_0) /*!< AD
801:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
802:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_RESOLUTION_8B (ADC_CFGR_RES_2 ) /*!< AD
803:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /*!< Th
804:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
805:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
806:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif
807:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
808:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_RESOLUTION_6B (ADC3_CFGR_RES_1 | ADC3_CFGR_RES_0) /*!< ADC resolutio
809:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
810:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
811:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
812:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
813:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
814:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
815:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_DATA_ALIGN ADC instance - Data alignment
816:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
817:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
818:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_DATA_ALIGN_RIGHT (0x00000000UL) /*!< ADC conversion data alignmen
819:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_DATA_ALIGN_LEFT (ADC3_CFGR_ALIGN) /*!< ADC conversion data alignme
820:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
821:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
822:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
823:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
824:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
825:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
826:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_LEFT_BIT_SHIFT ADC left Shift
827:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
828:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 16
829:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_NONE (0x00000000UL)
830:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_1 (ADC_CFGR2_LSHIFT_0)
831:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_2 (ADC_CFGR2_LSHIFT_1)
832:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_3 (ADC_CFGR2_LSHIFT_1 | ADC_CFGR2_LSHIFT_0)
833:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_4 (ADC_CFGR2_LSHIFT_2)
834:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_5 (ADC_CFGR2_LSHIFT_2 | ADC_CFGR2_LSHIFT_0)
835:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_6 (ADC_CFGR2_LSHIFT_2 | ADC_CFGR2_LSHIFT_1)
836:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_7 (ADC_CFGR2_LSHIFT_2 | ADC_CFGR2_LSHIFT_1 | ADC_CFGR2_LSHIFT_0)
837:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_8 (ADC_CFGR2_LSHIFT_3)
838:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_9 (ADC_CFGR2_LSHIFT_3 | ADC_CFGR2_LSHIFT_0)
839:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_10 (ADC_CFGR2_LSHIFT_3 | ADC_CFGR2_LSHIFT_1)
840:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_11 (ADC_CFGR2_LSHIFT_3 | ADC_CFGR2_LSHIFT_1 | ADC_CFGR2_LSHIFT_0)
841:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_12 (ADC_CFGR2_LSHIFT_3 | ADC_CFGR2_LSHIFT_2)
842:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_13 (ADC_CFGR2_LSHIFT_3 | ADC_CFGR2_LSHIFT_2 | ADC_CFGR2_LSHIFT_0)
843:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_14 (ADC_CFGR2_LSHIFT_3 | ADC_CFGR2_LSHIFT_2 | ADC_CFGR2_LSHIFT_1)
844:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LEFT_BIT_SHIFT_15 (ADC_CFGR2_LSHIFT_3 | ADC_CFGR2_LSHIFT_2 | ADC_CFGR2_LSHIFT_1 |
845:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
846:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
847:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
848:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
849:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_LP_MODE ADC instance - Low power mode
850:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
851:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
852:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LP_MODE_NONE (0x00000000UL) /*!< No ADC low powe
853:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_LP_AUTOWAIT (ADC_CFGR_AUTDLY) /*!< ADC low power m
854:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
855:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
856:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
857:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
858:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_OFFSET_NB ADC instance - Offset number
859:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
860:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
861:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OFFSET_1 ADC_OFR1_REGOFFSET /*!< ADC offset number 1: ADC channel
862:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OFFSET_2 ADC_OFR2_REGOFFSET /*!< ADC offset number 2: ADC channel
863:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OFFSET_3 ADC_OFR3_REGOFFSET /*!< ADC offset number 3: ADC channel
864:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OFFSET_4 ADC_OFR4_REGOFFSET /*!< ADC offset number 4: ADC channel
865:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
866:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
867:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
868:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
869:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_OFFSET_SIGNED_SATURATION ADC instance - Offset signed saturation mode
870:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
871:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
872:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OFFSET_SIGNED_SATURATION_DISABLE (0x00000000UL) /*!< ADC offset signed saturatio
873:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OFFSET_SIGNED_SATURATION_ENABLE (ADC_OFR1_SSATE) /*!< ADC offset signed saturatio
874:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
875:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
876:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
877:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
878:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_OFFSET_RSHIFT ADC instance - Offset right shift
879:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
880:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
881:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OFFSET_RSHIFT_DISABLE (0x00000000UL) /*!< ADC offset right shift is disabled
882:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OFFSET_RSHIFT_ENABLE (ADC_CFGR2_RSHIFT1) /*!< ADC offset right shift is enabled (
883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
884:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
885:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 17
886:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
887:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_OFFSET_SATURATION ADC instance - Offset saturation mode
888:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
889:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
890:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OFFSET_SATURATION_DISABLE (0x00000000UL) /*!< ADC offset saturation is d
891:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OFFSET_SATURATION_ENABLE (ADC3_OFR1_SATEN) /*!< ADC offset saturation is e
892:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
893:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
894:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
895:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
896:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_OFFSET_STATE ADC instance - Offset state
897:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
898:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
899:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OFFSET_DISABLE (0x00000000UL) /*!< ADC offset disabled (among A
900:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OFFSET_ENABLE (ADC3_OFR1_OFFSET1_EN) /*!< ADC offset enabled (among A
901:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
902:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
903:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
904:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
905:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_OFFSET_SIGN ADC instance - Offset sign
906:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
907:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
908:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OFFSET_SIGN_NEGATIVE (0x00000000UL) /*!< ADC offset is negative (among
909:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OFFSET_SIGN_POSITIVE (ADC3_OFR1_OFFSETPOS) /*!< ADC offset is positive (among
910:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
911:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
912:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
913:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
914:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
915:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
916:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
917:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_GROUPS ADC instance - Groups
918:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
919:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
920:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_GROUP_REGULAR (0x00000001UL) /*!< ADC group regular (available on all
921:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_GROUP_INJECTED (0x00000002UL) /*!< ADC group injected (not available on
922:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_GROUP_REGULAR_INJECTED (0x00000003UL) /*!< ADC both groups regular and injected
923:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
924:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
925:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
926:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
927:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_CHANNEL ADC instance - Channel number
928:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
929:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_0 (ADC_CHANNEL_0_NUMBER | ADC_CHANNEL_0_SMP | ADC_CHANNE
931:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_1 (ADC_CHANNEL_1_NUMBER | ADC_CHANNEL_1_SMP | ADC_CHANNE
932:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_2 (ADC_CHANNEL_2_NUMBER | ADC_CHANNEL_2_SMP | ADC_CHANNE
933:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_3 (ADC_CHANNEL_3_NUMBER | ADC_CHANNEL_3_SMP | ADC_CHANNE
934:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_4 (ADC_CHANNEL_4_NUMBER | ADC_CHANNEL_4_SMP | ADC_CHANNE
935:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_5 (ADC_CHANNEL_5_NUMBER | ADC_CHANNEL_5_SMP | ADC_CHANNE
936:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_6 (ADC_CHANNEL_6_NUMBER | ADC_CHANNEL_6_SMP | ADC_CHANNE
937:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_7 (ADC_CHANNEL_7_NUMBER | ADC_CHANNEL_7_SMP | ADC_CHANNE
938:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_8 (ADC_CHANNEL_8_NUMBER | ADC_CHANNEL_8_SMP | ADC_CHANNE
939:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_9 (ADC_CHANNEL_9_NUMBER | ADC_CHANNEL_9_SMP | ADC_CHANNE
940:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_10 (ADC_CHANNEL_10_NUMBER | ADC_CHANNEL_10_SMP | ADC_CHANNE
941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_11 (ADC_CHANNEL_11_NUMBER | ADC_CHANNEL_11_SMP | ADC_CHANNE
942:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_12 (ADC_CHANNEL_12_NUMBER | ADC_CHANNEL_12_SMP | ADC_CHANNE
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 18
943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_13 (ADC_CHANNEL_13_NUMBER | ADC_CHANNEL_13_SMP | ADC_CHANNE
944:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_14 (ADC_CHANNEL_14_NUMBER | ADC_CHANNEL_14_SMP | ADC_CHANNE
945:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_15 (ADC_CHANNEL_15_NUMBER | ADC_CHANNEL_15_SMP | ADC_CHANNE
946:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_16 (ADC_CHANNEL_16_NUMBER | ADC_CHANNEL_16_SMP | ADC_CHANNE
947:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_17 (ADC_CHANNEL_17_NUMBER | ADC_CHANNEL_17_SMP | ADC_CHANNE
948:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_18 (ADC_CHANNEL_18_NUMBER | ADC_CHANNEL_18_SMP | ADC_CHANNE
949:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_19 (ADC_CHANNEL_19_NUMBER | ADC_CHANNEL_19_SMP | ADC_CHANNE
950:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC3)
951:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
952:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_VREFINT (LL_ADC_CHANNEL_18 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD
953:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_TEMPSENSOR (LL_ADC_CHANNEL_17 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD
954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_VBAT (LL_ADC_CHANNEL_16 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD
955:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
956:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_VREFINT (LL_ADC_CHANNEL_19 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD
957:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_TEMPSENSOR (LL_ADC_CHANNEL_18 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD
958:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_VBAT (LL_ADC_CHANNEL_17 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD
959:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
960:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
961:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /*!< Specific define for STM32H7A3xx and STM32HB3xx varieties of STM32H7XXX */
962:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_VREFINT (LL_ADC_CHANNEL_19 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD
963:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_TEMPSENSOR (LL_ADC_CHANNEL_18 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD
964:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_VBAT (LL_ADC_CHANNEL_14 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD
965:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif
966:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_DAC1CH1_ADC2 (LL_ADC_CHANNEL_16 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD
967:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_DAC1CH2_ADC2 (LL_ADC_CHANNEL_17 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD
968:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(DAC2)
969:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /*!< Specific define for STM32H7A3xx and STM32HB3xx varieties of STM32H7XXX */
970:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_CHANNEL_DAC2CH1_ADC2 (LL_ADC_CHANNEL_15 | ADC_CHANNEL_ID_INTERNAL_CH) /*!< AD
971:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif
972:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
973:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
974:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
975:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
976:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_TRIGGER_SOURCE ADC group regular - Trigger source
977:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
978:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
979:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_SOFTWARE (0x00000000UL)
980:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM1_CH1 (ADC_REG_TRIG_EXT_EDGE_DEFAULT)
981:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM1_CH2 (ADC_CFGR_EXTSEL_0 | ADC_REG_TRIG_EXT_EDGE_DEFAULT)
982:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM1_CH3 (ADC_CFGR_EXTSEL_1 | ADC_REG_TRIG_EXT_EDGE_DEFAULT)
983:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM2_CH2 (ADC_CFGR_EXTSEL_1 | ADC_CFGR_EXTSEL_0 | ADC_REG_TRIG_EXT
984:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM3_TRGO (ADC_CFGR_EXTSEL_2 | ADC_REG_TRIG_EXT_EDGE_DEFAULT)
985:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM4_CH4 (ADC_CFGR_EXTSEL_2 | ADC_CFGR_EXTSEL_0 | ADC_REG_TRIG_EXT
986:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_EXTI_LINE11 (ADC_CFGR_EXTSEL_2 | ADC_CFGR_EXTSEL_1 | ADC_REG_TRIG_EXT
987:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM8_TRGO (ADC_CFGR_EXTSEL_2 | ADC_CFGR_EXTSEL_1 | ADC_CFGR_EXTSEL_
988:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM8_TRGO2 (ADC_CFGR_EXTSEL_3 | ADC_REG_TRIG_EXT_EDGE_DEFAULT)
989:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM1_TRGO (ADC_CFGR_EXTSEL_3 | ADC_CFGR_EXTSEL_0 | ADC_REG_TRIG_EXT
990:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM1_TRGO2 (ADC_CFGR_EXTSEL_3 | ADC_CFGR_EXTSEL_1 | ADC_REG_TRIG_EXT
991:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM2_TRGO (ADC_CFGR_EXTSEL_3 | ADC_CFGR_EXTSEL_1 | ADC_CFGR_EXTSEL_
992:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM4_TRGO (ADC_CFGR_EXTSEL_3 | ADC_CFGR_EXTSEL_2 | ADC_REG_TRIG_EXT
993:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM6_TRGO (ADC_CFGR_EXTSEL_3 | ADC_CFGR_EXTSEL_2 | ADC_CFGR_EXTSEL_
994:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM15_TRGO (ADC_CFGR_EXTSEL_3 | ADC_CFGR_EXTSEL_2 | ADC_CFGR_EXTSEL_
995:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM3_CH4 (ADC_CFGR_EXTSEL_3 | ADC_CFGR_EXTSEL_2 | ADC_CFGR_EXTSEL_
996:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_HRTIM_TRG1 (ADC_CFGR_EXTSEL_4 | ADC_REG_TRIG_EXT_EDGE_DEFAULT)
997:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_HRTIM_TRG3 (ADC_CFGR_EXTSEL_4 | ADC_CFGR_EXTSEL_0 | ADC_REG_TRIG_EXT
998:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_LPTIM1_OUT (ADC_CFGR_EXTSEL_4 | ADC_CFGR_EXTSEL_1 | ADC_REG_TRIG_EXT
999:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_LPTIM2_OUT (ADC_CFGR_EXTSEL_4 | ADC_CFGR_EXTSEL_1 | ADC_CFGR_EXTSEL_
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 19
1000:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_LPTIM3_OUT (ADC_CFGR_EXTSEL_4 | ADC_CFGR_EXTSEL_2 | ADC_REG_TRIG_EXT
1001:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined (TIM23)
1002:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM23_TRGO (ADC_CFGR_EXTSEL_4 | ADC_CFGR_EXTSEL_2 | ADC_CFGR_EXTSEL_
1003:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* TIM23 */
1004:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined (TIM24)
1005:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_TIM24_TRGO (ADC_CFGR_EXTSEL_4 | ADC_CFGR_EXTSEL_2 | ADC_CFGR_EXTSEL_
1006:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* TIM24 */
1007:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1008:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1009:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1010:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1011:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_TRIGGER_EDGE ADC group regular - Trigger edge
1012:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1013:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1014:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_RISING ( ADC_CFGR_EXTEN_0) /*!< ADC group r
1015:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_FALLING (ADC_CFGR_EXTEN_1 ) /*!< ADC group r
1016:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_TRIG_EXT_RISINGFALLING (ADC_CFGR_EXTEN_1 | ADC_CFGR_EXTEN_0) /*!< ADC group r
1017:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1018:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1019:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1020:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
1021:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_SAMPLING_MODE ADC group regular - Sampling mode
1022:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1023:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1024:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SAMPLING_MODE_NORMAL (0x00000000UL) /*!< ADC conversions sa
1025:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SAMPLING_MODE_BULB (ADC3_CFGR2_BULB) /*!< ADC conversions sa
1026:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** Note: First conver
1027:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SAMPLING_MODE_TRIGGER_CONTROLED (ADC3_CFGR2_SMPTRIG) /*!< ADC conversions sa
1028:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** Trigger rising edg
1029:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** Trigger falling ed
1030:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1031:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1032:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1033:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
1034:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1035:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_CONTINUOUS_MODE ADC group regular - Continuous mode
1036:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1037:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1038:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_CONV_SINGLE (0x00000000UL) /*!< ADC conversions are perform
1039:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_CONV_CONTINUOUS (ADC_CFGR_CONT) /*!< ADC conversions are perform
1040:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1041:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1042:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1043:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1044:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_DATA_TRANSFER_MODE ADC group regular - Data transfer mode of ADC conve
1045:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1046:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1047:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_DR_TRANSFER (0x00000000UL) /*!< ADC conversio
1048:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_DMA_TRANSFER_LIMITED ( ADC_CFGR_DMNGT_0) /*!< ADC conversio
1049:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_DMA_TRANSFER_UNLIMITED (ADC_CFGR_DMNGT_1 | ADC_CFGR_DMNGT_0) /*!< ADC conversio
1050:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_DFSDM_TRANSFER (ADC_CFGR_DMNGT_1 ) /*!< ADC conversio
1051:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1052:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1053:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1054:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1055:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
1056:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_DMA_TRANSFER ADC group regular - DMA transfer of ADC conversion data
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 20
1057:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1058:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1059:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1060:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC3_REG_DMA_TRANSFER_NONE (0x00000000UL) /*!< ADC conversi
1061:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC3_REG_DMA_TRANSFER_LIMITED ( ADC3_CFGR_DMAEN) /*!< ADC convers
1062:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC3_REG_DMA_TRANSFER_UNLIMITED (ADC3_CFGR_DMACFG | ADC3_CFGR_DMAEN) /*!< ADC conver
1063:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1064:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1065:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1066:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
1067:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1068:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_OVR_DATA_BEHAVIOR ADC group regular - Overrun behavior on conversion d
1069:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1070:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1071:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_OVR_DATA_PRESERVED (0x00000000UL) /*!< ADC group regular behavior i
1072:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_OVR_DATA_OVERWRITTEN (ADC_CFGR_OVRMOD) /*!< ADC group regular behavior i
1073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1074:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1076:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1077:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_SEQ_SCAN_LENGTH ADC group regular - Sequencer scan length
1078:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1079:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1080:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_DISABLE (0x00000000UL)
1081:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS ( ADC_SQR1_L
1082:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_3RANKS ( ADC_SQR1_L_1
1083:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_4RANKS ( ADC_SQR1_L_1 | ADC_SQR1_L
1084:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_5RANKS ( ADC_SQR1_L_2
1085:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_6RANKS ( ADC_SQR1_L_2 | ADC_SQR1_L
1086:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_7RANKS ( ADC_SQR1_L_2 | ADC_SQR1_L_1
1087:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_8RANKS ( ADC_SQR1_L_2 | ADC_SQR1_L_1 | ADC_SQR1_L
1088:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_9RANKS (ADC_SQR1_L_3
1089:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_10RANKS (ADC_SQR1_L_3 | ADC_SQR1_L
1090:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_11RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_1
1091:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_12RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_1 | ADC_SQR1_L
1092:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_13RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_2
1093:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_14RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_2 | ADC_SQR1_L
1094:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_15RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_2 | ADC_SQR1_L_1
1095:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS (ADC_SQR1_L_3 | ADC_SQR1_L_2 | ADC_SQR1_L_1 | ADC_SQR1_L
1096:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1097:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1098:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1099:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1100:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_SEQ_DISCONT_MODE ADC group regular - Sequencer discontinuous mode
1101:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1102:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1103:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_DISABLE (0x00000000UL)
1104:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_1RANK (
1105:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_2RANKS ( ADC_CFGR_DISC
1106:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_3RANKS ( ADC_CFGR_DISCNUM_1
1107:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_4RANKS ( ADC_CFGR_DISCNUM_1 | ADC_CFGR_DISC
1108:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_5RANKS (ADC_CFGR_DISCNUM_2
1109:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_6RANKS (ADC_CFGR_DISCNUM_2 | ADC_CFGR_DISC
1110:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_7RANKS (ADC_CFGR_DISCNUM_2 | ADC_CFGR_DISCNUM_1
1111:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_SEQ_DISCONT_8RANKS (ADC_CFGR_DISCNUM_2 | ADC_CFGR_DISCNUM_1 | ADC_CFGR_DISC
1112:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1113:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 21
1114:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1115:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1116:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_REG_SEQ_RANKS ADC group regular - Sequencer ranks
1117:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1118:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1119:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_1 (ADC_SQR1_REGOFFSET | ADC_REG_RANK_1_SQRX_BITOFFSET_POS)
1120:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_2 (ADC_SQR1_REGOFFSET | ADC_REG_RANK_2_SQRX_BITOFFSET_POS)
1121:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_3 (ADC_SQR1_REGOFFSET | ADC_REG_RANK_3_SQRX_BITOFFSET_POS)
1122:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_4 (ADC_SQR1_REGOFFSET | ADC_REG_RANK_4_SQRX_BITOFFSET_POS)
1123:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_5 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_5_SQRX_BITOFFSET_POS)
1124:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_6 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_6_SQRX_BITOFFSET_POS)
1125:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_7 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_7_SQRX_BITOFFSET_POS)
1126:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_8 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_8_SQRX_BITOFFSET_POS)
1127:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_9 (ADC_SQR2_REGOFFSET | ADC_REG_RANK_9_SQRX_BITOFFSET_POS)
1128:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_10 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_10_SQRX_BITOFFSET_POS
1129:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_11 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_11_SQRX_BITOFFSET_POS
1130:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_12 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_12_SQRX_BITOFFSET_POS
1131:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_13 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_13_SQRX_BITOFFSET_POS
1132:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_14 (ADC_SQR3_REGOFFSET | ADC_REG_RANK_14_SQRX_BITOFFSET_POS
1133:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_15 (ADC_SQR4_REGOFFSET | ADC_REG_RANK_15_SQRX_BITOFFSET_POS
1134:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_REG_RANK_16 (ADC_SQR4_REGOFFSET | ADC_REG_RANK_16_SQRX_BITOFFSET_POS
1135:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1136:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1137:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1138:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1139:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_TRIGGER_SOURCE ADC group injected - Trigger source
1140:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1141:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1142:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_SOFTWARE (0x00000000UL)
1143:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM1_TRGO (ADC_INJ_TRIG_EXT_EDGE_DEFAULT)
1144:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM1_CH4 (ADC_JSQR_JEXTSEL_0 | ADC_INJ_TRIG_EXT_EDGE_DEFAULT)
1145:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM2_TRGO (ADC_JSQR_JEXTSEL_1 | ADC_INJ_TRIG_EXT_EDGE_DEFAULT)
1146:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM2_CH1 (ADC_JSQR_JEXTSEL_1 | ADC_JSQR_JEXTSEL_0 | ADC_INJ_TRIG_
1147:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM3_CH4 (ADC_JSQR_JEXTSEL_2 | ADC_INJ_TRIG_EXT_EDGE_DEFAULT)
1148:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM4_TRGO (ADC_JSQR_JEXTSEL_2 | ADC_JSQR_JEXTSEL_0 | ADC_INJ_TRIG_
1149:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_EXTI_LINE15 (ADC_JSQR_JEXTSEL_2 | ADC_JSQR_JEXTSEL_1 | ADC_INJ_TRIG_
1150:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM8_CH4 (ADC_JSQR_JEXTSEL_2 | ADC_JSQR_JEXTSEL_1 | ADC_JSQR_JEXT
1151:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM1_TRGO2 (ADC_JSQR_JEXTSEL_3 | ADC_INJ_TRIG_EXT_EDGE_DEFAULT)
1152:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM8_TRGO (ADC_JSQR_JEXTSEL_3 | ADC_JSQR_JEXTSEL_0 | ADC_INJ_TRIG_
1153:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM8_TRGO2 (ADC_JSQR_JEXTSEL_3 | ADC_JSQR_JEXTSEL_1 | ADC_INJ_TRIG_
1154:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM3_CH3 (ADC_JSQR_JEXTSEL_3 | ADC_JSQR_JEXTSEL_1 | ADC_JSQR_JEXT
1155:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM3_TRGO (ADC_JSQR_JEXTSEL_3 | ADC_JSQR_JEXTSEL_2 | ADC_INJ_TRIG_
1156:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM3_CH1 (ADC_JSQR_JEXTSEL_3 | ADC_JSQR_JEXTSEL_2 | ADC_JSQR_JEXT
1157:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM6_TRGO (ADC_JSQR_JEXTSEL_3 | ADC_JSQR_JEXTSEL_2 | ADC_JSQR_JEXT
1158:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM15_TRGO (ADC_JSQR_JEXTSEL_3 | ADC_JSQR_JEXTSEL_2 | ADC_JSQR_JEXT
1159:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(HRTIM1)
1160:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_HRTIM_TRG2 (ADC_JSQR_JEXTSEL_4 | ADC_INJ_TRIG_EXT_EDGE_DEFAULT)
1161:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_HRTIM_TRG4 (ADC_JSQR_JEXTSEL_4 | ADC_JSQR_JEXTSEL_0 | ADC_INJ_TRIG_
1162:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* HRTIM1 */
1163:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_LPTIM1_OUT (ADC_JSQR_JEXTSEL_4 | ADC_JSQR_JEXTSEL_1 | ADC_INJ_TRIG_
1164:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_LPTIM2_OUT (ADC_JSQR_JEXTSEL_4 | ADC_JSQR_JEXTSEL_1 | ADC_JSQR_JEXT
1165:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_LPTIM3_OUT (ADC_JSQR_JEXTSEL_4 | ADC_JSQR_JEXTSEL_2 | ADC_INJ_TRIG_
1166:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM23_TRGO (ADC_JSQR_JEXTSEL_4 | ADC_JSQR_JEXTSEL_2 | ADC_JSQR_JEXT
1167:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_TIM24_TRGO (ADC_JSQR_JEXTSEL_4 | ADC_JSQR_JEXTSEL_2 | ADC_JSQR_JEXT
1168:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1169:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1170:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 22
1171:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1172:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_TRIGGER_EDGE ADC group injected - Trigger edge
1173:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1174:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1175:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_RISING ( ADC_JSQR_JEXTEN_0) /*!< ADC group i
1176:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_FALLING (ADC_JSQR_JEXTEN_1 ) /*!< ADC group i
1177:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_EXT_RISINGFALLING (ADC_JSQR_JEXTEN_1 | ADC_JSQR_JEXTEN_0) /*!< ADC group i
1178:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1179:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1180:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1181:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1182:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_TRIG_AUTO ADC group injected - Automatic trigger mode
1183:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1184:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1185:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_INDEPENDENT (0x00000000UL) /*!< ADC group injected conversio
1186:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_TRIG_FROM_GRP_REGULAR (ADC_CFGR_JAUTO) /*!< ADC group injected conversio
1187:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1188:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1189:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1190:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1191:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_CONTEXT_QUEUE ADC group injected - Context queue mode
1192:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1193:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1194:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_QUEUE_2CONTEXTS_LAST_ACTIVE (0x00000000UL) /* Group injected sequence co
1195:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_QUEUE_2CONTEXTS_END_EMPTY (ADC_CFGR_JQM) /* Group injected sequence co
1196:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_QUEUE_DISABLE (ADC_CFGR_JQDIS) /* Group injected sequence co
1197:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1198:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1199:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1200:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1201:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_SEQ_SCAN_LENGTH ADC group injected - Sequencer scan length
1202:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1203:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1204:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_SCAN_DISABLE (0x00000000UL) /*!< ADC group injected
1205:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS ( ADC_JSQR_JL_0) /*!< ADC group injected
1206:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS (ADC_JSQR_JL_1 ) /*!< ADC group injected
1207:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS (ADC_JSQR_JL_1 | ADC_JSQR_JL_0) /*!< ADC group injected
1208:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1209:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1210:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1211:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1212:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_SEQ_DISCONT_MODE ADC group injected - Sequencer discontinuous mode
1213:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1214:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1215:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_DISCONT_DISABLE (0x00000000UL) /*!< ADC group injected sequencer
1216:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_SEQ_DISCONT_1RANK (ADC_CFGR_JDISCEN) /*!< ADC group injected sequencer
1217:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1218:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1219:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1220:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1221:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_INJ_SEQ_RANKS ADC group injected - Sequencer ranks
1222:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1223:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1224:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_RANK_1 (ADC_JDR1_REGOFFSET | ADC_INJ_RANK_1_JSQR_BITOFFSET_POS)
1225:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_RANK_2 (ADC_JDR2_REGOFFSET | ADC_INJ_RANK_2_JSQR_BITOFFSET_POS)
1226:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_RANK_3 (ADC_JDR3_REGOFFSET | ADC_INJ_RANK_3_JSQR_BITOFFSET_POS)
1227:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_INJ_RANK_4 (ADC_JDR4_REGOFFSET | ADC_INJ_RANK_4_JSQR_BITOFFSET_POS)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 23
1228:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1229:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1230:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1231:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1232:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_CHANNEL_SAMPLINGTIME Channel - Sampling time
1233:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1234:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1235:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_1CYCLE_5 (0x00000000UL)
1236:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_2CYCLES_5 ( ADC_SMPR2_SMP10
1237:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_8CYCLES_5 ( ADC_SMPR2_SMP10_1
1238:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_16CYCLES_5 ( ADC_SMPR2_SMP10_1 | ADC_SMPR2_SMP10
1239:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_32CYCLES_5 (ADC_SMPR2_SMP10_2
1240:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_64CYCLES_5 (ADC_SMPR2_SMP10_2 | ADC_SMPR2_SMP10
1241:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_387CYCLES_5 (ADC_SMPR2_SMP10_2 | ADC_SMPR2_SMP10_1
1242:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_810CYCLES_5 (ADC_SMPR2_SMP10_2 | ADC_SMPR2_SMP10_1 | ADC_SMPR2_SMP10
1243:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1244:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1245:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1246:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
1247:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_CHANNEL_SAMPLINGTIME Channel - Sampling time
1248:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1249:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1250:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_ADC3_2CYCLES_5 (0x00000000UL)
1251:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_ADC3_6CYCLES_5 ( ADC_SMPR2_
1252:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_ADC3_12CYCLES_5 ( ADC_SMPR2_SMP10_1
1253:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_ADC3_24CYCLES_5 ( ADC_SMPR2_SMP10_1 | ADC_SMPR2_
1254:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_ADC3_47CYCLES_5 (ADC_SMPR2_SMP10_2
1255:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_ADC3_92CYCLES_5 (ADC_SMPR2_SMP10_2 | ADC_SMPR2_
1256:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_ADC3_247CYCLES_5 (ADC_SMPR2_SMP10_2 | ADC_SMPR2_SMP10_1
1257:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SAMPLINGTIME_ADC3_640CYCLES_5 (ADC_SMPR2_SMP10_2 | ADC_SMPR2_SMP10_1 | ADC_SMPR2_
1258:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1259:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1260:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1261:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
1262:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1263:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_CHANNEL_SINGLE_DIFF_ENDING Channel - Single or differential ending
1264:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1265:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1266:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_SINGLE_ENDED ( ADC_CALFACT_CALFACT_S) /*!< A
1267:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_DIFFERENTIAL_ENDED (ADC_CR_ADCALDIF | ADC_CALFACT_CALFACT_D) /*!< A
1268:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_BOTH_SINGLE_DIFF_ENDED (LL_ADC_SINGLE_ENDED | LL_ADC_DIFFERENTIAL_ENDED) /*!< A
1269:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1271:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1272:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1273:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_AWD_NUMBER Analog watchdog - Analog watchdog number
1274:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1275:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1276:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD1 (ADC_AWD_CR1_CHANNEL_MASK | ADC_AWD_CR1_REGOFFSET) /*!<
1277:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD2 (ADC_AWD_CR23_CHANNEL_MASK | ADC_AWD_CR2_REGOFFSET) /*!<
1278:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD3 (ADC_AWD_CR23_CHANNEL_MASK | ADC_AWD_CR3_REGOFFSET) /*!<
1279:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1280:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1281:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1282:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1283:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_AWD_CHANNELS Analog watchdog - Monitored channels
1284:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 24
1285:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1286:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_DISABLE (0x00000000UL)
1287:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_ALL_CHANNELS_REG (ADC_AWD_CR23_CHANNEL_MASK
1288:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_ALL_CHANNELS_INJ (ADC_AWD_CR23_CHANNEL_MASK | ADC_CFGR_JA
1289:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_ALL_CHANNELS_REG_INJ (ADC_AWD_CR23_CHANNEL_MASK | ADC_CFGR_JA
1290:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_0_REG ((LL_ADC_CHANNEL_0 & ADC_CHANNEL_ID_MASK)
1291:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_0_INJ ((LL_ADC_CHANNEL_0 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1292:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_0_REG_INJ ((LL_ADC_CHANNEL_0 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1293:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_1_REG ((LL_ADC_CHANNEL_1 & ADC_CHANNEL_ID_MASK)
1294:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_1_INJ ((LL_ADC_CHANNEL_1 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1295:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_1_REG_INJ ((LL_ADC_CHANNEL_1 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1296:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_2_REG ((LL_ADC_CHANNEL_2 & ADC_CHANNEL_ID_MASK)
1297:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_2_INJ ((LL_ADC_CHANNEL_2 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1298:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_2_REG_INJ ((LL_ADC_CHANNEL_2 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1299:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_3_REG ((LL_ADC_CHANNEL_3 & ADC_CHANNEL_ID_MASK)
1300:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_3_INJ ((LL_ADC_CHANNEL_3 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1301:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_3_REG_INJ ((LL_ADC_CHANNEL_3 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1302:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_4_REG ((LL_ADC_CHANNEL_4 & ADC_CHANNEL_ID_MASK)
1303:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_4_INJ ((LL_ADC_CHANNEL_4 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1304:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_4_REG_INJ ((LL_ADC_CHANNEL_4 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1305:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_5_REG ((LL_ADC_CHANNEL_5 & ADC_CHANNEL_ID_MASK)
1306:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_5_INJ ((LL_ADC_CHANNEL_5 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1307:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_5_REG_INJ ((LL_ADC_CHANNEL_5 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1308:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_6_REG ((LL_ADC_CHANNEL_6 & ADC_CHANNEL_ID_MASK)
1309:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_6_INJ ((LL_ADC_CHANNEL_6 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1310:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_6_REG_INJ ((LL_ADC_CHANNEL_6 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1311:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_7_REG ((LL_ADC_CHANNEL_7 & ADC_CHANNEL_ID_MASK)
1312:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_7_INJ ((LL_ADC_CHANNEL_7 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1313:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_7_REG_INJ ((LL_ADC_CHANNEL_7 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1314:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_8_REG ((LL_ADC_CHANNEL_8 & ADC_CHANNEL_ID_MASK)
1315:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_8_INJ ((LL_ADC_CHANNEL_8 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1316:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_8_REG_INJ ((LL_ADC_CHANNEL_8 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1317:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_9_REG ((LL_ADC_CHANNEL_9 & ADC_CHANNEL_ID_MASK)
1318:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_9_INJ ((LL_ADC_CHANNEL_9 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1319:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_9_REG_INJ ((LL_ADC_CHANNEL_9 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1320:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_10_REG ((LL_ADC_CHANNEL_10 & ADC_CHANNEL_ID_MASK)
1321:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_10_INJ ((LL_ADC_CHANNEL_10 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1322:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_10_REG_INJ ((LL_ADC_CHANNEL_10 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1323:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_11_REG ((LL_ADC_CHANNEL_11 & ADC_CHANNEL_ID_MASK)
1324:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_11_INJ ((LL_ADC_CHANNEL_11 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1325:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_11_REG_INJ ((LL_ADC_CHANNEL_11 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1326:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_12_REG ((LL_ADC_CHANNEL_12 & ADC_CHANNEL_ID_MASK)
1327:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_12_INJ ((LL_ADC_CHANNEL_12 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1328:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_12_REG_INJ ((LL_ADC_CHANNEL_12 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1329:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_13_REG ((LL_ADC_CHANNEL_13 & ADC_CHANNEL_ID_MASK)
1330:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_13_INJ ((LL_ADC_CHANNEL_13 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1331:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_13_REG_INJ ((LL_ADC_CHANNEL_13 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1332:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_14_REG ((LL_ADC_CHANNEL_14 & ADC_CHANNEL_ID_MASK)
1333:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_14_INJ ((LL_ADC_CHANNEL_14 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1334:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_14_REG_INJ ((LL_ADC_CHANNEL_14 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1335:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_15_REG ((LL_ADC_CHANNEL_15 & ADC_CHANNEL_ID_MASK)
1336:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_15_INJ ((LL_ADC_CHANNEL_15 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1337:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_15_REG_INJ ((LL_ADC_CHANNEL_15 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1338:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_16_REG ((LL_ADC_CHANNEL_16 & ADC_CHANNEL_ID_MASK)
1339:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_16_INJ ((LL_ADC_CHANNEL_16 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1340:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_16_REG_INJ ((LL_ADC_CHANNEL_16 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1341:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_17_REG ((LL_ADC_CHANNEL_17 & ADC_CHANNEL_ID_MASK)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 25
1342:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_17_INJ ((LL_ADC_CHANNEL_17 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1343:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_17_REG_INJ ((LL_ADC_CHANNEL_17 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1344:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_18_REG ((LL_ADC_CHANNEL_18 & ADC_CHANNEL_ID_MASK)
1345:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_18_INJ ((LL_ADC_CHANNEL_18 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1346:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_18_REG_INJ ((LL_ADC_CHANNEL_18 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1347:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_19_REG ((LL_ADC_CHANNEL_19 & ADC_CHANNEL_ID_MASK)
1348:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_19_INJ ((LL_ADC_CHANNEL_19 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1349:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CHANNEL_19_REG_INJ ((LL_ADC_CHANNEL_19 & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JA
1350:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_VREFINT_REG ((LL_ADC_CHANNEL_VREFINT & ADC_CHANNEL_ID_MASK)
1351:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_VREFINT_INJ ((LL_ADC_CHANNEL_VREFINT & ADC_CHANNEL_ID_MASK) |
1352:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_VREFINT_REG_INJ ((LL_ADC_CHANNEL_VREFINT & ADC_CHANNEL_ID_MASK) |
1353:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_TEMPSENSOR_REG ((LL_ADC_CHANNEL_TEMPSENSOR & ADC_CHANNEL_ID_MASK)
1354:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_TEMPSENSOR_INJ ((LL_ADC_CHANNEL_TEMPSENSOR & ADC_CHANNEL_ID_MASK) |
1355:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_TEMPSENSOR_REG_INJ ((LL_ADC_CHANNEL_TEMPSENSOR & ADC_CHANNEL_ID_MASK) |
1356:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_VBAT_REG ((LL_ADC_CHANNEL_VBAT & ADC_CHANNEL_ID_MASK)
1357:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_VBAT_INJ ((LL_ADC_CHANNEL_VBAT & ADC_CHANNEL_ID_MASK) |
1358:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_VBAT_REG_INJ ((LL_ADC_CHANNEL_VBAT & ADC_CHANNEL_ID_MASK) |
1359:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_DAC1CH1_ADC2_REG ((LL_ADC_CHANNEL_DAC1CH1_ADC2 & ADC_CHANNEL_ID_MASK)
1360:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_DAC1CH1_ADC2_INJ ((LL_ADC_CHANNEL_DAC1CH1_ADC2 & ADC_CHANNEL_ID_MASK) |
1361:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_DAC1CH1_ADC2_REG_INJ ((LL_ADC_CHANNEL_DAC1CH1_ADC2 & ADC_CHANNEL_ID_MASK) |
1362:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_DAC1CH2_ADC2_REG ((LL_ADC_CHANNEL_DAC1CH2_ADC2 & ADC_CHANNEL_ID_MASK)
1363:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_DAC1CH2_ADC2_INJ ((LL_ADC_CHANNEL_DAC1CH2_ADC2 & ADC_CHANNEL_ID_MASK) |
1364:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_CH_DAC1CH2_ADC2_REG_INJ ((LL_ADC_CHANNEL_DAC1CH2_ADC2 & ADC_CHANNEL_ID_MASK) |
1365:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1366:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1367:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1368:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1369:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_AWD_THRESHOLDS Analog watchdog - Thresholds
1370:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1371:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1372:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_THRESHOLD_HIGH (0x1UL) /*!< ADC analog watchdog thr
1373:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_THRESHOLD_LOW (0x0UL) /*!< ADC analog watchdog thr
1374:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1375:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1376:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1377:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
1378:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_AWD_FILTERING_CONFIG Analog watchdog - filtering config
1379:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1380:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1381:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_FILTERING_NONE (0x00000000UL)
1382:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_FILTERING_2SAMPLES ( ADC3_TR1_AWDF
1383:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_FILTERING_3SAMPLES ( ADC3_TR1_AWDFILT_1
1384:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_FILTERING_4SAMPLES ( ADC3_TR1_AWDFILT_1 | ADC3_TR1_AWDF
1385:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_FILTERING_5SAMPLES (ADC3_TR1_AWDFILT_2
1386:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_FILTERING_6SAMPLES (ADC3_TR1_AWDFILT_2 | ADC3_TR1_AWDF
1387:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_FILTERING_7SAMPLES (ADC3_TR1_AWDFILT_2 | ADC3_TR1_AWDFILT_1
1388:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_AWD_FILTERING_8SAMPLES (ADC3_TR1_AWDFILT_2 | ADC3_TR1_AWDFILT_1 | ADC3_TR1_AWDF
1389:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1390:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1391:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1392:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
1393:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1394:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_OVS_SCOPE Oversampling - Oversampling scope
1395:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1396:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1397:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_DISABLE (0x00000000UL) /*
1398:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_GRP_REGULAR_CONTINUED ( ADC_CFGR2_ROVSE) /*
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 26
1399:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_GRP_REGULAR_RESUMED (ADC_CFGR2_ROVSM | ADC_CFGR2_ROVSE) /*
1400:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_GRP_INJECTED ( ADC_CFGR2_JOVSE ) /*
1401:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_GRP_INJ_REG_RESUMED ( ADC_CFGR2_JOVSE | ADC_CFGR2_ROVSE) /*
1402:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1403:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1404:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1405:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1406:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_OVS_DISCONT_MODE Oversampling - Discontinuous mode
1407:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1408:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1409:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_REG_CONT (0x00000000UL) /*!< ADC oversampling discontinuo
1410:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_REG_DISCONT (ADC_CFGR2_TROVS) /*!< ADC oversampling discontinuo
1411:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1412:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1413:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1414:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
1415:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_OVS_RATIO Oversampling - Ratio
1416:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1417:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1418:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_RATIO_2 (0x00000000UL)
1419:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_RATIO_4 ( ADC3_CFGR2_OVSR
1420:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_RATIO_8 ( ADC3_CFGR2_OVSR_1
1421:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_RATIO_16 ( ADC3_CFGR2_OVSR_1 | ADC3_CFGR2_OVSR
1422:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_RATIO_32 (ADC3_CFGR2_OVSR_2
1423:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_RATIO_64 (ADC3_CFGR2_OVSR_2 | ADC3_CFGR2_OVSR
1424:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_RATIO_128 (ADC3_CFGR2_OVSR_2 | ADC3_CFGR2_OVSR_1
1425:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_RATIO_256 (ADC3_CFGR2_OVSR_2 | ADC3_CFGR2_OVSR_1 | ADC3_CFGR2_OVSR
1426:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1427:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1428:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1429:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
1430:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1431:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_OVS_SHIFT Oversampling - Data shift
1432:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1433:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1434:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_SHIFT_NONE (0x00000000UL)
1435:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_SHIFT_RIGHT_1 (
1436:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_SHIFT_RIGHT_2 ( ADC_CFGR2_OVSS_1
1437:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_SHIFT_RIGHT_3 ( ADC_CFGR2_OVSS_1
1438:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_SHIFT_RIGHT_4 ( ADC_CFGR2_OVSS_2
1439:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_SHIFT_RIGHT_5 ( ADC_CFGR2_OVSS_2
1440:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_SHIFT_RIGHT_6 ( ADC_CFGR2_OVSS_2 | ADC_CFGR2_OVSS_1
1441:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_SHIFT_RIGHT_7 ( ADC_CFGR2_OVSS_2 | ADC_CFGR2_OVSS_1
1442:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_SHIFT_RIGHT_8 (ADC_CFGR2_OVSS_3
1443:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_SHIFT_RIGHT_9 (ADC_CFGR2_OVSS_3
1444:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_SHIFT_RIGHT_10 (ADC_CFGR2_OVSS_3 | ADC_CFGR2_OVSS_1
1445:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_OVS_SHIFT_RIGHT_11 (ADC_CFGR2_OVSS_3 | ADC_CFGR2_OVSS_1
1446:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1447:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1448:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1449:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1450:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_MULTI_MODE Multimode - Mode
1451:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1452:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1453:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_INDEPENDENT (0x00000000UL)
1454:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_SIMULT ( ADC_CCR_DUAL_2 | ADC_CCR_DUAL_1
1455:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_INTERL ( ADC_CCR_DUAL_2 | ADC_CCR_DUAL_1 | ADC_
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 27
1456:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_INJ_SIMULT ( ADC_CCR_DUAL_2 | ADC_
1457:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_INJ_ALTERN (ADC_CCR_DUAL_3 | ADC_
1458:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM ( ADC_
1459:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT ( ADC_CCR_DUAL_1
1460:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_DUAL_REG_INT_INJ_SIM ( ADC_CCR_DUAL_1 | ADC_
1461:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1462:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1463:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1464:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1465:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_MULTI_DMA_TRANSFER Multimode - DMA transfer
1466:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1467:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1468:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_REG_DMA_EACH_ADC (0x00000000UL) /*!< ADC multimode
1469:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_REG_DMA_RES_32_10B (ADC_CCR_DAMDF_1 ) /*!< ADC multimode
1470:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_REG_DMA_RES_8B (ADC_CCR_DAMDF_1 | ADC_CCR_DAMDF_0) /*!< ADC multimode
1471:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1472:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1473:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1474:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1475:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_MULTI_TWOSMP_DELAY Multimode - Delay between two sampling phases
1476:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1477:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1478:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_TWOSMP_DELAY_1CYCLE_5 (0x00000000UL)
1479:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_TWOSMP_DELAY_2CYCLES_5 (
1480:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_TWOSMP_DELAY_3CYCLES_5 ( ADC_CCR_D
1481:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_TWOSMP_DELAY_4CYCLES_5 ( ADC_CCR_D
1482:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_TWOSMP_DELAY_4CYCLES_5_8_BITS ( ADC_CCR_DELAY_2 | ADC_CCR_D
1483:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_TWOSMP_DELAY_5CYCLES_5 ( ADC_CCR_DELAY_2
1484:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_TWOSMP_DELAY_5CYCLES_5_10_BITS ( ADC_CCR_DELAY_2 | ADC_CCR_D
1485:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES (ADC_CCR_DELAY_3
1486:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES_5 ( ADC_CCR_DELAY_2
1487:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES_5_12_BITS ( ADC_CCR_DELAY_2 | ADC_CCR_D
1488:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_TWOSMP_DELAY_7CYCLES_5 ( ADC_CCR_DELAY_2 | ADC_CCR_D
1489:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_TWOSMP_DELAY_8CYCLES (ADC_CCR_DELAY_3
1490:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_TWOSMP_DELAY_9CYCLES (ADC_CCR_DELAY_3
1491:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1492:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1493:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1494:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1495:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_MULTI_MASTER_SLAVE Multimode - ADC master or slave
1496:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1497:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1498:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_MASTER ( ADC_CDR_RDATA_MST) /*!< In multimod
1499:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_SLAVE (ADC_CDR_RDATA_SLV ) /*!< In multimod
1500:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_MULTI_MASTER_SLAVE (ADC_CDR_RDATA_SLV | ADC_CDR_RDATA_MST) /*!< In multimod
1501:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1502:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1503:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1504:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1505:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1506:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1507:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EC_HW_DELAYS Definitions of ADC hardware constraints delays
1508:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Only ADC peripheral HW delays are defined in ADC LL driver driver,
1509:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * not timeout values.
1510:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * For details on delays values, refer to descriptions in source code
1511:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * above each literal definition.
1512:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 28
1513:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1514:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1515:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Note: Only ADC peripheral HW delays are defined in ADC LL driver driver, */
1516:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* not timeout values. */
1517:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Timeout values for ADC operations are dependent to device clock */
1518:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* configuration (system clock versus ADC clock), */
1519:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* and therefore must be defined in user application. */
1520:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Indications for estimation of ADC timeout delays, for this */
1521:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* STM32 series: */
1522:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - ADC calibration time: maximum delay is 16384/fADC. */
1523:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* (refer to device datasheet, parameter "tCAL") */
1524:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - ADC enable time: maximum delay is 1 conversion cycle. */
1525:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* (refer to device datasheet, parameter "tSTAB") */
1526:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - ADC disable time: maximum delay should be a few ADC clock cycles */
1527:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - ADC stop conversion time: maximum delay should be a few ADC clock */
1528:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* cycles */
1529:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* - ADC conversion time: duration depending on ADC clock and ADC */
1530:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* configuration. */
1531:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* (refer to device reference manual, section "Timing") */
1532:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1533:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Delay for ADC stabilization time (ADC voltage regulator start-up time) */
1534:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Delay set to maximum value (refer to device datasheet, */
1535:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* parameter "tADCVREG_STUP"). */
1536:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Unit: us */
1537:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_DELAY_INTERNAL_REGUL_STAB_US ( 10UL) /*!< Delay for ADC stabilization time (ADC vol
1538:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1539:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Delay for internal voltage reference stabilization time. */
1540:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Delay set to maximum value (refer to device datasheet, */
1541:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* parameter "ts_vrefint"). */
1542:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Unit: us */
1543:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_DELAY_VREFINT_STAB_US (5UL) /*!< Delay for internal voltage reference stabili
1544:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1545:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Delay for temperature sensor stabilization time. */
1546:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Literal set to maximum value (refer to device datasheet, */
1547:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* parameter "tSTART_RUN"). */
1548:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Unit: us */
1549:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_DELAY_TEMPSENSOR_STAB_US ( 26UL) /*!< Delay for temperature sensor stabilization
1550:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1551:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Delay required between ADC end of calibration and ADC enable. */
1552:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Note: On this STM32 series, a minimum number of ADC clock cycles */
1553:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* are required between ADC end of calibration and ADC enable. */
1554:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Wait time can be computed in user application by waiting for the */
1555:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* equivalent number of CPU cycles, by taking into account */
1556:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* ratio of CPU clock versus ADC clock prescalers. */
1557:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Unit: ADC clock cycles. */
1558:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_DELAY_CALIB_ENABLE_ADC_CYCLES ( 4UL) /*!< Delay required between ADC end of calibr
1559:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1560:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Fixed timeout value for ADC linearity word bit set/clear delay. */
1561:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Values defined to be higher than worst cases: low clock frequency, */
1562:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* maximum prescalers. */
1563:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Ex of profile low frequency : f_ADC at 4,577 Khz (minimum value */
1564:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* according to Data sheet), linearity set/clear bit delay MAX = 6 / f_ADC + 3 cycles AHB */
1565:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* 6 / 4577 = 1,311ms */
1566:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* At maximum CPU speed (400 MHz), this means */
1567:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* 3.58 * 400 MHz = 524400 CPU cycles */
1568:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define ADC_LINEARITY_BIT_TOGGLE_TIMEOUT (524400UL) /*!< ADC linearity set/clear bit d
1569:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 29
1570:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1571:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1572:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1573:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1574:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1575:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1576:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1577:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1578:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1579:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Exported macro ------------------------------------------------------------*/
1580:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_Exported_Macros ADC Exported Macros
1581:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1582:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1583:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1584:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EM_WRITE_READ Common write and read registers Macros
1585:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1586:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1587:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1588:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1589:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Write a value in ADC register
1590:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __INSTANCE__ ADC Instance
1591:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __REG__ Register to be written
1592:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __VALUE__ Value to be written in the register
1593:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
1594:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1595:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALUE
1596:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1597:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1598:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Read a value in ADC register
1599:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __INSTANCE__ ADC Instance
1600:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __REG__ Register to be read
1601:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Register value
1602:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define LL_ADC_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__)
1604:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1605:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
1606:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1607:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1608:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EM_HELPER_MACRO ADC helper macro
1609:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
1610:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1611:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1612:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
1613:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1614:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to convert the resolution defines to STM32H73x/2x ADC3 registers values
1615:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * value corresponding to the ADC3 resolution according to the STM32H73x/2x RefMan.
1616:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note The input can be a value from ADC3 resolution (12b, 10b, 8b,6b)
1617:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_RESOLUTION__ This parameter can be one of the following values:
1618:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
1619:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
1620:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
1621:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_6B
1622:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
1623:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg 0x00000000UL (value correspodning to ADC3 12 bits)
1624:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg ADC_CFGR_RES_0 = 0x00000004 (value corresponding to ADC3 10 bits)
1625:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg ADC_CFGR_RES_1 = 0x00000008 (value corresponding to ADC3 8 bits)
1626:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg 0x0000001C (value corresponding to ADC3 6 bits)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 30
1627:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This helper macro is applicable for STM32H73x/2x devices only
1628:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1629:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC12_RESOLUTION_TO_ADC3(__ADC_RESOLUTION__) \
1630:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ( \
1631:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__ADC_RESOLUTION__) == LL_ADC_RESOLUTION_12B) \
1632:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ?(0x00000000UL) \
1633:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** : \
1634:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__ADC_RESOLUTION__) == LL_ADC_RESOLUTION_10B) \
1635:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ?(ADC_CFGR_RES_0) \
1636:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** : \
1637:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__ADC_RESOLUTION__) == LL_ADC_RESOLUTION_8B) \
1638:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ?(ADC_CFGR_RES_1) \
1639:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** : \
1640:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__ADC_RESOLUTION__) == LL_ADC_RESOLUTION_6B) \
1641:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ?((ADC_CFGR_RES_2|ADC_CFGR_RES_1 | ADC_CFGR_RES_0)) \
1642:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** :(0x00000000UL) \
1643:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
1644:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1645:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
1646:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1647:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1648:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to get ADC channel number in decimal format
1649:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * from literals LL_ADC_CHANNEL_x.
1650:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Example:
1651:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * __LL_ADC_CHANNEL_TO_DECIMAL_NB(LL_ADC_CHANNEL_4)
1652:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * will return decimal number "4".
1653:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note The input can be a value from functions where a channel
1654:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * number is returned, either defined with number
1655:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or with bitfield (only one bit must be set).
1656:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values:
1657:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
1658:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
1659:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
1660:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
1661:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
1662:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
1663:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
1664:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
1665:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
1666:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
1667:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
1668:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
1669:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
1670:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
1671:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
1672:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
1673:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
1674:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
1675:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
1676:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
1677:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
1678:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
1679:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
1680:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
1681:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
1682:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
1683:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 31
1684:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
1685:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
1686:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).
1687:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0 and Max_Data=18
1688:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1689:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_CHANNEL_TO_DECIMAL_NB(__CHANNEL__) \
1690:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((((__CHANNEL__) & ADC_CHANNEL_ID_BITFIELD_MASK) == 0UL) \
1691:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ? ( \
1692:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__CHANNEL__) & ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS \
1693:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) \
1694:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** : \
1695:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ( \
1696:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (uint32_t)POSITION_VAL((__CHANNEL__)) \
1697:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) \
1698:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
1699:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1700:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1701:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to get ADC channel in literal format LL_ADC_CHANNEL_x
1702:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * from number in decimal format.
1703:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Example:
1704:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * __LL_ADC_DECIMAL_NB_TO_CHANNEL(4)
1705:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * will return a data equivalent to "LL_ADC_CHANNEL_4".
1706:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __DECIMAL_NB__ Value between Min_Data=0 and Max_Data=18
1707:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
1708:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
1709:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
1710:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
1711:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
1712:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
1713:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
1714:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
1715:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
1716:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
1717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
1718:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
1719:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
1720:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
1721:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
1722:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
1723:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
1724:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
1725:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
1726:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
1727:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
1728:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
1729:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
1730:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
1731:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
1732:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
1733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
1734:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
1735:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
1736:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
1737:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).\n
1738:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1, 2) For ADC channel read back from ADC register,
1739:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * comparison with internal channel parameter to be done
1740:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL().
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 32
1741:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1742:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_DECIMAL_NB_TO_CHANNEL(__DECIMAL_NB__)
1743:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((__DECIMAL_NB__) <= 9UL)
1744:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ? (
1745:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__DECIMAL_NB__) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) |
1746:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (ADC_AWD2CR_AWD2CH_0 << (__DECIMAL_NB__)) |
1747:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (ADC_SMPR1_REGOFFSET | (((3UL * (__DECIMAL_NB__))) << ADC_CHANNEL_SMPx_BITOFFSET_POS))
1748:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
1749:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** :
1750:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (
1751:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__DECIMAL_NB__) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS)
1752:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (ADC_AWD2CR_AWD2CH_0 << (__DECIMAL_NB__))
1753:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (ADC_SMPR2_REGOFFSET | (((3UL * ((__DECIMAL_NB__) - 10UL))) << ADC_CHANNEL_SMPx_BITOFFSET_PO
1754:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
1755:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
1756:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1757:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1758:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to determine whether the selected channel
1759:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * corresponds to literal definitions of driver.
1760:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note The different literal definitions of ADC channels are:
1761:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC internal channel:
1762:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_CHANNEL_VREFINT, LL_ADC_CHANNEL_TEMPSENSOR, ...
1763:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC external channel (channel connected to a GPIO pin):
1764:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ...
1765:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note The channel parameter must be a value defined from literal
1766:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * definition of a ADC internal channel (LL_ADC_CHANNEL_VREFINT,
1767:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_CHANNEL_TEMPSENSOR, ...),
1768:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC external channel (LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ...),
1769:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * must not be a value from functions where a channel number is
1770:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * returned from ADC registers,
1771:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * because internal and external channels share the same channel
1772:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * number in ADC registers. The differentiation is made only with
1773:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * parameters definitions of driver.
1774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values:
1775:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
1776:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
1777:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
1778:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
1779:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
1780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
1781:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
1782:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
1783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
1784:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
1785:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
1786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
1787:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
1788:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
1789:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
1790:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
1791:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
1792:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
1793:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
1794:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
1795:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
1796:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
1797:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 33
1798:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
1799:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
1800:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
1801:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
1802:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
1803:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
1804:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).
1805:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value "0" if the channel corresponds to a parameter definition of a ADC external channe
1806:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Value "1" if the channel corresponds to a parameter definition of a ADC internal channe
1807:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1808:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_IS_CHANNEL_INTERNAL(__CHANNEL__) \
1809:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((__CHANNEL__) & ADC_CHANNEL_ID_INTERNAL_CH_MASK) != 0UL)
1810:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1811:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1812:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to convert a channel defined from parameter
1813:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * definition of a ADC internal channel (LL_ADC_CHANNEL_VREFINT,
1814:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_CHANNEL_TEMPSENSOR, ...),
1815:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * to its equivalent parameter definition of a ADC external channel
1816:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ...).
1817:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note The channel parameter can be, additionally to a value
1818:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * defined from parameter definition of a ADC internal channel
1819:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (LL_ADC_CHANNEL_VREFINT, LL_ADC_CHANNEL_TEMPSENSOR, ...),
1820:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * a value defined from parameter definition of
1821:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC external channel (LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ...)
1822:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or a value from functions where a channel number is returned
1823:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * from ADC registers.
1824:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values:
1825:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
1826:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
1827:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
1828:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
1829:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
1830:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
1831:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
1832:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
1833:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
1834:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
1835:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
1836:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
1837:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
1838:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
1839:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
1840:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
1841:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
1842:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
1843:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
1844:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
1845:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
1846:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
1847:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
1848:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
1849:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
1850:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
1851:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
1852:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
1853:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
1854:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 34
1855:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
1856:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
1857:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
1858:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
1859:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
1860:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
1861:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
1862:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
1863:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
1864:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
1865:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
1866:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
1867:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
1868:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
1869:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
1870:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
1871:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
1872:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
1873:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
1874:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
1875:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
1876:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1877:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL(__CHANNEL__) \
1878:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__CHANNEL__) & ~ADC_CHANNEL_ID_INTERNAL_CH_MASK)
1879:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1880:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1881:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to determine whether the internal channel
1882:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * selected is available on the ADC instance selected.
1883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note The channel parameter must be a value defined from parameter
1884:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * definition of a ADC internal channel (LL_ADC_CHANNEL_VREFINT,
1885:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_CHANNEL_TEMPSENSOR, ...),
1886:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * must not be a value defined from parameter definition of
1887:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC external channel (LL_ADC_CHANNEL_1, LL_ADC_CHANNEL_2, ...)
1888:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or a value from functions where a channel number is
1889:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * returned from ADC registers,
1890:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * because internal and external channels share the same channel
1891:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * number in ADC registers. The differentiation is made only with
1892:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * parameters definitions of driver.
1893:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_INSTANCE__ ADC instance
1894:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values:
1895:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
1896:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
1897:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
1898:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
1899:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
1900:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
1901:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
1902:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.
1903:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value "0" if the internal channel selected is not available on the ADC instance selecte
1904:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Value "1" if the internal channel selected is available on the ADC instance selected.
1905:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
1906:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC3)
1907:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_IS_CHANNEL_INTERNAL_AVAILABLE(__ADC_INSTANCE__, __CHANNEL__) \
1908:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((((__ADC_INSTANCE__) == ADC2) \
1909:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** &&( \
1910:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__CHANNEL__) == LL_ADC_CHANNEL_DAC1CH1_ADC2) || \
1911:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__CHANNEL__) == LL_ADC_CHANNEL_DAC1CH2_ADC2) \
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 35
1912:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) \
1913:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) \
1914:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** || \
1915:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((__ADC_INSTANCE__) == ADC3) \
1916:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** &&( \
1917:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__CHANNEL__) == LL_ADC_CHANNEL_TEMPSENSOR) || \
1918:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__CHANNEL__) == LL_ADC_CHANNEL_VBAT) || \
1919:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__CHANNEL__) == LL_ADC_CHANNEL_VREFINT) \
1920:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) \
1921:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) \
1922:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
1923:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
1924:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_IS_CHANNEL_INTERNAL_AVAILABLE(__ADC_INSTANCE__, __CHANNEL__) \
1925:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((((__ADC_INSTANCE__) == ADC2) \
1926:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** &&( \
1927:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__CHANNEL__) == LL_ADC_CHANNEL_DAC1CH1_ADC2) || \
1928:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__CHANNEL__) == LL_ADC_CHANNEL_DAC1CH2_ADC2) || \
1929:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__CHANNEL__) == LL_ADC_CHANNEL_TEMPSENSOR) || \
1930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__CHANNEL__) == LL_ADC_CHANNEL_VBAT) || \
1931:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__CHANNEL__) == LL_ADC_CHANNEL_VREFINT) \
1932:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) \
1933:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) \
1934:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
1935:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif
1936:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
1937:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
1938:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to define ADC analog watchdog parameter:
1939:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * define a single channel to monitor with analog watchdog
1940:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * from sequencer channel and groups definition.
1941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note To be used with function @ref LL_ADC_SetAnalogWDMonitChannels().
1942:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Example:
1943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_SetAnalogWDMonitChannels(
1944:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC1, LL_ADC_AWD1,
1945:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * __LL_ADC_ANALOGWD_CHANNEL_GROUP(LL_ADC_CHANNEL4, LL_ADC_GROUP_REGULAR))
1946:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __CHANNEL__ This parameter can be one of the following values:
1947:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
1948:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
1949:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
1950:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
1951:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
1952:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
1953:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
1954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
1955:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
1956:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
1957:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
1958:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
1959:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
1960:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
1961:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
1962:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
1963:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
1964:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
1965:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
1966:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
1967:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
1968:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 36
1969:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
1970:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
1971:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
1972:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
1973:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
1974:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
1975:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
1976:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).\n
1977:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1, 2) For ADC channel read back from ADC register,
1978:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * comparison with internal channel parameter to be done
1979:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL().
1980:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __GROUP__ This parameter can be one of the following values:
1981:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_GROUP_REGULAR
1982:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_GROUP_INJECTED
1983:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_GROUP_REGULAR_INJECTED
1984:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
1985:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_DISABLE
1986:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG (0)
1987:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_INJ (0)
1988:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG_INJ
1989:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG (0)
1990:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_INJ (0)
1991:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG_INJ
1992:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG (0)
1993:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_INJ (0)
1994:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG_INJ
1995:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG (0)
1996:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_INJ (0)
1997:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG_INJ
1998:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG (0)
1999:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_INJ (0)
2000:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG_INJ
2001:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG (0)
2002:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_INJ (0)
2003:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG_INJ
2004:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG (0)
2005:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_INJ (0)
2006:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG_INJ
2007:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG (0)
2008:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_INJ (0)
2009:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG_INJ
2010:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG (0)
2011:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_INJ (0)
2012:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG_INJ
2013:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG (0)
2014:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_INJ (0)
2015:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG_INJ
2016:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG (0)
2017:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_INJ (0)
2018:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG_INJ
2019:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG (0)
2020:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_INJ (0)
2021:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG_INJ
2022:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG (0)
2023:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_INJ (0)
2024:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG_INJ
2025:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG (0)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 37
2026:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_INJ (0)
2027:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG_INJ
2028:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG (0)
2029:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_INJ (0)
2030:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG_INJ
2031:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG (0)
2032:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_INJ (0)
2033:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG_INJ
2034:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG (0)
2035:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_INJ (0)
2036:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG_INJ
2037:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG (0)
2038:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_INJ (0)
2039:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG_INJ
2040:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG (0)
2041:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_INJ (0)
2042:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG_INJ
2043:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_18_REG (0)
2044:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_18_INJ (0)
2045:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_18_REG_INJ
2046:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_19_REG (0)
2047:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_19_INJ (0)
2048:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_19_REG_INJ
2049:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_REG (0)(1)
2050:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_INJ (0)(1)
2051:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_REG_INJ (1)
2052:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_REG (0)(1)
2053:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_INJ (0)(1)
2054:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_REG_INJ (1)
2055:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VBAT_REG (0)(1)
2056:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VBAT_INJ (0)(1)
2057:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VBAT_REG_INJ (1)
2058:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_DAC1CH1_ADC2_REG (0)(2)
2059:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_DAC1CH1_ADC2_INJ (0)(2)
2060:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_DAC1CH1_ADC2_REG_INJ (2)
2061:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_DAC1CH2_ADC2_REG (0)(2)
2062:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_DAC1CH2_ADC2_INJ (0)(2)
2063:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_DAC1CH2_ADC2_REG_INJ (2)
2064:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
2065:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (0) On STM32H7, parameter available only on analog watchdog number: AWD1.\n
2066:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
2067:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.
2068:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2069:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_ANALOGWD_CHANNEL_GROUP(__CHANNEL__, __GROUP__)
2070:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((__GROUP__) == LL_ADC_GROUP_REGULAR)
2071:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ? (((__CHANNEL__) & ADC_CHANNEL_ID_MASK) | ADC_CFGR_AWD1EN | ADC_CFGR_AWD1SGL)
2072:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** :
2073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__GROUP__) == LL_ADC_GROUP_INJECTED)
2074:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ? (((__CHANNEL__) & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JAWD1EN | ADC_CFGR_AWD1SGL)
2075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** :
2076:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((__CHANNEL__) & ADC_CHANNEL_ID_MASK) | ADC_CFGR_JAWD1EN | ADC_CFGR_AWD1EN | ADC_CFGR_AWD
2077:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2078:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2079:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2080:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to set the value of ADC analog watchdog threshold high
2081:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or low in function of ADC resolution, when ADC resolution is
2082:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * different of 16 bits.
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 38
2083:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note To be used with function @ref LL_ADC_SetAnalogWDThresholds().
2084:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Example, with a ADC resolution of 8 bits, to set the value of
2085:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * analog watchdog threshold high (on 18 bits):
2086:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_SetAnalogWDThresholds
2087:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (< ADCx param >,
2088:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * __LL_ADC_ANALOGWD_SET_THRESHOLD_RESOLUTION(LL_ADC_RESOLUTION_8B, <threshold_value_1
2089:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * );
2090:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_RESOLUTION__ This parameter can be one of the following values:
2091:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_16B
2092:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_14B
2093:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
2094:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
2095:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
2096:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __AWD_THRESHOLD__ Value between Min_Data=0x000000 and Max_Data=0xFFFFFF
2097:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x000000 and Max_Data=0xFFFFFF
2098:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2099:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_ANALOGWD_SET_THRESHOLD_RESOLUTION(__ADC_RESOLUTION__, __AWD_THRESHOLD__) \
2100:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__AWD_THRESHOLD__) << ((__ADC_RESOLUTION__) >> (ADC_CFGR_RES_BITOFFSET_POS - 1U )))
2101:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2102:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2103:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to get the value of ADC analog watchdog threshold high
2104:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or low in function of ADC resolution, when ADC resolution is
2105:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * different of 16 bits.
2106:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note To be used with function @ref LL_ADC_GetAnalogWDThresholds().
2107:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Example, with a ADC resolution of 8 bits, to get the value of
2108:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * analog watchdog threshold high (on 18 bits):
2109:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * < threshold_value_18_bits > = __LL_ADC_ANALOGWD_GET_THRESHOLD_RESOLUTION
2110:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (LL_ADC_RESOLUTION_8B,
2111:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_GetAnalogWDThresholds(<ADCx param>, LL_ADC_AWD_THRESHOLD_HIGH)
2112:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * );
2113:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_RESOLUTION__ This parameter can be one of the following values:
2114:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_16B
2115:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_14B
2116:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
2117:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
2118:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
2119:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __AWD_THRESHOLD_16_BITS__ Value between Min_Data=0x000000 and Max_Data=0xFFFFFF
2120:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x000000 and Max_Data=0xFFFFFF
2121:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2122:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_ANALOGWD_GET_THRESHOLD_RESOLUTION(__ADC_RESOLUTION__, __AWD_THRESHOLD_16_BITS__) \
2123:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__AWD_THRESHOLD_16_BITS__) >> ((__ADC_RESOLUTION__) >> (ADC_CFGR_RES_BITOFFSET_POS - 1U )))
2124:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2125:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2126:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to set the ADC calibration value with both single ended
2127:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and differential modes calibration factors concatenated.
2128:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note To be used with function @ref LL_ADC_SetCalibrationOffsetFactor().
2129:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Example, to set calibration factors single ended to 0x55
2130:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and differential ended to 0x2A:
2131:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_SetCalibrationOffsetFactor(
2132:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC1,
2133:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * __LL_ADC_CALIB_FACTOR_SINGLE_DIFF(0x55, 0x2A))
2134:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __CALIB_FACTOR_SINGLE_ENDED__ Value between Min_Data=0x00 and Max_Data=0x7F
2135:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __CALIB_FACTOR_DIFFERENTIAL__ Value between Min_Data=0x00 and Max_Data=0x7F
2136:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x00000000 and Max_Data=0xFFFFFFFF
2137:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2138:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_CALIB_FACTOR_SINGLE_DIFF(__CALIB_FACTOR_SINGLE_ENDED__, __CALIB_FACTOR_DIFFERENTIA
2139:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((__CALIB_FACTOR_DIFFERENTIAL__) << ADC_CALFACT_CALFACT_D_Pos) | (__CALIB_FACTOR_SINGLE_ENDED__)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 39
2140:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2141:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2142:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to get the ADC multimode conversion data of ADC master
2143:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or ADC slave from raw value with both ADC conversion data concatenated.
2144:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This macro is intended to be used when multimode transfer by DMA
2145:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is enabled: refer to function @ref LL_ADC_SetMultiDMATransfer().
2146:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * In this case the transferred data need to processed with this macro
2147:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * to separate the conversion data of ADC master and ADC slave.
2148:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_MULTI_MASTER_SLAVE__ This parameter can be one of the following values:
2149:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_MASTER
2150:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_SLAVE
2151:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_MULTI_CONV_DATA__ Value between Min_Data=0x000 and Max_Data=0xFFF
2152:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0xFFF
2153:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2154:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE(__ADC_MULTI_MASTER_SLAVE__, __ADC_MULTI_CONV_DATA__)
2155:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((__ADC_MULTI_CONV_DATA__) >> ((ADC_CDR_RDATA_SLV_Pos) & ~(__ADC_MULTI_MASTER_SLAVE__))) & ADC_C
2156:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2157:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2158:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to select, from a ADC instance, to which ADC instance
2159:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * it has a dependence in multimode (ADC master of the corresponding
2160:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC common instance).
2161:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note In case of device with multimode available and a mix of
2162:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC instances compliant and not compliant with multimode feature,
2163:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC instances not compliant with multimode feature are
2164:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * considered as master instances (do not depend to
2165:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * any other ADC instance).
2166:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADCx__ ADC instance
2167:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval __ADCx__ ADC instance master of the corresponding ADC common instance
2168:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2169:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_MULTI_INSTANCE_MASTER(__ADCx__) \
2170:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ( ( ((__ADCx__) == ADC2) \
2171:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )? \
2172:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (ADC1) \
2173:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** : \
2174:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (__ADCx__) \
2175:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2176:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2177:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2178:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to select the ADC common instance
2179:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * to which is belonging the selected ADC instance.
2180:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note ADC common register instance can be used for:
2181:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Set parameters common to several ADC instances
2182:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Multimode (for devices with several ADC instances)
2183:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to functions having argument "ADCxy_COMMON" as parameter.
2184:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADCx__ ADC instance
2185:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval ADC common register instance
2186:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2187:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC3_COMMON)
2188:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_COMMON_INSTANCE(__ADCx__) \
2189:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((((__ADCx__) == ADC1) || ((__ADCx__) == ADC2)) \
2190:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ? ( \
2191:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (ADC12_COMMON) \
2192:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) \
2193:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** : \
2194:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ( \
2195:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (ADC3_COMMON) \
2196:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) \
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 40
2197:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2198:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
2199:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_COMMON_INSTANCE(__ADCx__) (ADC12_COMMON)
2200:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif
2201:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2202:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2203:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to check if all ADC instances sharing the same
2204:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC common instance are disabled.
2205:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This check is required by functions with setting conditioned to
2206:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
2207:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * All ADC instances of the ADC common group must be disabled.
2208:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to functions having argument "ADCxy_COMMON" as parameter.
2209:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On devices with only 1 ADC common instance, parameter of this macro
2210:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is useless and can be ignored (parameter kept for compatibility
2211:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * with devices featuring several ADC common instances).
2212:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADCXY_COMMON__ ADC common instance
2213:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
2214:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value "0" if all ADC instances sharing the same ADC common instance
2215:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * are disabled.
2216:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Value "1" if at least one ADC instance sharing the same ADC common instance
2217:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is enabled.
2218:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2219:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC3_COMMON)
2220:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(__ADCXY_COMMON__) \
2221:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((__ADCXY_COMMON__) == ADC12_COMMON) \
2222:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ? ( \
2223:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (LL_ADC_IsEnabled(ADC1) | \
2224:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** LL_ADC_IsEnabled(ADC2) ) \
2225:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) \
2226:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** : \
2227:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ( \
2228:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (LL_ADC_IsEnabled(ADC3)) \
2229:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) \
2230:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2231:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
2232:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(__ADCXY_COMMON__) \
2233:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (LL_ADC_IsEnabled(ADC1) | LL_ADC_IsEnabled(ADC2))
2234:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif
2235:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2236:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2237:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to define the ADC conversion data full-scale digital
2238:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * value corresponding to the selected ADC resolution.
2239:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note ADC conversion data full-scale corresponds to voltage range
2240:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * determined by analog voltage references Vref+ and Vref-
2241:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (refer to reference manual).
2242:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_RESOLUTION__ This parameter can be one of the following values:
2243:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_16B
2244:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_14B
2245:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
2246:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
2247:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
2248:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval ADC conversion data full-scale digital value (unit: digital value of ADC conversion dat
2249:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2250:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_DIGITAL_SCALE(__ADC_RESOLUTION__) \
2251:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (0xFFFFUL >> ((__ADC_RESOLUTION__) >> (ADC_CFGR_RES_BITOFFSET_POS - 1UL)))
2252:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2253:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 41
2254:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2255:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to define the ADC conversion data full-scale digital
2256:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * value corresponding to the selected ADC resolution.
2257:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note ADC conversion data full-scale corresponds to voltage range
2258:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * determined by analog voltage references Vref+ and Vref-
2259:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (refer to reference manual).
2260:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_RESOLUTION__ This parameter can be one of the following values:
2261:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
2262:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
2263:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
2264:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_6B
2265:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval ADC conversion data equivalent voltage value (unit: digital value of ADC conversion bit
2266:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2267:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC3_DIGITAL_SCALE(__ADC_RESOLUTION__) \
2268:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (0xFFFUL >> ((__ADC_RESOLUTION__) >> (ADC_CFGR_RES_BITOFFSET_POS_ADC3 - 1UL)))
2269:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
2270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2271:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to convert the ADC conversion data from
2272:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * a resolution to another resolution.
2273:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __DATA__ ADC conversion data to be converted
2274:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_RESOLUTION_CURRENT__ Resolution of the data to be converted
2275:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This parameter can be one of the following values:
2276:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_16B
2277:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_14B
2278:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
2279:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
2280:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
2281:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_RESOLUTION_TARGET__ Resolution of the data after conversion
2282:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This parameter can be one of the following values:
2283:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_16B
2284:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_14B
2285:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
2286:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
2287:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
2288:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval ADC conversion data to the requested resolution
2289:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2290:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_X) || defined(ADC_VER_V5_V90)
2291:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_CONVERT_DATA_RESOLUTION(__DATA__,\
2292:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __ADC_RESOLUTION_CURRENT__,\
2293:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __ADC_RESOLUTION_TARGET__) \
2294:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ( (__ADC_RESOLUTION_CURRENT__ == LL_ADC_RESOLUTION_8B)
2295:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ?(
2296:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__DATA__)
2297:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** << (((__ADC_RESOLUTION_CURRENT__) & ~(ADC_CFGR_RES_1 | ADC_CFGR_RES_0) ) >> (ADC_CFGR_RES_BITOF
2298:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** >> ((__ADC_RESOLUTION_TARGET__) >> (ADC_CFGR_RES_BITOFFSET_POS - 1UL))
2299:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2300:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** :
2301:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (
2302:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (__ADC_RESOLUTION_TARGET__ == LL_ADC_RESOLUTION_8B) \
2303:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ? ( \
2304:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__DATA__)
2305:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** << ((__ADC_RESOLUTION_CURRENT__) >> (ADC_CFGR_RES_BITOFFSET_POS - 1UL)))
2306:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** >> (((__ADC_RESOLUTION_TARGET__) & ~(ADC_CFGR_RES_1 | ADC_CFGR_RES_0) ) >> (ADC_CFGR_RES
2307:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2308:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** :\
2309:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (\
2310:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__DATA__)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 42
2311:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** << ((__ADC_RESOLUTION_CURRENT__) >> (ADC_CFGR_RES_BITOFFSET_POS - 1UL)))
2312:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** >> ((__ADC_RESOLUTION_TARGET__) >> (ADC_CFGR_RES_BITOFFSET_POS - 1UL))
2313:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2314:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )\
2315:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2316:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2317:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2318:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else /* defined(ADC_VER_V5_3) */
2319:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_CONVERT_DATA_RESOLUTION(__DATA__,\
2320:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __ADC_RESOLUTION_CURRENT__,\
2321:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __ADC_RESOLUTION_TARGET__) \
2322:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ( (__ADC_RESOLUTION_CURRENT__ == LL_ADC_RESOLUTION_8B)
2323:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ?(
2324:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__DATA__)
2325:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** << (((__ADC_RESOLUTION_CURRENT__) & ~(ADC_CFGR_RES_1 | ADC_CFGR_RES_0) ) >> (ADC_CFGR_RES_BITOF
2326:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** >> ((__ADC_RESOLUTION_TARGET__) >> (ADC_CFGR_RES_BITOFFSET_POS - 1UL))
2327:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2328:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** :
2329:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (
2330:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (__ADC_RESOLUTION_TARGET__ == LL_ADC_RESOLUTION_8B) \
2331:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ? ( \
2332:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__DATA__)
2333:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** << ((__ADC_RESOLUTION_CURRENT__) >> (ADC_CFGR_RES_BITOFFSET_POS - 1UL)))
2334:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** >> (((__ADC_RESOLUTION_TARGET__) & ~(ADC_CFGR_RES_1 | ADC_CFGR_RES_0) ) >> (ADC_CFGR_RES
2335:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2336:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** :\
2337:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (\
2338:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__DATA__)
2339:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** << ((__ADC_RESOLUTION_CURRENT__) >> (ADC_CFGR_RES_BITOFFSET_POS - 1UL)))
2340:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** >> ((__ADC_RESOLUTION_TARGET__) >> (ADC_CFGR_RES_BITOFFSET_POS - 1UL))
2341:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2342:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )\
2343:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2344:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2345:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif
2346:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2347:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
2348:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2349:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to convert the ADC conversion data from
2350:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * a resolution to another resolution.
2351:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __DATA__ ADC conversion data to be converted
2352:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_RESOLUTION_CURRENT__ Resolution of the data to be converted
2353:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This parameter can be one of the following values:
2354:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
2355:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
2356:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
2357:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_6B
2358:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_RESOLUTION_TARGET__ Resolution of the data after conversion
2359:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This parameter can be one of the following values:
2360:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
2361:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
2362:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
2363:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_6B
2364:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval ADC conversion data to the requested resolution
2365:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2366:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_CONVERT_DATA_RESOLUTION_ADC3(__DATA__,\
2367:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __ADC_RESOLUTION_CURRENT__,\
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 43
2368:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __ADC_RESOLUTION_TARGET__) \
2369:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((__DATA__) \
2370:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** << ((__ADC_RESOLUTION_CURRENT__) >> (ADC_CFGR_RES_BITOFFSET_POS_ADC3 - 1UL))) \
2371:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** >> ((__ADC_RESOLUTION_TARGET__) >> (ADC_CFGR_RES_BITOFFSET_POS_ADC3 - 1UL)) \
2372:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2373:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
2374:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2375:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to calculate the voltage (unit: mVolt)
2376:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * corresponding to a ADC conversion data (unit: digital value).
2377:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Analog reference voltage (Vref+) must be either known from
2378:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * user board environment or can be calculated using ADC measurement
2379:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and ADC helper macro @ref __LL_ADC_CALC_VREFANALOG_VOLTAGE().
2380:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __VREFANALOG_VOLTAGE__ Analog reference voltage (unit: mV)
2381:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_DATA__ ADC conversion data (resolution 16 bits)
2382:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (unit: digital value).
2383:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_RESOLUTION__ This parameter can be one of the following values:
2384:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_16B
2385:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_14B
2386:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
2387:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
2388:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
2389:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval ADC conversion data equivalent voltage value (unit: mVolt)
2390:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2391:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_CALC_DATA_TO_VOLTAGE(__VREFANALOG_VOLTAGE__,\
2392:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __ADC_DATA__,\
2393:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __ADC_RESOLUTION__) \
2394:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((__ADC_DATA__) * (__VREFANALOG_VOLTAGE__) \
2395:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** / __LL_ADC_DIGITAL_SCALE(__ADC_RESOLUTION__) \
2396:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2397:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2398:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2399:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to calculate analog reference voltage (Vref+)
2400:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (unit: mVolt) from ADC conversion data of internal voltage
2401:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * reference VrefInt.
2402:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Computation is using VrefInt calibration value
2403:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * stored in system memory for each device during production.
2404:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This voltage depends on user board environment: voltage level
2405:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * connected to pin Vref+.
2406:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * On devices with small package, the pin Vref+ is not present
2407:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and internally bonded to pin Vdda.
2408:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, calibration data of internal voltage reference
2409:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * VrefInt corresponds to a resolution of 16 bits,
2410:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * this is the recommended ADC resolution to convert voltage of
2411:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * internal voltage reference VrefInt.
2412:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Otherwise, this macro performs the processing to scale
2413:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversion data to 16 bits.
2414:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __VREFINT_ADC_DATA__ ADC conversion data (resolution 16 bits)
2415:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * of internal voltage reference VrefInt (unit: digital value).
2416:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_RESOLUTION__ This parameter can be one of the following values:
2417:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_16B
2418:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_14B
2419:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
2420:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
2421:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
2422:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Analog reference voltage (unit: mV)
2423:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2424:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_CALC_VREFANALOG_VOLTAGE(__VREFINT_ADC_DATA__,\
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 44
2425:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __ADC_RESOLUTION__) \
2426:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((uint32_t)(*VREFINT_CAL_ADDR) * VREFINT_CAL_VREF) \
2427:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** / __LL_ADC_CONVERT_DATA_RESOLUTION((__VREFINT_ADC_DATA__), \
2428:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (__ADC_RESOLUTION__), \
2429:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** LL_ADC_RESOLUTION_16B) \
2430:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2431:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2432:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2433:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to calculate the temperature (unit: degree Celsius)
2434:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * from ADC conversion data of internal temperature sensor.
2435:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Computation is using temperature sensor calibration values
2436:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * stored in system memory for each device during production.
2437:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Calculation formula:
2438:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Temperature = ((TS_ADC_DATA - TS_CAL1)
2439:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * * (TS_CAL2_TEMP - TS_CAL1_TEMP))
2440:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * / (TS_CAL2 - TS_CAL1) + TS_CAL1_TEMP
2441:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * with TS_ADC_DATA = temperature sensor raw data measured by ADC
2442:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Avg_Slope = (TS_CAL2 - TS_CAL1)
2443:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * / (TS_CAL2_TEMP - TS_CAL1_TEMP)
2444:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TS_CAL1 = equivalent TS_ADC_DATA at temperature
2445:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TEMP_DEGC_CAL1 (calibrated in factory)
2446:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TS_CAL2 = equivalent TS_ADC_DATA at temperature
2447:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TEMP_DEGC_CAL2 (calibrated in factory)
2448:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Caution: Calculation relevancy under reserve that calibration
2449:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * parameters are correct (address and data).
2450:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * To calculate temperature using temperature sensor
2451:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * datasheet typical values (generic values less, therefore
2452:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * less accurate than calibrated values),
2453:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * use helper macro @ref __LL_ADC_CALC_TEMPERATURE_TYP_PARAMS().
2454:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note As calculation input, the analog reference voltage (Vref+) must be
2455:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * defined as it impacts the ADC LSB equivalent voltage.
2456:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Analog reference voltage (Vref+) must be either known from
2457:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * user board environment or can be calculated using ADC measurement
2458:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and ADC helper macro @ref __LL_ADC_CALC_VREFANALOG_VOLTAGE().
2459:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, calibration data of temperature sensor
2460:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * corresponds to a resolution of 16 bits,
2461:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * this is the recommended ADC resolution to convert voltage of
2462:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * temperature sensor.
2463:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Otherwise, this macro performs the processing to scale
2464:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversion data to 16 bits.
2465:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __VREFANALOG_VOLTAGE__ Analog reference voltage (unit: mV)
2466:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __TEMPSENSOR_ADC_DATA__ ADC conversion data of internal
2467:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * temperature sensor (unit: digital value).
2468:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_RESOLUTION__ ADC resolution at which internal temperature
2469:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * sensor voltage has been measured.
2470:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This parameter can be one of the following values:
2471:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_16B
2472:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_14B
2473:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
2474:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
2475:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
2476:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Temperature (unit: degree Celsius)
2477:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2478:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_CALC_TEMPERATURE(__VREFANALOG_VOLTAGE__,\
2479:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __TEMPSENSOR_ADC_DATA__,\
2480:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __ADC_RESOLUTION__) \
2481:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((( ((int32_t)((__LL_ADC_CONVERT_DATA_RESOLUTION((__TEMPSENSOR_ADC_DATA__), \
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 45
2482:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (__ADC_RESOLUTION__), \
2483:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** LL_ADC_RESOLUTION_16B) \
2484:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (__VREFANALOG_VOLTAGE__)) \
2485:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** / TEMPSENSOR_CAL_VREFANALOG) \
2486:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** - (int32_t) *TEMPSENSOR_CAL1_ADDR) \
2487:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) * (int32_t)(TEMPSENSOR_CAL2_TEMP - TEMPSENSOR_CAL1_TEMP) \
2488:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) / (int32_t)((int32_t)*TEMPSENSOR_CAL2_ADDR - (int32_t)*TEMPSENSOR_CAL1_ADDR) \
2489:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) + TEMPSENSOR_CAL1_TEMP \
2490:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2491:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2492:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2493:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Helper macro to calculate the temperature (unit: degree Celsius)
2494:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * from ADC conversion data of internal temperature sensor.
2495:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Computation is using temperature sensor typical values
2496:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (refer to device datasheet).
2497:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Calculation formula:
2498:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Temperature = (TS_TYP_CALx_VOLT(uV) - TS_ADC_DATA * Conversion_uV)
2499:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * / Avg_Slope + CALx_TEMP
2500:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * with TS_ADC_DATA = temperature sensor raw data measured by ADC
2501:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (unit: digital value)
2502:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Avg_Slope = temperature sensor slope
2503:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (unit: uV/Degree Celsius)
2504:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TS_TYP_CALx_VOLT = temperature sensor digital value at
2505:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * temperature CALx_TEMP (unit: mV)
2506:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Caution: Calculation relevancy under reserve the temperature sensor
2507:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * of the current device has characteristics in line with
2508:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * datasheet typical values.
2509:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * If temperature sensor calibration values are available on
2510:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on this device (presence of macro __LL_ADC_CALC_TEMPERATURE()),
2511:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * temperature calculation will be more accurate using
2512:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * helper macro @ref __LL_ADC_CALC_TEMPERATURE().
2513:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note As calculation input, the analog reference voltage (Vref+) must be
2514:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * defined as it impacts the ADC LSB equivalent voltage.
2515:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Analog reference voltage (Vref+) must be either known from
2516:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * user board environment or can be calculated using ADC measurement
2517:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and ADC helper macro @ref __LL_ADC_CALC_VREFANALOG_VOLTAGE().
2518:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note ADC measurement data must correspond to a resolution of 16 bits
2519:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (full scale digital value 4095). If not the case, the data must be
2520:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * preliminarily rescaled to an equivalent resolution of 16 bits.
2521:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __TEMPSENSOR_TYP_AVGSLOPE__ Device datasheet data: Temperature sensor slope typical v
2522:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * On STM32H7, refer to device datasheet parameter "Avg_Slop
2523:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __TEMPSENSOR_TYP_CALX_V__ Device datasheet data: Temperature sensor voltage typical
2524:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * On STM32H7, refer to device datasheet parameter "V30" (co
2525:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __TEMPSENSOR_CALX_TEMP__ Device datasheet data: Temperature at which temperature s
2526:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __VREFANALOG_VOLTAGE__ Analog voltage reference (Vref+) voltage (unit: mV)
2527:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __TEMPSENSOR_ADC_DATA__ ADC conversion data of internal temperature sensor (unit:
2528:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param __ADC_RESOLUTION__ ADC resolution at which internal temperature sensor volta
2529:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This parameter can be one of the following values:
2530:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_16B
2531:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_14B
2532:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
2533:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
2534:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
2535:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Temperature (unit: degree Celsius)
2536:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2537:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #define __LL_ADC_CALC_TEMPERATURE_TYP_PARAMS(__TEMPSENSOR_TYP_AVGSLOPE__,\
2538:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __TEMPSENSOR_TYP_CALX_V__,\
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 46
2539:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __TEMPSENSOR_CALX_TEMP__,\
2540:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __VREFANALOG_VOLTAGE__,\
2541:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __TEMPSENSOR_ADC_DATA__,\
2542:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __ADC_RESOLUTION__) \
2543:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((( ( \
2544:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (int32_t)((((__TEMPSENSOR_ADC_DATA__) * (__VREFANALOG_VOLTAGE__)) \
2545:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** / __LL_ADC_DIGITAL_SCALE(__ADC_RESOLUTION__)) \
2546:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * 1000UL) \
2547:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** - \
2548:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (int32_t)(((__TEMPSENSOR_TYP_CALX_V__)) \
2549:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * 1000UL) \
2550:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) \
2551:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) / (int32_t)(__TEMPSENSOR_TYP_AVGSLOPE__) \
2552:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ) + (int32_t)(__TEMPSENSOR_CALX_TEMP__) \
2553:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
2554:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2555:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2556:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
2557:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2558:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2559:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2560:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
2561:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2562:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2563:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2564:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Exported functions --------------------------------------------------------*/
2565:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_Exported_Functions ADC Exported Functions
2566:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
2567:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2568:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2569:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EF_DMA_Management ADC DMA management
2570:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
2571:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2572:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2573:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2574:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Function to help to configure DMA transfer from ADC: retrieve the
2575:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC register address from ADC instance and a list of ADC registers
2576:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * intended to be used (most commonly) with DMA transfer.
2577:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note These ADC registers are data registers:
2578:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * when ADC conversion data is available in ADC data registers,
2579:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC generates a DMA transfer request.
2580:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This macro is intended to be used with LL DMA driver, refer to
2581:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * function "LL_DMA_ConfigAddresses()".
2582:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Example:
2583:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_DMA_ConfigAddresses(DMA1,
2584:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_DMA_CHANNEL_1,
2585:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_DMA_GetRegAddr(ADC1, LL_ADC_DMA_REG_REGULAR_DATA),
2586:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (uint32_t)&< array or variable >,
2587:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_DMA_DIRECTION_PERIPH_TO_MEMORY);
2588:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with several ADC: in multimode, some devices
2589:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * use a different data register outside of ADC instance scope
2590:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (common data register). This macro manages this register difference,
2591:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * only ADC instance has to be set as parameter.
2592:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll DR RDATA LL_ADC_DMA_GetRegAddr\n
2593:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CDR RDATA_MST LL_ADC_DMA_GetRegAddr\n
2594:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CDR RDATA_SLV LL_ADC_DMA_GetRegAddr
2595:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 47
2596:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Register This parameter can be one of the following values:
2597:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_DMA_REG_REGULAR_DATA
2598:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_DMA_REG_REGULAR_DATA_MULTI (1)
2599:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
2600:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) Available on devices with several ADC instances.
2601:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval ADC register address
2602:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_DMA_GetRegAddr(ADC_TypeDef *ADCx, uint32_t Register)
2604:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2605:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t data_reg_addr;
2606:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2607:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (Register == LL_ADC_DMA_REG_REGULAR_DATA)
2608:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2609:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Retrieve address of register DR */
2610:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** data_reg_addr = (uint32_t) & (ADCx->DR);
2611:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2612:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else /* (Register == LL_ADC_DMA_REG_REGULAR_DATA_MULTI) */
2613:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2614:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Retrieve address of register CDR */
2615:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** data_reg_addr = (uint32_t) & ((__LL_ADC_COMMON_INSTANCE(ADCx))->CDR);
2616:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2617:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2618:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return data_reg_addr;
2619:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2620:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2621:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2622:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
2623:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2624:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2625:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Common Configuration of ADC hierarchical scope: common to
2626:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
2627:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2628:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2629:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2630:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set parameter common to several ADC: Clock source and prescaler.
2631:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, if ADC group injected is used, some
2632:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * clock ratio constraints between ADC clock and AHB clock
2633:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * must be respected.
2634:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to reference manual.
2635:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
2636:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
2637:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * All ADC instances of the ADC common group must be disabled.
2638:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This check can be done with function @ref LL_ADC_IsEnabled() for each
2639:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC instance or by using helper macro helper macro
2640:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE().
2641:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CCR CKMODE LL_ADC_SetCommonClock\n
2642:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CCR PRESC LL_ADC_SetCommonClock
2643:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
2644:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
2645:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param CommonClock This parameter can be one of the following values:
2646:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_SYNC_PCLK_DIV1
2647:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_SYNC_PCLK_DIV2
2648:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_SYNC_PCLK_DIV4
2649:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV1
2650:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV2
2651:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV4
2652:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV6
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 48
2653:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV8
2654:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV10
2655:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV12
2656:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV16
2657:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV32
2658:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV64
2659:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV128
2660:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV256
2661:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
2662:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2663:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetCommonClock(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t CommonClock)
2664:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2665:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCxy_COMMON->CCR, ADC_CCR_CKMODE | ADC_CCR_PRESC, CommonClock);
2666:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2667:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2668:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2669:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get parameter common to several ADC: Clock source and prescaler.
2670:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CCR CKMODE LL_ADC_GetCommonClock\n
2671:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CCR PRESC LL_ADC_GetCommonClock
2672:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
2673:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
2674:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
2675:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_SYNC_PCLK_DIV1
2676:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_SYNC_PCLK_DIV2
2677:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_SYNC_PCLK_DIV4
2678:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV1
2679:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV2
2680:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV4
2681:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV6
2682:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV8
2683:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV10
2684:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV12
2685:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV16
2686:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV32
2687:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV64
2688:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV128
2689:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CLOCK_ASYNC_DIV256
2690:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2691:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetCommonClock(ADC_Common_TypeDef *ADCxy_COMMON)
2692:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2693:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCxy_COMMON->CCR, ADC_CCR_CKMODE | ADC_CCR_PRESC));
2694:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2695:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2696:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2697:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set parameter common to several ADC: measurement path to internal
2698:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * channels (VrefInt, temperature sensor, ...).
2699:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note One or several values can be selected.
2700:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Example: (LL_ADC_PATH_INTERNAL_VREFINT |
2701:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_PATH_INTERNAL_TEMPSENSOR)
2702:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Stabilization time of measurement path to internal channel:
2703:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * After enabling internal paths, before starting ADC conversion,
2704:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * a delay is required for internal voltage reference and
2705:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * temperature sensor stabilization time.
2706:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to device datasheet.
2707:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to literal @ref LL_ADC_DELAY_VREFINT_STAB_US.
2708:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to literal @ref LL_ADC_DELAY_TEMPSENSOR_STAB_US.
2709:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note ADC internal channel sampling time constraint:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 49
2710:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * For ADC conversion of internal channels,
2711:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * a sampling time minimum value is required.
2712:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to device datasheet.
2713:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
2714:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
2715:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * All ADC instances of the ADC common group must be disabled.
2716:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This check can be done with function @ref LL_ADC_IsEnabled() for each
2717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC instance or by using helper macro helper macro
2718:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE().
2719:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CCR VREFEN LL_ADC_SetCommonPathInternalCh\n
2720:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CCR TSEN LL_ADC_SetCommonPathInternalCh\n
2721:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CCR VBATEN LL_ADC_SetCommonPathInternalCh
2722:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
2723:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
2724:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param PathInternal This parameter can be a combination of the following values:
2725:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_NONE
2726:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_VREFINT
2727:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_TEMPSENSOR
2728:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_VBAT
2729:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
2730:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2731:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetCommonPathInternalCh(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t Path
2732:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCxy_COMMON->CCR, ADC_CCR_VREFEN | ADC_CCR_TSEN | ADC_CCR_VBATEN, PathInternal);
2734:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2735:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2736:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2737:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get parameter common to several ADC: measurement path to internal
2738:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * channels (VrefInt, temperature sensor, ...).
2739:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note One or several values can be selected.
2740:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Example: (LL_ADC_PATH_INTERNAL_VREFINT |
2741:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_PATH_INTERNAL_TEMPSENSOR)
2742:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CCR VREFEN LL_ADC_GetCommonPathInternalCh\n
2743:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CCR TSEN LL_ADC_GetCommonPathInternalCh\n
2744:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CCR VBATEN LL_ADC_GetCommonPathInternalCh
2745:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
2746:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
2747:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be a combination of the following values:
2748:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_NONE
2749:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_VREFINT
2750:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_TEMPSENSOR
2751:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_VBAT
2752:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2753:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetCommonPathInternalCh(ADC_Common_TypeDef *ADCxy_COMMON)
2754:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2755:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCxy_COMMON->CCR, ADC_CCR_VREFEN | ADC_CCR_TSEN | ADC_CCR_VBATEN));
2756:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2757:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2758:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2759:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set parameter common to several ADC: measurement path to
2760:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * internal channels (VrefInt, temperature sensor, ...).
2761:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Add paths to the current configuration.
2762:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note One or several values can be selected.
2763:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Example: (LL_ADC_PATH_INTERNAL_VREFINT |
2764:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_PATH_INTERNAL_TEMPSENSOR)
2765:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Stabilization time of measurement path to internal channel:
2766:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * After enabling internal paths, before starting ADC conversion,
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 50
2767:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * a delay is required for internal voltage reference and
2768:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * temperature sensor stabilization time.
2769:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to device datasheet.
2770:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to literal @ref LL_ADC_DELAY_VREFINT_STAB_US.
2771:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to literal @ref LL_ADC_DELAY_TEMPSENSOR_STAB_US.
2772:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note ADC internal channel sampling time constraint:
2773:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * For ADC conversion of internal channels,
2774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * a sampling time minimum value is required.
2775:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to device datasheet.
2776:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CCR VREFEN LL_ADC_SetCommonPathInternalChAdd\n
2777:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CCR TSEN LL_ADC_SetCommonPathInternalChAdd\n
2778:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CCR VBATEN LL_ADC_SetCommonPathInternalChAdd
2779:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
2780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
2781:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param PathInternal This parameter can be a combination of the following values:
2782:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_NONE
2783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_VREFINT
2784:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_TEMPSENSOR
2785:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_VBAT
2786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
2787:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2788:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetCommonPathInternalChAdd(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t P
2789:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2790:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SET_BIT(ADCxy_COMMON->CCR, PathInternal);
2791:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2792:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2793:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2794:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set parameter common to several ADC: measurement path to
2795:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * internal channels (VrefInt, temperature sensor, ...).
2796:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Remove paths to the current configuration.
2797:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note One or several values can be selected.
2798:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Example: (LL_ADC_PATH_INTERNAL_VREFINT |
2799:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_PATH_INTERNAL_TEMPSENSOR)
2800:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CCR VREFEN LL_ADC_SetCommonPathInternalChRem\n
2801:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CCR TSEN LL_ADC_SetCommonPathInternalChRem\n
2802:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CCR VBATEN LL_ADC_SetCommonPathInternalChRem
2803:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
2804:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
2805:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param PathInternal This parameter can be a combination of the following values:
2806:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_NONE
2807:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_VREFINT
2808:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_TEMPSENSOR
2809:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_PATH_INTERNAL_VBAT
2810:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
2811:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2812:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetCommonPathInternalChRem(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t P
2813:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2814:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCxy_COMMON->CCR, PathInternal);
2815:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2816:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2817:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2818:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
2819:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2820:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2821:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Instance Configuration of ADC hierarchical scope: ADC ins
2822:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
2823:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 51
2824:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2825:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2826:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC calibration factor in the mode single-ended
2827:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or differential (for devices with differential mode available).
2828:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This function is intended to set calibration parameters
2829:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * without having to perform a new calibration using
2830:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref LL_ADC_StartCalibration().
2831:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with differential mode available:
2832:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Calibration of offset is specific to each of
2833:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * single-ended and differential modes
2834:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (calibration factor must be specified for each of these
2835:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * differential modes, if used afterwards and if the application
2836:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * requires their calibration).
2837:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Calibration of linearity is common to both
2838:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * single-ended and differential modes
2839:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (calibration factor can be specified only once).
2840:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note In case of setting calibration factors of both modes single ended
2841:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and differential (parameter LL_ADC_BOTH_SINGLE_DIFF_ENDED):
2842:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * both calibration factors must be concatenated.
2843:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * To perform this processing, use helper macro
2844:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref __LL_ADC_CALIB_FACTOR_SINGLE_DIFF().
2845:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
2846:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
2847:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be enabled, without calibration on going, without conversion
2848:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on going on group regular.
2849:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CALFACT CALFACT_S LL_ADC_SetCalibrationOffsetFactor\n
2850:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CALFACT CALFACT_D LL_ADC_SetCalibrationOffsetFactor
2851:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
2852:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param SingleDiff This parameter can be one of the following values:
2853:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SINGLE_ENDED
2854:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_DIFFERENTIAL_ENDED
2855:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_BOTH_SINGLE_DIFF_ENDED
2856:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param CalibrationFactor Value between Min_Data=0x00 and Max_Data=0x7F
2857:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
2858:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2859:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetCalibrationOffsetFactor(ADC_TypeDef *ADCx, uint32_t SingleDiff, uint
2860:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2861:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
2862:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CALFACT_RES13,
2863:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SingleDiff & ADC_SINGLEDIFF_CALIB_FACTOR_MASK,
2864:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CalibrationFactor << (((SingleDiff & ADC_SINGLEDIFF_CALIB_F_BIT_D_MASK) >> ADC_SINGLED
2865:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
2866:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CALFACT,
2867:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SingleDiff & ADC_SINGLEDIFF_CALIB_FACTOR_MASK,
2868:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CalibrationFactor << (((SingleDiff & ADC_SINGLEDIFF_CALIB_F_BIT_D_MASK) >> ADC_SINGLED
2869:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
2870:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2871:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2872:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2873:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC calibration factor in the mode single-ended
2874:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or differential (for devices with differential mode available).
2875:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Calibration factors are set by hardware after performing
2876:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * a calibration run using function @ref LL_ADC_StartCalibration().
2877:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with differential mode available:
2878:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Calibration of offset is specific to each of
2879:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * single-ended and differential modes
2880:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Calibration of linearity is common to both
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 52
2881:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * single-ended and differential modes
2882:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CALFACT CALFACT_S LL_ADC_GetCalibrationOffsetFactor\n
2883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CALFACT CALFACT_D LL_ADC_GetCalibrationOffsetFactor
2884:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
2885:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param SingleDiff This parameter can be one of the following values:
2886:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SINGLE_ENDED
2887:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_DIFFERENTIAL_ENDED
2888:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x00 and Max_Data=0x7F
2889:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2890:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetCalibrationOffsetFactor(ADC_TypeDef *ADCx, uint32_t SingleDiff)
2891:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2892:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Retrieve bits with position in register depending on parameter */
2893:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* "SingleDiff". */
2894:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Parameter used with mask "ADC_SINGLEDIFF_CALIB_FACTOR_MASK" because */
2895:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* containing other bits reserved for other purpose. */
2896:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
2897:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CALFACT_RES13, (SingleDiff & ADC_SINGLEDIFF_CALIB_FACTOR_MASK))
2898:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
2899:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CALFACT, (SingleDiff & ADC_SINGLEDIFF_CALIB_FACTOR_MASK)) >> ((S
2900:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
2901:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2902:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2903:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2904:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC Linear calibration factor in the mode single-ended.
2905:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This function is intended to set linear calibration parameters
2906:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * without having to perform a new calibration using
2907:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref LL_ADC_StartCalibration().
2908:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
2909:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
2910:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be enabled, without calibration on going, without conversion
2911:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on going on group regular.
2912:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CALFACT2 LINCALFACT LL_ADC_SetCalibrationLinearFactor\n
2913:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CALFACT2 LINCALFACT LL_ADC_SetCalibrationLinearFactor
2914:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
2915:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param LinearityWord This parameter can be one of the following values:
2916:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CALIB_LINEARITY_WORD1
2917:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CALIB_LINEARITY_WORD2
2918:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CALIB_LINEARITY_WORD3
2919:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CALIB_LINEARITY_WORD4
2920:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CALIB_LINEARITY_WORD5
2921:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CALIB_LINEARITY_WORD6
2922:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param CalibrationFactor Value between Min_Data=0x00 and Max_Data=0x3FFFFFFF
2923:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
2924:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2925:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetCalibrationLinearFactor(ADC_TypeDef *ADCx, uint32_t LinearityWord, u
2926:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2927:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
2928:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx != ADC3)
2929:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t timeout_cpu_cycles = ADC_LINEARITY_BIT_TOGGLE_TIMEOUT;
2931:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CALFACT2_RES14, ADC_CALFACT2_LINCALFACT, CalibrationFactor);
2932:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CR, ADC_CR_ADCALLIN, LinearityWord);
2933:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** while ((READ_BIT(ADCx->CR, LinearityWord) == 0UL) && (timeout_cpu_cycles > 0UL))
2934:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2935:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** timeout_cpu_cycles--;
2936:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2937:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 53
2938:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
2939:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t timeout_cpu_cycles = ADC_LINEARITY_BIT_TOGGLE_TIMEOUT;
2940:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CALFACT2, ADC_CALFACT2_LINCALFACT, CalibrationFactor);
2941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CR, ADC_CR_ADCALLIN, LinearityWord);
2942:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** while ((READ_BIT(ADCx->CR, LinearityWord) == 0UL) && (timeout_cpu_cycles > 0UL))
2943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2944:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** timeout_cpu_cycles--;
2945:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2946:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
2947:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2948:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2949:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2950:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC Linear calibration factor in the mode single-ended.
2951:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Calibration factors are set by hardware after performing
2952:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * a calibration run using function @ref LL_ADC_StartCalibration().
2953:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CALFACT2 LINCALFACT LL_ADC_GetCalibrationLinearFactor\n
2954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CALFACT2 LINCALFACT LL_ADC_GetCalibrationLinearFactor
2955:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
2956:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param LinearityWord This parameter can be one of the following values:
2957:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CALIB_LINEARITY_WORD1
2958:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CALIB_LINEARITY_WORD2
2959:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CALIB_LINEARITY_WORD3
2960:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CALIB_LINEARITY_WORD4
2961:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CALIB_LINEARITY_WORD5
2962:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CALIB_LINEARITY_WORD6
2963:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x00 and Max_Data=0x3FFFFFFF
2964:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2965:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetCalibrationLinearFactor(ADC_TypeDef *ADCx, uint32_t LinearityWor
2966:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2967:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t timeout_cpu_cycles = ADC_LINEARITY_BIT_TOGGLE_TIMEOUT;
2968:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCx->CR, LinearityWord);
2969:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** while ((READ_BIT(ADCx->CR, LinearityWord) != 0UL) && (timeout_cpu_cycles > 0UL))
2970:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2971:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** timeout_cpu_cycles--;
2972:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2973:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
2974:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CALFACT2_RES14, ADC_CALFACT2_LINCALFACT));
2975:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
2976:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CALFACT2, ADC_CALFACT2_LINCALFACT));
2977:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
2978:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2979:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
2980:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC resolution.
2981:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to reference manual for alignments formats
2982:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * dependencies to ADC resolutions.
2983:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
2984:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
2985:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
2986:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
2987:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR RES LL_ADC_SetResolution
2988:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
2989:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Resolution This parameter can be one of the following values:
2990:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_16B
2991:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_14B
2992:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
2993:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
2994:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 54
2995:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
2996:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
2997:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetResolution(ADC_TypeDef *ADCx, uint32_t Resolution)
2998:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2999:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_3)
3000:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3001:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_RES, Resolution);
3002:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3003:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #elif defined(ADC_VER_V5_V90)
3004:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
3005:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3006:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC3_CFGR_RES, ((__LL_ADC12_RESOLUTION_TO_ADC3(Resolution) & (ADC_CFGR_
3007:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3008:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
3009:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3010:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if ((DBGMCU->IDCODE & 0x30000000UL) == 0x10000000UL) /* Rev.Y */
3011:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3012:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_RES, Resolution);
3013:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3014:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else /* Rev.V */
3015:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3016:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (LL_ADC_RESOLUTION_8B == Resolution)
3017:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3018:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_RES, Resolution | 0x0000000CUL);
3019:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3020:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
3021:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3022:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_RES, Resolution);
3023:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3024:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3025:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3026:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else /* ADC_VER_V5_V90 */
3027:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if ((DBGMCU->IDCODE & 0x30000000UL) == 0x10000000UL) /* Rev.Y */
3028:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3029:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_RES, Resolution);
3030:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3031:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else /* Rev.V */
3032:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3033:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (LL_ADC_RESOLUTION_8B == Resolution)
3034:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3035:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_RES, Resolution | 0x0000000CUL);
3036:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3037:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
3038:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3039:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_RES, Resolution);
3040:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3041:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3042:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3043:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_X*/
3044:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3045:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3046:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3047:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC resolution.
3048:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to reference manual for alignments formats
3049:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * dependencies to ADC resolutions.
3050:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR RES LL_ADC_GetResolution
3051:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 55
3052:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
3053:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_16B (1)
3054:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_14B
3055:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_12B
3056:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_10B
3057:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_8B
3058:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_RESOLUTION_6B (2)
3059:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1): Specific to ADC instance: ADC1, ADC2
3060:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2): Specific to ADC instance: ADC3
3061:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3062:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetResolution(ADC_TypeDef *ADCx)
3063:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3064:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined (ADC_VER_V5_3)
3065:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3066:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_RES));
3067:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3068:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #elif defined(ADC_VER_V5_V90)
3069:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
3070:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3071:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC3_CFGR_RES));
3072:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
3074:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if ((uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_RES)) == 0x0000001CUL)
3076:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3077:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (LL_ADC_RESOLUTION_8B);
3078:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3079:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
3080:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3081:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_RES));
3082:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3083:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3084:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3085:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else /* ADC_VER_V5_V90 */
3086:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if ((DBGMCU->IDCODE & 0x30000000UL) == 0x10000000UL) /* Rev.Y */
3087:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3088:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_RES));
3089:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3090:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else /* Rev.V */
3091:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3092:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if ((uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_RES)) == 0x0000001CUL)
3093:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3094:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (LL_ADC_RESOLUTION_8B);
3095:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3096:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
3097:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3098:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_RES));
3099:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3100:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3101:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3102:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_X */
3103:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3104:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3105:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3106:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC low power mode.
3107:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Description of ADC low power modes:
3108:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC low power mode "auto wait": Dynamic low power mode,
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 56
3109:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversions occurrences are limited to the minimum necessary
3110:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * in order to reduce power consumption.
3111:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * New ADC conversion starts only when the previous
3112:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * unitary conversion data (for ADC group regular)
3113:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or previous sequence conversions data (for ADC group injected)
3114:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * has been retrieved by user software.
3115:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * In the meantime, ADC remains idle: does not performs any
3116:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * other conversion.
3117:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This mode allows to automatically adapt the ADC conversions
3118:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * triggers to the speed of the software that reads the data.
3119:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Moreover, this avoids risk of overrun for low frequency
3120:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * applications.
3121:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * How to use this low power mode:
3122:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - It is not recommended to use with interruption or DMA
3123:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * since these modes have to clear immediately the EOC flag
3124:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (by CPU to free the IRQ pending event or by DMA).
3125:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Auto wait will work but fort a very short time, discarding
3126:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * its intended benefit (except specific case of high load of CPU
3127:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or DMA transfers which can justify usage of auto wait).
3128:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Do use with polling: 1. Start conversion,
3129:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * 2. Later on, when conversion data is needed: poll for end of
3130:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * conversion to ensure that conversion is completed and
3131:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * retrieve ADC conversion data. This will trig another
3132:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversion start.
3133:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC low power mode "auto power-off" (feature available on
3134:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * this device if parameter LL_ADC_LP_AUTOPOWEROFF is available):
3135:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the ADC automatically powers-off after a conversion and
3136:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * automatically wakes up when a new conversion is triggered
3137:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (with startup time between trigger and start of sampling).
3138:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This feature can be combined with low power mode "auto wait".
3139:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note With ADC low power mode "auto wait", the ADC conversion data read
3140:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is corresponding to previous ADC conversion start, independently
3141:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * of delay during which ADC was idle.
3142:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Therefore, the ADC conversion data may be outdated: does not
3143:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * correspond to the current voltage level on the selected
3144:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC channel.
3145:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
3146:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
3147:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
3148:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
3149:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR AUTDLY LL_ADC_SetLowPowerMode
3150:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3151:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param LowPowerMode This parameter can be one of the following values:
3152:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_LP_MODE_NONE
3153:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_LP_AUTOWAIT
3154:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
3155:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3156:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetLowPowerMode(ADC_TypeDef *ADCx, uint32_t LowPowerMode)
3157:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3158:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_AUTDLY, LowPowerMode);
3159:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3160:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3161:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3162:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC low power mode:
3163:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Description of ADC low power modes:
3164:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC low power mode "auto wait": Dynamic low power mode,
3165:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversions occurrences are limited to the minimum necessary
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 57
3166:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * in order to reduce power consumption.
3167:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * New ADC conversion starts only when the previous
3168:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * unitary conversion data (for ADC group regular)
3169:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or previous sequence conversions data (for ADC group injected)
3170:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * has been retrieved by user software.
3171:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * In the meantime, ADC remains idle: does not performs any
3172:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * other conversion.
3173:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This mode allows to automatically adapt the ADC conversions
3174:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * triggers to the speed of the software that reads the data.
3175:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Moreover, this avoids risk of overrun for low frequency
3176:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * applications.
3177:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * How to use this low power mode:
3178:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - It is not recommended to use with interruption or DMA
3179:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * since these modes have to clear immediately the EOC flag
3180:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (by CPU to free the IRQ pending event or by DMA).
3181:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Auto wait will work but fort a very short time, discarding
3182:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * its intended benefit (except specific case of high load of CPU
3183:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or DMA transfers which can justify usage of auto wait).
3184:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Do use with polling: 1. Start conversion,
3185:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * 2. Later on, when conversion data is needed: poll for end of
3186:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * conversion to ensure that conversion is completed and
3187:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * retrieve ADC conversion data. This will trig another
3188:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversion start.
3189:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC low power mode "auto power-off" (feature available on
3190:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * this device if parameter LL_ADC_LP_AUTOPOWEROFF is available):
3191:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the ADC automatically powers-off after a conversion and
3192:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * automatically wakes up when a new conversion is triggered
3193:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (with startup time between trigger and start of sampling).
3194:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This feature can be combined with low power mode "auto wait".
3195:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note With ADC low power mode "auto wait", the ADC conversion data read
3196:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is corresponding to previous ADC conversion start, independently
3197:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * of delay during which ADC was idle.
3198:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Therefore, the ADC conversion data may be outdated: does not
3199:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * correspond to the current voltage level on the selected
3200:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC channel.
3201:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR AUTDLY LL_ADC_GetLowPowerMode
3202:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3203:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
3204:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_LP_MODE_NONE
3205:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_LP_AUTOWAIT
3206:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3207:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetLowPowerMode(ADC_TypeDef *ADCx)
3208:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3209:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_AUTDLY));
3210:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3211:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3212:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3213:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC selected Channel.
3214:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This function set the pre-selection of channel configuration.
3215:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Caution: Channel selections is dependent to ADC instance and IP version:
3216:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * For STM32H72x/3x This is applicable only for ADC1/ADC2
3217:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * For Rest of STM32H7xxx This is applicable only all the ADCs instances.
3218:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
3219:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3220:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Channel This parameter can be one of the following values:
3221:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
3222:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 58
3223:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
3224:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
3225:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
3226:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
3227:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
3228:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
3229:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
3230:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
3231:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
3232:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
3233:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
3234:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
3235:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
3236:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
3237:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
3238:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
3239:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
3240:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
3241:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
3242:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3243:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetChannelPreselection(ADC_TypeDef *ADCx, uint32_t Channel)
3244:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3245:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
3246:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx != ADC3)
3247:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3248:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* ADC channels preselection */
3249:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADCx->PCSEL_RES0 |= (1UL << (__LL_ADC_CHANNEL_TO_DECIMAL_NB(Channel) & 0x1FUL));
3250:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3251:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
3252:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* ADC channels preselection */
3253:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADCx->PCSEL |= (1UL << (__LL_ADC_CHANNEL_TO_DECIMAL_NB(Channel) & 0x1FUL));
3254:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
3255:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3256:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3257:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3258:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Gets ADC pre-selected Channel.
3259:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This function gets the pre-selected ADC channel.
3260:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Caution: Channel selections is dependent to ADC instance and IP version:
3261:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * For STM32H72x/3x This is applicable only for ADC1/ADC2
3262:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * For Rest of STM32H7xxx This is applicable on all the ADCs instances.
3263:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
3264:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3265:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Channel This parameter can be one of the following values:
3266:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0
3267:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
3268:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
3269:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
3270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
3271:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
3272:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
3273:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
3274:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
3275:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
3276:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
3277:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
3278:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
3279:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 59
3280:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
3281:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
3282:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
3283:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
3284:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
3285:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
3286:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval the preselection state of Channel (!= 0 : pre-selected, == 0 : not pre-selected)
3287:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3288:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetChannelPreselection(ADC_TypeDef *ADCx, uint32_t Channel)
3289:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3290:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
3291:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx != ADC3)
3292:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3293:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Gets preselected ADC channel */
3294:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->PCSEL_RES0, 1UL << (__LL_ADC_CHANNEL_TO_DECIMAL_NB(Channel) &
3295:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3296:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
3297:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3298:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return 0UL;
3299:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3300:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
3301:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Gets preselected ADC channel */
3302:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->PCSEL, 1UL << (__LL_ADC_CHANNEL_TO_DECIMAL_NB(Channel) & 0x1FU
3303:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
3304:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3305:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3306:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3307:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC selected offset number 1, 2, 3 or 4.
3308:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This function set the 2 items of offset configuration:
3309:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC channel to which the offset programmed will be applied
3310:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (independently of channel mapped on ADC group regular
3311:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or group injected)
3312:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Offset level (offset to be subtracted from the raw
3313:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * converted data).
3314:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Caution: Offset format is dependent to ADC resolution:
3315:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * offset has to be left-aligned on bit 15 (handling maximum ADC resolution 16 bit),
3316:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the LSB (right bits) are set to 0.
3317:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This function enables the offset, by default. It can be forced
3318:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * to disable state using function LL_ADC_SetOffsetState().
3319:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If a channel is mapped on several offsets numbers, only the offset
3320:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * with the lowest value is considered for the subtraction.
3321:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
3322:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
3323:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
3324:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
3325:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On STM32H7, some fast channels are available: fast analog inputs
3326:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * coming from GPIO pads (ADC_IN0..5).
3327:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll OFR1 OFFSET1_CH LL_ADC_SetOffset\n
3328:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR1 OFFSET1 LL_ADC_SetOffset\n
3329:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR1 OFFSET1_EN LL_ADC_SetOffset\n
3330:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR2 OFFSET2_CH LL_ADC_SetOffset\n
3331:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR2 OFFSET2 LL_ADC_SetOffset\n
3332:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR2 OFFSET2_EN LL_ADC_SetOffset\n
3333:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR3 OFFSET3_CH LL_ADC_SetOffset\n
3334:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR3 OFFSET3 LL_ADC_SetOffset\n
3335:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR3 OFFSET3_EN LL_ADC_SetOffset\n
3336:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR4 OFFSET4_CH LL_ADC_SetOffset\n
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 60
3337:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR4 OFFSET4 LL_ADC_SetOffset\n
3338:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR4 OFFSET4_EN LL_ADC_SetOffset
3339:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3340:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Offsety This parameter can be one of the following values:
3341:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_1
3342:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_2
3343:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_3
3344:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_4
3345:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Channel This parameter can be one of the following values:
3346:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
3347:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
3348:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
3349:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
3350:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
3351:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
3352:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
3353:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
3354:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
3355:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
3356:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
3357:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
3358:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
3359:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
3360:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
3361:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
3362:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
3363:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
3364:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
3365:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
3366:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
3367:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
3368:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
3369:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
3370:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
3371:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
3372:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
3373:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
3374:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
3375:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).
3376:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param OffsetLevel Value between Min_Data=0x000 and Max_Data=0x3FFFFFF
3377:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
3378:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3379:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetOffset(ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t Channel, uint32
3380:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3381:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->OFR1, Offsety);
3382:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
3383:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
3384:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3385:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg,
3386:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC3_OFR1_OFFSET1_EN | ADC_OFR1_OFFSET1_CH | ADC_OFR1_OFFSET1,
3387:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC3_OFR1_OFFSET1_EN | (Channel & ADC_CHANNEL_ID_NUMBER_MASK) | OffsetLevel);
3388:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3389:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
3390:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
3391:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3392:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg,
3393:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_OFR1_OFFSET1_CH | ADC_OFR1_OFFSET1,
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 61
3394:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (Channel & ADC_CHANNEL_ID_NUMBER_MASK) | OffsetLevel);
3395:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3396:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3397:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3398:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3399:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get for the ADC selected offset number 1, 2, 3 or 4:
3400:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Channel to which the offset programmed will be applied
3401:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (independently of channel mapped on ADC group regular
3402:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or group injected)
3403:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Usage of the returned channel number:
3404:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - To reinject this channel into another function LL_ADC_xxx:
3405:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the returned channel number is only partly formatted on definition
3406:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared
3407:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * with parts of literals LL_ADC_CHANNEL_x or using
3408:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * helper macro @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB().
3409:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Then the selected literal LL_ADC_CHANNEL_x can be used
3410:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * as parameter for another function.
3411:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - To get the channel number in decimal format:
3412:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * process the returned value with the helper macro
3413:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB().
3414:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On STM32H7, some fast channels are available: fast analog inputs
3415:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * coming from GPIO pads (ADC_IN0..5).
3416:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll OFR1 OFFSET1_CH LL_ADC_GetOffsetChannel\n
3417:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR2 OFFSET2_CH LL_ADC_GetOffsetChannel\n
3418:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR3 OFFSET3_CH LL_ADC_GetOffsetChannel\n
3419:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR4 OFFSET4_CH LL_ADC_GetOffsetChannel
3420:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3421:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Offsety This parameter can be one of the following values:
3422:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_1
3423:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_2
3424:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_3
3425:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_4
3426:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
3427:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
3428:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
3429:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
3430:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
3431:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
3432:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
3433:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
3434:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
3435:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
3436:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
3437:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
3438:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
3439:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
3440:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
3441:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
3442:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
3443:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
3444:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
3445:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
3446:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
3447:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
3448:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
3449:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
3450:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 62
3451:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
3452:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
3453:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
3454:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
3455:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
3456:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).\n
3457:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1, 2) For ADC channel read back from ADC register,
3458:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * comparison with internal channel parameter to be done
3459:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL().
3460:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3461:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetOffsetChannel(ADC_TypeDef *ADCx, uint32_t Offsety)
3462:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3463:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->OFR1, Offsety);
3464:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3465:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t) READ_BIT(*preg, ADC_OFR1_OFFSET1_CH);
3466:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3467:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3468:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3469:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get for the ADC selected offset number 1, 2, 3 or 4:
3470:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Offset level (offset to be subtracted from the raw
3471:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * converted data).
3472:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Caution: Offset format is dependent to ADC resolution:
3473:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * offset has to be left-aligned on bit 15 (handling maximum ADC resolution 16 bit),
3474:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the LSB (right bits) are set to 0.
3475:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll OFR1 OFFSET1 LL_ADC_GetOffsetLevel\n
3476:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR2 OFFSET2 LL_ADC_GetOffsetLevel\n
3477:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR3 OFFSET3 LL_ADC_GetOffsetLevel\n
3478:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR4 OFFSET4 LL_ADC_GetOffsetLevel
3479:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3480:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Offsety This parameter can be one of the following values:
3481:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_1
3482:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_2
3483:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_3
3484:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_4
3485:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0x3FFFFFF
3486:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3487:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetOffsetLevel(ADC_TypeDef *ADCx, uint32_t Offsety)
3488:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3489:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->OFR1, Offsety);
3490:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3491:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t) READ_BIT(*preg, ADC_OFR1_OFFSET1);
3492:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3493:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3494:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3495:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3496:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set data right shift for the ADC selected offset number 1, 2, 3 or 4:
3497:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * signed offset saturation if enabled or disabled.
3498:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR2 RSHIFT LL_ADC_SetDataRightShift\n
3499:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3500:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Offsety This parameter can be one of the following values:
3501:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_1
3502:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_2
3503:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_3
3504:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_4
3505:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param RigthShift This parameter can be one of the following values:
3506:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_RSHIFT_ENABLE
3507:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_RSHIFT_DISABLE
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 63
3508:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned None
3509:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3510:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetDataRightShift(ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t RigthSh
3511:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3512:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR2, (ADC_CFGR2_RSHIFT1 | ADC_CFGR2_RSHIFT2 | ADC_CFGR2_RSHIFT3 | ADC_CFGR2_RS
3513:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3514:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3515:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3516:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get data right shift for the ADC selected offset number 1, 2, 3 or 4:
3517:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * signed offset saturation if enabled or disabled.
3518:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR2 RSHIFT LL_ADC_GetDataRightShift\n
3519:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3520:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Offsety This parameter can be one of the following values:
3521:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_1
3522:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_2
3523:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_3
3524:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_4
3525:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
3526:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_RSHIFT_ENABLE
3527:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_RSHIFT_DISABLE
3528:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3529:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetDataRightShift(ADC_TypeDef *ADCx, uint32_t Offsety)
3530:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3531:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)((READ_BIT(ADCx->CFGR2, (ADC_CFGR2_RSHIFT1 << (Offsety & 0x1FUL)))) >> (Offsety
3532:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3533:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3534:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3535:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set signed saturation for the ADC selected offset number 1, 2, 3 or 4:
3536:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * signed offset saturation if enabled or disabled.
3537:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll OFR1 SSATE LL_ADC_SetOffsetSignedSaturation\n
3538:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR2 SSATE LL_ADC_SetOffsetSignedSaturation\n
3539:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR3 SSATE LL_ADC_SetOffsetSignedSaturation\n
3540:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR4 SSATE LL_ADC_SetOffsetSignedSaturation
3541:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3542:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Offsety This parameter can be one of the following values:
3543:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_1
3544:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_2
3545:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_3
3546:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_4
3547:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param OffsetSignedSaturation This parameter can be one of the following values:
3548:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_SIGNED_SATURATION_ENABLE
3549:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_SIGNED_SATURATION_DISABLE
3550:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned None
3551:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3552:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetOffsetSignedSaturation(ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t
3553:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3554:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
3555:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
3556:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3557:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Function not available on this instance */
3558:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3559:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
3560:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
3561:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3562:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->OFR1, Offsety);
3563:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg, ADC_OFR1_SSATE, OffsetSignedSaturation);
3564:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 64
3565:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3566:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3567:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3568:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get signed saturation for the ADC selected offset number 1, 2, 3 or 4:
3569:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * signed offset saturation if enabled or disabled.
3570:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll OFR1 SSATE LL_ADC_GetOffsetSignedSaturation\n
3571:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR2 SSATE LL_ADC_GetOffsetSignedSaturation\n
3572:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR3 SSATE LL_ADC_GetOffsetSignedSaturation\n
3573:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR4 SSATE LL_ADC_GetOffsetSignedSaturation
3574:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3575:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Offsety This parameter can be one of the following values:
3576:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_1
3577:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_2
3578:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_3
3579:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_4
3580:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
3581:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_SIGNED_SATURATION_ENABLE
3582:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_SIGNED_SATURATION_DISABLE
3583:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3584:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetOffsetSignedSaturation(ADC_TypeDef *ADCx, uint32_t Offsety)
3585:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3586:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
3587:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
3588:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3589:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Function not available on this instance */
3590:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return 0UL;
3591:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3592:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
3593:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
3594:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3595:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->OFR1, Offsety);
3596:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t) READ_BIT(*preg, ADC_OFR1_SSATE);
3597:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3598:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3599:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3600:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
3601:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3602:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set for the ADC selected offset number 1, 2, 3 or 4:
3603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * choose offset saturation mode.
3604:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
3605:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
3606:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
3607:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
3608:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll OFR1 SATEN LL_ADC_SetOffsetSaturation\n
3609:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR2 SATEN LL_ADC_SetOffsetSaturation\n
3610:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR3 SATEN LL_ADC_SetOffsetSaturation\n
3611:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR4 SATEN LL_ADC_SetOffsetSaturation
3612:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3613:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Offsety This parameter can be one of the following values:
3614:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_1
3615:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_2
3616:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_3
3617:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_4
3618:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param OffsetSaturation This parameter can be one of the following values:
3619:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_SATURATION_ENABLE
3620:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_SATURATION_DISABLE
3621:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 65
3622:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3623:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetOffsetSaturation(ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t Offse
3624:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3625:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
3626:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3627:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->OFR1, Offsety);
3628:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3629:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg,
3630:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC3_OFR1_SATEN,
3631:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** OffsetSaturation);
3632:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3633:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3634:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3635:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3636:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get for the ADC selected offset number 1, 2, 3 or 4:
3637:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * offset saturation if enabled or disabled.
3638:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll OFR1 SATEN LL_ADC_GetOffsetSaturation\n
3639:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR2 SATEN LL_ADC_GetOffsetSaturation\n
3640:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR3 SATEN LL_ADC_GetOffsetSaturation\n
3641:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR4 SATEN LL_ADC_GetOffsetSaturation
3642:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3643:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Offsety This parameter can be one of the following values:
3644:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_1
3645:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_2
3646:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_3
3647:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_4
3648:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
3649:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_SATURATION_ENABLE
3650:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_SATURATION_DISABLE
3651:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3652:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetOffsetSaturation(ADC_TypeDef *ADCx, uint32_t Offsety)
3653:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3654:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
3655:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3656:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->OFR1, Offsety);
3657:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3658:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t) READ_BIT(*preg, ADC3_OFR1_SATEN);
3659:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }else
3660:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3661:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return 0UL;
3662:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3663:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3664:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3665:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3666:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set for the ADC selected offset number 1, 2, 3 or 4:
3667:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * choose offset sign.
3668:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
3669:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
3670:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
3671:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
3672:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll OFR1 OFFSETPOS LL_ADC_SetOffsetSign\n
3673:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR2 OFFSETPOS LL_ADC_SetOffsetSign\n
3674:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR3 OFFSETPOS LL_ADC_SetOffsetSign\n
3675:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR4 OFFSETPOS LL_ADC_SetOffsetSign
3676:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3677:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Offsety This parameter can be one of the following values:
3678:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_1
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 66
3679:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_2
3680:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_3
3681:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_4
3682:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param OffsetSign This parameter can be one of the following values:
3683:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_SIGN_NEGATIVE
3684:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_SIGN_POSITIVE
3685:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
3686:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3687:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetOffsetSign(ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t OffsetSign)
3688:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3689:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
3690:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3691:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->OFR1, Offsety);
3692:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3693:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg,
3694:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC3_OFR1_OFFSETPOS,
3695:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** OffsetSign);
3696:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3697:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3698:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3699:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3700:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get for the ADC selected offset number 1, 2, 3 or 4:
3701:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * offset sign if positive or negative.
3702:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll OFR1 OFFSETPOS LL_ADC_GetOffsetSign\n
3703:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR2 OFFSETPOS LL_ADC_GetOffsetSign\n
3704:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR3 OFFSETPOS LL_ADC_GetOffsetSign\n
3705:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR4 OFFSETPOS LL_ADC_GetOffsetSign
3706:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3707:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Offsety This parameter can be one of the following values:
3708:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_1
3709:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_2
3710:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_3
3711:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_4
3712:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
3713:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_SIGN_NEGATIVE
3714:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_SIGN_POSITIVE
3715:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3716:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetOffsetSign(ADC_TypeDef *ADCx, uint32_t Offsety)
3717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3718:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
3719:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3720:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->OFR1, Offsety);
3721:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3722:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t) READ_BIT(*preg, ADC3_OFR1_OFFSETPOS);
3723:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3724:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
3725:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3726:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return 0UL;
3727:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3728:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3729:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3730:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3731:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set for the ADC selected offset number 1, 2, 3 or 4:
3732:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * force offset state disable or enable
3733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * without modifying offset channel or offset value.
3734:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This function should be needed only in case of offset to be
3735:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * enabled-disabled dynamically, and should not be needed in other cases:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 67
3736:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * function LL_ADC_SetOffset() automatically enables the offset.
3737:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
3738:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
3739:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
3740:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
3741:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll OFR1 OFFSET1_EN LL_ADC_SetOffsetState\n
3742:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR2 OFFSET2_EN LL_ADC_SetOffsetState\n
3743:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR3 OFFSET3_EN LL_ADC_SetOffsetState\n
3744:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR4 OFFSET4_EN LL_ADC_SetOffsetState
3745:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3746:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Offsety This parameter can be one of the following values:
3747:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_1
3748:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_2
3749:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_3
3750:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_4
3751:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param OffsetState This parameter can be one of the following values:
3752:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_DISABLE
3753:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_ENABLE
3754:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
3755:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3756:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetOffsetState(ADC_TypeDef *ADCx, uint32_t Offsety, uint32_t OffsetStat
3757:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3758:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->OFR1, Offsety);
3759:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
3760:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3761:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg,
3762:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC3_OFR1_OFFSET1_EN,
3763:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** OffsetState);
3764:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3765:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
3766:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3767:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg,
3768:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_OFR1_SSATE,
3769:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** OffsetState);
3770:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3771:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3772:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3773:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get for the ADC selected offset number 1, 2, 3 or 4:
3775:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * offset state disabled or enabled.
3776:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll OFR1 OFFSET1_EN LL_ADC_GetOffsetState\n
3777:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR2 OFFSET2_EN LL_ADC_GetOffsetState\n
3778:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR3 OFFSET3_EN LL_ADC_GetOffsetState\n
3779:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * OFR4 OFFSET4_EN LL_ADC_GetOffsetState
3780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3781:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Offsety This parameter can be one of the following values:
3782:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_1
3783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_2
3784:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_3
3785:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_4
3786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
3787:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_DISABLE
3788:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OFFSET_ENABLE
3789:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3790:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetOffsetState(ADC_TypeDef *ADCx, uint32_t Offsety)
3791:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3792:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->OFR1, Offsety);
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 68
3793:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
3794:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3795:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t) READ_BIT(*preg, ADC3_OFR1_OFFSET1_EN);
3796:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3797:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
3798:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3799:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t) READ_BIT(*preg, ADC_OFR1_SSATE);
3800:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3801:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3802:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3803:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
3804:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3805:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3806:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
3807:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3808:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3809:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Group_Regular Configuration of ADC hierarchical scope: gr
3810:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
3811:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3812:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3813:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3814:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC group regular conversion trigger source:
3815:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * internal (SW start) or from external peripheral (timer event,
3816:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * external interrupt line).
3817:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting trigger source to external trigger
3818:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * also set trigger polarity to rising edge
3819:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (default setting for compatibility with some ADC on other
3820:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * STM32 families having this setting set by HW default value).
3821:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * In case of need to modify trigger edge, use
3822:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * function @ref LL_ADC_REG_SetTriggerEdge().
3823:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Availability of parameters of trigger sources from timer
3824:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * depends on timers availability on the selected device.
3825:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
3826:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
3827:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
3828:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on group regular.
3829:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR EXTSEL LL_ADC_REG_SetTriggerSource\n
3830:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR EXTEN LL_ADC_REG_SetTriggerSource
3831:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3832:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param TriggerSource This parameter can be one of the following values:
3833:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_SOFTWARE
3834:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH1
3835:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH2
3836:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH3
3837:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_CH2
3838:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_TRGO
3839:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM4_CH4
3840:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_EXTI_LINE11
3841:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO
3842:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO2
3843:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_TRGO
3844:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_TRGO2
3845:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_TRGO
3846:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM4_TRGO
3847:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM6_TRGO
3848:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM15_TRGO
3849:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_CH4
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 69
3850:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_HRTIM_TRG1
3851:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_HRTIM_TRG3
3852:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_LPTIM1_OUT
3853:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_LPTIM2_OUT
3854:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_LPTIM3_OUT
3855:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
3856:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3857:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetTriggerSource(ADC_TypeDef *ADCx, uint32_t TriggerSource)
3858:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3859:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_EXTEN | ADC_CFGR_EXTSEL, TriggerSource);
3860:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3861:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3862:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3863:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular conversion trigger source:
3864:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * internal (SW start) or from external peripheral (timer event,
3865:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * external interrupt line).
3866:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note To determine whether group regular trigger source is
3867:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * internal (SW start) or external, without detail
3868:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * of which peripheral is selected as external trigger,
3869:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (equivalent to
3870:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * "if(LL_ADC_REG_GetTriggerSource(ADC1) == LL_ADC_REG_TRIG_SOFTWARE)")
3871:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * use function @ref LL_ADC_REG_IsTriggerSourceSWStart.
3872:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Availability of parameters of trigger sources from timer
3873:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * depends on timers availability on the selected device.
3874:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR EXTSEL LL_ADC_REG_GetTriggerSource\n
3875:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR EXTEN LL_ADC_REG_GetTriggerSource
3876:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3877:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
3878:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_SOFTWARE
3879:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH1
3880:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH2
3881:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_CH3
3882:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_CH2
3883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_TRGO
3884:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM4_CH4
3885:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_EXTI_LINE11
3886:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO
3887:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM8_TRGO2
3888:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_TRGO
3889:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM1_TRGO2
3890:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM2_TRGO
3891:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM4_TRGO
3892:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM6_TRGO
3893:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM15_TRGO
3894:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_TIM3_CH4
3895:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_HRTIM_TRG1
3896:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_HRTIM_TRG3
3897:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_LPTIM1_OUT
3898:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_LPTIM2_OUT
3899:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_LPTIM3_OUT
3900:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3901:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetTriggerSource(ADC_TypeDef *ADCx)
3902:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3903:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t TriggerSource = READ_BIT(ADCx->CFGR, ADC_CFGR_EXTSEL | ADC_CFGR_EXTEN);
3904:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3905:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Value for shift of {0; 4; 8; 12} depending on value of bitfield */
3906:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* corresponding to ADC_CFGR_EXTEN {0; 1; 2; 3}. */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 70
3907:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t ShiftExten = ((TriggerSource & ADC_CFGR_EXTEN) >> (ADC_REG_TRIG_EXTEN_BITOFFSET_POS - 2U
3908:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3909:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Set bitfield corresponding to ADC_CFGR_EXTEN and ADC_CFGR_EXTSEL */
3910:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* to match with triggers literals definition. */
3911:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((TriggerSource
3912:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** & (ADC_REG_TRIG_SOURCE_MASK >> ShiftExten) & ADC_CFGR_EXTSEL)
3913:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** | ((ADC_REG_TRIG_EDGE_MASK >> ShiftExten) & ADC_CFGR_EXTEN)
3914:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
3915:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3916:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3917:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3918:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular conversion trigger source internal (SW start)
3919:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or external.
3920:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note In case of group regular trigger source set to external trigger,
3921:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * to determine which peripheral is selected as external trigger,
3922:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * use function @ref LL_ADC_REG_GetTriggerSource().
3923:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR EXTEN LL_ADC_REG_IsTriggerSourceSWStart
3924:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3925:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value "0" if trigger source external trigger
3926:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Value "1" if trigger source SW start.
3927:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3928:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_IsTriggerSourceSWStart(ADC_TypeDef *ADCx)
3929:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->CFGR, ADC_CFGR_EXTEN) == (LL_ADC_REG_TRIG_SOFTWARE & ADC_CFGR_EXTEN)) ? 1
3931:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3932:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3933:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3934:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC group regular conversion trigger polarity.
3935:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Applicable only for trigger source set to external trigger.
3936:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
3937:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
3938:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
3939:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on group regular.
3940:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR EXTEN LL_ADC_REG_SetTriggerEdge
3941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3942:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ExternalTriggerEdge This parameter can be one of the following values:
3943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_RISING
3944:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_FALLING
3945:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_RISINGFALLING
3946:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
3947:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3948:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetTriggerEdge(ADC_TypeDef *ADCx, uint32_t ExternalTriggerEdge)
3949:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3950:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_EXTEN, ExternalTriggerEdge);
3951:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3952:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3953:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular conversion trigger polarity.
3955:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Applicable only for trigger source set to external trigger.
3956:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR EXTEN LL_ADC_REG_GetTriggerEdge
3957:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3958:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
3959:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_RISING
3960:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_FALLING
3961:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_TRIG_EXT_RISINGFALLING
3962:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3963:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetTriggerEdge(ADC_TypeDef *ADCx)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 71
3964:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3965:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_EXTEN));
3966:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3967:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3968:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
3969:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
3970:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC sampling mode.
3971:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This function set the ADC conversion sampling mode
3972:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This mode applies to regular group only.
3973:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Set sampling mode is applied to all conversion of regular group.
3974:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
3975:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
3976:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
3977:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on group regular.
3978:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR2 BULB LL_ADC_REG_SetSamplingMode\n
3979:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR2 SMPTRIG LL_ADC_REG_SetSamplingMode
3980:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
3981:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param SamplingMode This parameter can be one of the following values:
3982:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SAMPLING_MODE_NORMAL
3983:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SAMPLING_MODE_BULB
3984:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SAMPLING_MODE_TRIGGER_CONTROLED
3985:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
3986:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
3987:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetSamplingMode(ADC_TypeDef *ADCx, uint32_t SamplingMode)
3988:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3989:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx != ADC3)
3990:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3991:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Function not available on this instance */
3992:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3993:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
3994:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3995:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR2, ADC3_CFGR2_BULB | ADC3_CFGR2_SMPTRIG, SamplingMode);
3996:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3997:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3998:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
3999:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4000:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4001:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC group regular sequencer length and scan direction.
4002:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Description of ADC group regular sequencer features:
4003:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - For devices with sequencer fully configurable
4004:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (function "LL_ADC_REG_SetSequencerRanks()" available):
4005:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * sequencer length and each rank affectation to a channel
4006:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * are configurable.
4007:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This function performs configuration of:
4008:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence.
4009:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer
4010:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * scan direction is forward (from rank 1 to rank n).
4011:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Sequencer ranks are selected using
4012:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * function "LL_ADC_REG_SetSequencerRanks()".
4013:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - For devices with sequencer not fully configurable
4014:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (function "LL_ADC_REG_SetSequencerChannels()" available):
4015:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * sequencer length and each rank affectation to a channel
4016:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * are defined by channel number.
4017:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This function performs configuration of:
4018:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence is
4019:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * defined by number of channels set in the sequence,
4020:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * rank of each channel is fixed by channel HW number.
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 72
4021:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (channel 0 fixed on rank 0, channel 1 fixed on rank1, ...).
4022:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer
4023:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * scan direction is forward (from lowest channel number to
4024:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * highest channel number).
4025:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Sequencer ranks are selected using
4026:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * function "LL_ADC_REG_SetSequencerChannels()".
4027:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Sequencer disabled is equivalent to sequencer of 1 rank:
4028:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversion on only 1 channel.
4029:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
4030:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
4031:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
4032:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on group regular.
4033:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll SQR1 L LL_ADC_REG_SetSequencerLength
4034:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4035:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param SequencerNbRanks This parameter can be one of the following values:
4036:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_DISABLE
4037:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS
4038:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_3RANKS
4039:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_4RANKS
4040:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_5RANKS
4041:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_6RANKS
4042:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_7RANKS
4043:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_8RANKS
4044:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_9RANKS
4045:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_10RANKS
4046:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_11RANKS
4047:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_12RANKS
4048:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_13RANKS
4049:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_14RANKS
4050:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_15RANKS
4051:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS
4052:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
4053:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4054:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetSequencerLength(ADC_TypeDef *ADCx, uint32_t SequencerNbRanks)
4055:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4056:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->SQR1, ADC_SQR1_L, SequencerNbRanks);
4057:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4058:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4059:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4060:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular sequencer length and scan direction.
4061:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Description of ADC group regular sequencer features:
4062:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - For devices with sequencer fully configurable
4063:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (function "LL_ADC_REG_SetSequencerRanks()" available):
4064:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * sequencer length and each rank affectation to a channel
4065:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * are configurable.
4066:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This function retrieves:
4067:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence.
4068:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer
4069:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * scan direction is forward (from rank 1 to rank n).
4070:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Sequencer ranks are selected using
4071:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * function "LL_ADC_REG_SetSequencerRanks()".
4072:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - For devices with sequencer not fully configurable
4073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (function "LL_ADC_REG_SetSequencerChannels()" available):
4074:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * sequencer length and each rank affectation to a channel
4075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * are defined by channel number.
4076:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This function retrieves:
4077:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence is
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 73
4078:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * defined by number of channels set in the sequence,
4079:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * rank of each channel is fixed by channel HW number.
4080:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (channel 0 fixed on rank 0, channel 1 fixed on rank1, ...).
4081:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer
4082:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * scan direction is forward (from lowest channel number to
4083:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * highest channel number).
4084:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Sequencer ranks are selected using
4085:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * function "LL_ADC_REG_SetSequencerChannels()".
4086:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Sequencer disabled is equivalent to sequencer of 1 rank:
4087:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversion on only 1 channel.
4088:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll SQR1 L LL_ADC_REG_GetSequencerLength
4089:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4090:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
4091:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_DISABLE
4092:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_2RANKS
4093:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_3RANKS
4094:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_4RANKS
4095:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_5RANKS
4096:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_6RANKS
4097:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_7RANKS
4098:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_8RANKS
4099:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_9RANKS
4100:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_10RANKS
4101:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_11RANKS
4102:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_12RANKS
4103:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_13RANKS
4104:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_14RANKS
4105:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_15RANKS
4106:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_SCAN_ENABLE_16RANKS
4107:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4108:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerLength(ADC_TypeDef *ADCx)
4109:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4110:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->SQR1, ADC_SQR1_L));
4111:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4112:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4113:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4114:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC group regular sequencer discontinuous mode:
4115:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * sequence subdivided and scan conversions interrupted every selected
4116:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * number of ranks.
4117:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note It is not possible to enable both ADC group regular
4118:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * continuous mode and sequencer discontinuous mode.
4119:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note It is not possible to enable both ADC auto-injected mode
4120:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and ADC group regular sequencer discontinuous mode.
4121:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
4122:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
4123:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
4124:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on group regular.
4125:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR DISCEN LL_ADC_REG_SetSequencerDiscont\n
4126:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR DISCNUM LL_ADC_REG_SetSequencerDiscont
4127:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4128:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param SeqDiscont This parameter can be one of the following values:
4129:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_DISABLE
4130:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_1RANK
4131:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_2RANKS
4132:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_3RANKS
4133:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_4RANKS
4134:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_5RANKS
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 74
4135:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_6RANKS
4136:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_7RANKS
4137:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_8RANKS
4138:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
4139:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4140:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetSequencerDiscont(ADC_TypeDef *ADCx, uint32_t SeqDiscont)
4141:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4142:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_DISCEN | ADC_CFGR_DISCNUM, SeqDiscont);
4143:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4144:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4145:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4146:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular sequencer discontinuous mode:
4147:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * sequence subdivided and scan conversions interrupted every selected
4148:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * number of ranks.
4149:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR DISCEN LL_ADC_REG_GetSequencerDiscont\n
4150:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR DISCNUM LL_ADC_REG_GetSequencerDiscont
4151:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4152:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
4153:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_DISABLE
4154:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_1RANK
4155:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_2RANKS
4156:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_3RANKS
4157:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_4RANKS
4158:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_5RANKS
4159:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_6RANKS
4160:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_7RANKS
4161:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_SEQ_DISCONT_8RANKS
4162:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4163:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerDiscont(ADC_TypeDef *ADCx)
4164:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4165:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_DISCEN | ADC_CFGR_DISCNUM));
4166:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4167:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4168:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4169:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC group regular sequence: channel on the selected
4170:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * scan sequence rank.
4171:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This function performs configuration of:
4172:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Channels ordering into each rank of scan sequence:
4173:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * whatever channel can be placed into whatever rank.
4174:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, ADC group regular sequencer is
4175:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * fully configurable: sequencer length and each rank
4176:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * affectation to a channel are configurable.
4177:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to description of function @ref LL_ADC_REG_SetSequencerLength().
4178:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Depending on devices and packages, some channels may not be available.
4179:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to device datasheet for channels availability.
4180:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, to measure internal channels (VrefInt,
4181:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TempSensor, ...), measurement paths to internal channels must be
4182:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * enabled separately.
4183:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This can be done using function @ref LL_ADC_SetCommonPathInternalCh().
4184:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
4185:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
4186:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
4187:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on group regular.
4188:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll SQR1 SQ1 LL_ADC_REG_SetSequencerRanks\n
4189:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR1 SQ2 LL_ADC_REG_SetSequencerRanks\n
4190:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR1 SQ3 LL_ADC_REG_SetSequencerRanks\n
4191:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR1 SQ4 LL_ADC_REG_SetSequencerRanks\n
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 75
4192:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR2 SQ5 LL_ADC_REG_SetSequencerRanks\n
4193:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR2 SQ6 LL_ADC_REG_SetSequencerRanks\n
4194:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR2 SQ7 LL_ADC_REG_SetSequencerRanks\n
4195:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR2 SQ8 LL_ADC_REG_SetSequencerRanks\n
4196:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR2 SQ9 LL_ADC_REG_SetSequencerRanks\n
4197:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR3 SQ10 LL_ADC_REG_SetSequencerRanks\n
4198:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR3 SQ11 LL_ADC_REG_SetSequencerRanks\n
4199:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR3 SQ12 LL_ADC_REG_SetSequencerRanks\n
4200:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR3 SQ13 LL_ADC_REG_SetSequencerRanks\n
4201:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR3 SQ14 LL_ADC_REG_SetSequencerRanks\n
4202:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR4 SQ15 LL_ADC_REG_SetSequencerRanks\n
4203:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR4 SQ16 LL_ADC_REG_SetSequencerRanks
4204:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4205:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
4206:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_1
4207:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_2
4208:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_3
4209:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_4
4210:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_5
4211:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_6
4212:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_7
4213:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_8
4214:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_9
4215:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_10
4216:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_11
4217:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_12
4218:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_13
4219:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_14
4220:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_15
4221:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_16
4222:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Channel This parameter can be one of the following values:
4223:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
4224:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
4225:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
4226:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
4227:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
4228:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
4229:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
4230:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
4231:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
4232:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
4233:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
4234:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
4235:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
4236:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
4237:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
4238:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
4239:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
4240:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
4241:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
4242:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
4243:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
4244:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
4245:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
4246:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
4247:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
4248:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 76
4249:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
4250:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
4251:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
4252:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).
4253:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
4254:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4255:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe
4256:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
29 .loc 2 4256 1 view -0
30 .cfi_startproc
31 @ args = 0, pretend = 0, frame = 0
32 @ frame_needed = 0, uses_anonymous_args = 0
33 @ link register save eliminated.
34 .loc 2 4256 1 is_stmt 0 view .LVU1
35 0000 10B4 push {r4}
36 .cfi_def_cfa_offset 4
37 .cfi_offset 4, -4
4257:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Set bits with content of parameter "Channel" with bits position */
4258:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* in register and register position depending on parameter "Rank". */
4259:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Parameters "Rank" and "Channel" are used with masks because containing */
4260:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* other bits reserved for other purpose. */
4261:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, ((Rank & ADC_REG_SQRX_REGOFFSET_MASK) >> A
38 .loc 2 4261 3 is_stmt 1 view .LVU2
39 .loc 2 4261 25 is_stmt 0 view .LVU3
40 0002 3030 adds r0, r0, #48
41 .LVL1:
42 .loc 2 4261 25 view .LVU4
43 0004 0B0A lsrs r3, r1, #8
44 0006 9B00 lsls r3, r3, #2
45 0008 03F00C03 and r3, r3, #12
46 .LVL2:
4262:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4263:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg,
47 .loc 2 4263 3 is_stmt 1 view .LVU5
48 000c C458 ldr r4, [r0, r3]
49 000e 01F01F01 and r1, r1, #31
50 .LVL3:
51 .loc 2 4263 3 is_stmt 0 view .LVU6
52 0012 4FF01F0C mov ip, #31
53 0016 0CFA01FC lsl ip, ip, r1
54 001a 24EA0C0C bic ip, r4, ip
55 001e C2F38462 ubfx r2, r2, #26, #5
56 .LVL4:
57 .loc 2 4263 3 view .LVU7
58 0022 8A40 lsls r2, r2, r1
59 0024 4CEA0202 orr r2, ip, r2
60 0028 C250 str r2, [r0, r3]
4264:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MASK),
4265:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((Channel & ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Ra
4266:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
61 .loc 2 4266 1 view .LVU8
62 002a 5DF8044B ldr r4, [sp], #4
63 .cfi_restore 4
64 .cfi_def_cfa_offset 0
65 002e 7047 bx lr
66 .cfi_endproc
67 .LFE177:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 77
69 .section .text.LL_ADC_SetChannelSamplingTime,"ax",%progbits
70 .align 1
71 .syntax unified
72 .thumb
73 .thumb_func
75 LL_ADC_SetChannelSamplingTime:
76 .LVL5:
77 .LFB201:
4267:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4268:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4269:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular sequence: channel on the selected
4270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * scan sequence rank.
4271:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, ADC group regular sequencer is
4272:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * fully configurable: sequencer length and each rank
4273:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * affectation to a channel are configurable.
4274:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to description of function @ref LL_ADC_REG_SetSequencerLength().
4275:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Depending on devices and packages, some channels may not be available.
4276:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to device datasheet for channels availability.
4277:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Usage of the returned channel number:
4278:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - To reinject this channel into another function LL_ADC_xxx:
4279:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the returned channel number is only partly formatted on definition
4280:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared
4281:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * with parts of literals LL_ADC_CHANNEL_x or using
4282:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * helper macro @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB().
4283:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Then the selected literal LL_ADC_CHANNEL_x can be used
4284:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * as parameter for another function.
4285:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - To get the channel number in decimal format:
4286:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * process the returned value with the helper macro
4287:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB().
4288:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll SQR1 SQ1 LL_ADC_REG_GetSequencerRanks\n
4289:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR1 SQ2 LL_ADC_REG_GetSequencerRanks\n
4290:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR1 SQ3 LL_ADC_REG_GetSequencerRanks\n
4291:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR1 SQ4 LL_ADC_REG_GetSequencerRanks\n
4292:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR2 SQ5 LL_ADC_REG_GetSequencerRanks\n
4293:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR2 SQ6 LL_ADC_REG_GetSequencerRanks\n
4294:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR2 SQ7 LL_ADC_REG_GetSequencerRanks\n
4295:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR2 SQ8 LL_ADC_REG_GetSequencerRanks\n
4296:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR2 SQ9 LL_ADC_REG_GetSequencerRanks\n
4297:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR3 SQ10 LL_ADC_REG_GetSequencerRanks\n
4298:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR3 SQ11 LL_ADC_REG_GetSequencerRanks\n
4299:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR3 SQ12 LL_ADC_REG_GetSequencerRanks\n
4300:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR3 SQ13 LL_ADC_REG_GetSequencerRanks\n
4301:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR3 SQ14 LL_ADC_REG_GetSequencerRanks\n
4302:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR4 SQ15 LL_ADC_REG_GetSequencerRanks\n
4303:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SQR4 SQ16 LL_ADC_REG_GetSequencerRanks
4304:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4305:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
4306:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_1
4307:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_2
4308:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_3
4309:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_4
4310:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_5
4311:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_6
4312:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_7
4313:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_8
4314:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_9
4315:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_10
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 78
4316:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_11
4317:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_12
4318:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_13
4319:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_14
4320:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_15
4321:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_RANK_16
4322:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
4323:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
4324:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
4325:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
4326:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
4327:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
4328:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
4329:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
4330:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
4331:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
4332:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
4333:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
4334:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
4335:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
4336:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
4337:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
4338:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
4339:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
4340:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
4341:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
4342:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
4343:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
4344:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
4345:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
4346:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
4347:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
4348:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
4349:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
4350:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
4351:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
4352:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).\n
4353:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1, 2) For ADC channel read back from ADC register,
4354:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * comparison with internal channel parameter to be done
4355:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL().
4356:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4357:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank)
4358:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4359:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SQR1, ((Rank & ADC_REG_SQRX_REGOFFSET_MASK
4360:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4361:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)((READ_BIT(*preg,
4362:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CHANNEL_ID_NUMBER_MASK_POSBIT0 << (Rank & ADC_REG_RANK_ID_SQRX_MA
4363:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** >> (Rank & ADC_REG_RANK_ID_SQRX_MASK)) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS
4364:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
4365:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4366:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4367:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4368:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC continuous conversion mode on ADC group regular.
4369:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Description of ADC continuous conversion mode:
4370:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - single mode: one conversion per trigger
4371:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - continuous mode: after the first trigger, following
4372:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * conversions launched successively automatically.
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 79
4373:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note It is not possible to enable both ADC group regular
4374:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * continuous mode and sequencer discontinuous mode.
4375:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
4376:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
4377:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
4378:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on group regular.
4379:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR CONT LL_ADC_REG_SetContinuousMode
4380:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4381:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Continuous This parameter can be one of the following values:
4382:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_CONV_SINGLE
4383:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_CONV_CONTINUOUS
4384:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
4385:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4386:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetContinuousMode(ADC_TypeDef *ADCx, uint32_t Continuous)
4387:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4388:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_CONT, Continuous);
4389:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4390:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4391:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4392:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC continuous conversion mode on ADC group regular.
4393:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Description of ADC continuous conversion mode:
4394:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - single mode: one conversion per trigger
4395:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - continuous mode: after the first trigger, following
4396:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * conversions launched successively automatically.
4397:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR CONT LL_ADC_REG_GetContinuousMode
4398:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4399:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
4400:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_CONV_SINGLE
4401:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_CONV_CONTINUOUS
4402:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4403:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetContinuousMode(ADC_TypeDef *ADCx)
4404:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4405:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_CONT));
4406:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4407:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4408:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC data transfer mode
4409:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Conversion data can be either:
4410:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Available in Data Register
4411:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Transferred by DMA in one shot mode
4412:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Transferred by DMA in circular mode
4413:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Transferred to DFSDM data register
4414:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR DMNGT LL_ADC_REG_SetDataTransferMode
4415:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4416:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param DataTransferMode Select Data Management configuration
4417:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
4418:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4419:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetDataTransferMode(ADC_TypeDef *ADCx, uint32_t DataTransferMode)
4420:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4421:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_DMNGT, DataTransferMode);
4422:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4423:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4424:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
4425:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4426:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Enable DMA requests for ADC3.
4427:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR DMAEN LL_ADC_REG_SetDMATransfer\n
4428:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4429:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 80
4430:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4431:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_EnableDMAReq (ADC_TypeDef *ADCx)
4432:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4433:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SET_BIT(ADCx->CFGR, ADC3_CFGR_DMAEN);
4434:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4435:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4436:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_DisableDMAReq(ADC_TypeDef *ADCx)
4437:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4438:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT (ADCx->CFGR, ADC3_CFGR_DMAEN);
4439:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4440:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4441:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsEnabledDMAReq (ADC_TypeDef *ADCx)
4442:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4443:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->CFGR, ADC3_CFGR_DMAEN) == (ADC3_CFGR_DMAEN)) ? 1UL : 0UL);
4444:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4445:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4446:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC group regular conversion data transfer: no transfer or
4447:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * transfer by DMA, and DMA requests mode.
4448:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If transfer by DMA selected, specifies the DMA requests
4449:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * mode:
4450:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Limited mode (One shot mode): DMA transfer requests are stopped
4451:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * when number of DMA data transfers (number of
4452:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversions) is reached.
4453:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode non-circular.
4454:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Unlimited mode: DMA transfer requests are unlimited,
4455:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * whatever number of DMA data transfers (number of
4456:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversions).
4457:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode circular.
4458:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If ADC DMA requests mode is set to unlimited and DMA is set to
4459:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * mode non-circular:
4460:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * when DMA transfers size will be reached, DMA will stop transfers of
4461:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversions data ADC will raise an overrun error
4462:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (overrun flag and interruption if enabled).
4463:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with several ADC instances: ADC multimode DMA
4464:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * settings are available using function @ref LL_ADC_SetMultiDMATransfer().
4465:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note To configure DMA source address (peripheral address),
4466:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * use function @ref LL_ADC_DMA_GetRegAddr().
4467:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
4468:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
4469:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
4470:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
4471:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR DMAEN LL_ADC_REG_SetDMATransferMode\n
4472:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR DMACFG LL_ADC_REG_SetDMATransferMode
4473:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4474:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param DMATransfer This parameter can be one of the following values:
4475:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC3_REG_DMA_TRANSFER_NONE
4476:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC3_REG_DMA_TRANSFER_LIMITED
4477:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC3_REG_DMA_TRANSFER_UNLIMITED
4478:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
4479:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4480:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetDMATransferMode(ADC_TypeDef *ADCx, uint32_t DMATransfer)
4481:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4482:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
4483:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4484:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC3_CFGR_DMAEN | ADC3_CFGR_DMACFG, DMATransfer);
4485:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4486:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 81
4487:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4488:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4489:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular conversion data transfer: no transfer or
4490:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * transfer by DMA, and DMA requests mode.
4491:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If transfer by DMA selected, specifies the DMA requests
4492:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * mode:
4493:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Limited mode (One shot mode): DMA transfer requests are stopped
4494:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * when number of DMA data transfers (number of
4495:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversions) is reached.
4496:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode non-circular.
4497:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Unlimited mode: DMA transfer requests are unlimited,
4498:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * whatever number of DMA data transfers (number of
4499:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversions).
4500:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode circular.
4501:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If ADC DMA requests mode is set to unlimited and DMA is set to
4502:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * mode non-circular:
4503:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * when DMA transfers size will be reached, DMA will stop transfers of
4504:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversions data ADC will raise an overrun error
4505:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (overrun flag and interruption if enabled).
4506:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with several ADC instances: ADC multimode DMA
4507:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * settings are available using function @ref LL_ADC_GetMultiDMATransfer().
4508:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note To configure DMA source address (peripheral address),
4509:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * use function @ref LL_ADC_DMA_GetRegAddr().
4510:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR DMAEN LL_ADC_REG_GetDMATransfer\n
4511:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR DMACFG LL_ADC_REG_GetDMATransfer
4512:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4513:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
4514:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC3_REG_DMA_TRANSFER_NONE
4515:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC3_REG_DMA_TRANSFER_LIMITED
4516:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC3_REG_DMA_TRANSFER_UNLIMITED
4517:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4518:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetDMATransferMode(ADC_TypeDef *ADCx)
4519:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4520:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
4521:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4522:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC3_CFGR_DMAEN | ADC3_CFGR_DMACFG));
4523:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4524:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
4525:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4526:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return 0UL;
4527:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4528:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4529:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4530:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
4531:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4532:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4533:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC data transfer mode
4534:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Conversion data can be either:
4535:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Available in Data Register
4536:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Transferred by DMA in one shot mode
4537:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Transferred by DMA in circular mode
4538:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Transferred to DFSDM data register
4539:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR DMNGT LL_ADC_REG_GetDataTransferMode
4540:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4541:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
4542:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_DR_TRANSFER
4543:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_DMA_TRANSFER_LIMITED
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 82
4544:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_DMA_TRANSFER_UNLIMITED
4545:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_DFSDM_TRANSFER
4546:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4547:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetDataTransferMode(ADC_TypeDef *ADCx)
4548:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4549:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_DMNGT));
4550:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4551:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4552:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4553:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4554:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC group regular behavior in case of overrun:
4555:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * data preserved or overwritten.
4556:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Compatibility with devices without feature overrun:
4557:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * other devices without this feature have a behavior
4558:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * equivalent to data overwritten.
4559:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * The default setting of overrun is data preserved.
4560:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Therefore, for compatibility with all devices, parameter
4561:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * overrun should be set to data overwritten.
4562:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
4563:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
4564:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
4565:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on group regular.
4566:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR OVRMOD LL_ADC_REG_SetOverrun
4567:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4568:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Overrun This parameter can be one of the following values:
4569:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_OVR_DATA_PRESERVED
4570:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_OVR_DATA_OVERWRITTEN
4571:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
4572:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4573:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_SetOverrun(ADC_TypeDef *ADCx, uint32_t Overrun)
4574:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4575:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_OVRMOD, Overrun);
4576:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4577:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4578:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4579:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular behavior in case of overrun:
4580:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * data preserved or overwritten.
4581:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR OVRMOD LL_ADC_REG_GetOverrun
4582:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4583:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
4584:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_OVR_DATA_PRESERVED
4585:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_REG_OVR_DATA_OVERWRITTEN
4586:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4587:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_GetOverrun(ADC_TypeDef *ADCx)
4588:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4589:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_OVRMOD));
4590:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4591:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4592:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4593:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
4594:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4595:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4596:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Group_Injected Configuration of ADC hierarchical scope: g
4597:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
4598:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4599:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4600:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 83
4601:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC group injected conversion trigger source:
4602:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * internal (SW start) or from external peripheral (timer event,
4603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * external interrupt line).
4604:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting trigger source to external trigger
4605:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * also set trigger polarity to rising edge
4606:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (default setting for compatibility with some ADC on other
4607:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * STM32 families having this setting set by HW default value).
4608:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * In case of need to modify trigger edge, use
4609:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * function @ref LL_ADC_INJ_SetTriggerEdge().
4610:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Availability of parameters of trigger sources from timer
4611:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * depends on timers availability on the selected device.
4612:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
4613:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
4614:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must not be disabled. Can be enabled with or without conversion
4615:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on going on either groups regular or injected.
4616:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JSQR JEXTSEL LL_ADC_INJ_SetTriggerSource\n
4617:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JSQR JEXTEN LL_ADC_INJ_SetTriggerSource
4618:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4619:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param TriggerSource This parameter can be one of the following values:
4620:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_SOFTWARE
4621:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO
4622:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_CH4
4623:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_TRGO
4624:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_CH1
4625:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH4
4626:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM4_TRGO
4627:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_EXTI_LINE15
4628:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4
4629:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO2
4630:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_TRGO
4631:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_TRGO2
4632:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH3
4633:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_TRGO
4634:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH1
4635:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM6_TRGO
4636:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM15_TRGO
4637:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_HRTIM_TRG2
4638:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_HRTIM_TRG4
4639:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM1_OUT
4640:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM2_OUT
4641:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM3_OUT
4642:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
4643:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4644:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetTriggerSource(ADC_TypeDef *ADCx, uint32_t TriggerSource)
4645:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4646:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->JSQR, ADC_JSQR_JEXTSEL | ADC_JSQR_JEXTEN, TriggerSource);
4647:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4648:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4649:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4650:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected conversion trigger source:
4651:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * internal (SW start) or from external peripheral (timer event,
4652:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * external interrupt line).
4653:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note To determine whether group injected trigger source is
4654:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * internal (SW start) or external, without detail
4655:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * of which peripheral is selected as external trigger,
4656:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (equivalent to
4657:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * "if(LL_ADC_INJ_GetTriggerSource(ADC1) == LL_ADC_INJ_TRIG_SOFTWARE)")
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 84
4658:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * use function @ref LL_ADC_INJ_IsTriggerSourceSWStart.
4659:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Availability of parameters of trigger sources from timer
4660:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * depends on timers availability on the selected device.
4661:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JSQR JEXTSEL LL_ADC_INJ_GetTriggerSource\n
4662:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JSQR JEXTEN LL_ADC_INJ_GetTriggerSource
4663:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4664:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
4665:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_SOFTWARE
4666:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO
4667:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_CH4
4668:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_TRGO
4669:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_CH1
4670:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH4
4671:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM4_TRGO
4672:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_EXTI_LINE15
4673:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4
4674:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO2
4675:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_TRGO
4676:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_TRGO2
4677:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH3
4678:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_TRGO
4679:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH1
4680:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM6_TRGO
4681:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM15_TRGO
4682:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_HRTIM_TRG2
4683:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_HRTIM_TRG4
4684:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM1_OUT
4685:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM2_OUT
4686:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM3_OUT
4687:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4688:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetTriggerSource(ADC_TypeDef *ADCx)
4689:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4690:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t TriggerSource = READ_BIT(ADCx->JSQR, ADC_JSQR_JEXTSEL | ADC_JSQR_JEXTEN);
4691:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4692:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Value for shift of {0; 4; 8; 12} depending on value of bitfield */
4693:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* corresponding to ADC_JSQR_JEXTEN {0; 1; 2; 3}. */
4694:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t ShiftJexten = ((TriggerSource & ADC_JSQR_JEXTEN) >> (ADC_INJ_TRIG_EXTEN_BITOFFSET_POS -
4695:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4696:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Set bitfield corresponding to ADC_JSQR_JEXTEN and ADC_JSQR_JEXTSEL */
4697:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* to match with triggers literals definition. */
4698:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((TriggerSource
4699:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** & (ADC_INJ_TRIG_SOURCE_MASK >> ShiftJexten) & ADC_JSQR_JEXTSEL)
4700:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** | ((ADC_INJ_TRIG_EDGE_MASK >> ShiftJexten) & ADC_JSQR_JEXTEN)
4701:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
4702:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4703:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4704:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4705:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected conversion trigger source internal (SW start)
4706:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** or external
4707:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note In case of group injected trigger source set to external trigger,
4708:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * to determine which peripheral is selected as external trigger,
4709:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * use function @ref LL_ADC_INJ_GetTriggerSource.
4710:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JSQR JEXTEN LL_ADC_INJ_IsTriggerSourceSWStart
4711:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4712:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value "0" if trigger source external trigger
4713:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Value "1" if trigger source SW start.
4714:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 85
4715:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_IsTriggerSourceSWStart(ADC_TypeDef *ADCx)
4716:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->JSQR, ADC_JSQR_JEXTEN) == (LL_ADC_INJ_TRIG_SOFTWARE & ADC_JSQR_JEXTEN)) ?
4718:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4719:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4720:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4721:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC group injected conversion trigger polarity.
4722:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Applicable only for trigger source set to external trigger.
4723:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
4724:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
4725:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must not be disabled. Can be enabled with or without conversion
4726:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on going on either groups regular or injected.
4727:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JSQR JEXTEN LL_ADC_INJ_SetTriggerEdge
4728:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4729:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ExternalTriggerEdge This parameter can be one of the following values:
4730:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_RISING
4731:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_FALLING
4732:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_RISINGFALLING
4733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
4734:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4735:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetTriggerEdge(ADC_TypeDef *ADCx, uint32_t ExternalTriggerEdge)
4736:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4737:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->JSQR, ADC_JSQR_JEXTEN, ExternalTriggerEdge);
4738:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4739:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4740:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4741:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected conversion trigger polarity.
4742:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Applicable only for trigger source set to external trigger.
4743:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JSQR JEXTEN LL_ADC_INJ_GetTriggerEdge
4744:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4745:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
4746:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_RISING
4747:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_FALLING
4748:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_RISINGFALLING
4749:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4750:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetTriggerEdge(ADC_TypeDef *ADCx)
4751:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4752:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->JSQR, ADC_JSQR_JEXTEN));
4753:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4754:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4755:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4756:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC group injected sequencer length and scan direction.
4757:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This function performs configuration of:
4758:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence.
4759:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer
4760:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * scan direction is forward (from rank 1 to rank n).
4761:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Sequencer disabled is equivalent to sequencer of 1 rank:
4762:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversion on only 1 channel.
4763:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
4764:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
4765:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must not be disabled. Can be enabled with or without conversion
4766:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on going on either groups regular or injected.
4767:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JSQR JL LL_ADC_INJ_SetSequencerLength
4768:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4769:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param SequencerNbRanks This parameter can be one of the following values:
4770:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_DISABLE
4771:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 86
4772:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS
4773:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS
4774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
4775:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4776:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetSequencerLength(ADC_TypeDef *ADCx, uint32_t SequencerNbRanks)
4777:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4778:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->JSQR, ADC_JSQR_JL, SequencerNbRanks);
4779:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4781:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4782:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected sequencer length and scan direction.
4783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This function retrieves:
4784:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Sequence length: Number of ranks in the scan sequence.
4785:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Sequence direction: Unless specified in parameters, sequencer
4786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * scan direction is forward (from rank 1 to rank n).
4787:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Sequencer disabled is equivalent to sequencer of 1 rank:
4788:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversion on only 1 channel.
4789:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JSQR JL LL_ADC_INJ_GetSequencerLength
4790:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4791:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
4792:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_DISABLE
4793:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS
4794:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS
4795:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS
4796:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4797:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerLength(ADC_TypeDef *ADCx)
4798:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4799:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->JSQR, ADC_JSQR_JL));
4800:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4801:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4802:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4803:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC group injected sequencer discontinuous mode:
4804:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * sequence subdivided and scan conversions interrupted every selected
4805:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * number of ranks.
4806:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note It is not possible to enable both ADC group injected
4807:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * auto-injected mode and sequencer discontinuous mode.
4808:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR JDISCEN LL_ADC_INJ_SetSequencerDiscont
4809:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4810:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param SeqDiscont This parameter can be one of the following values:
4811:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_DISCONT_DISABLE
4812:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_DISCONT_1RANK
4813:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
4814:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4815:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetSequencerDiscont(ADC_TypeDef *ADCx, uint32_t SeqDiscont)
4816:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4817:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_JDISCEN, SeqDiscont);
4818:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4819:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4820:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4821:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected sequencer discontinuous mode:
4822:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * sequence subdivided and scan conversions interrupted every selected
4823:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * number of ranks.
4824:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR JDISCEN LL_ADC_INJ_GetSequencerDiscont
4825:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4826:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
4827:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_DISCONT_DISABLE
4828:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_DISCONT_1RANK
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 87
4829:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4830:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerDiscont(ADC_TypeDef *ADCx)
4831:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4832:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_JDISCEN));
4833:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4834:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4835:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4836:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC group injected sequence: channel on the selected
4837:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * sequence rank.
4838:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Depending on devices and packages, some channels may not be available.
4839:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to device datasheet for channels availability.
4840:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, to measure internal channels (VrefInt,
4841:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TempSensor, ...), measurement paths to internal channels must be
4842:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * enabled separately.
4843:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This can be done using function @ref LL_ADC_SetCommonPathInternalCh().
4844:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On STM32H7, some fast channels are available: fast analog inputs
4845:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * coming from GPIO pads (ADC_IN0..5).
4846:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
4847:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
4848:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must not be disabled. Can be enabled with or without conversion
4849:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on going on either groups regular or injected.
4850:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JSQR JSQ1 LL_ADC_INJ_SetSequencerRanks\n
4851:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JSQR JSQ2 LL_ADC_INJ_SetSequencerRanks\n
4852:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JSQR JSQ3 LL_ADC_INJ_SetSequencerRanks\n
4853:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JSQR JSQ4 LL_ADC_INJ_SetSequencerRanks
4854:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4855:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
4856:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1
4857:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2
4858:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3
4859:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4
4860:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Channel This parameter can be one of the following values:
4861:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
4862:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
4863:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
4864:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
4865:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
4866:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
4867:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
4868:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
4869:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
4870:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
4871:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
4872:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
4873:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
4874:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
4875:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
4876:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
4877:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
4878:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
4879:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
4880:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
4881:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
4882:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
4883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
4884:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
4885:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 88
4886:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
4887:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
4888:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
4889:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
4890:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).
4891:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
4892:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4893:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channe
4894:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4895:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Set bits with content of parameter "Channel" with bits position */
4896:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* in register depending on parameter "Rank". */
4897:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Parameters "Rank" and "Channel" are used with masks because containing */
4898:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* other bits reserved for other purpose. */
4899:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->JSQR,
4900:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (ADC_CHANNEL_ID_NUMBER_MASK >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Rank & ADC_INJ
4901:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((Channel & ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) << (Ra
4902:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4903:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4904:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4905:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected sequence: channel on the selected
4906:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * sequence rank.
4907:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Depending on devices and packages, some channels may not be available.
4908:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to device datasheet for channels availability.
4909:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Usage of the returned channel number:
4910:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - To reinject this channel into another function LL_ADC_xxx:
4911:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the returned channel number is only partly formatted on definition
4912:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared
4913:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * with parts of literals LL_ADC_CHANNEL_x or using
4914:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * helper macro @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB().
4915:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Then the selected literal LL_ADC_CHANNEL_x can be used
4916:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * as parameter for another function.
4917:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - To get the channel number in decimal format:
4918:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * process the returned value with the helper macro
4919:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB().
4920:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JSQR JSQ1 LL_ADC_INJ_GetSequencerRanks\n
4921:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JSQR JSQ2 LL_ADC_INJ_GetSequencerRanks\n
4922:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JSQR JSQ3 LL_ADC_INJ_GetSequencerRanks\n
4923:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JSQR JSQ4 LL_ADC_INJ_GetSequencerRanks
4924:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4925:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
4926:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1
4927:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2
4928:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3
4929:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4
4930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
4931:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
4932:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
4933:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
4934:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
4935:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
4936:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
4937:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
4938:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
4939:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
4940:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
4941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
4942:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 89
4943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
4944:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
4945:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
4946:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
4947:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
4948:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
4949:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
4950:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
4951:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
4952:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
4953:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
4954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
4955:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
4956:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
4957:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
4958:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
4959:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
4960:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).\n
4961:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1, 2) For ADC channel read back from ADC register,
4962:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * comparison with internal channel parameter to be done
4963:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * using helper macro @ref __LL_ADC_CHANNEL_INTERNAL_TO_EXTERNAL().
4964:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
4965:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank)
4966:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4967:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)((READ_BIT(ADCx->JSQR,
4968:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (ADC_CHANNEL_ID_NUMBER_MASK >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS) <<
4969:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** >> (Rank & ADC_INJ_RANK_ID_JSQR_MASK)) << ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS
4970:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
4971:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4972:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4973:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
4974:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC group injected conversion trigger:
4975:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * independent or from ADC group regular.
4976:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This mode can be used to extend number of data registers
4977:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * updated after one ADC conversion trigger and with data
4978:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * permanently kept (not erased by successive conversions of scan of
4979:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC sequencer ranks), up to 5 data registers:
4980:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * 1 data register on ADC group regular, 4 data registers
4981:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on ADC group injected.
4982:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If ADC group injected injected trigger source is set to an
4983:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * external trigger, this feature must be must be set to
4984:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * independent trigger.
4985:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC group injected automatic trigger is compliant only with
4986:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * group injected trigger source set to SW start, without any
4987:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * further action on ADC group injected conversion start or stop:
4988:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * in this case, ADC group injected is controlled only
4989:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * from ADC group regular.
4990:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note It is not possible to enable both ADC group injected
4991:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * auto-injected mode and sequencer discontinuous mode.
4992:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
4993:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
4994:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
4995:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
4996:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR JAUTO LL_ADC_INJ_SetTrigAuto
4997:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
4998:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param TrigAuto This parameter can be one of the following values:
4999:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_INDEPENDENT
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 90
5000:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_FROM_GRP_REGULAR
5001:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
5002:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
5003:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetTrigAuto(ADC_TypeDef *ADCx, uint32_t TrigAuto)
5004:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5005:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_JAUTO, TrigAuto);
5006:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5007:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5008:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
5009:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected conversion trigger:
5010:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * independent or from ADC group regular.
5011:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR JAUTO LL_ADC_INJ_GetTrigAuto
5012:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
5013:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
5014:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_INDEPENDENT
5015:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_FROM_GRP_REGULAR
5016:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
5017:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetTrigAuto(ADC_TypeDef *ADCx)
5018:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5019:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_JAUTO));
5020:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5021:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5022:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
5023:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC group injected contexts queue mode.
5024:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note A context is a setting of group injected sequencer:
5025:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - group injected trigger
5026:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - sequencer length
5027:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - sequencer ranks
5028:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * If contexts queue is disabled:
5029:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - only 1 sequence can be configured
5030:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and is active perpetually.
5031:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * If contexts queue is enabled:
5032:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - up to 2 contexts can be queued
5033:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * and are checked in and out as a FIFO stack (first-in, first-out).
5034:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - If a new context is set when queues is full, error is triggered
5035:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * by interruption "Injected Queue Overflow".
5036:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Two behaviors are possible when all contexts have been processed:
5037:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the contexts queue can maintain the last context active perpetually
5038:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or can be empty and injected group triggers are disabled.
5039:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Triggers can be only external (not internal SW start)
5040:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Caution: The sequence must be fully configured in one time
5041:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (one write of register JSQR makes a check-in of a new context
5042:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * into the queue).
5043:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Therefore functions to set separately injected trigger and
5044:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * sequencer channels cannot be used, register JSQR must be set
5045:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * using function @ref LL_ADC_INJ_ConfigQueueContext().
5046:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This parameter can be modified only when no conversion is on going
5047:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
5048:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note A modification of the context mode (bit JQDIS) causes the contexts
5049:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * queue to be flushed and the register JSQR is cleared.
5050:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
5051:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
5052:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
5053:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
5054:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR JQM LL_ADC_INJ_SetQueueMode\n
5055:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR JQDIS LL_ADC_INJ_SetQueueMode
5056:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 91
5057:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param QueueMode This parameter can be one of the following values:
5058:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_QUEUE_DISABLE
5059:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_QUEUE_2CONTEXTS_LAST_ACTIVE
5060:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_QUEUE_2CONTEXTS_END_EMPTY
5061:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
5062:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
5063:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_SetQueueMode(ADC_TypeDef *ADCx, uint32_t QueueMode)
5064:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5065:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR, ADC_CFGR_JQM | ADC_CFGR_JQDIS, QueueMode);
5066:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5067:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5068:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
5069:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected context queue mode.
5070:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR JQM LL_ADC_INJ_GetQueueMode\n
5071:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR JQDIS LL_ADC_INJ_GetQueueMode
5072:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
5073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
5074:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_QUEUE_DISABLE
5075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_QUEUE_2CONTEXTS_LAST_ACTIVE
5076:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_QUEUE_2CONTEXTS_END_EMPTY
5077:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
5078:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_GetQueueMode(ADC_TypeDef *ADCx)
5079:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5080:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR, ADC_CFGR_JQM | ADC_CFGR_JQDIS));
5081:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5082:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5083:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
5084:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set one context on ADC group injected that will be checked in
5085:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * contexts queue.
5086:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note A context is a setting of group injected sequencer:
5087:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - group injected trigger
5088:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - sequencer length
5089:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - sequencer ranks
5090:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This function is intended to be used when contexts queue is enabled,
5091:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * because the sequence must be fully configured in one time
5092:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (functions to set separately injected trigger and sequencer channels
5093:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * cannot be used):
5094:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to function @ref LL_ADC_INJ_SetQueueMode().
5095:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note In the contexts queue, only the active context can be read.
5096:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * The parameters of this function can be read using functions:
5097:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_GetTriggerSource()
5098:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_GetTriggerEdge()
5099:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_GetSequencerRanks()
5100:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, to measure internal channels (VrefInt,
5101:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TempSensor, ...), measurement paths to internal channels must be
5102:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * enabled separately.
5103:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This can be done using function @ref LL_ADC_SetCommonPathInternalCh().
5104:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On STM32H7, some fast channels are available: fast analog inputs
5105:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * coming from GPIO pads (ADC_IN0..5).
5106:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
5107:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
5108:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must not be disabled. Can be enabled with or without conversion
5109:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on going on either groups regular or injected.
5110:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JSQR JEXTSEL LL_ADC_INJ_ConfigQueueContext\n
5111:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JSQR JEXTEN LL_ADC_INJ_ConfigQueueContext\n
5112:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JSQR JL LL_ADC_INJ_ConfigQueueContext\n
5113:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JSQR JSQ1 LL_ADC_INJ_ConfigQueueContext\n
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 92
5114:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JSQR JSQ2 LL_ADC_INJ_ConfigQueueContext\n
5115:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JSQR JSQ3 LL_ADC_INJ_ConfigQueueContext\n
5116:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JSQR JSQ4 LL_ADC_INJ_ConfigQueueContext
5117:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
5118:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param TriggerSource This parameter can be one of the following values:
5119:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_SOFTWARE
5120:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO
5121:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_CH4
5122:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_TRGO
5123:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM2_CH1
5124:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH4
5125:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM4_TRGO
5126:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_EXTI_LINE15
5127:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_CH4
5128:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM1_TRGO2
5129:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_TRGO
5130:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM8_TRGO2
5131:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH3
5132:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_TRGO
5133:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM3_CH1
5134:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM6_TRGO
5135:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_TIM15_TRGO
5136:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_HRTIM_TRG2
5137:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_HRTIM_TRG4
5138:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM1_OUT
5139:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM2_OUT
5140:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_LPTIM3_OUT
5141:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ExternalTriggerEdge This parameter can be one of the following values:
5142:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_RISING
5143:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_FALLING
5144:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_TRIG_EXT_RISINGFALLING
5145:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
5146:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Note: This parameter is discarded in case of SW start:
5147:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * parameter "TriggerSource" set to "LL_ADC_INJ_TRIG_SOFTWARE".
5148:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param SequencerNbRanks This parameter can be one of the following values:
5149:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_DISABLE
5150:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_2RANKS
5151:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_3RANKS
5152:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_SEQ_SCAN_ENABLE_4RANKS
5153:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Rank1_Channel This parameter can be one of the following values:
5154:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
5155:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
5156:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
5157:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
5158:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
5159:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
5160:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
5161:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
5162:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
5163:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
5164:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
5165:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
5166:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
5167:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
5168:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
5169:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
5170:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 93
5171:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
5172:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
5173:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
5174:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
5175:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
5176:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
5177:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
5178:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
5179:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
5180:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
5181:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
5182:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
5183:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).
5184:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Rank2_Channel This parameter can be one of the following values:
5185:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
5186:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
5187:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
5188:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
5189:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
5190:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
5191:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
5192:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
5193:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
5194:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
5195:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
5196:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
5197:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
5198:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
5199:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
5200:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
5201:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
5202:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
5203:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
5204:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
5205:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
5206:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
5207:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
5208:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
5209:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
5210:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
5211:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
5212:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
5213:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
5214:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).
5215:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Rank3_Channel This parameter can be one of the following values:
5216:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
5217:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
5218:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
5219:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
5220:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
5221:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
5222:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
5223:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
5224:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
5225:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
5226:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
5227:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 94
5228:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
5229:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
5230:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
5231:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
5232:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
5233:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
5234:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
5235:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
5236:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
5237:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
5238:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
5239:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
5240:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
5241:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
5242:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
5243:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
5244:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
5245:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).
5246:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Rank4_Channel This parameter can be one of the following values:
5247:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
5248:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
5249:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
5250:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
5251:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
5252:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
5253:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
5254:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
5255:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
5256:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
5257:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
5258:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
5259:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
5260:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
5261:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
5262:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
5263:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
5264:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
5265:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
5266:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
5267:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
5268:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
5269:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
5270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
5271:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
5272:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
5273:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
5274:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
5275:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
5276:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).
5277:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
5278:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
5279:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_ConfigQueueContext(ADC_TypeDef *ADCx,
5280:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t TriggerSource,
5281:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t ExternalTriggerEdge,
5282:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t SequencerNbRanks,
5283:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t Rank1_Channel,
5284:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t Rank2_Channel,
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 95
5285:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t Rank3_Channel,
5286:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t Rank4_Channel)
5287:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5288:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Set bits with content of parameter "Rankx_Channel" with bits position */
5289:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* in register depending on literal "LL_ADC_INJ_RANK_x". */
5290:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Parameters "Rankx_Channel" and "LL_ADC_INJ_RANK_x" are used with masks */
5291:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* because containing other bits reserved for other purpose. */
5292:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* If parameter "TriggerSource" is set to SW start, then parameter */
5293:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* "ExternalTriggerEdge" is discarded. */
5294:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t is_trigger_not_sw = (uint32_t)((TriggerSource != LL_ADC_INJ_TRIG_SOFTWARE) ? 1UL : 0UL);
5295:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->JSQR,
5296:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_JSQR_JEXTSEL |
5297:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_JSQR_JEXTEN |
5298:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_JSQR_JSQ4 |
5299:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_JSQR_JSQ3 |
5300:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_JSQR_JSQ2 |
5301:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_JSQR_JSQ1 |
5302:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_JSQR_JL,
5303:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (TriggerSource & ADC_JSQR_JEXTSEL) |
5304:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (ExternalTriggerEdge * (is_trigger_not_sw)) |
5305:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((Rank4_Channel & ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS)
5306:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((Rank3_Channel & ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS)
5307:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((Rank2_Channel & ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS)
5308:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (((Rank1_Channel & ADC_CHANNEL_ID_NUMBER_MASK) >> ADC_CHANNEL_ID_NUMBER_BITOFFSET_POS)
5309:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SequencerNbRanks
5310:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
5311:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5312:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5313:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
5314:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
5315:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
5316:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5317:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_Channels Configuration of ADC hierarchical scope: channels
5318:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
5319:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
5320:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5321:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
5322:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set sampling time of the selected ADC channel
5323:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Unit: ADC clock cycles.
5324:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this device, sampling time is on channel scope: independently
5325:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * of channel mapped on ADC group regular or injected.
5326:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note In case of internal channel (VrefInt, TempSensor, ...) to be
5327:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * converted:
5328:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * sampling time constraints must be respected (sampling time can be
5329:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * adjusted in function of ADC clock frequency and sampling time
5330:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * setting).
5331:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to device datasheet for timings values (parameters TS_vrefint,
5332:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TS_temp, ...).
5333:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Conversion time is the addition of sampling time and processing time.
5334:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * On this STM32 series, ADC processing time is:
5335:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - 12.5 ADC clock cycles at ADC resolution 12 bits
5336:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - 10.5 ADC clock cycles at ADC resolution 10 bits
5337:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - 8.5 ADC clock cycles at ADC resolution 8 bits
5338:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - 6.5 ADC clock cycles at ADC resolution 6 bits
5339:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note In case of ADC conversion of internal channel (VrefInt,
5340:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * temperature sensor, ...), a sampling time minimum value
5341:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is required.
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 96
5342:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to device datasheet.
5343:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
5344:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
5345:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
5346:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
5347:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll SMPR1 SMP0 LL_ADC_SetChannelSamplingTime\n
5348:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP1 LL_ADC_SetChannelSamplingTime\n
5349:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP2 LL_ADC_SetChannelSamplingTime\n
5350:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP3 LL_ADC_SetChannelSamplingTime\n
5351:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP4 LL_ADC_SetChannelSamplingTime\n
5352:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP5 LL_ADC_SetChannelSamplingTime\n
5353:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP6 LL_ADC_SetChannelSamplingTime\n
5354:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP7 LL_ADC_SetChannelSamplingTime\n
5355:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP8 LL_ADC_SetChannelSamplingTime\n
5356:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP9 LL_ADC_SetChannelSamplingTime\n
5357:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP10 LL_ADC_SetChannelSamplingTime\n
5358:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP11 LL_ADC_SetChannelSamplingTime\n
5359:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP12 LL_ADC_SetChannelSamplingTime\n
5360:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP13 LL_ADC_SetChannelSamplingTime\n
5361:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP14 LL_ADC_SetChannelSamplingTime\n
5362:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP15 LL_ADC_SetChannelSamplingTime\n
5363:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP16 LL_ADC_SetChannelSamplingTime\n
5364:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP17 LL_ADC_SetChannelSamplingTime\n
5365:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP18 LL_ADC_SetChannelSamplingTime
5366:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
5367:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Channel This parameter can be one of the following values:
5368:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
5369:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
5370:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
5371:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
5372:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
5373:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
5374:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
5375:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
5376:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
5377:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
5378:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
5379:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
5380:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
5381:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
5382:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
5383:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
5384:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
5385:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
5386:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
5387:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
5388:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
5389:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
5390:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
5391:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
5392:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
5393:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
5394:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
5395:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
5396:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
5397:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).
5398:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param SamplingTime This parameter can be one of the following values:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 97
5399:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_1CYCLE_5
5400:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_2CYCLES_5
5401:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_8CYCLES_5
5402:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_16CYCLES_5
5403:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_32CYCLES_5
5404:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_64CYCLES_5
5405:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_387CYCLES_5
5406:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_810CYCLES_5
5407:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
5408:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
5409:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetChannelSamplingTime(ADC_TypeDef *ADCx, uint32_t Channel, uint32_t Sa
5410:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
78 .loc 2 5410 1 is_stmt 1 view -0
79 .cfi_startproc
80 @ args = 0, pretend = 0, frame = 0
81 @ frame_needed = 0, uses_anonymous_args = 0
82 @ link register save eliminated.
83 .loc 2 5410 1 is_stmt 0 view .LVU10
84 0000 10B4 push {r4}
85 .cfi_def_cfa_offset 4
86 .cfi_offset 4, -4
5411:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Set bits with content of parameter "SamplingTime" with bits position */
5412:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* in register and register position depending on parameter "Channel". */
5413:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Parameter "Channel" is used with masks because containing */
5414:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* other bits reserved for other purpose. */
5415:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SMPR1, ((Channel & ADC_CHANNEL_SMPRX_REGOFFSET_M
87 .loc 2 5415 3 is_stmt 1 view .LVU11
88 .loc 2 5415 25 is_stmt 0 view .LVU12
89 0002 1430 adds r0, r0, #20
90 .LVL6:
91 .loc 2 5415 25 view .LVU13
92 0004 4B0E lsrs r3, r1, #25
93 0006 9B00 lsls r3, r3, #2
94 0008 03F00403 and r3, r3, #4
95 .LVL7:
5416:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5417:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg,
96 .loc 2 5417 3 is_stmt 1 view .LVU14
97 000c C458 ldr r4, [r0, r3]
98 000e C1F30451 ubfx r1, r1, #20, #5
99 .LVL8:
100 .loc 2 5417 3 is_stmt 0 view .LVU15
101 0012 4FF0070C mov ip, #7
102 0016 0CFA01FC lsl ip, ip, r1
103 001a 24EA0C0C bic ip, r4, ip
104 001e 8A40 lsls r2, r2, r1
105 .LVL9:
106 .loc 2 5417 3 view .LVU16
107 0020 4CEA0202 orr r2, ip, r2
108 0024 C250 str r2, [r0, r3]
5418:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_SMPR1_SMP0 << ((Channel & ADC_CHANNEL_SMPx_BITOFFSET_MASK) >> ADC_CHANNEL_SMPx_BIT
5419:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SamplingTime << ((Channel & ADC_CHANNEL_SMPx_BITOFFSET_MASK) >> ADC_CHANNEL_SMPx_BIT
5420:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
109 .loc 2 5420 1 view .LVU17
110 0026 5DF8044B ldr r4, [sp], #4
111 .cfi_restore 4
112 .cfi_def_cfa_offset 0
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 98
113 002a 7047 bx lr
114 .cfi_endproc
115 .LFE201:
117 .section .text.LL_ADC_SetAnalogWDMonitChannels,"ax",%progbits
118 .align 1
119 .syntax unified
120 .thumb
121 .thumb_func
123 LL_ADC_SetAnalogWDMonitChannels:
124 .LVL10:
125 .LFB205:
5421:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5422:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
5423:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get sampling time of the selected ADC channel
5424:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Unit: ADC clock cycles.
5425:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this device, sampling time is on channel scope: independently
5426:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * of channel mapped on ADC group regular or injected.
5427:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Conversion time is the addition of sampling time and processing time.
5428:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * On this STM32 series, ADC processing time is:
5429:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - 12.5 ADC clock cycles at ADC resolution 12 bits
5430:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - 10.5 ADC clock cycles at ADC resolution 10 bits
5431:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - 8.5 ADC clock cycles at ADC resolution 8 bits
5432:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - 6.5 ADC clock cycles at ADC resolution 6 bits
5433:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll SMPR1 SMP0 LL_ADC_GetChannelSamplingTime\n
5434:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP1 LL_ADC_GetChannelSamplingTime\n
5435:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP2 LL_ADC_GetChannelSamplingTime\n
5436:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP3 LL_ADC_GetChannelSamplingTime\n
5437:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP4 LL_ADC_GetChannelSamplingTime\n
5438:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP5 LL_ADC_GetChannelSamplingTime\n
5439:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP6 LL_ADC_GetChannelSamplingTime\n
5440:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP7 LL_ADC_GetChannelSamplingTime\n
5441:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP8 LL_ADC_GetChannelSamplingTime\n
5442:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR1 SMP9 LL_ADC_GetChannelSamplingTime\n
5443:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP10 LL_ADC_GetChannelSamplingTime\n
5444:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP11 LL_ADC_GetChannelSamplingTime\n
5445:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP12 LL_ADC_GetChannelSamplingTime\n
5446:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP13 LL_ADC_GetChannelSamplingTime\n
5447:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP14 LL_ADC_GetChannelSamplingTime\n
5448:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP15 LL_ADC_GetChannelSamplingTime\n
5449:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP16 LL_ADC_GetChannelSamplingTime\n
5450:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP17 LL_ADC_GetChannelSamplingTime\n
5451:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * SMPR2 SMP18 LL_ADC_GetChannelSamplingTime
5452:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
5453:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Channel This parameter can be one of the following values:
5454:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_0 (3)
5455:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1 (3)
5456:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2 (3)
5457:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3 (3)
5458:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4 (3)
5459:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5 (3)
5460:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_6
5461:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_7
5462:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_8
5463:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_9
5464:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
5465:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
5466:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 99
5467:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
5468:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
5469:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
5470:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
5471:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
5472:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
5473:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
5474:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VREFINT (1)
5475:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_TEMPSENSOR (1)
5476:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_VBAT (1)
5477:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH1_ADC2 (2)
5478:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_DAC1CH2_ADC2 (2)
5479:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
5480:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
5481:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.\n
5482:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) On STM32H7, fast channel (0.125 us for 14-bit resolution (ADC conversion rate up to
5483:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Other channels are slow channels (conversion rate: refer to reference manual).
5484:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
5485:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_1CYCLE_5
5486:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_2CYCLES_5
5487:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_8CYCLES_5
5488:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_16CYCLES_5
5489:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_32CYCLES_5
5490:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_64CYCLES_5
5491:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_387CYCLES_5
5492:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SAMPLINGTIME_810CYCLES_5
5493:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
5494:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetChannelSamplingTime(ADC_TypeDef *ADCx, uint32_t Channel)
5495:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5496:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->SMPR1, ((Channel & ADC_CHANNEL_SMPRX_REGOF
5497:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5498:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(*preg,
5499:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_SMPR1_SMP0 << ((Channel & ADC_CHANNEL_SMPx_BITOFFSET_MASK) >> ADC_
5500:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** >> ((Channel & ADC_CHANNEL_SMPx_BITOFFSET_MASK) >> ADC_CHANNEL_SMPx_BITOFFSET_P
5501:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
5502:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5503:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5504:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
5505:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set mode single-ended or differential input of the selected
5506:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC channel.
5507:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Channel ending is on channel scope: independently of channel mapped
5508:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on ADC group regular or injected.
5509:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * In differential mode: Differential measurement is carried out
5510:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * between the selected channel 'i' (positive input) and
5511:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * channel 'i+1' (negative input). Only channel 'i' has to be
5512:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * configured, channel 'i+1' is configured automatically.
5513:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Refer to Reference Manual to ensure the selected channel is
5514:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * available in differential mode.
5515:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * For example, internal channels (VrefInt, TempSensor, ...) are
5516:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * not available in differential mode.
5517:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note When configuring a channel 'i' in differential mode,
5518:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the channel 'i+1' is not usable separately.
5519:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On STM32H7, some channels are internally fixed to single-ended inputs
5520:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * configuration:
5521:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC1: Channels 0, 6, 7, 8, 9, 13, 14, 15, 17, and 19
5522:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC2: Channels 0, 6, 7, 8, 9, 13, 14, 15 and 19
5523:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC3: Channels 0, 6, 7, 8, 9, 12, 16, 17, and 19
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 100
5524:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For ADC channels configured in differential mode, both inputs
5525:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * should be biased at (Vref+)/2 +/-200mV.
5526:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (Vref+ is the analog voltage reference)
5527:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
5528:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
5529:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be ADC disabled.
5530:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note One or several values can be selected.
5531:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Example: (LL_ADC_CHANNEL_4 | LL_ADC_CHANNEL_12 | ...)
5532:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll DIFSEL DIFSEL LL_ADC_SetChannelSingleDiff
5533:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
5534:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Channel This parameter can be one of the following values:
5535:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
5536:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
5537:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
5538:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
5539:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
5540:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
5541:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
5542:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
5543:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
5544:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
5545:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
5546:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
5547:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
5548:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
5549:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
5550:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param SingleDiff This parameter can be a combination of the following values:
5551:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SINGLE_ENDED
5552:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_DIFFERENTIAL_ENDED
5553:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
5554:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
5555:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetChannelSingleDiff(ADC_TypeDef *ADCx, uint32_t Channel, uint32_t Sing
5556:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5557:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
5558:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Bits of channels in single or differential mode are set only for */
5559:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* differential mode (for single mode, mask of bits allowed to be set is */
5560:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* shifted out of range of bits of channels in single or differential mode. */
5561:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
5562:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5563:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->LTR2_DIFSEL,
5564:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** Channel & ADC_SINGLEDIFF_CHANNEL_MASK,
5565:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (Channel & ADC_SINGLEDIFF_CHANNEL_MASK) & (ADC_DIFSEL_DIFSEL >> (SingleDiff & ADC_SI
5566:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5567:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
5568:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5569:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->DIFSEL_RES12,
5570:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** Channel & ADC_SINGLEDIFF_CHANNEL_MASK,
5571:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (Channel & ADC_SINGLEDIFF_CHANNEL_MASK) & (ADC_DIFSEL_DIFSEL >> (SingleDiff & ADC_SI
5572:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5573:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else /* ADC_VER_V5_V90 */
5574:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Bits of channels in single or differential mode are set only for */
5575:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* differential mode (for single mode, mask of bits allowed to be set is */
5576:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* shifted out of range of bits of channels in single or differential mode. */
5577:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->DIFSEL,
5578:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** Channel & ADC_SINGLEDIFF_CHANNEL_MASK,
5579:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (Channel & ADC_SINGLEDIFF_CHANNEL_MASK) & (ADC_DIFSEL_DIFSEL >> (SingleDiff & ADC_SING
5580:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 101
5581:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5582:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5583:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
5584:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get mode single-ended or differential input of the selected
5585:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC channel.
5586:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note When configuring a channel 'i' in differential mode,
5587:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the channel 'i+1' is not usable separately.
5588:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Therefore, to ensure a channel is configured in single-ended mode,
5589:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the configuration of channel itself and the channel 'i-1' must be
5590:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * read back (to ensure that the selected channel channel has not been
5591:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * configured in differential mode by the previous channel).
5592:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Refer to Reference Manual to ensure the selected channel is
5593:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * available in differential mode.
5594:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * For example, internal channels (VrefInt, TempSensor, ...) are
5595:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * not available in differential mode.
5596:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note When configuring a channel 'i' in differential mode,
5597:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the channel 'i+1' is not usable separately.
5598:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On STM32H7, some channels are internally fixed to single-ended inputs
5599:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * configuration:
5600:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC1: Channels 0, 6, 7, 8, 9, 13, 14, 15, 17, and 19
5601:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC2: Channels 0, 6, 7, 8, 9, 13, 14, 15 and 19
5602:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC3: Channels 0, 6, 7, 8, 9, 12, 16, 17, and 19
5603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note One or several values can be selected. In this case, the value
5604:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * returned is null if all channels are in single ended-mode.
5605:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Example: (LL_ADC_CHANNEL_4 | LL_ADC_CHANNEL_12 | ...)
5606:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll DIFSEL DIFSEL LL_ADC_GetChannelSingleDiff
5607:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
5608:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Channel This parameter can be a combination of the following values:
5609:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_1
5610:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_2
5611:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_3
5612:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_4
5613:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_5
5614:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_10
5615:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_11
5616:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_12
5617:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_13
5618:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_14
5619:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_15
5620:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_16
5621:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_17
5622:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_18
5623:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CHANNEL_19
5624:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval 0: channel in single-ended mode, else: channel in differential mode
5625:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
5626:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetChannelSingleDiff(ADC_TypeDef *ADCx, uint32_t Channel)
5627:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5628:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
5629:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->DIFSEL_RES12, (Channel & ADC_SINGLEDIFF_CHANNEL_MASK)));
5630:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
5631:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->DIFSEL, (Channel & ADC_SINGLEDIFF_CHANNEL_MASK)));
5632:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
5633:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5634:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5635:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
5636:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
5637:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 102
5638:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5639:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_AnalogWatchdog Configuration of ADC transversal scope: an
5640:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
5641:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
5642:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5643:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
5644:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC analog watchdog monitored channels:
5645:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * a single channel, multiple channels or all channels,
5646:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on ADC groups regular and-or injected.
5647:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Once monitored channels are selected, analog watchdog
5648:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is enabled.
5649:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note In case of need to define a single channel to monitor
5650:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * with analog watchdog from sequencer channel definition,
5651:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * use helper macro @ref __LL_ADC_ANALOGWD_CHANNEL_GROUP().
5652:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, there are 2 kinds of analog watchdog
5653:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * instance:
5654:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - AWD standard (instance AWD1):
5655:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - channels monitored: can monitor 1 channel or all channels.
5656:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - groups monitored: ADC groups regular and-or injected.
5657:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - resolution: resolution is not limited (corresponds to
5658:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC resolution configured).
5659:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - AWD flexible (instances AWD2, AWD3):
5660:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - channels monitored: flexible on channels monitored, selection is
5661:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * channel wise, from from 1 to all channels.
5662:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Specificity of this analog watchdog: Multiple channels can
5663:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * be selected. For example:
5664:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (LL_ADC_AWD_CHANNEL4_REG_INJ | LL_ADC_AWD_CHANNEL5_REG_INJ | ...)
5665:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - groups monitored: not selection possible (monitoring on both
5666:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * groups regular and injected).
5667:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Channels selected are monitored on groups regular and injected:
5668:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_AWD_CHANNELxx_REG_INJ (do not use parameters
5669:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_AWD_CHANNELxx_REG and LL_ADC_AWD_CHANNELxx_INJ)
5670:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - resolution: resolution is limited to 8 bits: if ADC resolution is
5671:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * 12 bits the 4 LSB are ignored, if ADC resolution is 10 bits
5672:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the 2 LSB are ignored.
5673:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
5674:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
5675:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
5676:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
5677:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR AWD1CH LL_ADC_SetAnalogWDMonitChannels\n
5678:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR AWD1SGL LL_ADC_SetAnalogWDMonitChannels\n
5679:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR AWD1EN LL_ADC_SetAnalogWDMonitChannels\n
5680:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR JAWD1EN LL_ADC_SetAnalogWDMonitChannels\n
5681:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * AWD2CR AWD2CH LL_ADC_SetAnalogWDMonitChannels\n
5682:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * AWD3CR AWD3CH LL_ADC_SetAnalogWDMonitChannels
5683:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
5684:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param AWDy This parameter can be one of the following values:
5685:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD1
5686:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD2
5687:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD3
5688:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param AWDChannelGroup This parameter can be one of the following values:
5689:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_DISABLE
5690:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG (0)
5691:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_INJ (0)
5692:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG_INJ
5693:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG (0)
5694:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_INJ (0)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 103
5695:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG_INJ
5696:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG (0)
5697:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_INJ (0)
5698:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG_INJ
5699:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG (0)
5700:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_INJ (0)
5701:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG_INJ
5702:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG (0)
5703:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_INJ (0)
5704:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG_INJ
5705:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG (0)
5706:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_INJ (0)
5707:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG_INJ
5708:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG (0)
5709:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_INJ (0)
5710:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG_INJ
5711:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG (0)
5712:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_INJ (0)
5713:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG_INJ
5714:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG (0)
5715:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_INJ (0)
5716:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG_INJ
5717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG (0)
5718:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_INJ (0)
5719:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG_INJ
5720:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG (0)
5721:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_INJ (0)
5722:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG_INJ
5723:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG (0)
5724:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_INJ (0)
5725:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG_INJ
5726:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG (0)
5727:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_INJ (0)
5728:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG_INJ
5729:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG (0)
5730:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_INJ (0)
5731:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG_INJ
5732:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG (0)
5733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_INJ (0)
5734:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG_INJ
5735:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG (0)
5736:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_INJ (0)
5737:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG_INJ
5738:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG (0)
5739:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_INJ (0)
5740:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG_INJ
5741:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG (0)
5742:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_INJ (0)
5743:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG_INJ
5744:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG (0)
5745:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_INJ (0)
5746:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG_INJ
5747:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_18_REG (0)
5748:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_18_INJ (0)
5749:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_18_REG_INJ
5750:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_19_REG (0)
5751:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_19_INJ (0)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 104
5752:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_19_REG_INJ
5753:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_REG (0)(1)
5754:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_INJ (0)(1)
5755:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VREFINT_REG_INJ (1)
5756:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_REG (0)(1)
5757:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_INJ (0)(1)
5758:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_TEMPSENSOR_REG_INJ (1)
5759:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VBAT_REG (0)(1)
5760:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VBAT_INJ (0)(1)
5761:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_VBAT_REG_INJ (1)
5762:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_DAC1CH1_ADC2_REG (0)(2)
5763:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_DAC1CH1_ADC2_INJ (0)(2)
5764:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_DAC1CH1_ADC2_REG_INJ (2)
5765:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_DAC1CH2_ADC2_REG (0)(2)
5766:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_DAC1CH2_ADC2_INJ (0)(2)
5767:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CH_DAC1CH2_ADC2_REG_INJ (2)
5768:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
5769:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (0) On STM32H7, parameter available only on analog watchdog number: AWD1.\n
5770:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On STM32H7, parameter available only on ADC instance: ADC3.\n
5771:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) On STM32H7, parameter available only on ADC instance: ADC2.
5772:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
5773:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
5774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetAnalogWDMonitChannels(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWD
5775:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
126 .loc 2 5775 1 is_stmt 1 view -0
127 .cfi_startproc
128 @ args = 0, pretend = 0, frame = 0
129 @ frame_needed = 0, uses_anonymous_args = 0
130 @ link register save eliminated.
131 .loc 2 5775 1 is_stmt 0 view .LVU19
132 0000 10B4 push {r4}
133 .cfi_def_cfa_offset 4
134 .cfi_offset 4, -4
5776:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Set bits with content of parameter "AWDChannelGroup" with bits position */
5777:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* in register and register position depending on parameter "AWDy". */
5778:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Parameters "AWDChannelGroup" and "AWDy" are used with masks because */
5779:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* containing other bits reserved for other purpose. */
5780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->CFGR, ((AWDy & ADC_AWD_CRX_REGOFFSET_MASK) >> AD
135 .loc 2 5780 3 is_stmt 1 view .LVU20
136 .loc 2 5780 25 is_stmt 0 view .LVU21
137 0002 0C30 adds r0, r0, #12
138 .LVL11:
139 .loc 2 5780 25 view .LVU22
140 0004 C1F3015C ubfx ip, r1, #20, #2
141 0008 41F30003 sbfx r3, r1, #0, #1
142 000c 03F02403 and r3, r3, #36
143 0010 9C44 add ip, ip, r3
144 .LVL12:
5781:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_CR12_REGOFFSETGAP_MASK) *
5782:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg,
145 .loc 2 5783 3 is_stmt 1 view .LVU23
146 0012 50F82C30 ldr r3, [r0, ip, lsl #2]
147 0016 054C ldr r4, .L7
148 0018 0C40 ands r4, r4, r1
149 001a 23EA0403 bic r3, r3, r4
150 001e 1140 ands r1, r1, r2
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 105
151 .LVL13:
152 .loc 2 5783 3 is_stmt 0 view .LVU24
153 0020 0B43 orrs r3, r3, r1
154 0022 40F82C30 str r3, [r0, ip, lsl #2]
5784:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
5785:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** AWDChannelGroup & AWDy);
5786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
155 .loc 2 5786 1 view .LVU25
156 0026 5DF8044B ldr r4, [sp], #4
157 .cfi_restore 4
158 .cfi_def_cfa_offset 0
159 002a 7047 bx lr
160 .L8:
161 .align 2
162 .L7:
163 002c FFFFCF7D .word 2110783487
164 .cfi_endproc
165 .LFE205:
167 .section .text.HAL_ADC_MspInit,"ax",%progbits
168 .align 1
169 .weak HAL_ADC_MspInit
170 .syntax unified
171 .thumb
172 .thumb_func
174 HAL_ADC_MspInit:
175 .LVL14:
176 .LFB337:
1:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
2:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ******************************************************************************
3:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @file stm32h7xx_hal_adc.c
4:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @author MCD Application Team
5:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief This file provides firmware functions to manage the following
6:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * functionalities of the Analog to Digital Converter (ADC)
7:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * peripheral:
8:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * + Peripheral Control functions
9:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * + Peripheral State functions
10:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * Other functions (extended functions) are available in file
11:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * "stm32h7xx_hal_adc_ex.c".
12:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** *
13:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ******************************************************************************
14:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @attention
15:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** *
16:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * Copyright (c) 2017 STMicroelectronics.
17:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * All rights reserved.
18:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** *
19:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * This software is licensed under terms that can be found in the LICENSE file
20:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * in the root directory of this software component.
21:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
22:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** *
23:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ******************************************************************************
24:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** @verbatim
25:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ==============================================================================
26:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ##### ADC peripheral features #####
27:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ==============================================================================
28:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
29:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) 16-bit, 14-bit, 12-bit, 10-bit or 8-bit configurable resolution.
30:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Note: On devices STM32H72xx and STM32H73xx, these resolution are applicable to instances ADC
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 106
31:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC3 is featuring resolutions 12-bit, 10-bit, 8-bit, 6-bit.
32:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
33:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Interrupt generation at the end of regular conversion and in case of
34:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** analog watchdog or overrun events.
35:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
36:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Single and continuous conversion modes.
37:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
38:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Scan mode for conversion of several channels sequentially.
39:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
40:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Data alignment with in-built data coherency.
41:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
42:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Programmable sampling time (channel wise)
43:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
44:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) External trigger (timer or EXTI) with configurable polarity
45:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
46:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) DMA request generation for transfer of conversions data of regular group.
47:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
48:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Configurable delay between conversions in Dual interleaved mode.
49:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
50:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) ADC channels selectable single/differential input.
51:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
52:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) ADC offset shared on 4 offset instances.
53:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) ADC calibration
54:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
55:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) ADC conversion of regular group.
56:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
57:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) ADC supply requirements: 1.62 V to 3.6 V.
58:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
59:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) ADC input range: from Vref- (connected to Vssa) to Vref+ (connected to
60:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Vdda or to an external voltage reference).
61:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
62:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
63:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ##### How to use this driver #####
64:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ==============================================================================
65:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
66:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
67:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** *** Configuration of top level parameters related to ADC ***
68:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ============================================================
69:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
70:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
71:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (#) Enable the ADC interface
72:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) As prerequisite, ADC clock must be configured at RCC top level.
73:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
74:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) Two clock settings are mandatory:
75:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) ADC clock (core clock, also possibly conversion clock).
76:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
77:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) ADC clock (conversions clock).
78:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Two possible clock sources: synchronous clock derived from AHB clock
79:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** or asynchronous clock derived from system clock, the PLL2 or the PLL3 running up
80:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
81:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) Example:
82:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Into HAL_ADC_MspInit() (recommended code location) or with
83:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** other device clock parameters configuration:
84:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) __HAL_RCC_ADC_CLK_ENABLE(); (mandatory)
85:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
86:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** RCC_ADCCLKSOURCE_PLL2 enable: (optional: if asynchronous clock sel
87:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) RCC_PeriphClkInitTypeDef RCC_PeriphClkInit;
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 107
88:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_ADC;
89:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) PeriphClkInit.AdcClockSelection = RCC_ADCCLKSOURCE_PLL2;
90:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit);
91:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
92:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) ADC clock source and clock prescaler are configured at ADC level with
93:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** parameter "ClockPrescaler" using function HAL_ADC_Init().
94:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
95:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (#) ADC pins configuration
96:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) Enable the clock for the ADC GPIOs
97:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using macro __HAL_RCC_GPIOx_CLK_ENABLE()
98:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) Configure these ADC pins in analog mode
99:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_GPIO_Init()
100:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
101:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (#) Optionally, in case of usage of ADC with interruptions:
102:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) Configure the NVIC for ADC
103:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_NVIC_EnableIRQ(ADCx_IRQn)
104:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) Insert the ADC interruption handler function HAL_ADC_IRQHandler()
105:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** into the function of corresponding ADC interruption vector
106:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADCx_IRQHandler().
107:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
108:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (#) Optionally, in case of usage of DMA:
109:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) Configure the DMA (DMA channel, mode normal or circular, ...)
110:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_DMA_Init().
111:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) Configure the NVIC for DMA
112:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_NVIC_EnableIRQ(DMAx_Channelx_IRQn)
113:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) Insert the ADC interruption handler function HAL_ADC_IRQHandler()
114:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** into the function of corresponding DMA interruption vector
115:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** DMAx_Channelx_IRQHandler().
116:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
117:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** *** Configuration of ADC, group regular, channels parameters ***
118:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ================================================================
119:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
120:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
121:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (#) Configure the ADC parameters (resolution, data alignment, ...)
122:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** and regular group parameters (conversion trigger, sequencer, ...)
123:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_ADC_Init().
124:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
125:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (#) Configure the channels for regular group parameters (channel number,
126:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** channel rank into sequencer, ..., into regular group)
127:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_ADC_ConfigChannel().
128:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
129:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (#) Optionally, configure the analog watchdog parameters (channels
130:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** monitored, thresholds, ...)
131:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_ADC_AnalogWDGConfig().
132:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
133:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** *** Execution of ADC conversions ***
134:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ====================================
135:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
136:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
137:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (#) Optionally, perform an automatic ADC calibration to improve the
138:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** conversion accuracy
139:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_ADCEx_Calibration_Start().
140:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
141:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (#) ADC driver can be used among three modes: polling, interruption,
142:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** transfer by DMA.
143:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
144:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) ADC conversion by polling:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 108
145:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) Activate the ADC peripheral and start conversions
146:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_ADC_Start()
147:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) Wait for ADC conversion completion
148:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_ADC_PollForConversion()
149:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) Retrieve conversion results
150:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_ADC_GetValue()
151:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) Stop conversion and disable the ADC peripheral
152:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_ADC_Stop()
153:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
154:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) ADC conversion by interruption:
155:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) Activate the ADC peripheral and start conversions
156:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_ADC_Start_IT()
157:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) Wait for ADC conversion completion by call of function
158:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_ConvCpltCallback()
159:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (this function must be implemented in user program)
160:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) Retrieve conversion results
161:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_ADC_GetValue()
162:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) Stop conversion and disable the ADC peripheral
163:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_ADC_Stop_IT()
164:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
165:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) ADC conversion with transfer by DMA:
166:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) Activate the ADC peripheral and start conversions
167:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_ADC_Start_DMA()
168:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) Wait for ADC conversion completion by call of function
169:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_ConvCpltCallback() or HAL_ADC_ConvHalfCpltCallback()
170:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (these functions must be implemented in user program)
171:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) Conversion results are automatically transferred by DMA into
172:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** destination variable address.
173:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) Stop conversion and disable the ADC peripheral
174:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_ADC_Stop_DMA()
175:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
176:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
177:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
178:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (@) Callback functions must be implemented in user program:
179:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+@) HAL_ADC_ErrorCallback()
180:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+@) HAL_ADC_LevelOutOfWindowCallback() (callback of analog watchdog)
181:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+@) HAL_ADC_ConvCpltCallback()
182:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+@) HAL_ADC_ConvHalfCpltCallback
183:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
184:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** *** Deinitialization of ADC ***
185:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ============================================================
186:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
187:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
188:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (#) Disable the ADC interface
189:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) ADC clock can be hard reset and disabled at RCC top level.
190:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) Hard reset of ADC peripherals
191:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using macro __HAL_RCC_ADCx_FORCE_RESET(), __HAL_RCC_ADCx_RELEASE_RESET().
192:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) ADC clock disable
193:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using the equivalent macro/functions as configuration step.
194:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) Example:
195:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Into HAL_ADC_MspDeInit() (recommended code location) or with
196:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** other device clock parameters configuration:
197:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) __HAL_RCC_ADC_CLK_DISABLE(); (if not used anymore)
198:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** RCC_ADCCLKSOURCE_CLKP restore: (optional)
199:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) RCC_PeriphClkInitTypeDef RCC_PeriphClkInit;
200:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_ADC;
201:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) PeriphClkInit.AdcClockSelection = RCC_ADCCLKSOURCE_CLKP;
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 109
202:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+++) HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit);
203:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
204:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (#) ADC pins configuration
205:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) Disable the clock for the ADC GPIOs
206:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using macro __HAL_RCC_GPIOx_CLK_DISABLE()
207:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
208:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (#) Optionally, in case of usage of ADC with interruptions:
209:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) Disable the NVIC for ADC
210:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_NVIC_EnableIRQ(ADCx_IRQn)
211:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
212:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (#) Optionally, in case of usage of DMA:
213:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) Deinitialize the DMA
214:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_DMA_Init().
215:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (++) Disable the NVIC for DMA
216:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using function HAL_NVIC_EnableIRQ(DMAx_Channelx_IRQn)
217:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
218:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
219:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
220:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** *** Callback registration ***
221:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** =============================================
222:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
223:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
224:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** The compilation flag USE_HAL_ADC_REGISTER_CALLBACKS, when set to 1,
225:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** allows the user to configure dynamically the driver callbacks.
226:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Use Functions HAL_ADC_RegisterCallback()
227:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** to register an interrupt callback.
228:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
229:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
230:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Function HAL_ADC_RegisterCallback() allows to register following callbacks:
231:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) ConvCpltCallback : ADC conversion complete callback
232:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) ConvHalfCpltCallback : ADC conversion DMA half-transfer callback
233:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) LevelOutOfWindowCallback : ADC analog watchdog 1 callback
234:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) ErrorCallback : ADC error callback
235:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) InjectedConvCpltCallback : ADC group injected conversion complete callback
236:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) InjectedQueueOverflowCallback : ADC group injected context queue overflow callback
237:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) LevelOutOfWindow2Callback : ADC analog watchdog 2 callback
238:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) LevelOutOfWindow3Callback : ADC analog watchdog 3 callback
239:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) EndOfSamplingCallback : ADC end of sampling callback
240:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) MspInitCallback : ADC Msp Init callback
241:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) MspDeInitCallback : ADC Msp DeInit callback
242:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** This function takes as parameters the HAL peripheral handle, the Callback ID
243:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** and a pointer to the user callback function.
244:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
245:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
246:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Use function HAL_ADC_UnRegisterCallback to reset a callback to the default
247:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** weak function.
248:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
249:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
250:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_UnRegisterCallback takes as parameters the HAL peripheral handle,
251:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** and the Callback ID.
252:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** This function allows to reset following callbacks:
253:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) ConvCpltCallback : ADC conversion complete callback
254:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) ConvHalfCpltCallback : ADC conversion DMA half-transfer callback
255:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) LevelOutOfWindowCallback : ADC analog watchdog 1 callback
256:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) ErrorCallback : ADC error callback
257:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) InjectedConvCpltCallback : ADC group injected conversion complete callback
258:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) InjectedQueueOverflowCallback : ADC group injected context queue overflow callback
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 110
259:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) LevelOutOfWindow2Callback : ADC analog watchdog 2 callback
260:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) LevelOutOfWindow3Callback : ADC analog watchdog 3 callback
261:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) EndOfSamplingCallback : ADC end of sampling callback
262:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) MspInitCallback : ADC Msp Init callback
263:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) MspDeInitCallback : ADC Msp DeInit callback
264:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
265:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
266:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** By default, after the HAL_ADC_Init() and when the state is HAL_ADC_STATE_RESET
267:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** all callbacks are set to the corresponding weak functions:
268:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** examples HAL_ADC_ConvCpltCallback(), HAL_ADC_ErrorCallback().
269:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Exception done for MspInit and MspDeInit functions that are
270:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** reset to the legacy weak functions in the HAL_ADC_Init()/ HAL_ADC_DeInit() only when
271:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** these callbacks are null (not registered beforehand).
272:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
273:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
274:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** If MspInit or MspDeInit are not null, the HAL_ADC_Init()/ HAL_ADC_DeInit()
275:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** keep and use the user MspInit/MspDeInit callbacks (registered beforehand) whatever the state.
276:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
277:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
278:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Callbacks can be registered/unregistered in HAL_ADC_STATE_READY state only.
279:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Exception done MspInit/MspDeInit functions that can be registered/unregistered
280:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** in HAL_ADC_STATE_READY or HAL_ADC_STATE_RESET state,
281:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit.
282:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
283:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
284:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Then, the user first registers the MspInit/MspDeInit user callbacks
285:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** using HAL_ADC_RegisterCallback() before calling HAL_ADC_DeInit()
286:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** or HAL_ADC_Init() function.
287:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
288:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
289:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** When the compilation flag USE_HAL_ADC_REGISTER_CALLBACKS is set to 0 or
290:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** not defined, the callback registration feature is not available and all callbacks
291:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** are set to the corresponding weak functions.
292:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
293:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** @endverbatim
294:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ******************************************************************************
295:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
296:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
297:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Includes ------------------------------------------------------------------*/
298:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #include "stm32h7xx_hal.h"
299:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
300:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /** @addtogroup STM32H7xx_HAL_Driver
301:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @{
302:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
303:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
304:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /** @defgroup ADC ADC
305:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief ADC HAL module driver
306:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @{
307:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
308:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
309:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #ifdef HAL_ADC_MODULE_ENABLED
310:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
311:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Private typedef -----------------------------------------------------------*/
312:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Private define ------------------------------------------------------------*/
313:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
314:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /** @defgroup ADC_Private_Constants ADC Private Constants
315:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @{
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 111
316:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
317:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #define ADC_CFGR_FIELDS_1 ((uint32_t)(ADC_CFGR_RES |\
318:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_CONT | ADC_CFGR_OVRMOD |\
319:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_DISCEN | ADC_CFGR_DISCNUM |\
320:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_EXTEN | ADC_CFGR_EXTSEL)) /*!< ADC_CFGR fields of
321:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** when no regular c
322:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
323:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
324:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #define ADC3_CFGR_FIELDS_1 ((ADC3_CFGR_RES | ADC3_CFGR_ALIGN |\
325:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_CONT | ADC_CFGR_OVRMOD |\
326:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_DISCEN | ADC_CFGR_DISCNUM |\
327:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_EXTEN | ADC_CFGR_EXTSEL)) /*!< ADC_CFGR fields of paramete
328:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** when no regular conversion
329:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
330:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
331:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #define ADC_CFGR2_FIELDS ((uint32_t)(ADC_CFGR2_ROVSE | ADC_CFGR2_OVSR |\
332:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR2_OVSS | ADC_CFGR2_TROVS |\
333:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR2_ROVSM)) /*!< ADC_CFGR2 fields
334:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (neither regular n
335:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
336:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Timeout values for ADC operations (enable settling time, */
337:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* disable settling time, ...). */
338:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Values defined to be higher than worst cases: low clock frequency, */
339:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* maximum prescalers. */
340:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #define ADC_ENABLE_TIMEOUT (2UL) /*!< ADC enable time-out value */
341:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #define ADC_DISABLE_TIMEOUT (2UL) /*!< ADC disable time-out value */
342:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
343:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Timeout to wait for current conversion on going to be completed. */
344:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Timeout fixed to worst case, for 1 channel. */
345:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - maximum sampling time (830.5 adc_clk) */
346:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - ADC resolution (Tsar 16 bits= 16.5 adc_clk) */
347:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - ADC clock with prescaler 256 */
348:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* 823 * 256 = 210688 clock cycles max */
349:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Unit: cycles of CPU clock. */
350:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #define ADC_CONVERSION_TIME_MAX_CPU_CYCLES (210688UL) /*!< ADC conversion completion time-out valu
351:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
352:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
353:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @}
354:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
355:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
356:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Private macro -------------------------------------------------------------*/
357:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Private variables ---------------------------------------------------------*/
358:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Private function prototypes -----------------------------------------------*/
359:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Exported functions --------------------------------------------------------*/
360:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
361:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions ADC Exported Functions
362:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @{
363:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
364:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
365:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions_Group1 Initialization and de-initialization functions
366:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief ADC Initialization and Configuration functions
367:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** *
368:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** @verbatim
369:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ===============================================================================
370:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ##### Initialization and de-initialization functions #####
371:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ===============================================================================
372:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..] This section provides functions allowing to:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 112
373:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Initialize and configure the ADC.
374:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) De-initialize the ADC.
375:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** @endverbatim
376:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @{
377:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
378:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
379:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
380:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Initialize the ADC peripheral and regular group according to
381:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * parameters specified in structure "ADC_InitTypeDef".
382:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note As prerequisite, ADC clock must be configured at RCC top level
383:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * (refer to description of RCC configuration for ADC
384:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * in header of this file).
385:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Possibility to update parameters on the fly:
386:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * This function initializes the ADC MSP (HAL_ADC_MspInit()) only when
387:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * coming from ADC state reset. Following calls to this function can
388:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * be used to reconfigure some parameters of ADC_InitTypeDef
389:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * structure on the fly, without modifying MSP configuration. If ADC
390:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * MSP has to be modified again, HAL_ADC_DeInit() must be called
391:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * before HAL_ADC_Init().
392:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * The setting of these parameters is conditioned to ADC state.
393:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * For parameters constraints, see comments of structure
394:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * "ADC_InitTypeDef".
395:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note This function configures the ADC within 2 scopes: scope of entire
396:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * ADC and scope of regular group. For parameters details, see comments
397:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * of structure "ADC_InitTypeDef".
398:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Parameters related to common ADC registers (ADC clock mode) are set
399:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * only if all ADCs are disabled.
400:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * If this is not the case, these common parameters setting are
401:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * bypassed without error reporting: it can be the intended behaviour in
402:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * case of update of a parameter of ADC_InitTypeDef on the fly,
403:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * without disabling the other ADCs.
404:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
405:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status
406:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
407:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef *hadc)
408:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
409:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
410:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpCFGR;
411:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_reg_is_conversion_on_going;
412:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __IO uint32_t wait_loop_index = 0UL;
413:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_regular;
414:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_injected;
415:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
416:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check ADC handle */
417:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc == NULL)
418:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
419:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_ERROR;
420:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
421:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
422:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
423:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
424:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_CLOCKPRESCALER(hadc->Init.ClockPrescaler));
425:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_RESOLUTION(hadc->Init.Resolution));
426:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_SCAN_MODE(hadc->Init.ScanConvMode));
427:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode));
428:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_EXTTRIG_EDGE(hadc->Init.ExternalTrigConvEdge));
429:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_EXTTRIG(hadc->Init.ExternalTrigConv));
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 113
430:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_CONVERSIONDATAMGT(hadc->Init.ConversionDataManagement));
431:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_EOC_SELECTION(hadc->Init.EOCSelection));
432:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_OVERRUN(hadc->Init.Overrun));
433:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.LowPowerAutoWait));
434:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.OversamplingMode));
435:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
436:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Init.ScanConvMode != ADC_SCAN_DISABLE)
437:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
438:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_NB_CONV(hadc->Init.NbrOfConversion));
439:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.DiscontinuousConvMode));
440:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
441:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Init.DiscontinuousConvMode == ENABLE)
442:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
443:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_DISCONT_NUMBER(hadc->Init.NbrOfDiscConversion));
444:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
445:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
446:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
447:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* DISCEN and CONT bits cannot be set at the same time */
448:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(!((hadc->Init.DiscontinuousConvMode == ENABLE) && (hadc->Init.ContinuousConvMode ==
449:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
450:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Actions performed only if ADC is coming from state reset: */
451:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Initialization of ADC MSP */
452:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->State == HAL_ADC_STATE_RESET)
453:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
454:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
455:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Init the ADC Callback settings */
456:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ConvCpltCallback = HAL_ADC_ConvCpltCallback; /* Legacy weak
457:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ConvHalfCpltCallback = HAL_ADC_ConvHalfCpltCallback; /* Legacy weak
458:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->LevelOutOfWindowCallback = HAL_ADC_LevelOutOfWindowCallback; /* Legacy weak
459:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ErrorCallback = HAL_ADC_ErrorCallback; /* Legacy weak
460:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->InjectedConvCpltCallback = HAL_ADCEx_InjectedConvCpltCallback; /* Legacy weak
461:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->InjectedQueueOverflowCallback = HAL_ADCEx_InjectedQueueOverflowCallback; /* Legacy weak
462:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->LevelOutOfWindow2Callback = HAL_ADCEx_LevelOutOfWindow2Callback; /* Legacy weak
463:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->LevelOutOfWindow3Callback = HAL_ADCEx_LevelOutOfWindow3Callback; /* Legacy weak
464:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->EndOfSamplingCallback = HAL_ADCEx_EndOfSamplingCallback; /* Legacy weak
465:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
466:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->MspInitCallback == NULL)
467:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
468:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->MspInitCallback = HAL_ADC_MspInit; /* Legacy weak MspInit */
469:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
470:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
471:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Init the low level hardware */
472:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->MspInitCallback(hadc);
473:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
474:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Init the low level hardware */
475:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_MspInit(hadc);
476:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
477:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
478:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to none */
479:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
480:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
481:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Initialize Lock */
482:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Lock = HAL_UNLOCKED;
483:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
484:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
485:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Exit from deep-power-down mode and ADC voltage regulator enable */
486:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_IsDeepPowerDownEnabled(hadc->Instance) != 0UL)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 114
487:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
488:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable ADC deep power down mode */
489:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_DisableDeepPowerDown(hadc->Instance);
490:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
491:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* System was in deep power down mode, calibration must
492:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** be relaunched or a previously saved calibration factor
493:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** re-applied once the ADC voltage regulator is enabled */
494:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
495:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
496:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_IsInternalRegulatorEnabled(hadc->Instance) == 0UL)
497:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
498:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Enable ADC internal voltage regulator */
499:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_EnableInternalRegulator(hadc->Instance);
500:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
501:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: Variable divided by 2 to compensate partially */
502:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* CPU processing cycles, scaling in us split to not */
503:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* exceed 32 bits register capacity and handle low frequency. */
504:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** wait_loop_index = ((LL_ADC_DELAY_INTERNAL_REGUL_STAB_US / 10UL) * ((SystemCoreClock / (100000UL
505:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while (wait_loop_index != 0UL)
506:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
507:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** wait_loop_index--;
508:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
509:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
510:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
511:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Verification that ADC voltage regulator is correctly enabled, whether */
512:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* or not ADC is coming from state reset (if any potential problem of */
513:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* clocking, voltage regulator would not be enabled). */
514:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_IsInternalRegulatorEnabled(hadc->Instance) == 0UL)
515:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
516:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to error */
517:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL);
518:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
519:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to ADC peripheral internal error */
520:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL);
521:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
522:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = HAL_ERROR;
523:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
524:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
525:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configuration of ADC parameters if previous preliminary actions are */
526:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* correctly completed and if there is no conversion on going on regular */
527:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* group (ADC may already be enabled at this point if HAL_ADC_Init() is */
528:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* called to update a parameter on the fly). */
529:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_reg_is_conversion_on_going = LL_ADC_REG_IsConversionOngoing(hadc->Instance);
530:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
531:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (((hadc->State & HAL_ADC_STATE_ERROR_INTERNAL) == 0UL)
532:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_reg_is_conversion_on_going == 0UL)
533:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
534:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
535:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
536:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
537:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY,
538:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_BUSY_INTERNAL);
539:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
540:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configuration of common ADC parameters */
541:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
542:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Parameters update conditioned to ADC state: */
543:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Parameters that can be updated only when ADC is disabled: */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 115
544:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - clock configuration */
545:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_IsEnabled(hadc->Instance) == 0UL)
546:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
547:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (__LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(__LL_ADC_COMMON_INSTANCE(hadc->Instance)) == 0UL)
548:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
549:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset configuration of ADC common register CCR: */
550:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* */
551:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - ADC clock mode and ACC prescaler (CKMODE and PRESC bits)are set */
552:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* according to adc->Init.ClockPrescaler. It selects the clock */
553:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* source and sets the clock division factor. */
554:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* */
555:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Some parameters of this register are not reset, since they are set */
556:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* by other functions and must be kept in case of usage of this */
557:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* function on the fly (update of a parameter of ADC_InitTypeDef */
558:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* without needing to reconfigure all other ADC groups/channels */
559:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* parameters): */
560:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - when multimode feature is available, multimode-related */
561:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* parameters: MDMA, DMACFG, DELAY, DUAL (set by API */
562:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* HAL_ADCEx_MultiModeConfigChannel() ) */
563:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - internal measurement paths: Vbat, temperature sensor, Vref */
564:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* (set into HAL_ADC_ConfigChannel() or */
565:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* HAL_ADCEx_InjectedConfigChannel() ) */
566:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetCommonClock(__LL_ADC_COMMON_INSTANCE(hadc->Instance), hadc->Init.ClockPrescaler);
567:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
568:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
569:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
570:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configuration of ADC: */
571:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - resolution Init.Resolution */
572:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - external trigger to start conversion Init.ExternalTrigConv */
573:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - external trigger polarity Init.ExternalTrigConvEdge */
574:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - continuous conversion mode Init.ContinuousConvMode */
575:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - overrun Init.Overrun */
576:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - discontinuous mode Init.DiscontinuousConvMode */
577:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - discontinuous mode channel count Init.NbrOfDiscConversion */
578:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_3)
579:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
580:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpCFGR = (ADC_CFGR_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode) |
581:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Overrun |
582:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Resolution |
583:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_REG_DISCONTINUOUS((uint32_t)hadc->Init.DiscontinuousConvMode));
584:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
585:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #elif defined(ADC_VER_V5_V90)
586:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
587:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
588:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpCFGR = (ADC_CFGR_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode) |
589:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Overrun |
590:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.DataAlign |
591:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ((__LL_ADC12_RESOLUTION_TO_ADC3(hadc->Init.Resolution) & (ADC_CFGR_RES_1 | ADC_C
592:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_REG_DISCONTINUOUS((uint32_t)hadc->Init.DiscontinuousConvMode));
593:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
594:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
595:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
596:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpCFGR = (ADC_CFGR_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode) |
597:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Overrun |
598:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Resolution |
599:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_REG_DISCONTINUOUS((uint32_t)hadc->Init.DiscontinuousConvMode));
600:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 116
601:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
602:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
603:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
604:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((HAL_GetREVID() > REV_ID_Y) && (ADC_RESOLUTION_8B == hadc->Init.Resolution))
605:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
606:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* for STM32H7 silicon rev.B and above , ADC_CFGR_RES value for 8bits resolution is : b111 */
607:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpCFGR = (ADC_CFGR_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode) |
608:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Overrun |
609:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Resolution | (ADC_CFGR_RES_1 | ADC_CFGR_RES_0) |
610:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_REG_DISCONTINUOUS((uint32_t)hadc->Init.DiscontinuousConvMode));
611:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
612:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
613:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
614:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
615:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpCFGR = (ADC_CFGR_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode) |
616:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Overrun |
617:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Resolution |
618:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_REG_DISCONTINUOUS((uint32_t)hadc->Init.DiscontinuousConvMode));
619:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
620:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
621:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_3 */
622:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
623:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Init.DiscontinuousConvMode == ENABLE)
624:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
625:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpCFGR |= ADC_CFGR_DISCONTINUOUS_NUM(hadc->Init.NbrOfDiscConversion);
626:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
627:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
628:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Enable external trigger if trigger selection is different of software */
629:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* start. */
630:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: This configuration keeps the hardware feature of parameter */
631:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ExternalTrigConvEdge "trigger edge none" equivalent to */
632:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* software start. */
633:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Init.ExternalTrigConv != ADC_SOFTWARE_START)
634:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
635:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpCFGR |= ((hadc->Init.ExternalTrigConv & ADC_CFGR_EXTSEL)
636:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** | hadc->Init.ExternalTrigConvEdge
637:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** );
638:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
639:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
640:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
641:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
642:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
643:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
644:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update Configuration Register CFGR */
645:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CFGR, ADC3_CFGR_FIELDS_1, tmpCFGR);
646:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configuration of sampling mode */
647:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CFGR2, ADC3_CFGR2_BULB | ADC3_CFGR2_SMPTRIG, hadc->Init.SamplingMo
648:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
649:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
650:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
651:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update Configuration Register CFGR */
652:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CFGR, ADC_CFGR_FIELDS_1, tmpCFGR);
653:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
654:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
655:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update Configuration Register CFGR */
656:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CFGR, ADC_CFGR_FIELDS_1, tmpCFGR);
657:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 117
658:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
659:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Parameters update conditioned to ADC state: */
660:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Parameters that can be updated when ADC is disabled or enabled without */
661:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* conversion on going on regular and injected groups: */
662:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Conversion data management Init.ConversionDataManagement */
663:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - LowPowerAutoWait feature Init.LowPowerAutoWait */
664:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Oversampling parameters Init.Oversampling */
665:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_regular = LL_ADC_REG_IsConversionOngoing(hadc->Instance);
666:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_injected = LL_ADC_INJ_IsConversionOngoing(hadc->Instance);
667:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((tmp_adc_is_conversion_on_going_regular == 0UL)
668:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_is_conversion_on_going_injected == 0UL)
669:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
670:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
671:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
672:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
673:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
674:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpCFGR = (
675:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_AUTOWAIT((uint32_t)hadc->Init.LowPowerAutoWait) |
676:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC3_CFGR_DMACONTREQ((uint32_t)hadc->Init.DMAContinuousRequests));
677:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
678:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
679:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
680:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpCFGR = (
681:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_AUTOWAIT((uint32_t)hadc->Init.LowPowerAutoWait) |
682:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_DMACONTREQ((uint32_t)hadc->Init.ConversionDataManagement));
683:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
684:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
685:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpCFGR = (
686:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_AUTOWAIT((uint32_t)hadc->Init.LowPowerAutoWait) |
687:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_DMACONTREQ((uint32_t)hadc->Init.ConversionDataManagement));
688:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
689:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
690:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CFGR, ADC_CFGR_FIELDS_2, tmpCFGR);
691:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
692:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Init.OversamplingMode == ENABLE)
693:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
694:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
695:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
696:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
697:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_OVERSAMPLING_RATIO_ADC3(hadc->Init.Oversampling.Ratio));
698:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
699:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
700:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
701:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_OVERSAMPLING_RATIO(hadc->Init.Oversampling.Ratio));
702:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
703:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
704:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_OVERSAMPLING_RATIO(hadc->Init.Oversampling.Ratio));
705:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
706:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_RIGHT_BIT_SHIFT(hadc->Init.Oversampling.RightBitShift));
707:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_TRIGGERED_OVERSAMPLING_MODE(hadc->Init.Oversampling.TriggeredMode));
708:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_REGOVERSAMPLING_MODE(hadc->Init.Oversampling.OversamplingStopReset));
709:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
710:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->Init.ExternalTrigConv == ADC_SOFTWARE_START)
711:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (hadc->Init.ExternalTrigConvEdge == ADC_EXTERNALTRIGCONVEDGE_NONE))
712:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
713:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Multi trigger is not applicable to software-triggered conversions */
714:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param((hadc->Init.Oversampling.TriggeredMode == ADC_TRIGGEREDMODE_SINGLE_TRIGGER))
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 118
715:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
716:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
717:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
718:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
719:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
720:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configuration of Oversampler: */
721:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Oversampling Ratio */
722:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Right bit shift */
723:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Triggered mode */
724:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Oversampling mode (continued/resumed) */
725:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CFGR2,
726:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR2_OVSR |
727:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR2_OVSS |
728:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR2_TROVS |
729:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR2_ROVSM,
730:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR2_ROVSE |
731:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Oversampling.Ratio |
732:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Oversampling.RightBitShift |
733:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Oversampling.TriggeredMode |
734:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Oversampling.OversamplingStopReset
735:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** );
736:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
737:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
738:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
739:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
740:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configuration of Oversampler: */
741:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Oversampling Ratio */
742:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Right bit shift */
743:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Left bit shift */
744:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Triggered mode */
745:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Oversampling mode (continued/resumed) */
746:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CFGR2, ADC_CFGR2_FIELDS,
747:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR2_ROVSE |
748:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ((hadc->Init.Oversampling.Ratio - 1UL) << ADC_CFGR2_OVSR_Pos) |
749:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Oversampling.RightBitShift |
750:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Oversampling.TriggeredMode |
751:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Oversampling.OversamplingStopReset);
752:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
753:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
754:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configuration of Oversampler: */
755:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Oversampling Ratio */
756:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Right bit shift */
757:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Left bit shift */
758:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Triggered mode */
759:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Oversampling mode (continued/resumed) */
760:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CFGR2, ADC_CFGR2_FIELDS,
761:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR2_ROVSE |
762:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ((hadc->Init.Oversampling.Ratio - 1UL) << ADC_CFGR2_OVSR_Pos) |
763:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Oversampling.RightBitShift |
764:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Oversampling.TriggeredMode |
765:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Oversampling.OversamplingStopReset);
766:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
767:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
768:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
769:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
770:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
771:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable ADC oversampling scope on ADC group regular */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 119
772:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->CFGR2, ADC_CFGR2_ROVSE);
773:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
774:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
775:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set the LeftShift parameter: it is applied to the final result with or without oversamplin
776:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CFGR2, ADC_CFGR2_LSHIFT, hadc->Init.LeftBitShift);
777:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
778:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance != ADC3)
779:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
780:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configure the BOOST Mode */
781:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_ConfigureBoostMode(hadc);
782:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
783:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
784:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configure the BOOST Mode */
785:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_ConfigureBoostMode(hadc);
786:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
787:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
788:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
789:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configuration of regular group sequencer: */
790:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - if scan mode is disabled, regular channels sequence length is set to */
791:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* 0x00: 1 channel converted (channel on regular rank 1) */
792:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Parameter "NbrOfConversion" is discarded. */
793:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: Scan mode is not present by hardware on this device, but */
794:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* emulated by software for alignment over all STM32 devices. */
795:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - if scan mode is enabled, regular channels sequence length is set to */
796:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* parameter "NbrOfConversion". */
797:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
798:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Init.ScanConvMode == ADC_SCAN_ENABLE)
799:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
800:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set number of ranks in regular group sequencer */
801:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->SQR1, ADC_SQR1_L, (hadc->Init.NbrOfConversion - (uint8_t)1));
802:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
803:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
804:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
805:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->SQR1, ADC_SQR1_L);
806:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
807:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
808:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Initialize the ADC state */
809:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear HAL_ADC_STATE_BUSY_INTERNAL bit, set HAL_ADC_STATE_READY bit */
810:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_BUSY_INTERNAL, HAL_ADC_STATE_READY);
811:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
812:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
813:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
814:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to error */
815:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL);
816:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
817:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = HAL_ERROR;
818:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
819:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
820:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return function status */
821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return tmp_hal_status;
822:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
823:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
824:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
825:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Deinitialize the ADC peripheral registers to their default reset
826:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * values, with deinitialization of the ADC MSP.
827:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note For devices with several ADCs: reset of ADC common registers is done
828:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * only if all ADCs sharing the same common group are disabled.
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 120
829:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * (function "HAL_ADC_MspDeInit()" is also called under the same conditions:
830:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * all ADC instances use the same core clock at RCC level, disabling
831:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * the core clock reset all ADC instances).
832:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * If this is not the case, reset of these common parameters reset is
833:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * bypassed without error reporting: it can be the intended behavior in
834:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * case of reset of a single ADC while the other ADCs sharing the same
835:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * common group is still running.
836:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note By default, HAL_ADC_DeInit() set ADC in mode deep power-down:
837:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * this saves more power by reducing leakage currents
838:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * and is particularly interesting before entering MCU low-power modes.
839:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
840:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status
841:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
842:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef *hadc)
843:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
844:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
845:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
846:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check ADC handle */
847:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc == NULL)
848:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
849:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_ERROR;
850:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
851:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
852:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
853:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
854:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
855:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
856:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_BUSY_INTERNAL);
857:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
858:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Stop potential conversion on going */
859:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = ADC_ConversionStop(hadc, ADC_REGULAR_INJECTED_GROUP);
860:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
861:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable ADC peripheral if conversions are effectively stopped */
862:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Flush register JSQR: reset the queue sequencer when injected */
863:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* queue sequencer is enabled and ADC disabled. */
864:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* The software and hardware triggers of the injected sequence are both */
865:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* internally disabled just after the completion of the last valid */
866:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* injected sequence. */
867:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->Instance->CFGR, ADC_CFGR_JQM);
868:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
869:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable ADC peripheral if conversions are effectively stopped */
870:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
871:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
872:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable the ADC peripheral */
873:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = ADC_Disable(hadc);
874:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
875:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check if ADC is effectively disabled */
876:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
877:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
878:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Change ADC state */
879:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->State = HAL_ADC_STATE_READY;
880:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
881:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
882:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
883:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: HAL ADC deInit is done independently of ADC conversion stop */
884:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* and disable return status. In case of status fail, attempt to */
885:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* perform deinitialization anyway and it is up user code in */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 121
886:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* in HAL_ADC_MspDeInit() to reset the ADC peripheral using */
887:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* system RCC hard reset. */
888:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
889:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ========== Reset ADC registers ========== */
890:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register IER */
891:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, (ADC_IT_AWD3 | ADC_IT_AWD2 | ADC_IT_AWD1 |
892:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_IT_JQOVF | ADC_IT_OVR |
893:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_IT_JEOS | ADC_IT_JEOC |
894:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_IT_EOS | ADC_IT_EOC |
895:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_IT_EOSMP | ADC_IT_RDY));
896:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
897:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register ISR */
898:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, (ADC_FLAG_AWD3 | ADC_FLAG_AWD2 | ADC_FLAG_AWD1 |
899:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_FLAG_JQOVF | ADC_FLAG_OVR |
900:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_FLAG_JEOS | ADC_FLAG_JEOC |
901:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_FLAG_EOS | ADC_FLAG_EOC |
902:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_FLAG_EOSMP | ADC_FLAG_RDY));
903:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
904:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register CR */
905:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Bits ADC_CR_JADSTP, ADC_CR_ADSTP, ADC_CR_JADSTART, ADC_CR_ADSTART,
906:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CR_ADCAL, ADC_CR_ADDIS and ADC_CR_ADEN are in access mode "read-set":
907:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** no direct reset applicable.
908:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Update CR register to reset value where doable by software */
909:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->CR, ADC_CR_ADVREGEN | ADC_CR_ADCALDIF);
910:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->Instance->CR, ADC_CR_DEEPPWD);
911:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
912:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register CFGR */
913:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->CFGR, ADC_CFGR_AWD1CH | ADC_CFGR_JAUTO | ADC_CFGR_JAWD1EN |
914:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_AWD1EN | ADC_CFGR_AWD1SGL | ADC_CFGR_JQM |
915:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_JDISCEN | ADC_CFGR_DISCNUM | ADC_CFGR_DISCEN |
916:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_AUTDLY | ADC_CFGR_CONT | ADC_CFGR_OVRMOD |
917:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_EXTEN | ADC_CFGR_EXTSEL |
918:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_RES | ADC_CFGR_DMNGT);
919:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->Instance->CFGR, ADC_CFGR_JQDIS);
920:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
921:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register CFGR2 */
922:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->CFGR2, ADC_CFGR2_ROVSM | ADC_CFGR2_TROVS | ADC_CFGR2_OVSS |
923:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR2_OVSR | ADC_CFGR2_JOVSE | ADC_CFGR2_ROVSE);
924:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
925:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register SMPR1 */
926:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->SMPR1, ADC_SMPR1_FIELDS);
927:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
928:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register SMPR2 */
929:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->SMPR2, ADC_SMPR2_SMP18 | ADC_SMPR2_SMP17 | ADC_SMPR2_SMP16 |
930:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_SMPR2_SMP15 | ADC_SMPR2_SMP14 | ADC_SMPR2_SMP13 |
931:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_SMPR2_SMP12 | ADC_SMPR2_SMP11 | ADC_SMPR2_SMP10);
932:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
933:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
934:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
935:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
936:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register LTR1 and HTR1 */
937:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->LTR1_TR1, ADC3_TR1_HT1 | ADC3_TR1_LT1);
938:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->HTR1_TR2, ADC3_TR2_HT2 | ADC3_TR2_LT2);
939:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
940:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register LTR3 and HTR3 */
941:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->RES1_TR3, ADC3_TR3_HT3 | ADC3_TR3_LT3);
942:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 122
943:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
944:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
945:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->LTR1_TR1, ADC_LTR_LT);
946:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->HTR1_TR2, ADC_HTR_HT);
947:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
948:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register LTR2 and HTR2*/
949:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->LTR2_DIFSEL, ADC_LTR_LT);
950:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->HTR2_CALFACT, ADC_HTR_HT);
951:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
952:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register LTR3 and HTR3 */
953:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->LTR3_RES10, ADC_LTR_LT);
954:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->HTR3_RES11, ADC_HTR_HT);
955:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
956:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
957:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register LTR1 and HTR1 */
958:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->LTR1, ADC_LTR_LT);
959:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->HTR1, ADC_HTR_HT);
960:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
961:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register LTR2 and HTR2*/
962:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->LTR2, ADC_LTR_LT);
963:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->HTR2, ADC_HTR_HT);
964:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
965:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register LTR3 and HTR3 */
966:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->LTR3, ADC_LTR_LT);
967:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->HTR3, ADC_HTR_HT);
968:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
969:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
970:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
971:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register SQR1 */
972:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->SQR1, ADC_SQR1_SQ4 | ADC_SQR1_SQ3 | ADC_SQR1_SQ2 |
973:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_SQR1_SQ1 | ADC_SQR1_L);
974:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
975:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register SQR2 */
976:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->SQR2, ADC_SQR2_SQ9 | ADC_SQR2_SQ8 | ADC_SQR2_SQ7 |
977:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_SQR2_SQ6 | ADC_SQR2_SQ5);
978:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
979:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register SQR3 */
980:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->SQR3, ADC_SQR3_SQ14 | ADC_SQR3_SQ13 | ADC_SQR3_SQ12 |
981:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_SQR3_SQ11 | ADC_SQR3_SQ10);
982:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
983:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register SQR4 */
984:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->SQR4, ADC_SQR4_SQ16 | ADC_SQR4_SQ15);
985:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
986:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Register JSQR was reset when the ADC was disabled */
987:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
988:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register DR */
989:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* bits in access mode read only, no direct reset applicable*/
990:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
991:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register OFR1 */
992:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->OFR1, ADC_OFR1_SSATE | ADC_OFR1_OFFSET1_CH | ADC_OFR1_OFFSET1);
993:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register OFR2 */
994:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->OFR2, ADC_OFR2_SSATE | ADC_OFR2_OFFSET2_CH | ADC_OFR2_OFFSET2);
995:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register OFR3 */
996:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->OFR3, ADC_OFR3_SSATE | ADC_OFR3_OFFSET3_CH | ADC_OFR3_OFFSET3);
997:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register OFR4 */
998:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->OFR4, ADC_OFR4_SSATE | ADC_OFR4_OFFSET4_CH | ADC_OFR4_OFFSET4);
999:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 123
1000:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset registers JDR1, JDR2, JDR3, JDR4 */
1001:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* bits in access mode read only, no direct reset applicable*/
1002:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1003:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register AWD2CR */
1004:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->AWD2CR, ADC_AWD2CR_AWD2CH);
1005:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1006:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register AWD3CR */
1007:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->AWD3CR, ADC_AWD3CR_AWD3CH);
1008:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1009:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
1010:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
1011:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1012:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register DIFSEL */
1013:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->LTR2_DIFSEL, ADC_DIFSEL_DIFSEL);
1014:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1015:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register CALFACT */
1016:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->HTR2_CALFACT, ADC_CALFACT_CALFACT_D | ADC_CALFACT_CALFACT_S);
1017:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1018:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
1019:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1020:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register DIFSEL */
1021:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->DIFSEL_RES12, ADC_DIFSEL_DIFSEL);
1022:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1023:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register CALFACT */
1024:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->CALFACT_RES13, ADC_CALFACT_CALFACT_D | ADC_CALFACT_CALFACT_S);
1025:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1026:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
1027:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register DIFSEL */
1028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->DIFSEL, ADC_DIFSEL_DIFSEL);
1029:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1030:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register CALFACT */
1031:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->CALFACT, ADC_CALFACT_CALFACT_D | ADC_CALFACT_CALFACT_S);
1032:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
1033:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1034:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ========== Reset common ADC registers ========== */
1035:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1036:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Software is allowed to change common parameters only when all the other
1037:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADCs are disabled. */
1038:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (__LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(__LL_ADC_COMMON_INSTANCE(hadc->Instance)) == 0UL)
1039:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1040:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset configuration of ADC common register CCR:
1041:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** - clock mode: CKMODE, PRESCEN
1042:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** - multimode related parameters(when this feature is available): DELAY, DUAL
1043:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (set into HAL_ADCEx_MultiModeConfigChannel() API)
1044:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** - internal measurement paths: Vbat, temperature sensor, Vref (set into
1045:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_ConfigChannel() or HAL_ADCEx_InjectedConfigChannel() )
1046:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
1047:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CLEAR_COMMON_CONTROL_REGISTER(hadc);
1048:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1049:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ========== Hard reset ADC peripheral ========== */
1050:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Performs a global reset of the entire ADC peripherals instances */
1051:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* sharing the same common ADC instance: ADC state is forced to */
1052:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* a similar state as after device power-on. */
1053:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: A possible implementation is to add RCC bus reset of ADC */
1054:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* (for example, using macro */
1055:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* __HAL_RCC_ADC..._FORCE_RESET()/..._RELEASE_RESET()/..._CLK_DISABLE()) */
1056:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* in function "void HAL_ADC_MspDeInit(ADC_HandleTypeDef *hadc)": */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 124
1057:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1058:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
1059:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->MspDeInitCallback == NULL)
1060:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1061:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->MspDeInitCallback = HAL_ADC_MspDeInit; /* Legacy weak MspDeInit */
1062:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1063:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1064:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* DeInit the low level hardware: RCC clock, NVIC */
1065:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->MspDeInitCallback(hadc);
1066:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
1067:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* DeInit the low level hardware: RCC clock, NVIC */
1068:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_MspDeInit(hadc);
1069:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
1070:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1071:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1072:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1073:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to none */
1074:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
1075:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1076:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset injected channel configuration parameters */
1077:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->InjectionConfig.ContextQueue = 0;
1078:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->InjectionConfig.ChannelCount = 0;
1079:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1080:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
1081:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->State = HAL_ADC_STATE_RESET;
1082:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1083:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
1084:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
1085:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1086:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return function status */
1087:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return tmp_hal_status;
1088:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1089:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1090:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
1091:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Initialize the ADC MSP.
1092:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
1093:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval None
1094:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
1095:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __weak void HAL_ADC_MspInit(ADC_HandleTypeDef *hadc)
1096:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
177 .loc 1 1096 1 is_stmt 1 view -0
178 .cfi_startproc
179 @ args = 0, pretend = 0, frame = 0
180 @ frame_needed = 0, uses_anonymous_args = 0
181 @ link register save eliminated.
1097:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
1098:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** UNUSED(hadc);
182 .loc 1 1098 3 view .LVU27
1099:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1100:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* NOTE : This function should not be modified. When the callback is needed,
1101:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** function HAL_ADC_MspInit must be implemented in the user file.
1102:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
1103:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
183 .loc 1 1103 1 is_stmt 0 view .LVU28
184 0000 7047 bx lr
185 .cfi_endproc
186 .LFE337:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 125
188 .section .text.HAL_ADC_MspDeInit,"ax",%progbits
189 .align 1
190 .weak HAL_ADC_MspDeInit
191 .syntax unified
192 .thumb
193 .thumb_func
195 HAL_ADC_MspDeInit:
196 .LVL15:
197 .LFB338:
1104:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1105:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
1106:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief DeInitialize the ADC MSP.
1107:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
1108:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note All ADC instances use the same core clock at RCC level, disabling
1109:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * the core clock reset all ADC instances).
1110:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval None
1111:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
1112:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __weak void HAL_ADC_MspDeInit(ADC_HandleTypeDef *hadc)
1113:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
198 .loc 1 1113 1 is_stmt 1 view -0
199 .cfi_startproc
200 @ args = 0, pretend = 0, frame = 0
201 @ frame_needed = 0, uses_anonymous_args = 0
202 @ link register save eliminated.
1114:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
1115:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** UNUSED(hadc);
203 .loc 1 1115 3 view .LVU30
1116:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1117:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* NOTE : This function should not be modified. When the callback is needed,
1118:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** function HAL_ADC_MspDeInit must be implemented in the user file.
1119:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
1120:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
204 .loc 1 1120 1 is_stmt 0 view .LVU31
205 0000 7047 bx lr
206 .cfi_endproc
207 .LFE338:
209 .section .text.HAL_ADC_PollForConversion,"ax",%progbits
210 .align 1
211 .global HAL_ADC_PollForConversion
212 .syntax unified
213 .thumb
214 .thumb_func
216 HAL_ADC_PollForConversion:
217 .LVL16:
218 .LFB341:
1121:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1122:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
1123:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
1124:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Register a User ADC Callback
1125:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * To be used instead of the weak predefined callback
1126:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc Pointer to a ADC_HandleTypeDef structure that contains
1127:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * the configuration information for the specified ADC.
1128:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param CallbackID ID of the callback to be registered
1129:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * This parameter can be one of the following values:
1130:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_CONVERSION_COMPLETE_CB_ID ADC conversion complete callback ID
1131:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_CONVERSION_HALF_CB_ID ADC conversion DMA half-transfer call
1132:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_LEVEL_OUT_OF_WINDOW_1_CB_ID ADC analog watchdog 1 callback ID
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 126
1133:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_ERROR_CB_ID ADC error callback ID
1134:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_INJ_CONVERSION_COMPLETE_CB_ID ADC group injected conversion complet
1135:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_INJ_QUEUE_OVEFLOW_CB_ID ADC group injected context queue over
1136:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_LEVEL_OUT_OF_WINDOW_2_CB_ID ADC analog watchdog 2 callback ID
1137:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_LEVEL_OUT_OF_WINDOW_3_CB_ID ADC analog watchdog 3 callback ID
1138:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_END_OF_SAMPLING_CB_ID ADC end of sampling callback ID
1139:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPINIT_CB_ID ADC Msp Init callback ID
1140:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPDEINIT_CB_ID ADC Msp DeInit callback ID
1141:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param pCallback pointer to the Callback function
1142:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status
1143:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
1144:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_RegisterCallback(ADC_HandleTypeDef *hadc, HAL_ADC_CallbackIDTypeDef Callb
1145:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1146:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef status = HAL_OK;
1147:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1148:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (pCallback == NULL)
1149:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1150:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update the error code */
1151:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
1152:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1153:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_ERROR;
1154:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1155:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1156:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_READY) != 0UL)
1157:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1158:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (CallbackID)
1159:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1160:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_CONVERSION_COMPLETE_CB_ID :
1161:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ConvCpltCallback = pCallback;
1162:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1163:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1164:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_CONVERSION_HALF_CB_ID :
1165:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ConvHalfCpltCallback = pCallback;
1166:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1167:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1168:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_LEVEL_OUT_OF_WINDOW_1_CB_ID :
1169:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->LevelOutOfWindowCallback = pCallback;
1170:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1171:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1172:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_ERROR_CB_ID :
1173:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ErrorCallback = pCallback;
1174:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1175:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1176:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_INJ_CONVERSION_COMPLETE_CB_ID :
1177:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->InjectedConvCpltCallback = pCallback;
1178:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1179:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1180:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_INJ_QUEUE_OVEFLOW_CB_ID :
1181:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->InjectedQueueOverflowCallback = pCallback;
1182:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1183:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1184:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_LEVEL_OUT_OF_WINDOW_2_CB_ID :
1185:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->LevelOutOfWindow2Callback = pCallback;
1186:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1187:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1188:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_LEVEL_OUT_OF_WINDOW_3_CB_ID :
1189:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->LevelOutOfWindow3Callback = pCallback;
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 127
1190:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1191:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1192:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_END_OF_SAMPLING_CB_ID :
1193:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->EndOfSamplingCallback = pCallback;
1194:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1195:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1196:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_MSPINIT_CB_ID :
1197:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->MspInitCallback = pCallback;
1198:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1199:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1200:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_MSPDEINIT_CB_ID :
1201:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->MspDeInitCallback = pCallback;
1202:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1203:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1204:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default :
1205:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update the error code */
1206:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
1207:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1208:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return error status */
1209:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** status = HAL_ERROR;
1210:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1211:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1212:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1213:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else if (HAL_ADC_STATE_RESET == hadc->State)
1214:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1215:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (CallbackID)
1216:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1217:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_MSPINIT_CB_ID :
1218:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->MspInitCallback = pCallback;
1219:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1220:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1221:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_MSPDEINIT_CB_ID :
1222:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->MspDeInitCallback = pCallback;
1223:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1224:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1225:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default :
1226:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update the error code */
1227:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
1228:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1229:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return error status */
1230:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** status = HAL_ERROR;
1231:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1232:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1233:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1234:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
1235:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1236:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update the error code */
1237:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
1238:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1239:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return error status */
1240:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** status = HAL_ERROR;
1241:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1242:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1243:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return status;
1244:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1245:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1246:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 128
1247:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Unregister a ADC Callback
1248:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * ADC callback is redirected to the weak predefined callback
1249:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc Pointer to a ADC_HandleTypeDef structure that contains
1250:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * the configuration information for the specified ADC.
1251:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param CallbackID ID of the callback to be unregistered
1252:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * This parameter can be one of the following values:
1253:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_CONVERSION_COMPLETE_CB_ID ADC conversion complete callback ID
1254:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_CONVERSION_HALF_CB_ID ADC conversion DMA half-transfer call
1255:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_LEVEL_OUT_OF_WINDOW_1_CB_ID ADC analog watchdog 1 callback ID
1256:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_ERROR_CB_ID ADC error callback ID
1257:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_INJ_CONVERSION_COMPLETE_CB_ID ADC group injected conversion complet
1258:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_INJ_QUEUE_OVEFLOW_CB_ID ADC group injected context queue over
1259:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_LEVEL_OUT_OF_WINDOW_2_CB_ID ADC analog watchdog 2 callback ID
1260:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_LEVEL_OUT_OF_WINDOW_3_CB_ID ADC analog watchdog 3 callback ID
1261:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_END_OF_SAMPLING_CB_ID ADC end of sampling callback ID
1262:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPINIT_CB_ID ADC Msp Init callback ID
1263:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPDEINIT_CB_ID ADC Msp DeInit callback ID
1264:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status
1265:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
1266:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_UnRegisterCallback(ADC_HandleTypeDef *hadc, HAL_ADC_CallbackIDTypeDef Cal
1267:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1268:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef status = HAL_OK;
1269:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1270:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_READY) != 0UL)
1271:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1272:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (CallbackID)
1273:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1274:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_CONVERSION_COMPLETE_CB_ID :
1275:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ConvCpltCallback = HAL_ADC_ConvCpltCallback;
1276:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1277:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1278:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_CONVERSION_HALF_CB_ID :
1279:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ConvHalfCpltCallback = HAL_ADC_ConvHalfCpltCallback;
1280:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1281:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1282:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_LEVEL_OUT_OF_WINDOW_1_CB_ID :
1283:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->LevelOutOfWindowCallback = HAL_ADC_LevelOutOfWindowCallback;
1284:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1285:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1286:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_ERROR_CB_ID :
1287:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ErrorCallback = HAL_ADC_ErrorCallback;
1288:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1289:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1290:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_INJ_CONVERSION_COMPLETE_CB_ID :
1291:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->InjectedConvCpltCallback = HAL_ADCEx_InjectedConvCpltCallback;
1292:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1293:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1294:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_INJ_QUEUE_OVEFLOW_CB_ID :
1295:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->InjectedQueueOverflowCallback = HAL_ADCEx_InjectedQueueOverflowCallback;
1296:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1297:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1298:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_LEVEL_OUT_OF_WINDOW_2_CB_ID :
1299:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->LevelOutOfWindow2Callback = HAL_ADCEx_LevelOutOfWindow2Callback;
1300:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1301:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1302:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_LEVEL_OUT_OF_WINDOW_3_CB_ID :
1303:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->LevelOutOfWindow3Callback = HAL_ADCEx_LevelOutOfWindow3Callback;
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 129
1304:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1305:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1306:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_END_OF_SAMPLING_CB_ID :
1307:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->EndOfSamplingCallback = HAL_ADCEx_EndOfSamplingCallback;
1308:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1309:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1310:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_MSPINIT_CB_ID :
1311:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->MspInitCallback = HAL_ADC_MspInit; /* Legacy weak MspInit */
1312:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1313:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1314:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_MSPDEINIT_CB_ID :
1315:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->MspDeInitCallback = HAL_ADC_MspDeInit; /* Legacy weak MspDeInit */
1316:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1317:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1318:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default :
1319:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update the error code */
1320:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
1321:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1322:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return error status */
1323:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** status = HAL_ERROR;
1324:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1325:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1326:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1327:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else if (HAL_ADC_STATE_RESET == hadc->State)
1328:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1329:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (CallbackID)
1330:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1331:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_MSPINIT_CB_ID :
1332:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->MspInitCallback = HAL_ADC_MspInit; /* Legacy weak MspInit
1333:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1334:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1335:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case HAL_ADC_MSPDEINIT_CB_ID :
1336:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->MspDeInitCallback = HAL_ADC_MspDeInit; /* Legacy weak MspDeInit
1337:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1338:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1339:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default :
1340:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update the error code */
1341:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
1342:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1343:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return error status */
1344:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** status = HAL_ERROR;
1345:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1346:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1347:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1348:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
1349:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1350:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update the error code */
1351:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
1352:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1353:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return error status */
1354:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** status = HAL_ERROR;
1355:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1356:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1357:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return status;
1358:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1359:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1360:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 130
1361:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1362:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
1363:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @}
1364:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
1365:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1366:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions_Group2 ADC Input and Output operation functions
1367:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief ADC IO operation functions
1368:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** *
1369:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** @verbatim
1370:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ===============================================================================
1371:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ##### IO operation functions #####
1372:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ===============================================================================
1373:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..] This section provides functions allowing to:
1374:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Start conversion of regular group.
1375:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Stop conversion of regular group.
1376:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Poll for conversion complete on regular group.
1377:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Poll for conversion event.
1378:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Get result of regular channel conversion.
1379:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Start conversion of regular group and enable interruptions.
1380:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Stop conversion of regular group and disable interruptions.
1381:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Handle ADC interrupt request
1382:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Start conversion of regular group and enable DMA transfer.
1383:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Stop conversion of regular group and disable ADC DMA transfer.
1384:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** @endverbatim
1385:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @{
1386:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
1387:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1388:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
1389:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Enable ADC, start conversion of regular group.
1390:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Interruptions enabled in this function: None.
1391:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Case of multimode enabled (when multimode feature is available):
1392:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * if ADC is Slave, ADC is enabled but conversion is not started,
1393:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * if ADC is master, ADC is enabled and multimode conversion is started.
1394:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
1395:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status
1396:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
1397:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef *hadc)
1398:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1399:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
1400:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** const ADC_TypeDef *tmpADC_Master;
1401:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_multimode_config = LL_ADC_GetMultimode(__LL_ADC_COMMON_INSTANCE(hadc->Instance));
1402:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1403:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
1404:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
1405:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1406:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Perform ADC enable and conversion start if no conversion is on going */
1407:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_REG_IsConversionOngoing(hadc->Instance) == 0UL)
1408:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1409:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process locked */
1410:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_LOCK(hadc);
1411:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1412:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Enable the ADC peripheral */
1413:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = ADC_Enable(hadc);
1414:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1415:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Start conversion if ADC is effectively enabled */
1416:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
1417:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 131
1418:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
1419:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Clear state bitfield related to regular group conversion results */
1420:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Set state bitfield related to regular operation */
1421:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
1422:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR | HAL_A
1423:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY);
1424:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1425:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset HAL_ADC_STATE_MULTIMODE_SLAVE bit
1426:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** - if ADC instance is master or if multimode feature is not available
1427:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** - if multimode setting is disabled (ADC instance slave in independent mode) */
1428:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((__LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance) == hadc->Instance)
1429:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
1430:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
1431:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1432:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
1433:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1434:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1435:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code */
1436:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check if a conversion is on going on ADC group injected */
1437:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (HAL_IS_BIT_SET(hadc->State, HAL_ADC_STATE_INJ_BUSY))
1438:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1439:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset ADC error code fields related to regular conversions only */
1440:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->ErrorCode, (HAL_ADC_ERROR_OVR | HAL_ADC_ERROR_DMA));
1441:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1442:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
1443:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1444:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset all ADC error code fields */
1445:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
1446:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1447:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1448:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear ADC group regular conversion flag and overrun flag */
1449:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
1450:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, (ADC_FLAG_EOC | ADC_FLAG_EOS | ADC_FLAG_OVR));
1451:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1452:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
1453:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Unlock before starting ADC conversions: in case of potential */
1454:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* interruption, to let the process to ADC IRQ Handler. */
1455:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
1456:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1457:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Enable conversion of regular group. */
1458:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If software start has been selected, conversion starts immediately. */
1459:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If external trigger has been selected, conversion will start at next */
1460:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* trigger event. */
1461:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Case of multimode enabled (when multimode feature is available): */
1462:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - if ADC is slave and dual regular conversions are enabled, ADC is */
1463:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* enabled only (conversion is not started), */
1464:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - if ADC is master, ADC is enabled and conversion is started. */
1465:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((__LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance) == hadc->Instance)
1466:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
1467:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_INJ_SIMULT)
1468:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_INJ_ALTERN)
1469:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
1470:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1471:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ADC instance is not a multimode slave instance with multimode regular conversions enable
1472:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (READ_BIT(hadc->Instance->CFGR, ADC_CFGR_JAUTO) != 0UL)
1473:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1474:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 132
1475:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1476:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1477:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Start ADC group regular conversion */
1478:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_REG_StartConversion(hadc->Instance);
1479:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1480:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
1481:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1482:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ADC instance is a multimode slave instance with multimode regular conversions enabled */
1483:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
1484:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* if Master ADC JAUTO bit is set, update Slave State in setting
1485:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_INJ_BUSY bit and in resetting HAL_ADC_STATE_INJ_EOC bit */
1486:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpADC_Master = __LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance);
1487:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (READ_BIT(tmpADC_Master->CFGR, ADC_CFGR_JAUTO) != 0UL)
1488:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1489:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
1490:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1491:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1492:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1493:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1494:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
1495:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1496:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
1497:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
1498:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1499:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1500:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
1501:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1502:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = HAL_BUSY;
1503:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1504:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1505:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return function status */
1506:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return tmp_hal_status;
1507:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1508:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1509:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
1510:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Stop ADC conversion of regular group (and injected channels in
1511:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * case of auto_injection mode), disable ADC peripheral.
1512:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note: ADC peripheral disable is forcing stop of potential
1513:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * conversion on injected group. If injected group is under use, it
1514:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * should be preliminarily stopped using HAL_ADCEx_InjectedStop function.
1515:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
1516:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status.
1517:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
1518:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef *hadc)
1519:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1520:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
1521:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1522:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
1523:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
1524:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1525:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process locked */
1526:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_LOCK(hadc);
1527:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1528:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* 1. Stop potential conversion on going, on ADC groups regular and injected */
1529:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = ADC_ConversionStop(hadc, ADC_REGULAR_INJECTED_GROUP);
1530:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1531:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable ADC peripheral if conversions are effectively stopped */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 133
1532:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
1533:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1534:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* 2. Disable the ADC peripheral */
1535:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = ADC_Disable(hadc);
1536:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1537:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check if ADC is effectively disabled */
1538:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
1539:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1540:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
1541:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
1542:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
1543:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_READY);
1544:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1545:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1546:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1547:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
1548:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
1549:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1550:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return function status */
1551:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return tmp_hal_status;
1552:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1553:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1554:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
1555:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Wait for regular group conversion to be completed.
1556:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note ADC conversion flags EOS (end of sequence) and EOC (end of
1557:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * conversion) are cleared by this function, with an exception:
1558:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * if low power feature "LowPowerAutoWait" is enabled, flags are
1559:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * not cleared to not interfere with this feature until data register
1560:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * is read using function HAL_ADC_GetValue().
1561:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note This function cannot be used in a particular setup: ADC configured
1562:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * in DMA mode and polling for end of each conversion (ADC init
1563:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * parameter "EOCSelection" set to ADC_EOC_SINGLE_CONV).
1564:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * In this case, DMA resets the flag EOC and polling cannot be
1565:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * performed on each conversion. Nevertheless, polling can still
1566:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * be performed on the complete sequence (ADC init
1567:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * parameter "EOCSelection" set to ADC_EOC_SEQ_CONV).
1568:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
1569:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param Timeout Timeout value in millisecond.
1570:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status
1571:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
1572:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_PollForConversion(ADC_HandleTypeDef *hadc, uint32_t Timeout)
1573:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
219 .loc 1 1573 1 is_stmt 1 view -0
220 .cfi_startproc
221 @ args = 0, pretend = 0, frame = 0
222 @ frame_needed = 0, uses_anonymous_args = 0
223 .loc 1 1573 1 is_stmt 0 view .LVU33
224 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
225 .cfi_def_cfa_offset 24
226 .cfi_offset 4, -24
227 .cfi_offset 5, -20
228 .cfi_offset 6, -16
229 .cfi_offset 7, -12
230 .cfi_offset 8, -8
231 .cfi_offset 14, -4
232 0004 0446 mov r4, r0
233 0006 0E46 mov r6, r1
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 134
1574:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tickstart;
234 .loc 1 1574 3 is_stmt 1 view .LVU34
1575:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_Flag_End;
235 .loc 1 1575 3 view .LVU35
1576:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_cfgr;
236 .loc 1 1576 3 view .LVU36
1577:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** const ADC_TypeDef *tmpADC_Master;
237 .loc 1 1577 3 view .LVU37
1578:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_multimode_config = LL_ADC_GetMultimode(__LL_ADC_COMMON_INSTANCE(hadc->Instance));
238 .loc 1 1578 3 view .LVU38
239 .LVL17:
240 .LBB266:
241 .LBI266:
5787:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5788:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
5789:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC analog watchdog monitored channel.
5790:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Usage of the returned channel number:
5791:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - To reinject this channel into another function LL_ADC_xxx:
5792:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the returned channel number is only partly formatted on definition
5793:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * of literals LL_ADC_CHANNEL_x. Therefore, it has to be compared
5794:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * with parts of literals LL_ADC_CHANNEL_x or using
5795:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * helper macro @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB().
5796:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Then the selected literal LL_ADC_CHANNEL_x can be used
5797:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * as parameter for another function.
5798:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - To get the channel number in decimal format:
5799:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * process the returned value with the helper macro
5800:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref __LL_ADC_CHANNEL_TO_DECIMAL_NB().
5801:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Applicable only when the analog watchdog is set to monitor
5802:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * one channel.
5803:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, there are 2 kinds of analog watchdog
5804:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * instance:
5805:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - AWD standard (instance AWD1):
5806:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - channels monitored: can monitor 1 channel or all channels.
5807:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - groups monitored: ADC groups regular and-or injected.
5808:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - resolution: resolution is not limited (corresponds to
5809:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC resolution configured).
5810:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - AWD flexible (instances AWD2, AWD3):
5811:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - channels monitored: flexible on channels monitored, selection is
5812:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * channel wise, from from 1 to all channels.
5813:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Specificity of this analog watchdog: Multiple channels can
5814:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * be selected. For example:
5815:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (LL_ADC_AWD_CHANNEL4_REG_INJ | LL_ADC_AWD_CHANNEL5_REG_INJ | ...)
5816:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - groups monitored: not selection possible (monitoring on both
5817:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * groups regular and injected).
5818:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Channels selected are monitored on groups regular and injected:
5819:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_AWD_CHANNELxx_REG_INJ (do not use parameters
5820:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_AWD_CHANNELxx_REG and LL_ADC_AWD_CHANNELxx_INJ)
5821:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - resolution: resolution is limited to 8 bits: if ADC resolution is
5822:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * 12 bits the 4 LSB are ignored, if ADC resolution is 10 bits
5823:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the 2 LSB are ignored.
5824:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
5825:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
5826:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
5827:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
5828:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR AWD1CH LL_ADC_GetAnalogWDMonitChannels\n
5829:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR AWD1SGL LL_ADC_GetAnalogWDMonitChannels\n
5830:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR AWD1EN LL_ADC_GetAnalogWDMonitChannels\n
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 135
5831:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR JAWD1EN LL_ADC_GetAnalogWDMonitChannels\n
5832:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * AWD2CR AWD2CH LL_ADC_GetAnalogWDMonitChannels\n
5833:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * AWD3CR AWD3CH LL_ADC_GetAnalogWDMonitChannels
5834:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
5835:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param AWDy This parameter can be one of the following values:
5836:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD1
5837:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD2 (1)
5838:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD3 (1)
5839:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
5840:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) On this AWD number, monitored channel can be retrieved
5841:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * if only 1 channel is programmed (or none or all channels).
5842:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This function cannot retrieve monitored channel if
5843:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * multiple channels are programmed simultaneously
5844:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * by bitfield.
5845:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
5846:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_DISABLE
5847:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG (0)
5848:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_INJ (0)
5849:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_ALL_CHANNELS_REG_INJ
5850:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG (0)
5851:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_INJ (0)
5852:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_0_REG_INJ
5853:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG (0)
5854:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_INJ (0)
5855:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_1_REG_INJ
5856:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG (0)
5857:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_INJ (0)
5858:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_2_REG_INJ
5859:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG (0)
5860:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_INJ (0)
5861:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_3_REG_INJ
5862:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG (0)
5863:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_INJ (0)
5864:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_4_REG_INJ
5865:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG (0)
5866:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_INJ (0)
5867:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_5_REG_INJ
5868:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG (0)
5869:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_INJ (0)
5870:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_6_REG_INJ
5871:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG (0)
5872:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_INJ (0)
5873:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_7_REG_INJ
5874:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG (0)
5875:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_INJ (0)
5876:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_8_REG_INJ
5877:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG (0)
5878:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_INJ (0)
5879:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_9_REG_INJ
5880:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG (0)
5881:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_INJ (0)
5882:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_10_REG_INJ
5883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG (0)
5884:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_INJ (0)
5885:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_11_REG_INJ
5886:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG (0)
5887:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_INJ (0)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 136
5888:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_12_REG_INJ
5889:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG (0)
5890:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_INJ (0)
5891:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_13_REG_INJ
5892:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG (0)
5893:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_INJ (0)
5894:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_14_REG_INJ
5895:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG (0)
5896:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_INJ (0)
5897:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_15_REG_INJ
5898:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG (0)
5899:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_INJ (0)
5900:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_16_REG_INJ
5901:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG (0)
5902:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_INJ (0)
5903:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_17_REG_INJ
5904:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_18_REG (0)
5905:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_18_INJ (0)
5906:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_18_REG_INJ
5907:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_19_REG (0)
5908:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_19_INJ (0)
5909:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_CHANNEL_19_REG_INJ
5910:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
5911:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (0) On STM32H7, parameter available only on analog watchdog number: AWD1.
5912:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
5913:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetAnalogWDMonitChannels(ADC_TypeDef *ADCx, uint32_t AWDy)
5914:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5915:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->CFGR, ((AWDy & ADC_AWD_CRX_REGOFFSET_MASK)
5916:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_CR12_REGOFFSETGAP_MA
5917:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5918:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** uint32_t AnalogWDMonitChannels = (READ_BIT(*preg, AWDy) & AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK);
5919:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5920:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* If "AnalogWDMonitChannels" == 0, then the selected AWD is disabled */
5921:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* (parameter value LL_ADC_AWD_DISABLE). */
5922:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Else, the selected AWD is enabled and is monitoring a group of channels */
5923:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* or a single channel. */
5924:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (AnalogWDMonitChannels != 0UL)
5925:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5926:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (AWDy == LL_ADC_AWD1)
5927:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5928:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if ((AnalogWDMonitChannels & ADC_CFGR_AWD1SGL) == 0UL)
5929:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* AWD monitoring a group of channels */
5931:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** AnalogWDMonitChannels = ((AnalogWDMonitChannels
5932:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** | (ADC_AWD_CR23_CHANNEL_MASK)
5933:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** )
5934:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** & (~(ADC_CFGR_AWD1CH))
5935:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
5936:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5937:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
5938:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5939:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* AWD monitoring a single channel */
5940:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** AnalogWDMonitChannels = (AnalogWDMonitChannels
5941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** | (ADC_AWD2CR_AWD2CH_0 << (AnalogWDMonitChannels >> ADC_CFGR_AWD1C
5942:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
5943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5944:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 137
5945:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
5946:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5947:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if ((AnalogWDMonitChannels & ADC_AWD_CR23_CHANNEL_MASK) == ADC_AWD_CR23_CHANNEL_MASK)
5948:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5949:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* AWD monitoring a group of channels */
5950:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** AnalogWDMonitChannels = (ADC_AWD_CR23_CHANNEL_MASK
5951:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** | ((ADC_CFGR_JAWD1EN | ADC_CFGR_AWD1EN))
5952:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
5953:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
5955:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5956:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* AWD monitoring a single channel */
5957:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* AWD monitoring a group of channels */
5958:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** AnalogWDMonitChannels = (AnalogWDMonitChannels
5959:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** | (ADC_CFGR_JAWD1EN | ADC_CFGR_AWD1EN | ADC_CFGR_AWD1SGL)
5960:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** | (__LL_ADC_CHANNEL_TO_DECIMAL_NB(AnalogWDMonitChannels) << ADC_CF
5961:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
5962:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5963:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5964:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5965:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5966:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return AnalogWDMonitChannels;
5967:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5968:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5969:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
5970:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC analog watchdog threshold value of threshold
5971:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * high or low.
5972:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note In case of ADC resolution different of 12 bits,
5973:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * analog watchdog thresholds data require a specific shift.
5974:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Use helper macro @ref __LL_ADC_ANALOGWD_SET_THRESHOLD_RESOLUTION().
5975:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, there are 2 kinds of analog watchdog
5976:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * instance:
5977:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - AWD standard (instance AWD1):
5978:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - channels monitored: can monitor 1 channel or all channels.
5979:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - groups monitored: ADC groups regular and-or injected.
5980:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - resolution: resolution is not limited (corresponds to
5981:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC resolution configured).
5982:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - AWD flexible (instances AWD2, AWD3):
5983:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - channels monitored: flexible on channels monitored, selection is
5984:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * channel wise, from from 1 to all channels.
5985:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Specificity of this analog watchdog: Multiple channels can
5986:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * be selected. For example:
5987:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (LL_ADC_AWD_CHANNEL4_REG_INJ | LL_ADC_AWD_CHANNEL5_REG_INJ | ...)
5988:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - groups monitored: not selection possible (monitoring on both
5989:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * groups regular and injected).
5990:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Channels selected are monitored on groups regular and injected:
5991:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_AWD_CHANNELxx_REG_INJ (do not use parameters
5992:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_AWD_CHANNELxx_REG and LL_ADC_AWD_CHANNELxx_INJ)
5993:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - resolution: resolution is limited to 8 bits: if ADC resolution is
5994:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * 12 bits the 4 LSB are ignored, if ADC resolution is 10 bits
5995:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the 2 LSB are ignored.
5996:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If ADC oversampling is enabled, ADC analog watchdog thresholds are
5997:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * impacted: the comparison of analog watchdog thresholds is done
5998:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on oversampling intermediate computation (after ratio, before shift
5999:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * application): intermediate register bitfield [32:7]
6000:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (26 most significant bits).
6001:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 138
6002:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6003:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
6004:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either ADC groups regular or injected.
6005:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll TR1 HT1 LL_ADC_SetAnalogWDThresholds\n
6006:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR2 HT2 LL_ADC_SetAnalogWDThresholds\n
6007:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR3 HT3 LL_ADC_SetAnalogWDThresholds\n
6008:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR1 LT1 LL_ADC_SetAnalogWDThresholds\n
6009:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR2 LT2 LL_ADC_SetAnalogWDThresholds\n
6010:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR3 LT3 LL_ADC_SetAnalogWDThresholds
6011:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6012:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param AWDy This parameter can be one of the following values:
6013:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD1
6014:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD2
6015:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD3
6016:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param AWDThresholdsHighLow This parameter can be one of the following values:
6017:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_THRESHOLD_HIGH
6018:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_THRESHOLD_LOW
6019:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param AWDThresholdValue Value between Min_Data=0x000 and Max_Data=0xFFF
6020:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6021:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6022:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThr
6023:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6024:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
6025:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
6026:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6027:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Set bits with content of parameter "AWDThresholdValue" with bits */
6028:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* position in register and register position depending on parameters */
6029:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* "AWDThresholdsHighLow" and "AWDy". */
6030:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Parameters "AWDy" and "AWDThresholdValue" are used with masks because */
6031:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* containing other bits reserved for other purpose. */
6032:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->LTR1_TR1, ((AWDy & ADC_AWD_TRX_REGOFFSET_MASK)
6033:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6034:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg,
6035:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (ADC3_TR1_LT1 << (AWDThresholdsHighLow * ADC3_TR1_HT1_Pos)),
6036:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** AWDThresholdValue << (((AWDThresholdsHighLow * ADC3_TR1_HT1) & ADC_AWD_TRX_BIT_HIGH_
6037:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6038:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
6039:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6040:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Set bits with content of parameter "AWDThresholdValue" with bits */
6041:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* position in register and register position depending on parameters */
6042:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* "AWDThresholdsHighLow" and "AWDy". */
6043:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Parameters "AWDy" and "AWDThresholdValue" are used with masks because */
6044:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* containing other bits reserved for other purpose. */
6045:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->LTR1_TR1, (((AWDy & ADC_AWD_TRX_REGOFFSET_MASK
6046:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_TR12_REGOFFSETGAP_MASK)
6047:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + (AWDThresholdsHighLow));
6048:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6049:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg, ADC_LTR_LT, AWDThresholdValue);
6050:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6051:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
6052:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Set bits with content of parameter "AWDThresholdValue" with bits */
6053:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* position in register and register position depending on parameters */
6054:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* "AWDThresholdsHighLow" and "AWDy". */
6055:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Parameters "AWDy" and "AWDThresholdValue" are used with masks because */
6056:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* containing other bits reserved for other purpose. */
6057:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->LTR1, (((AWDy & ADC_AWD_TRX_REGOFFSET_MASK) >> A
6058:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_TR12_REGOFFSETGAP_MASK) *
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 139
6059:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + (AWDThresholdsHighLow));
6060:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6061:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg, ADC_LTR_LT, AWDThresholdValue);
6062:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
6063:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6064:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6065:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6066:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC analog watchdog threshold value of threshold high,
6067:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * threshold low or raw data with ADC thresholds high and low
6068:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * concatenated.
6069:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note In case of ADC resolution different of 12 bits,
6070:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * analog watchdog thresholds data require a specific shift.
6071:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Use helper macro @ref __LL_ADC_ANALOGWD_GET_THRESHOLD_RESOLUTION().
6072:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll TR1 HT1 LL_ADC_GetAnalogWDThresholds\n
6073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR2 HT2 LL_ADC_GetAnalogWDThresholds\n
6074:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR3 HT3 LL_ADC_GetAnalogWDThresholds\n
6075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR1 LT1 LL_ADC_GetAnalogWDThresholds\n
6076:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR2 LT2 LL_ADC_GetAnalogWDThresholds\n
6077:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR3 LT3 LL_ADC_GetAnalogWDThresholds
6078:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6079:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param AWDy This parameter can be one of the following values:
6080:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD1
6081:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD2
6082:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD3
6083:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param AWDThresholdsHighLow This parameter can be one of the following values:
6084:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_THRESHOLD_HIGH
6085:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_THRESHOLD_LOW
6086:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0x3FFFFFF
6087:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6088:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AW
6089:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6090:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
6091:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
6092:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6093:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->LTR1_TR1,
6094:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((AWDy & ADC_AWD_TRX_REGOFFSET_MASK) >> ADC_AW
6095:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6096:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(*preg,
6097:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (ADC3_TR1_LT1 << (AWDThresholdsHighLow * ADC3_TR1_HT1_Pos)))
6098:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** >> (((AWDThresholdsHighLow & ADC_AWD_TRX_BIT_HIGH_MASK) >> ADC_AWD_TRX_BIT_HI
6099:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** & ~(AWDThresholdsHighLow & ADC3_TR1_LT1)));
6100:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6101:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
6102:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6103:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->LTR1_TR1, (((AWDy & ADC_AWD_TRX_REGOFFSE
6104:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_TR12_REGOFFSE
6105:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + (AWDThresholdsHighLow));
6106:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6107:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(*preg, ADC_LTR_LT));
6108:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6109:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
6110:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->LTR1, (((AWDy & ADC_AWD_TRX_REGOFFSET_MAS
6111:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_TR12_REGOFFSE
6112:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + (AWDThresholdsHighLow));
6113:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6114:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(*preg, ADC_LTR_LT));
6115:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 140
6116:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6117:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6118:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
6119:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6120:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6121:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC analog watchdog thresholds value of both thresholds
6122:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * high and low. Applicable for devices STM32H72xx and STM32H73xx.
6123:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If value of only one threshold high or low must be set,
6124:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * use function @ref LL_ADC_SetAnalogWDThresholds().
6125:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note In case of ADC resolution different of 12 bits,
6126:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * analog watchdog thresholds data require a specific shift.
6127:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Use helper macro @ref __LL_ADC_ANALOGWD_SET_THRESHOLD_RESOLUTION().
6128:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, there are 2 kinds of analog watchdog
6129:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * instance:
6130:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - AWD standard (instance AWD1):
6131:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - channels monitored: can monitor 1 channel or all channels.
6132:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - groups monitored: ADC groups regular and-or injected.
6133:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - resolution: resolution is not limited (corresponds to
6134:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC resolution configured).
6135:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - AWD flexible (instances AWD2, AWD3):
6136:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - channels monitored: flexible on channels monitored, selection is
6137:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * channel wise, from from 1 to all channels.
6138:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Specificity of this analog watchdog: Multiple channels can
6139:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * be selected. For example:
6140:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (LL_ADC_AWD_CHANNEL4_REG_INJ | LL_ADC_AWD_CHANNEL5_REG_INJ | ...)
6141:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - groups monitored: not selection possible (monitoring on both
6142:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * groups regular and injected).
6143:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Channels selected are monitored on groups regular and injected:
6144:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_AWD_CHANNELxx_REG_INJ (do not use parameters
6145:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * LL_ADC_AWD_CHANNELxx_REG and LL_ADC_AWD_CHANNELxx_INJ)
6146:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - resolution: resolution is limited to 8 bits: if ADC resolution is
6147:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * 12 bits the 4 LSB are ignored, if ADC resolution is 10 bits
6148:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the 2 LSB are ignored.
6149:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll TR1 HT1 LL_ADC_ConfigAnalogWDThresholds\n
6150:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR2 HT2 LL_ADC_ConfigAnalogWDThresholds\n
6151:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR3 HT3 LL_ADC_ConfigAnalogWDThresholds\n
6152:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR1 LT1 LL_ADC_ConfigAnalogWDThresholds\n
6153:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR2 LT2 LL_ADC_ConfigAnalogWDThresholds\n
6154:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * TR3 LT3 LL_ADC_ConfigAnalogWDThresholds
6155:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6156:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param AWDy This parameter can be one of the following values:
6157:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD1
6158:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD2
6159:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD3
6160:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param AWDThresholdHighValue Value between Min_Data=0x000 and Max_Data=0xFFF
6161:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param AWDThresholdLowValue Value between Min_Data=0x000 and Max_Data=0xFFF
6162:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6163:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6164:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_ConfigAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWD
6165:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6166:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Set bits with content of parameter "AWDThresholdxxxValue" with bits */
6167:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* position in register and register position depending on parameter */
6168:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* "AWDy". */
6169:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Parameters "AWDy" and "AWDThresholdxxxValue" are used with masks because */
6170:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* containing other bits reserved for other purpose. */
6171:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
6172:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 141
6173:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->LTR1_TR1,
6174:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ((AWDy & ADC_AWD_TRX_REGOFFSET_MASK) >> ADC_AWD_TRX_
6175:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6176:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg,
6177:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC3_TR1_HT1 | ADC3_TR1_LT1,
6178:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDThresholdHighValue << ADC3_TR1_HT1_Pos) | AWDThresholdLowValue);
6179:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6180:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
6181:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6182:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->LTR1_TR1, (((AWDy & ADC_AWD_TRX_REGOFFSET_MASK
6183:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_TR12_REGOFFSETGAP_MASK)
6184:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + (LL_ADC_AWD_THRESHOLD_LOW));
6185:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __IO uint32_t *preg2 = __ADC_PTR_REG_OFFSET(ADCx->LTR1_TR1, (((AWDy & ADC_AWD_TRX_REGOFFSET_MAS
6186:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_TR12_REGOFFSETGAP_MASK)
6187:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + (LL_ADC_AWD_THRESHOLD_HIGH));
6188:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6189:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg, ADC_LTR_LT, AWDThresholdLowValue);
6190:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg2, ADC_HTR_HT, AWDThresholdHighValue);
6191:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6192:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6193:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6194:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6195:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6196:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC analog watchdog filtering configuration
6197:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6198:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6199:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
6200:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
6201:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Applicable on ADC3 of devices STM32H72xx and STM32H73xx.
6202:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, this feature is only available on first
6203:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * analog watchdog (AWD1)
6204:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll TR1 AWDFILT LL_ADC_SetAWDFilteringConfiguration
6205:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6206:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param AWDy This parameter can be one of the following values:
6207:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD1
6208:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param FilteringConfig This parameter can be one of the following values:
6209:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_NONE
6210:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_2SAMPLES
6211:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_3SAMPLES
6212:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_4SAMPLES
6213:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_5SAMPLES
6214:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_6SAMPLES
6215:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_7SAMPLES
6216:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_8SAMPLES
6217:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6218:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6219:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetAWDFilteringConfiguration(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t
6220:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6221:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
6222:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6223:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Prevent unused argument(s) compilation warning */
6224:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (void)(AWDy);
6225:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->LTR1_TR1, ADC3_TR1_AWDFILT, FilteringConfig);
6226:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6227:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6228:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6229:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 142
6230:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC analog watchdog filtering configuration
6231:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, this feature is only available on first
6232:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * analog watchdog (AWD1)
6233:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Applicable on ADC3 of devices STM32H72xx and STM32H73xx.
6234:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll TR1 AWDFILT LL_ADC_GetAWDFilteringConfiguration
6235:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6236:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param AWDy This parameter can be one of the following values:
6237:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD1
6238:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be:
6239:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_NONE
6240:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_2SAMPLES
6241:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_3SAMPLES
6242:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_4SAMPLES
6243:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_5SAMPLES
6244:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_6SAMPLES
6245:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_7SAMPLES
6246:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_AWD_FILTERING_8SAMPLES
6247:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6248:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetAWDFilteringConfiguration(ADC_TypeDef *ADCx, uint32_t AWDy)
6249:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6250:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx == ADC3)
6251:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6252:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Prevent unused argument(s) compilation warning */
6253:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (void)(AWDy);
6254:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->LTR1_TR1, ADC3_TR1_AWDFILT));
6255:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6256:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
6257:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6258:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Function not available on this instance, return 0 */
6259:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return 0UL;
6260:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6261:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6262:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
6263:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6264:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
6265:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6266:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6267:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_oversampling Configuration of ADC transversal scope: over
6268:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
6269:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6271:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6272:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC oversampling scope: ADC groups regular and-or injected
6273:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (availability of ADC group injected depends on STM32 families).
6274:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If both groups regular and injected are selected,
6275:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * specify behavior of ADC group injected interrupting
6276:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * group regular: when ADC group injected is triggered,
6277:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the oversampling on ADC group regular is either
6278:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * temporary stopped and continued, or resumed from start
6279:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (oversampler buffer reset).
6280:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6281:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6282:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
6283:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
6284:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR2 ROVSE LL_ADC_SetOverSamplingScope\n
6285:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR2 JOVSE LL_ADC_SetOverSamplingScope\n
6286:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR2 ROVSM LL_ADC_SetOverSamplingScope
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 143
6287:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6288:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param OvsScope This parameter can be one of the following values:
6289:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_DISABLE
6290:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_GRP_REGULAR_CONTINUED
6291:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_GRP_REGULAR_RESUMED
6292:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_GRP_INJECTED
6293:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_GRP_INJ_REG_RESUMED
6294:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6295:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6296:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetOverSamplingScope(ADC_TypeDef *ADCx, uint32_t OvsScope)
6297:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6298:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR2, ADC_CFGR2_ROVSE | ADC_CFGR2_JOVSE | ADC_CFGR2_ROVSM, OvsScope);
6299:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6300:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6301:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6302:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC oversampling scope: ADC groups regular and-or injected
6303:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (availability of ADC group injected depends on STM32 families).
6304:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If both groups regular and injected are selected,
6305:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * specify behavior of ADC group injected interrupting
6306:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * group regular: when ADC group injected is triggered,
6307:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * the oversampling on ADC group regular is either
6308:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * temporary stopped and continued, or resumed from start
6309:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (oversampler buffer reset).
6310:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR2 ROVSE LL_ADC_GetOverSamplingScope\n
6311:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR2 JOVSE LL_ADC_GetOverSamplingScope\n
6312:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR2 ROVSM LL_ADC_GetOverSamplingScope
6313:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6314:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
6315:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_DISABLE
6316:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_GRP_REGULAR_CONTINUED
6317:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_GRP_REGULAR_RESUMED
6318:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_GRP_INJECTED
6319:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_GRP_INJ_REG_RESUMED
6320:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6321:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetOverSamplingScope(ADC_TypeDef *ADCx)
6322:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6323:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR2, ADC_CFGR2_ROVSE | ADC_CFGR2_JOVSE | ADC_CFGR2_ROVSM));
6324:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6325:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6326:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6327:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC oversampling discontinuous mode (triggered mode)
6328:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on the selected ADC group.
6329:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Number of oversampled conversions are done either in:
6330:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - continuous mode (all conversions of oversampling ratio
6331:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * are done from 1 trigger)
6332:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - discontinuous mode (each conversion of oversampling ratio
6333:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * needs a trigger)
6334:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6335:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6336:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
6337:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on group regular.
6338:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, oversampling discontinuous mode
6339:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (triggered mode) can be used only when oversampling is
6340:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * set on group regular only and in resumed mode.
6341:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR2 TROVS LL_ADC_SetOverSamplingDiscont
6342:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6343:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param OverSamplingDiscont This parameter can be one of the following values:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 144
6344:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_REG_CONT
6345:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_REG_DISCONT
6346:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6347:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6348:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetOverSamplingDiscont(ADC_TypeDef *ADCx, uint32_t OverSamplingDiscont)
6349:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6350:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR2, ADC_CFGR2_TROVS, OverSamplingDiscont);
6351:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6352:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6353:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6354:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC oversampling discontinuous mode (triggered mode)
6355:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on the selected ADC group.
6356:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Number of oversampled conversions are done either in:
6357:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - continuous mode (all conversions of oversampling ratio
6358:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * are done from 1 trigger)
6359:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - discontinuous mode (each conversion of oversampling ratio
6360:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * needs a trigger)
6361:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR2 TROVS LL_ADC_GetOverSamplingDiscont
6362:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6363:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
6364:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_REG_CONT
6365:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_REG_DISCONT
6366:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6367:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetOverSamplingDiscont(ADC_TypeDef *ADCx)
6368:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6369:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR2, ADC_CFGR2_TROVS));
6370:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6371:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6372:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6373:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC oversampling
6374:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (impacting both ADC groups regular and injected)
6375:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note This function set the 2 items of oversampling configuration:
6376:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ratio
6377:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - shift
6378:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6379:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6380:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be disabled or enabled without conversion on going
6381:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
6382:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR2 OVSS LL_ADC_ConfigOverSamplingRatioShift\n
6383:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CFGR2 OVSR LL_ADC_ConfigOverSamplingRatioShift
6384:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6385:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Ratio This parameter can be in the range from 1 to 1024.
6386:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * In the case of ADC3 can be one of the following values:
6387:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_2
6388:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_4
6389:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_8
6390:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_16
6391:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_32
6392:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_64
6393:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_128
6394:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_256
6395:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Shift This parameter can be one of the following values:
6396:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_NONE
6397:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_1
6398:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_2
6399:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_3
6400:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_4
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 145
6401:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_5
6402:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_6
6403:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_7
6404:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_8
6405:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_9
6406:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_10
6407:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_11
6408:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6409:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6410:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_ConfigOverSamplingRatioShift(ADC_TypeDef *ADCx, uint32_t Ratio, uint32_
6411:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6412:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
6413:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if(ADCx==ADC3)
6414:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6415:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR2, (ADC_CFGR2_OVSS | ADC3_CFGR2_OVSR), (Shift | Ratio));
6416:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6417:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
6418:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6419:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR2, (ADC_CFGR2_OVSS | ADC_CFGR2_OVSR), (Shift | (((Ratio - 1UL) << ADC_CFGR
6420:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6421:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
6422:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6423:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CFGR2, (ADC_CFGR2_OVSS | ADC_CFGR2_OVSR), (Shift | (((Ratio - 1UL) << ADC_CFGR2_
6424:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6425:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
6426:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6427:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6428:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6429:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC oversampling ratio
6430:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (impacting both ADC groups regular and injected)
6431:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR2 OVSR LL_ADC_GetOverSamplingRatio
6432:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6433:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Ratio This parameter can be in the from 1 to 1024.
6434:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * In the case of ADC3 can be one of the following values:
6435:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_2
6436:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_4
6437:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_8
6438:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_16
6439:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_32
6440:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_64
6441:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_128
6442:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_RATIO_256
6443:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6444:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetOverSamplingRatio(ADC_TypeDef *ADCx)
6445:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6446:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
6447:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if(ADCx==ADC3)
6448:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6449:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR2, ADC3_CFGR2_OVSR));
6450:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6451:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else
6452:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6453:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (((uint32_t)(READ_BIT(ADCx->CFGR2, ADC_CFGR2_OVSR)) + (1UL << ADC_CFGR2_OVSR_Pos)) >> AD
6454:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6455:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else
6456:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6457:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (((uint32_t)(READ_BIT(ADCx->CFGR2, ADC_CFGR2_OVSR)) + (1UL << ADC_CFGR2_OVSR_Pos)) >> ADC_
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 146
6458:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6459:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
6460:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6461:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6462:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6463:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC oversampling shift
6464:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (impacting both ADC groups regular and injected)
6465:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CFGR2 OVSS LL_ADC_GetOverSamplingShift
6466:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6467:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Shift This parameter can be one of the following values:
6468:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_NONE
6469:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_1
6470:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_2
6471:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_3
6472:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_4
6473:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_5
6474:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_6
6475:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_7
6476:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_8
6477:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_9
6478:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_10
6479:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_OVS_SHIFT_RIGHT_11
6480:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6481:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetOverSamplingShift(ADC_TypeDef *ADCx)
6482:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6483:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->CFGR2, ADC_CFGR2_OVSS));
6484:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6485:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6486:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6487:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
6488:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6489:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6490:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Configuration_ADC_Multimode Configuration of ADC hierarchical scope: multim
6491:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
6492:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6493:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6494:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC boost mode.
6495:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6496:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6497:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC boost must be configured, without calibration on going, without conversion
6498:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on going on group regular.
6499:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR BOOST LL_ADC_SetBoostMode
6500:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6501:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param BoostMode This parameter can be one of the following values:
6502:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_BOOST_MODE_6MHZ25
6503:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_BOOST_MODE_12MHZ5
6504:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_BOOST_MODE_20MHZ
6505:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_BOOST_MODE_25MHZ
6506:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_BOOST_MODE_50MHZ
6507:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6508:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6509:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetBoostMode(ADC_TypeDef *ADCx, uint32_t BoostMode)
6510:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6511:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
6512:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if (ADCx != ADC3)
6513:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6514:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CR, ADC_CR_BOOST, (BoostMode & ADC_CR_BOOST));
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 147
6515:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6516:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #else /* ADC_VER_V5_V90 */
6517:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if ((DBGMCU->IDCODE & 0x30000000UL) == 0x10000000UL) /* Cut 1.x */
6518:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6519:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CR, ADC_CR_BOOST_0, (BoostMode >> 2UL));
6520:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6521:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else /* Cut 2.x */
6522:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6523:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CR, ADC_CR_BOOST, (BoostMode & ADC_CR_BOOST));
6524:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6525:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #endif /* ADC_VER_V5_V90 */
6526:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6527:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6528:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6529:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6530:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC boost mode.
6531:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6532:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6533:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC boost must be configured, without calibration on going, without conversion
6534:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on going on group regular.
6535:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR BOOST LL_ADC_GetBoostMode
6536:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6537:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval 0: Boost disabled 1: Boost enabled
6538:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6539:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetBoostMode(ADC_TypeDef *ADCx)
6540:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6541:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** if ((DBGMCU->IDCODE & 0x30000000UL) == 0x10000000UL) /* Cut 1.x */
6542:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6543:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)READ_BIT(ADCx->CR, ADC_CR_BOOST_0);
6544:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6545:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** else /* Cut 2.x */
6546:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6547:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->CR, ADC_CR_BOOST) == (ADC_CR_BOOST)) ? 1UL : 0UL);
6548:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6549:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6550:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6551:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6552:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC multimode configuration to operate in independent mode
6553:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or multimode (for devices with several ADC instances).
6554:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If multimode configuration: the selected ADC instance is
6555:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * either master or slave depending on hardware.
6556:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to reference manual.
6557:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6558:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6559:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * All ADC instances of the ADC common group must be disabled.
6560:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This check can be done with function @ref LL_ADC_IsEnabled() for each
6561:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC instance or by using helper macro
6562:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE().
6563:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CCR DUAL LL_ADC_SetMultimode
6564:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
6565:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
6566:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Multimode This parameter can be one of the following values:
6567:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_INDEPENDENT
6568:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIMULT
6569:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTERL
6570:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_INJ_SIMULT
6571:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_INJ_ALTERN
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 148
6572:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM
6573:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT
6574:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INT_INJ_SIM
6575:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6576:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6577:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetMultimode(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t Multimode)
6578:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6579:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCxy_COMMON->CCR, ADC_CCR_DUAL, Multimode);
6580:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6581:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6582:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6583:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC multimode configuration to operate in independent mode
6584:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or multimode (for devices with several ADC instances).
6585:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If multimode configuration: the selected ADC instance is
6586:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * either master or slave depending on hardware.
6587:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to reference manual.
6588:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CCR DUAL LL_ADC_GetMultimode
6589:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
6590:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
6591:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
6592:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_INDEPENDENT
6593:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIMULT
6594:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INTERL
6595:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_INJ_SIMULT
6596:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_INJ_ALTERN
6597:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_SIM
6598:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_SIM_INJ_ALT
6599:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_DUAL_REG_INT_INJ_SIM
6600:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6601:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetMultimode(ADC_Common_TypeDef *ADCxy_COMMON)
242 .loc 2 6601 26 view .LVU39
243 .LBB267:
6602:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCxy_COMMON->CCR, ADC_CCR_DUAL));
244 .loc 2 6603 3 view .LVU40
245 .loc 2 6603 21 is_stmt 0 view .LVU41
246 0008 424B ldr r3, .L35
247 000a 9F68 ldr r7, [r3, #8]
248 .loc 2 6603 10 view .LVU42
249 000c 07F01F07 and r7, r7, #31
250 .LVL18:
251 .loc 2 6603 10 view .LVU43
252 .LBE267:
253 .LBE266:
1579:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1580:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
1581:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
254 .loc 1 1581 3 is_stmt 1 view .LVU44
1582:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1583:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If end of conversion selected to end of sequence conversions */
1584:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Init.EOCSelection == ADC_EOC_SEQ_CONV)
255 .loc 1 1584 3 view .LVU45
256 .loc 1 1584 17 is_stmt 0 view .LVU46
257 0010 0569 ldr r5, [r0, #16]
258 .loc 1 1584 6 view .LVU47
259 0012 082D cmp r5, #8
260 0014 0DD0 beq .L12
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 149
1585:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1586:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_Flag_End = ADC_FLAG_EOS;
1587:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1588:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If end of conversion selected to end of unitary conversion */
1589:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else /* ADC_EOC_SINGLE_CONV */
1590:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1591:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Verification that ADC configuration is compliant with polling for */
1592:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* each conversion: */
1593:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Particular case is ADC configured in DMA mode and ADC sequencer with */
1594:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* several ranks and polling for end of each conversion. */
1595:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* For code simplicity sake, this particular case is generalized to */
1596:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ADC configured in DMA mode and and polling for end of each conversion. */
1597:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
261 .loc 1 1597 5 is_stmt 1 view .LVU48
262 0016 092F cmp r7, #9
263 0018 30D8 bhi .L13
264 001a 40F22123 movw r3, #545
265 001e FB40 lsrs r3, r3, r7
266 0020 13F0010F tst r3, #1
267 0024 2AD0 beq .L13
1598:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_INJ_SIMULT)
1599:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_INJ_ALTERN)
1600:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
1601:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1602:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check DMNGT bit in handle ADC CFGR register */
1603:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (READ_BIT(hadc->Instance->CFGR, ADC_CFGR_DMNGT_0) != 0UL)
268 .loc 1 1603 7 view .LVU49
269 .loc 1 1603 11 is_stmt 0 view .LVU50
270 0026 0368 ldr r3, [r0]
271 0028 DB68 ldr r3, [r3, #12]
272 .loc 1 1603 10 view .LVU51
273 002a 13F0010F tst r3, #1
274 002e 1FD1 bne .L30
1604:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1605:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
1606:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_ERROR;
1607:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1608:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
1609:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1610:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_Flag_End = (ADC_FLAG_EOC);
275 .loc 1 1610 22 view .LVU52
276 0030 0425 movs r5, #4
277 .L12:
278 .LVL19:
1611:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1612:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1613:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
1614:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1615:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check ADC DMA mode in multimode on ADC group regular */
1616:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_GetMultiDMATransfer(__LL_ADC_COMMON_INSTANCE(hadc->Instance)) != LL_ADC_MULTI_REG_
1617:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1618:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
1619:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_ERROR;
1620:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1621:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
1622:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1623:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_Flag_End = (ADC_FLAG_EOC);
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 150
1624:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1625:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1626:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1627:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1628:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Get tick count */
1629:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tickstart = HAL_GetTick();
279 .loc 1 1629 3 is_stmt 1 view .LVU53
280 .loc 1 1629 15 is_stmt 0 view .LVU54
281 0032 FFF7FEFF bl HAL_GetTick
282 .LVL20:
283 .loc 1 1629 15 view .LVU55
284 0036 8046 mov r8, r0
285 .LVL21:
1630:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1631:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Wait until End of unitary conversion or sequence conversions flag is raised */
1632:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while ((hadc->Instance->ISR & tmp_Flag_End) == 0UL)
286 .loc 1 1632 3 is_stmt 1 view .LVU56
287 .L16:
288 .loc 1 1632 47 view .LVU57
289 .loc 1 1632 15 is_stmt 0 view .LVU58
290 0038 2368 ldr r3, [r4]
291 .loc 1 1632 25 view .LVU59
292 003a 1A68 ldr r2, [r3]
293 .loc 1 1632 47 view .LVU60
294 003c 2A42 tst r2, r5
295 003e 2AD1 bne .L31
1633:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1634:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check if timeout is disabled (set to infinite wait) */
1635:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (Timeout != HAL_MAX_DELAY)
296 .loc 1 1635 5 is_stmt 1 view .LVU61
297 .loc 1 1635 8 is_stmt 0 view .LVU62
298 0040 B6F1FF3F cmp r6, #-1
299 0044 F8D0 beq .L16
1636:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1637:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0UL))
300 .loc 1 1637 7 is_stmt 1 view .LVU63
301 .loc 1 1637 13 is_stmt 0 view .LVU64
302 0046 FFF7FEFF bl HAL_GetTick
303 .LVL22:
304 .loc 1 1637 27 discriminator 1 view .LVU65
305 004a A0EB0800 sub r0, r0, r8
306 .loc 1 1637 10 discriminator 1 view .LVU66
307 004e B042 cmp r0, r6
308 0050 01D8 bhi .L17
309 .loc 1 1637 51 discriminator 1 view .LVU67
310 0052 002E cmp r6, #0
311 0054 F0D1 bne .L16
312 .L17:
1638:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1639:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* New check to avoid false timeout detection in case of preemption */
1640:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if((hadc->Instance->ISR & tmp_Flag_End) == 0UL)
313 .loc 1 1640 9 is_stmt 1 view .LVU68
314 .loc 1 1640 17 is_stmt 0 view .LVU69
315 0056 2368 ldr r3, [r4]
316 .loc 1 1640 27 view .LVU70
317 0058 1B68 ldr r3, [r3]
318 .loc 1 1640 11 view .LVU71
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 151
319 005a 2B42 tst r3, r5
320 005c ECD1 bne .L16
1641:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1642:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to timeout */
1643:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_TIMEOUT);
321 .loc 1 1643 11 is_stmt 1 view .LVU72
322 005e 636D ldr r3, [r4, #84]
323 0060 43F00403 orr r3, r3, #4
324 0064 6365 str r3, [r4, #84]
1644:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1645:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
1646:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
325 .loc 1 1646 11 view .LVU73
326 .loc 1 1646 11 view .LVU74
327 0066 0023 movs r3, #0
328 0068 84F85030 strb r3, [r4, #80]
329 .loc 1 1646 11 view .LVU75
1647:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1648:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_TIMEOUT;
330 .loc 1 1648 11 view .LVU76
331 .loc 1 1648 18 is_stmt 0 view .LVU77
332 006c 0320 movs r0, #3
333 006e 4CE0 b .L14
334 .LVL23:
335 .L30:
1605:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_ERROR;
336 .loc 1 1605 9 is_stmt 1 view .LVU78
337 0070 436D ldr r3, [r0, #84]
338 0072 43F02003 orr r3, r3, #32
339 0076 4365 str r3, [r0, #84]
1606:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
340 .loc 1 1606 9 view .LVU79
1606:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
341 .loc 1 1606 16 is_stmt 0 view .LVU80
342 0078 0120 movs r0, #1
343 .LVL24:
1606:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
344 .loc 1 1606 16 view .LVU81
345 007a 46E0 b .L14
346 .LVL25:
347 .L13:
1616:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
348 .loc 1 1616 7 is_stmt 1 view .LVU82
349 .LBB268:
350 .LBI268:
6604:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6605:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6606:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6607:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC multimode conversion data transfer: no transfer
6608:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or transfer by DMA.
6609:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If ADC multimode transfer by DMA is not selected:
6610:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * each ADC uses its own DMA channel, with its individual
6611:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * DMA transfer settings.
6612:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * If ADC multimode transfer by DMA is selected:
6613:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * One DMA channel is used for both ADC (DMA of ADC master)
6614:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Specifies the DMA requests mode:
6615:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Limited mode (One shot mode): DMA transfer requests are stopped
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 152
6616:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * when number of DMA data transfers (number of
6617:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversions) is reached.
6618:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode non-circular.
6619:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Unlimited mode: DMA transfer requests are unlimited,
6620:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * whatever number of DMA data transfers (number of
6621:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversions).
6622:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode circular.
6623:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If ADC DMA requests mode is set to unlimited and DMA is set to
6624:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * mode non-circular:
6625:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * when DMA transfers size will be reached, DMA will stop transfers of
6626:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversions data ADC will raise an overrun error
6627:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (overrun flag and interruption if enabled).
6628:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note How to retrieve multimode conversion data:
6629:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Whatever multimode transfer by DMA setting: using function
6630:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref LL_ADC_REG_ReadMultiConversionData32().
6631:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * If ADC multimode transfer by DMA is selected: conversion data
6632:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is a raw data with ADC master and slave concatenated.
6633:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * A macro is available to get the conversion data of
6634:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC master or ADC slave: see helper macro
6635:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref __LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE().
6636:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6637:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6638:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * All ADC instances of the ADC common group must be disabled
6639:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or enabled without conversion on going on group regular.
6640:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CCR DAMDF LL_ADC_GetMultiDMATransfer\n
6641:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
6642:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
6643:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param MultiDMATransfer This parameter can be one of the following values:
6644:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_REG_DMA_EACH_ADC
6645:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_REG_DMA_RES_32_10B
6646:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_REG_DMA_RES_8B
6647:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6648:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6649:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetMultiDMATransfer(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t MultiDMA
6650:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6651:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCxy_COMMON->CCR, ADC_CCR_DAMDF, MultiDMATransfer);
6652:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6653:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6654:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6655:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC multimode conversion data transfer: no transfer
6656:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or transfer by DMA.
6657:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If ADC multimode transfer by DMA is not selected:
6658:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * each ADC uses its own DMA channel, with its individual
6659:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * DMA transfer settings.
6660:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * If ADC multimode transfer by DMA is selected:
6661:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * One DMA channel is used for both ADC (DMA of ADC master)
6662:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Specifies the DMA requests mode:
6663:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Limited mode (One shot mode): DMA transfer requests are stopped
6664:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * when number of DMA data transfers (number of
6665:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversions) is reached.
6666:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode non-circular.
6667:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Unlimited mode: DMA transfer requests are unlimited,
6668:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * whatever number of DMA data transfers (number of
6669:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversions).
6670:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This ADC mode is intended to be used with DMA mode circular.
6671:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If ADC DMA requests mode is set to unlimited and DMA is set to
6672:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * mode non-circular:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 153
6673:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * when DMA transfers size will be reached, DMA will stop transfers of
6674:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversions data ADC will raise an overrun error
6675:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (overrun flag and interruption if enabled).
6676:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note How to retrieve multimode conversion data:
6677:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Whatever multimode transfer by DMA setting: using function
6678:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref LL_ADC_REG_ReadMultiConversionData32().
6679:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * If ADC multimode transfer by DMA is selected: conversion data
6680:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is a raw data with ADC master and slave concatenated.
6681:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * A macro is available to get the conversion data of
6682:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC master or ADC slave: see helper macro
6683:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref __LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE().
6684:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CCR DAMDF LL_ADC_GetMultiDMATransfer\n
6685:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
6686:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
6687:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
6688:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_REG_DMA_EACH_ADC
6689:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_REG_DMA_RES_32_10B
6690:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_REG_DMA_RES_8B
6691:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6692:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetMultiDMATransfer(ADC_Common_TypeDef *ADCxy_COMMON)
351 .loc 2 6692 26 view .LVU83
352 .LBB269:
6693:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6694:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCxy_COMMON->CCR, ADC_CCR_DAMDF));
353 .loc 2 6694 3 view .LVU84
354 .loc 2 6694 21 is_stmt 0 view .LVU85
355 007c 254B ldr r3, .L35
356 007e 9B68 ldr r3, [r3, #8]
357 .LVL26:
358 .loc 2 6694 21 view .LVU86
359 .LBE269:
360 .LBE268:
1616:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
361 .loc 1 1616 10 discriminator 1 view .LVU87
362 0080 13F4404F tst r3, #49152
363 0084 01D1 bne .L32
1623:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
364 .loc 1 1623 22 view .LVU88
365 0086 0425 movs r5, #4
366 0088 D3E7 b .L12
367 .L32:
1618:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_ERROR;
368 .loc 1 1618 9 is_stmt 1 view .LVU89
369 008a 636D ldr r3, [r4, #84]
370 008c 43F02003 orr r3, r3, #32
371 0090 6365 str r3, [r4, #84]
1619:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
372 .loc 1 1619 9 view .LVU90
1619:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
373 .loc 1 1619 16 is_stmt 0 view .LVU91
374 0092 0120 movs r0, #1
375 .LVL27:
1619:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
376 .loc 1 1619 16 view .LVU92
377 0094 39E0 b .L14
378 .LVL28:
379 .L31:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 154
1649:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1650:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1651:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1652:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1653:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1654:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine */
1655:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOC);
380 .loc 1 1655 3 is_stmt 1 view .LVU93
381 0096 626D ldr r2, [r4, #84]
382 0098 42F40072 orr r2, r2, #512
383 009c 6265 str r2, [r4, #84]
1656:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1657:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Determine whether any further conversion upcoming on group regular */
1658:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* by external trigger, continuous mode or scan sequence on going. */
1659:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((LL_ADC_REG_IsTriggerSourceSWStart(hadc->Instance) != 0UL)
384 .loc 1 1659 3 view .LVU94
385 .LVL29:
386 .LBB270:
387 .LBI270:
3928:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
388 .loc 2 3928 26 view .LVU95
389 .LBB271:
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
390 .loc 2 3930 3 view .LVU96
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
391 .loc 2 3930 12 is_stmt 0 view .LVU97
392 009e DA68 ldr r2, [r3, #12]
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
393 .loc 2 3930 103 view .LVU98
394 00a0 12F4406F tst r2, #3072
395 00a4 11D1 bne .L19
396 .LVL30:
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
397 .loc 2 3930 103 view .LVU99
398 .LBE271:
399 .LBE270:
1660:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (hadc->Init.ContinuousConvMode == DISABLE)
400 .loc 1 1660 21 view .LVU100
401 00a6 627D ldrb r2, [r4, #21] @ zero_extendqisi2
402 .loc 1 1660 7 view .LVU101
403 00a8 7AB9 cbnz r2, .L19
1661:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
1662:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1663:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check whether end of sequence is reached */
1664:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOS))
404 .loc 1 1664 5 is_stmt 1 view .LVU102
405 .loc 1 1664 9 is_stmt 0 view .LVU103
406 00aa 1A68 ldr r2, [r3]
407 .loc 1 1664 8 view .LVU104
408 00ac 12F0080F tst r2, #8
409 00b0 0BD0 beq .L19
1665:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1666:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
1667:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_REG_BUSY);
410 .loc 1 1667 7 is_stmt 1 view .LVU105
411 00b2 626D ldr r2, [r4, #84]
412 00b4 22F48072 bic r2, r2, #256
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 155
413 00b8 6265 str r2, [r4, #84]
1668:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1669:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_INJ_BUSY) == 0UL)
414 .loc 1 1669 7 view .LVU106
415 .loc 1 1669 16 is_stmt 0 view .LVU107
416 00ba 626D ldr r2, [r4, #84]
417 .loc 1 1669 10 view .LVU108
418 00bc 12F4805F tst r2, #4096
419 00c0 03D1 bne .L19
1670:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1671:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
420 .loc 1 1671 9 is_stmt 1 view .LVU109
421 00c2 626D ldr r2, [r4, #84]
422 00c4 42F00102 orr r2, r2, #1
423 00c8 6265 str r2, [r4, #84]
424 .L19:
1672:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1673:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1674:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1675:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1676:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Get relevant register CFGR in ADC instance of ADC master or slave */
1677:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* in function of multimode state (for devices with multimode */
1678:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* available). */
1679:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((__LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance) == hadc->Instance)
425 .loc 1 1679 3 view .LVU110
426 .loc 1 1679 8 is_stmt 0 view .LVU111
427 00ca 134A ldr r2, .L35+4
428 00cc 9342 cmp r3, r2
429 00ce 14D0 beq .L33
430 .loc 1 1679 8 discriminator 1 view .LVU112
431 00d0 1A46 mov r2, r3
432 .L20:
433 .loc 1 1679 6 discriminator 4 view .LVU113
434 00d2 9342 cmp r3, r2
435 00d4 07D0 beq .L21
436 00d6 092F cmp r7, #9
437 00d8 12D8 bhi .L22
438 00da 40F22121 movw r1, #545
439 00de F940 lsrs r1, r1, r7
440 00e0 11F0010F tst r1, #1
441 00e4 0CD0 beq .L22
442 .L21:
1680:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
1681:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_INJ_SIMULT)
1682:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_INJ_ALTERN)
1683:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
1684:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1685:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Retrieve handle ADC CFGR register */
1686:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_cfgr = READ_REG(hadc->Instance->CFGR);
443 .loc 1 1686 5 is_stmt 1 view .LVU114
444 .loc 1 1686 14 is_stmt 0 view .LVU115
445 00e6 DA68 ldr r2, [r3, #12]
446 .LVL31:
447 .L23:
1687:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1688:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
1689:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 156
1690:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Retrieve Master ADC CFGR register */
1691:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpADC_Master = __LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance);
1692:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_cfgr = READ_REG(tmpADC_Master->CFGR);
1693:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1694:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1695:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear polled flag */
1696:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_Flag_End == ADC_FLAG_EOS)
448 .loc 1 1696 3 is_stmt 1 view .LVU116
449 .loc 1 1696 6 is_stmt 0 view .LVU117
450 00e8 082D cmp r5, #8
451 00ea 0BD0 beq .L34
1697:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1698:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EOS);
1699:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1700:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
1701:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1702:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear end of conversion EOC flag of regular group if low power feature */
1703:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* "LowPowerAutoWait " is disabled, to not interfere with this feature */
1704:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* until data register is read using function HAL_ADC_GetValue(). */
1705:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (READ_BIT(tmp_cfgr, ADC_CFGR_AUTDLY) == 0UL)
452 .loc 1 1705 5 is_stmt 1 view .LVU118
453 .loc 1 1705 8 is_stmt 0 view .LVU119
454 00ec 12F4804F tst r2, #16384
455 00f0 0DD1 bne .L28
1706:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1707:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, (ADC_FLAG_EOC | ADC_FLAG_EOS));
456 .loc 1 1707 7 is_stmt 1 view .LVU120
457 00f2 0C22 movs r2, #12
458 .LVL32:
459 .loc 1 1707 7 is_stmt 0 view .LVU121
460 00f4 1A60 str r2, [r3]
1708:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1709:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1710:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1711:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return function status */
1712:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_OK;
461 .loc 1 1712 10 view .LVU122
462 00f6 0020 movs r0, #0
463 00f8 07E0 b .L14
464 .LVL33:
465 .L33:
1679:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
466 .loc 1 1679 8 discriminator 2 view .LVU123
467 00fa A2F58072 sub r2, r2, #256
468 00fe E8E7 b .L20
469 .L22:
1691:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_cfgr = READ_REG(tmpADC_Master->CFGR);
470 .loc 1 1691 5 is_stmt 1 view .LVU124
471 .LVL34:
1692:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
472 .loc 1 1692 5 view .LVU125
1692:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
473 .loc 1 1692 14 is_stmt 0 view .LVU126
474 0100 D268 ldr r2, [r2, #12]
475 .LVL35:
1692:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
476 .loc 1 1692 14 view .LVU127
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 157
477 0102 F1E7 b .L23
478 .LVL36:
479 .L34:
1698:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
480 .loc 1 1698 5 is_stmt 1 view .LVU128
481 0104 0822 movs r2, #8
482 .LVL37:
1698:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
483 .loc 1 1698 5 is_stmt 0 view .LVU129
484 0106 1A60 str r2, [r3]
485 .loc 1 1712 10 view .LVU130
486 0108 0020 movs r0, #0
487 .LVL38:
488 .L14:
1713:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
489 .loc 1 1713 1 view .LVU131
490 010a BDE8F081 pop {r4, r5, r6, r7, r8, pc}
491 .LVL39:
492 .L28:
1712:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
493 .loc 1 1712 10 view .LVU132
494 010e 0020 movs r0, #0
495 0110 FBE7 b .L14
496 .L36:
497 0112 00BF .align 2
498 .L35:
499 0114 00230240 .word 1073881856
500 0118 00210240 .word 1073881344
501 .cfi_endproc
502 .LFE341:
504 .section .text.HAL_ADC_PollForEvent,"ax",%progbits
505 .align 1
506 .global HAL_ADC_PollForEvent
507 .syntax unified
508 .thumb
509 .thumb_func
511 HAL_ADC_PollForEvent:
512 .LVL40:
513 .LFB342:
1714:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1715:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
1716:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Poll for ADC event.
1717:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
1718:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param EventType the ADC event type.
1719:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * This parameter can be one of the following values:
1720:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref ADC_EOSMP_EVENT ADC End of Sampling event
1721:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref ADC_AWD1_EVENT ADC Analog watchdog 1 event (main analog watchdog, presen
1722:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref ADC_AWD2_EVENT ADC Analog watchdog 2 event (additional analog watchdog,
1723:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref ADC_AWD3_EVENT ADC Analog watchdog 3 event (additional analog watchdog,
1724:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref ADC_OVR_EVENT ADC Overrun event
1725:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref ADC_JQOVF_EVENT ADC Injected context queue overflow event
1726:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param Timeout Timeout value in millisecond.
1727:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note The relevant flag is cleared if found to be set, except for ADC_FLAG_OVR.
1728:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * Indeed, the latter is reset only if hadc->Init.Overrun field is set
1729:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * to ADC_OVR_DATA_OVERWRITTEN. Otherwise, data register may be potentially overwritten
1730:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * by a new converted data as soon as OVR is cleared.
1731:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * To reset OVR flag once the preserved data is retrieved, the user can resort
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 158
1732:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * to macro __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_OVR);
1733:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status
1734:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
1735:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_PollForEvent(ADC_HandleTypeDef *hadc, uint32_t EventType, uint32_t Timeou
1736:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
514 .loc 1 1736 1 is_stmt 1 view -0
515 .cfi_startproc
516 @ args = 0, pretend = 0, frame = 0
517 @ frame_needed = 0, uses_anonymous_args = 0
518 .loc 1 1736 1 is_stmt 0 view .LVU134
519 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
520 .cfi_def_cfa_offset 24
521 .cfi_offset 4, -24
522 .cfi_offset 5, -20
523 .cfi_offset 6, -16
524 .cfi_offset 7, -12
525 .cfi_offset 8, -8
526 .cfi_offset 14, -4
527 0004 0646 mov r6, r0
528 0006 0D46 mov r5, r1
529 0008 1746 mov r7, r2
1737:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tickstart;
530 .loc 1 1737 3 is_stmt 1 view .LVU135
1738:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1739:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
1740:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
531 .loc 1 1740 3 view .LVU136
1741:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_EVENT_TYPE(EventType));
532 .loc 1 1741 3 view .LVU137
1742:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1743:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Get tick count */
1744:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tickstart = HAL_GetTick();
533 .loc 1 1744 3 view .LVU138
534 .loc 1 1744 15 is_stmt 0 view .LVU139
535 000a FFF7FEFF bl HAL_GetTick
536 .LVL41:
537 .loc 1 1744 15 view .LVU140
538 000e 8046 mov r8, r0
539 .LVL42:
1745:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1746:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check selected event flag */
1747:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while (__HAL_ADC_GET_FLAG(hadc, EventType) == 0UL)
540 .loc 1 1747 3 is_stmt 1 view .LVU141
541 .L39:
542 .loc 1 1747 46 view .LVU142
543 .loc 1 1747 10 is_stmt 0 view .LVU143
544 0010 3468 ldr r4, [r6]
545 0012 2368 ldr r3, [r4]
546 .loc 1 1747 46 view .LVU144
547 0014 35EA0303 bics r3, r5, r3
548 0018 18D0 beq .L52
1748:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1749:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check if timeout is disabled (set to infinite wait) */
1750:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (Timeout != HAL_MAX_DELAY)
549 .loc 1 1750 5 is_stmt 1 view .LVU145
550 .loc 1 1750 8 is_stmt 0 view .LVU146
551 001a B7F1FF3F cmp r7, #-1
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 159
552 001e F7D0 beq .L39
1751:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1752:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0UL))
553 .loc 1 1752 7 is_stmt 1 view .LVU147
554 .loc 1 1752 13 is_stmt 0 view .LVU148
555 0020 FFF7FEFF bl HAL_GetTick
556 .LVL43:
557 .loc 1 1752 27 discriminator 1 view .LVU149
558 0024 A0EB0800 sub r0, r0, r8
559 .loc 1 1752 10 discriminator 1 view .LVU150
560 0028 B842 cmp r0, r7
561 002a 01D8 bhi .L40
562 .loc 1 1752 51 discriminator 1 view .LVU151
563 002c 002F cmp r7, #0
564 002e EFD1 bne .L39
565 .L40:
1753:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1754:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* New check to avoid false timeout detection in case of preemption */
1755:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if(__HAL_ADC_GET_FLAG(hadc, EventType) == 0UL)
566 .loc 1 1755 9 is_stmt 1 view .LVU152
567 .loc 1 1755 12 is_stmt 0 view .LVU153
568 0030 3368 ldr r3, [r6]
569 0032 1B68 ldr r3, [r3]
570 .loc 1 1755 11 view .LVU154
571 0034 35EA0303 bics r3, r5, r3
572 0038 EAD0 beq .L39
1756:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1757:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to timeout */
1758:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_TIMEOUT);
573 .loc 1 1758 11 is_stmt 1 view .LVU155
574 003a 736D ldr r3, [r6, #84]
575 003c 43F00403 orr r3, r3, #4
576 0040 7365 str r3, [r6, #84]
1759:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1760:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
1761:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
577 .loc 1 1761 11 view .LVU156
578 .loc 1 1761 11 view .LVU157
579 0042 0023 movs r3, #0
580 0044 86F85030 strb r3, [r6, #80]
581 .loc 1 1761 11 view .LVU158
1762:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1763:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_TIMEOUT;
582 .loc 1 1763 11 view .LVU159
583 .loc 1 1763 18 is_stmt 0 view .LVU160
584 0048 0320 movs r0, #3
585 004a 29E0 b .L41
586 .L52:
1764:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1765:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1766:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1767:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1768:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1769:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (EventType)
587 .loc 1 1769 3 is_stmt 1 view .LVU161
588 004c B5F5807F cmp r5, #256
589 0050 28D0 beq .L43
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 160
590 0052 12D9 bls .L53
591 0054 B5F5007F cmp r5, #512
592 0058 2DD0 beq .L48
593 005a B5F5806F cmp r5, #1024
594 005e 33D1 bne .L47
1770:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1771:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* End Of Sampling event */
1772:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_EOSMP_EVENT:
1773:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
1774:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOSMP);
1775:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1776:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear the End Of Sampling flag */
1777:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EOSMP);
1778:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1779:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1780:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1781:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Analog watchdog (level out of window) event */
1782:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: In case of several analog watchdog enabled, if needed to know */
1783:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* which one triggered and on which ADCx, test ADC state of analog watchdog */
1784:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* flags HAL_ADC_STATE_AWD1/2/3 using function "HAL_ADC_GetState()". */
1785:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* For example: */
1786:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* " if ((HAL_ADC_GetState(hadc1) & HAL_ADC_STATE_AWD1) != 0UL) " */
1787:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* " if ((HAL_ADC_GetState(hadc1) & HAL_ADC_STATE_AWD2) != 0UL) " */
1788:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* " if ((HAL_ADC_GetState(hadc1) & HAL_ADC_STATE_AWD3) != 0UL) " */
1789:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1790:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check analog watchdog 1 flag */
1791:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_AWD_EVENT:
1792:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
1793:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_AWD1);
1794:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1795:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear ADC analog watchdog flag */
1796:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_AWD1);
1797:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1798:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1799:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1800:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check analog watchdog 2 flag */
1801:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_AWD2_EVENT:
1802:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
1803:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_AWD2);
1804:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1805:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear ADC analog watchdog flag */
1806:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_AWD2);
1807:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1808:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1809:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1810:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check analog watchdog 3 flag */
1811:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_AWD3_EVENT:
1812:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
1813:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_AWD3);
1814:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1815:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear ADC analog watchdog flag */
1816:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_AWD3);
1817:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1818:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1819:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1820:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Injected context queue overflow event */
1821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_JQOVF_EVENT:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 161
1822:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
1823:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_INJ_JQOVF);
595 .loc 1 1823 7 view .LVU162
596 0060 736D ldr r3, [r6, #84]
597 0062 43F48043 orr r3, r3, #16384
598 0066 7365 str r3, [r6, #84]
1824:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1825:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to Injected context queue overflow */
1826:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_JQOVF);
599 .loc 1 1826 7 view .LVU163
600 0068 B36D ldr r3, [r6, #88]
601 006a 43F00803 orr r3, r3, #8
602 006e B365 str r3, [r6, #88]
1827:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1828:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear ADC Injected context queue overflow flag */
1829:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JQOVF);
603 .loc 1 1829 7 view .LVU164
604 0070 4FF48063 mov r3, #1024
605 0074 2360 str r3, [r4]
1830:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1831:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
606 .loc 1 1831 7 view .LVU165
1832:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1833:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Overrun event */
1834:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default: /* Case ADC_OVR_EVENT */
1835:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If overrun is set to overwrite previous data, overrun event is not */
1836:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* considered as an error. */
1837:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* (cf ref manual "Managing conversions without using the DMA and without */
1838:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* overrun ") */
1839:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Init.Overrun == ADC_OVR_DATA_PRESERVED)
1840:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1841:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
1842:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_OVR);
1843:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1844:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to overrun */
1845:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_OVR);
1846:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1847:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
1848:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1849:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear ADC Overrun flag only if Overrun is set to ADC_OVR_DATA_OVERWRITTEN
1850:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** otherwise, data register is potentially overwritten by new converted data as soon
1851:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** as OVR is cleared. */
1852:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_OVR);
1853:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1854:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1855:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1856:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1857:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return function status */
1858:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_OK;
607 .loc 1 1858 10 is_stmt 0 view .LVU166
608 0076 0020 movs r0, #0
1831:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
609 .loc 1 1831 7 view .LVU167
610 0078 12E0 b .L41
611 .L53:
1769:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
612 .loc 1 1769 3 view .LVU168
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 162
613 007a 022D cmp r5, #2
614 007c 09D0 beq .L45
615 007e 802D cmp r5, #128
616 0080 22D1 bne .L47
1793:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
617 .loc 1 1793 7 is_stmt 1 view .LVU169
618 0082 736D ldr r3, [r6, #84]
619 0084 43F48033 orr r3, r3, #65536
620 0088 7365 str r3, [r6, #84]
1796:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
621 .loc 1 1796 7 view .LVU170
622 008a 8023 movs r3, #128
623 008c 2360 str r3, [r4]
1798:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
624 .loc 1 1798 7 view .LVU171
625 .loc 1 1858 10 is_stmt 0 view .LVU172
626 008e 0020 movs r0, #0
1798:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
627 .loc 1 1798 7 view .LVU173
628 0090 06E0 b .L41
629 .L45:
1774:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
630 .loc 1 1774 7 is_stmt 1 view .LVU174
631 0092 736D ldr r3, [r6, #84]
632 0094 43F40063 orr r3, r3, #2048
633 0098 7365 str r3, [r6, #84]
1777:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
634 .loc 1 1777 7 view .LVU175
635 009a 0223 movs r3, #2
636 009c 2360 str r3, [r4]
1779:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
637 .loc 1 1779 7 view .LVU176
638 .loc 1 1858 10 is_stmt 0 view .LVU177
639 009e 0020 movs r0, #0
640 .L41:
1859:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
641 .loc 1 1859 1 view .LVU178
642 00a0 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
643 .LVL44:
644 .L43:
1803:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
645 .loc 1 1803 7 is_stmt 1 view .LVU179
646 00a4 736D ldr r3, [r6, #84]
647 00a6 43F40033 orr r3, r3, #131072
648 00aa 7365 str r3, [r6, #84]
1806:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
649 .loc 1 1806 7 view .LVU180
650 00ac 4FF48073 mov r3, #256
651 00b0 2360 str r3, [r4]
1808:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
652 .loc 1 1808 7 view .LVU181
1858:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
653 .loc 1 1858 10 is_stmt 0 view .LVU182
654 00b2 0020 movs r0, #0
1808:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
655 .loc 1 1808 7 view .LVU183
656 00b4 F4E7 b .L41
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 163
657 .L48:
1813:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
658 .loc 1 1813 7 is_stmt 1 view .LVU184
659 00b6 736D ldr r3, [r6, #84]
660 00b8 43F48023 orr r3, r3, #262144
661 00bc 7365 str r3, [r6, #84]
1816:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
662 .loc 1 1816 7 view .LVU185
663 00be 4FF40073 mov r3, #512
664 00c2 2360 str r3, [r4]
1818:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
665 .loc 1 1818 7 view .LVU186
1858:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
666 .loc 1 1858 10 is_stmt 0 view .LVU187
667 00c4 0020 movs r0, #0
1818:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
668 .loc 1 1818 7 view .LVU188
669 00c6 EBE7 b .L41
670 .L47:
1839:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
671 .loc 1 1839 7 is_stmt 1 view .LVU189
1839:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
672 .loc 1 1839 21 is_stmt 0 view .LVU190
673 00c8 336B ldr r3, [r6, #48]
1839:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
674 .loc 1 1839 10 view .LVU191
675 00ca 4BB9 cbnz r3, .L50
1842:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
676 .loc 1 1842 9 is_stmt 1 view .LVU192
677 00cc 736D ldr r3, [r6, #84]
678 00ce 43F48063 orr r3, r3, #1024
679 00d2 7365 str r3, [r6, #84]
1845:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
680 .loc 1 1845 9 view .LVU193
681 00d4 B36D ldr r3, [r6, #88]
682 00d6 43F00203 orr r3, r3, #2
683 00da B365 str r3, [r6, #88]
1858:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
684 .loc 1 1858 10 is_stmt 0 view .LVU194
685 00dc 0020 movs r0, #0
686 00de DFE7 b .L41
687 .L50:
1852:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
688 .loc 1 1852 9 is_stmt 1 view .LVU195
689 00e0 1023 movs r3, #16
690 00e2 2360 str r3, [r4]
1858:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
691 .loc 1 1858 10 is_stmt 0 view .LVU196
692 00e4 0020 movs r0, #0
693 00e6 DBE7 b .L41
694 .cfi_endproc
695 .LFE342:
697 .section .text.HAL_ADC_GetValue,"ax",%progbits
698 .align 1
699 .global HAL_ADC_GetValue
700 .syntax unified
701 .thumb
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 164
702 .thumb_func
704 HAL_ADC_GetValue:
705 .LVL45:
706 .LFB347:
1860:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1861:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
1862:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Enable ADC, start conversion of regular group with interruption.
1863:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Interruptions enabled in this function according to initialization
1864:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * setting : EOC (end of conversion), EOS (end of sequence),
1865:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * OVR overrun.
1866:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * Each of these interruptions has its dedicated callback function.
1867:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Case of multimode enabled (when multimode feature is available):
1868:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * HAL_ADC_Start_IT() must be called for ADC Slave first, then for
1869:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * ADC Master.
1870:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * For ADC Slave, ADC is enabled only (conversion is not started).
1871:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * For ADC Master, ADC is enabled and multimode conversion is started.
1872:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note To guarantee a proper reset of all interruptions once all the needed
1873:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * conversions are obtained, HAL_ADC_Stop_IT() must be called to ensure
1874:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * a correct stop of the IT-based conversions.
1875:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note By default, HAL_ADC_Start_IT() does not enable the End Of Sampling
1876:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * interruption. If required (e.g. in case of oversampling with trigger
1877:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * mode), the user must:
1878:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * 1. first clear the EOSMP flag if set with macro __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EO
1879:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * 2. then enable the EOSMP interrupt with macro __HAL_ADC_ENABLE_IT(hadc, ADC_IT_EOSMP)
1880:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * before calling HAL_ADC_Start_IT().
1881:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
1882:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status
1883:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
1884:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Start_IT(ADC_HandleTypeDef *hadc)
1885:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1886:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
1887:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** const ADC_TypeDef *tmpADC_Master;
1888:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_multimode_config = LL_ADC_GetMultimode(__LL_ADC_COMMON_INSTANCE(hadc->Instance));
1889:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1890:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
1891:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
1892:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1893:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Perform ADC enable and conversion start if no conversion is on going */
1894:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_REG_IsConversionOngoing(hadc->Instance) == 0UL)
1895:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1896:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process locked */
1897:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_LOCK(hadc);
1898:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1899:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Enable the ADC peripheral */
1900:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = ADC_Enable(hadc);
1901:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1902:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Start conversion if ADC is effectively enabled */
1903:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
1904:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1905:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
1906:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Clear state bitfield related to regular group conversion results */
1907:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Set state bitfield related to regular operation */
1908:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
1909:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR | HAL_A
1910:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY);
1911:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1912:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset HAL_ADC_STATE_MULTIMODE_SLAVE bit
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 165
1913:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** - if ADC instance is master or if multimode feature is not available
1914:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** - if multimode setting is disabled (ADC instance slave in independent mode) */
1915:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((__LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance) == hadc->Instance)
1916:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
1917:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
1918:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1919:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
1920:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1921:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1922:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code */
1923:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check if a conversion is on going on ADC group injected */
1924:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_INJ_BUSY) != 0UL)
1925:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1926:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset ADC error code fields related to regular conversions only */
1927:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->ErrorCode, (HAL_ADC_ERROR_OVR | HAL_ADC_ERROR_DMA));
1928:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1929:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
1930:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1931:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset all ADC error code fields */
1932:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
1933:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1934:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1935:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear ADC group regular conversion flag and overrun flag */
1936:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
1937:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, (ADC_FLAG_EOC | ADC_FLAG_EOS | ADC_FLAG_OVR));
1938:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1939:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
1940:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Unlock before starting ADC conversions: in case of potential */
1941:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* interruption, to let the process to ADC IRQ Handler. */
1942:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
1943:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1944:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable all interruptions before enabling the desired ones */
1945:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, (ADC_IT_EOC | ADC_IT_EOS | ADC_IT_OVR));
1946:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1947:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Enable ADC end of conversion interrupt */
1948:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (hadc->Init.EOCSelection)
1949:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1950:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_EOC_SEQ_CONV:
1951:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_EOS);
1952:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1953:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* case ADC_EOC_SINGLE_CONV */
1954:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default:
1955:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_EOC);
1956:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1957:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1958:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1959:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Enable ADC overrun interrupt */
1960:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If hadc->Init.Overrun is set to ADC_OVR_DATA_PRESERVED, only then is
1961:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_IT_OVR enabled; otherwise data overwrite is considered as normal
1962:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** behavior and no CPU time is lost for a non-processed interruption */
1963:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Init.Overrun == ADC_OVR_DATA_PRESERVED)
1964:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1965:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_OVR);
1966:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1967:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1968:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Enable conversion of regular group. */
1969:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If software start has been selected, conversion starts immediately. */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 166
1970:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If external trigger has been selected, conversion will start at next */
1971:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* trigger event. */
1972:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Case of multimode enabled (when multimode feature is available): */
1973:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - if ADC is slave and dual regular conversions are enabled, ADC is */
1974:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* enabled only (conversion is not started), */
1975:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - if ADC is master, ADC is enabled and conversion is started. */
1976:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((__LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance) == hadc->Instance)
1977:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
1978:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_INJ_SIMULT)
1979:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_INJ_ALTERN)
1980:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
1981:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1982:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ADC instance is not a multimode slave instance with multimode regular conversions enable
1983:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (READ_BIT(hadc->Instance->CFGR, ADC_CFGR_JAUTO) != 0UL)
1984:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1985:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
1986:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1987:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Enable as well injected interruptions in case
1988:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADCEx_InjectedStart_IT() has not been called beforehand. This
1989:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** allows to start regular and injected conversions when JAUTO is
1990:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** set with a single call to HAL_ADC_Start_IT() */
1991:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (hadc->Init.EOCSelection)
1992:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1993:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_EOC_SEQ_CONV:
1994:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_JEOC);
1995:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_JEOS);
1996:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
1997:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* case ADC_EOC_SINGLE_CONV */
1998:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default:
1999:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_JEOS);
2000:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_JEOC);
2001:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
2002:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2003:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2004:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2005:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Start ADC group regular conversion */
2006:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_REG_StartConversion(hadc->Instance);
2007:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2008:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2009:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2010:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ADC instance is a multimode slave instance with multimode regular conversions enabled */
2011:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
2012:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* if Master ADC JAUTO bit is set, Slave injected interruptions
2013:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** are enabled nevertheless (for same reason as above) */
2014:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpADC_Master = __LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance);
2015:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (READ_BIT(tmpADC_Master->CFGR, ADC_CFGR_JAUTO) != 0UL)
2016:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2017:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* First, update Slave State in setting HAL_ADC_STATE_INJ_BUSY bit
2018:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** and in resetting HAL_ADC_STATE_INJ_EOC bit */
2019:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
2020:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Next, set Slave injected interruptions */
2021:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (hadc->Init.EOCSelection)
2022:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2023:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_EOC_SEQ_CONV:
2024:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_JEOC);
2025:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_JEOS);
2026:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 167
2027:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* case ADC_EOC_SINGLE_CONV */
2028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default:
2029:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_JEOS);
2030:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_JEOC);
2031:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
2032:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2033:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2034:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2035:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2036:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2037:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2038:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
2039:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
2040:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2041:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2042:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2043:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2044:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2045:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = HAL_BUSY;
2046:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2047:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2048:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return function status */
2049:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return tmp_hal_status;
2050:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2051:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2052:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
2053:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Stop ADC conversion of regular group (and injected group in
2054:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * case of auto_injection mode), disable interrution of
2055:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * end-of-conversion, disable ADC peripheral.
2056:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
2057:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status.
2058:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2059:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Stop_IT(ADC_HandleTypeDef *hadc)
2060:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2061:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
2062:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2063:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
2064:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
2065:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2066:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process locked */
2067:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_LOCK(hadc);
2068:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2069:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* 1. Stop potential conversion on going, on ADC groups regular and injected */
2070:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = ADC_ConversionStop(hadc, ADC_REGULAR_INJECTED_GROUP);
2071:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2072:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable ADC peripheral if conversions are effectively stopped */
2073:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
2074:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2075:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable ADC end of conversion interrupt for regular group */
2076:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable ADC overrun interrupt */
2077:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, (ADC_IT_EOC | ADC_IT_EOS | ADC_IT_OVR));
2078:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2079:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* 2. Disable the ADC peripheral */
2080:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = ADC_Disable(hadc);
2081:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2082:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check if ADC is effectively disabled */
2083:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 168
2084:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2085:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
2086:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
2087:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
2088:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_READY);
2089:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2090:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2091:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2092:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
2093:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
2094:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2095:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return function status */
2096:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return tmp_hal_status;
2097:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2098:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2099:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
2100:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Enable ADC, start conversion of regular group and transfer result through DMA.
2101:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Interruptions enabled in this function:
2102:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * overrun (if applicable), DMA half transfer, DMA transfer complete.
2103:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * Each of these interruptions has its dedicated callback function.
2104:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Case of multimode enabled (when multimode feature is available): HAL_ADC_Start_DMA()
2105:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * is designed for single-ADC mode only. For multimode, the dedicated
2106:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * HAL_ADCEx_MultiModeStart_DMA() function must be used.
2107:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
2108:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param pData Destination Buffer address.
2109:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param Length Number of data to be transferred from ADC peripheral to memory
2110:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status.
2111:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2112:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Start_DMA(ADC_HandleTypeDef *hadc, uint32_t *pData, uint32_t Length)
2113:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2114:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
2115:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_multimode_config = LL_ADC_GetMultimode(__LL_ADC_COMMON_INSTANCE(hadc->Instance));
2116:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2117:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
2118:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
2119:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2120:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Perform ADC enable and conversion start if no conversion is on going */
2121:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_REG_IsConversionOngoing(hadc->Instance) == 0UL)
2122:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2123:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process locked */
2124:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_LOCK(hadc);
2125:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2126:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Ensure that multimode regular conversions are not enabled. */
2127:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Otherwise, dedicated API HAL_ADCEx_MultiModeStart_DMA() must be used. */
2128:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
2129:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_INJ_SIMULT)
2130:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_INJ_ALTERN)
2131:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
2132:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2133:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Enable the ADC peripheral */
2134:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = ADC_Enable(hadc);
2135:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2136:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Start conversion if ADC is effectively enabled */
2137:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
2138:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2139:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
2140:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Clear state bitfield related to regular group conversion results */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 169
2141:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Set state bitfield related to regular operation */
2142:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
2143:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR | HAL
2144:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY);
2145:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2146:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset HAL_ADC_STATE_MULTIMODE_SLAVE bit
2147:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** - if ADC instance is master or if multimode feature is not available
2148:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** - if multimode setting is disabled (ADC instance slave in independent mode) */
2149:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((__LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance) == hadc->Instance)
2150:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
2151:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
2152:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2153:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
2154:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2155:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2156:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check if a conversion is on going on ADC group injected */
2157:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_INJ_BUSY) != 0UL)
2158:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2159:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset ADC error code fields related to regular conversions only */
2160:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->ErrorCode, (HAL_ADC_ERROR_OVR | HAL_ADC_ERROR_DMA));
2161:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2162:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2163:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2164:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset all ADC error code fields */
2165:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
2166:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2167:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2168:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set the DMA transfer complete callback */
2169:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->DMA_Handle->XferCpltCallback = ADC_DMAConvCplt;
2170:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2171:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set the DMA half transfer complete callback */
2172:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->DMA_Handle->XferHalfCpltCallback = ADC_DMAHalfConvCplt;
2173:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2174:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set the DMA error callback */
2175:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->DMA_Handle->XferErrorCallback = ADC_DMAError;
2176:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2177:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2178:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Manage ADC and DMA start: ADC overrun interruption, DMA start, */
2179:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ADC start (in case of SW start): */
2180:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2181:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear regular group conversion flag and overrun flag */
2182:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* (To ensure of no unknown state from potential previous ADC */
2183:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* operations) */
2184:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, (ADC_FLAG_EOC | ADC_FLAG_EOS | ADC_FLAG_OVR));
2185:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2186:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
2187:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Unlock before starting ADC conversions: in case of potential */
2188:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* interruption, to let the process to ADC IRQ Handler. */
2189:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
2190:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2191:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* With DMA, overrun event is always considered as an error even if
2192:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Overrun is set to ADC_OVR_DATA_OVERWRITTEN. Therefore,
2193:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_IT_OVR is enabled. */
2194:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_OVR);
2195:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2196:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Enable ADC DMA mode*/
2197:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 170
2198:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
2199:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2200:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_REG_SetDMATransferMode(hadc->Instance, ADC3_CFGR_DMACONTREQ((uint32_t)hadc->Init.D
2201:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_EnableDMAReq(hadc->Instance);
2202:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2203:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2204:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2205:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_REG_SetDataTransferMode(hadc->Instance, ADC_CFGR_DMACONTREQ((uint32_t)hadc->Init.C
2206:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2207:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2208:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
2209:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_REG_SetDataTransferMode(hadc->Instance, (uint32_t)hadc->Init.ConversionDataManagemen
2210:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
2211:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2212:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2213:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Start the DMA channel */
2214:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = HAL_DMA_Start_IT(hadc->DMA_Handle, (uint32_t)&hadc->Instance->DR, (uint32_
2215:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2216:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Enable conversion of regular group. */
2217:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If software start has been selected, conversion starts immediately. */
2218:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If external trigger has been selected, conversion will start at next */
2219:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* trigger event. */
2220:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Start ADC group regular conversion */
2221:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_REG_StartConversion(hadc->Instance);
2222:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2223:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2224:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2225:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
2226:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
2227:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2228:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2229:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2230:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2231:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2232:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = HAL_ERROR;
2233:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
2234:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
2235:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2236:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2237:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2238:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2239:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = HAL_BUSY;
2240:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2241:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2242:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return function status */
2243:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return tmp_hal_status;
2244:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2245:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2246:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
2247:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Stop ADC conversion of regular group (and injected group in
2248:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * case of auto_injection mode), disable ADC DMA transfer, disable
2249:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * ADC peripheral.
2250:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note: ADC peripheral disable is forcing stop of potential
2251:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * conversion on ADC group injected. If ADC group injected is under use, it
2252:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * should be preliminarily stopped using HAL_ADCEx_InjectedStop function.
2253:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Case of multimode enabled (when multimode feature is available):
2254:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * HAL_ADC_Stop_DMA() function is dedicated to single-ADC mode only.
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 171
2255:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * For multimode, the dedicated HAL_ADCEx_MultiModeStop_DMA() API must be used.
2256:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
2257:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status.
2258:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2259:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Stop_DMA(ADC_HandleTypeDef *hadc)
2260:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2261:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
2262:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2263:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
2264:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
2265:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2266:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process locked */
2267:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_LOCK(hadc);
2268:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2269:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* 1. Stop potential ADC group regular conversion on going */
2270:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = ADC_ConversionStop(hadc, ADC_REGULAR_INJECTED_GROUP);
2271:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2272:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable ADC peripheral if conversions are effectively stopped */
2273:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
2274:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2275:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable ADC DMA (ADC DMA configuration of continuous requests is kept) */
2276:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CFGR, ADC_CFGR_DMNGT_0 | ADC_CFGR_DMNGT_1, 0UL);
2277:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2278:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable the DMA channel (in case of DMA in circular mode or stop */
2279:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* while DMA transfer is on going) */
2280:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->DMA_Handle->State == HAL_DMA_STATE_BUSY)
2281:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2282:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = HAL_DMA_Abort(hadc->DMA_Handle);
2283:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2284:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check if DMA channel effectively disabled */
2285:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_hal_status != HAL_OK)
2286:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2287:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to error */
2288:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_DMA);
2289:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2290:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2291:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2292:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable ADC overrun interrupt */
2293:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_OVR);
2294:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2295:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* 2. Disable the ADC peripheral */
2296:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update "tmp_hal_status" only if DMA channel disabling passed, */
2297:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* to keep in memory a potential failing status. */
2298:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
2299:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2300:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = ADC_Disable(hadc);
2301:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2302:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2303:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2304:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (void)ADC_Disable(hadc);
2305:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2306:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2307:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check if ADC is effectively disabled */
2308:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
2309:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2310:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
2311:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 172
2312:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
2313:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_READY);
2314:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2315:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2316:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2317:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2318:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
2319:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
2320:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2321:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return function status */
2322:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return tmp_hal_status;
2323:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2324:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2325:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
2326:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Get ADC regular group conversion result.
2327:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Reading register DR automatically clears ADC flag EOC
2328:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * (ADC group regular end of unitary conversion).
2329:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note This function does not clear ADC flag EOS
2330:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * (ADC group regular end of sequence conversion).
2331:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * Occurrence of flag EOS rising:
2332:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * - If sequencer is composed of 1 rank, flag EOS is equivalent
2333:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * to flag EOC.
2334:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * - If sequencer is composed of several ranks, during the scan
2335:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * sequence flag EOC only is raised, at the end of the scan sequence
2336:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * both flags EOC and EOS are raised.
2337:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * To clear this flag, either use function:
2338:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * in programming model IT: @ref HAL_ADC_IRQHandler(), in programming
2339:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * model polling: @ref HAL_ADC_PollForConversion()
2340:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * or @ref __HAL_ADC_CLEAR_FLAG(&hadc, ADC_FLAG_EOS).
2341:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
2342:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval ADC group regular conversion data
2343:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2344:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t HAL_ADC_GetValue(ADC_HandleTypeDef *hadc)
2345:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
707 .loc 1 2345 1 is_stmt 1 view -0
708 .cfi_startproc
709 @ args = 0, pretend = 0, frame = 0
710 @ frame_needed = 0, uses_anonymous_args = 0
711 @ link register save eliminated.
2346:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
2347:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
712 .loc 1 2347 3 view .LVU198
2348:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2349:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: EOC flag is not cleared here by software because automatically */
2350:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* cleared by hardware when reading register DR. */
2351:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2352:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return ADC converted value */
2353:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return hadc->Instance->DR;
713 .loc 1 2353 3 view .LVU199
714 .loc 1 2353 14 is_stmt 0 view .LVU200
715 0000 0368 ldr r3, [r0]
716 .loc 1 2353 24 view .LVU201
717 0002 186C ldr r0, [r3, #64]
718 .LVL46:
2354:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
719 .loc 1 2354 1 view .LVU202
720 0004 7047 bx lr
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 173
721 .cfi_endproc
722 .LFE347:
724 .section .text.HAL_ADC_ConvCpltCallback,"ax",%progbits
725 .align 1
726 .weak HAL_ADC_ConvCpltCallback
727 .syntax unified
728 .thumb
729 .thumb_func
731 HAL_ADC_ConvCpltCallback:
732 .LVL47:
733 .LFB349:
2355:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2356:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
2357:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Handle ADC interrupt request.
2358:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
2359:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval None
2360:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2361:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** void HAL_ADC_IRQHandler(ADC_HandleTypeDef *hadc)
2362:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2363:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t overrun_error = 0UL; /* flag set if overrun occurrence has to be considered as an error
2364:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_isr = hadc->Instance->ISR;
2365:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_ier = hadc->Instance->IER;
2366:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_inj_is_trigger_source_sw_start;
2367:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_reg_is_trigger_source_sw_start;
2368:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_cfgr;
2369:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** const ADC_TypeDef *tmpADC_Master;
2370:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_multimode_config = LL_ADC_GetMultimode(__LL_ADC_COMMON_INSTANCE(hadc->Instance));
2371:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2372:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
2373:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
2374:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_EOC_SELECTION(hadc->Init.EOCSelection));
2375:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2376:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ========== Check End of Sampling flag for ADC group regular ========== */
2377:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (((tmp_isr & ADC_FLAG_EOSMP) == ADC_FLAG_EOSMP) && ((tmp_ier & ADC_IT_EOSMP) == ADC_IT_EOSMP))
2378:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2379:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update state machine on end of sampling status if not in error state */
2380:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_ERROR_INTERNAL) == 0UL)
2381:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2382:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
2383:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOSMP);
2384:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2385:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2386:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* End Of Sampling callback */
2387:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
2388:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->EndOfSamplingCallback(hadc);
2389:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
2390:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADCEx_EndOfSamplingCallback(hadc);
2391:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
2392:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2393:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear regular group conversion flag */
2394:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EOSMP);
2395:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2396:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2397:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ====== Check ADC group regular end of unitary conversion sequence conversions ===== */
2398:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((((tmp_isr & ADC_FLAG_EOC) == ADC_FLAG_EOC) && ((tmp_ier & ADC_IT_EOC) == ADC_IT_EOC)) ||
2399:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (((tmp_isr & ADC_FLAG_EOS) == ADC_FLAG_EOS) && ((tmp_ier & ADC_IT_EOS) == ADC_IT_EOS)))
2400:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 174
2401:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update state machine on conversion status if not in error state */
2402:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_ERROR_INTERNAL) == 0UL)
2403:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2404:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
2405:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOC);
2406:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2407:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2408:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Determine whether any further conversion upcoming on group regular */
2409:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* by external trigger, continuous mode or scan sequence on going */
2410:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* to disable interruption. */
2411:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_REG_IsTriggerSourceSWStart(hadc->Instance) != 0UL)
2412:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2413:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Get relevant register CFGR in ADC instance of ADC master or slave */
2414:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* in function of multimode state (for devices with multimode */
2415:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* available). */
2416:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((__LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance) == hadc->Instance)
2417:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
2418:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_INJ_SIMULT)
2419:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_INJ_ALTERN)
2420:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
2421:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2422:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* check CONT bit directly in handle ADC CFGR register */
2423:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_cfgr = READ_REG(hadc->Instance->CFGR);
2424:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2425:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2426:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2427:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* else need to check Master ADC CONT bit */
2428:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpADC_Master = __LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance);
2429:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_cfgr = READ_REG(tmpADC_Master->CFGR);
2430:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2431:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2432:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Carry on if continuous mode is disabled */
2433:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (READ_BIT(tmp_cfgr, ADC_CFGR_CONT) != ADC_CFGR_CONT)
2434:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2435:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If End of Sequence is reached, disable interrupts */
2436:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOS))
2437:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2438:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Allowed to modify bits ADC_IT_EOC/ADC_IT_EOS only if bit */
2439:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ADSTART==0 (no conversion on going) */
2440:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_REG_IsConversionOngoing(hadc->Instance) == 0UL)
2441:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2442:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable ADC end of sequence conversion interrupt */
2443:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: Overrun interrupt was enabled with EOC interrupt in */
2444:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* HAL_Start_IT(), but is not disabled here because can be used */
2445:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* by overrun IRQ process below. */
2446:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_EOC | ADC_IT_EOS);
2447:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2448:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
2449:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_REG_BUSY);
2450:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2451:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_INJ_BUSY) == 0UL)
2452:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2453:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
2454:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2455:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2456:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2457:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 175
2458:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Change ADC state to error state */
2459:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL);
2460:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2461:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to ADC peripheral internal error */
2462:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL);
2463:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2464:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2465:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2466:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2467:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2468:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Conversion complete callback */
2469:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: Into callback function "HAL_ADC_ConvCpltCallback()", */
2470:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* to determine if conversion has been triggered from EOC or EOS, */
2471:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* possibility to use: */
2472:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* " if( __HAL_ADC_GET_FLAG(&hadc, ADC_FLAG_EOS)) " */
2473:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
2474:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ConvCpltCallback(hadc);
2475:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
2476:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_ConvCpltCallback(hadc);
2477:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
2478:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2479:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear regular group conversion flag */
2480:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: in case of overrun set to ADC_OVR_DATA_PRESERVED, end of */
2481:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* conversion flags clear induces the release of the preserved data.*/
2482:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Therefore, if the preserved data value is needed, it must be */
2483:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* read preliminarily into HAL_ADC_ConvCpltCallback(). */
2484:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, (ADC_FLAG_EOC | ADC_FLAG_EOS));
2485:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2486:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2487:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ====== Check ADC group injected end of unitary conversion sequence conversions ===== */
2488:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((((tmp_isr & ADC_FLAG_JEOC) == ADC_FLAG_JEOC) && ((tmp_ier & ADC_IT_JEOC) == ADC_IT_JEOC)) ||
2489:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (((tmp_isr & ADC_FLAG_JEOS) == ADC_FLAG_JEOS) && ((tmp_ier & ADC_IT_JEOS) == ADC_IT_JEOS)))
2490:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2491:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update state machine on conversion status if not in error state */
2492:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_ERROR_INTERNAL) == 0UL)
2493:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2494:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
2495:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_INJ_EOC);
2496:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2497:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2498:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Retrieve ADC configuration */
2499:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_inj_is_trigger_source_sw_start = LL_ADC_INJ_IsTriggerSourceSWStart(hadc->Instance);
2500:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_reg_is_trigger_source_sw_start = LL_ADC_REG_IsTriggerSourceSWStart(hadc->Instance);
2501:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Get relevant register CFGR in ADC instance of ADC master or slave */
2502:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* in function of multimode state (for devices with multimode */
2503:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* available). */
2504:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((__LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance) == hadc->Instance)
2505:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
2506:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_REG_SIMULT)
2507:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_REG_INTERL)
2508:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
2509:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2510:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_cfgr = READ_REG(hadc->Instance->CFGR);
2511:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2512:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2513:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2514:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpADC_Master = __LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance);
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 176
2515:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_cfgr = READ_REG(tmpADC_Master->CFGR);
2516:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2517:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2518:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable interruption if no further conversion upcoming by injected */
2519:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* external trigger or by automatic injected conversion with regular */
2520:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* group having no further conversion upcoming (same conditions as */
2521:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* regular group interruption disabling above), */
2522:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* and if injected scan sequence is completed. */
2523:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_adc_inj_is_trigger_source_sw_start != 0UL)
2524:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2525:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((READ_BIT(tmp_cfgr, ADC_CFGR_JAUTO) == 0UL) ||
2526:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ((tmp_adc_reg_is_trigger_source_sw_start != 0UL) &&
2527:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (READ_BIT(tmp_cfgr, ADC_CFGR_CONT) == 0UL)))
2528:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2529:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If End of Sequence is reached, disable interrupts */
2530:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_JEOS))
2531:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2532:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Particular case if injected contexts queue is enabled: */
2533:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* when the last context has been fully processed, JSQR is reset */
2534:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* by the hardware. Even if no injected conversion is planned to come */
2535:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* (queue empty, triggers are ignored), it can start again */
2536:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* immediately after setting a new context (JADSTART is still set). */
2537:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Therefore, state of HAL ADC injected group is kept to busy. */
2538:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (READ_BIT(tmp_cfgr, ADC_CFGR_JQM) == 0UL)
2539:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2540:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Allowed to modify bits ADC_IT_JEOC/ADC_IT_JEOS only if bit */
2541:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* JADSTART==0 (no conversion on going) */
2542:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_INJ_IsConversionOngoing(hadc->Instance) == 0UL)
2543:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2544:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable ADC end of sequence conversion interrupt */
2545:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_JEOC | ADC_IT_JEOS);
2546:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2547:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
2548:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_INJ_BUSY);
2549:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2550:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_REG_BUSY) == 0UL)
2551:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2552:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
2553:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2554:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2555:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2556:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2557:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to error */
2558:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL);
2559:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2560:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to ADC peripheral internal error */
2561:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL);
2562:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2563:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2564:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2565:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2566:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2567:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2568:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Injected Conversion complete callback */
2569:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: HAL_ADCEx_InjectedConvCpltCallback can resort to
2570:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if( __HAL_ADC_GET_FLAG(&hadc, ADC_FLAG_JEOS)) or
2571:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if( __HAL_ADC_GET_FLAG(&hadc, ADC_FLAG_JEOC)) to determine whether
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 177
2572:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** interruption has been triggered by end of conversion or end of
2573:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sequence. */
2574:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
2575:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->InjectedConvCpltCallback(hadc);
2576:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
2577:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADCEx_InjectedConvCpltCallback(hadc);
2578:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
2579:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2580:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear injected group conversion flag */
2581:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JEOC | ADC_FLAG_JEOS);
2582:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2583:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2584:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ========== Check Analog watchdog 1 flag ========== */
2585:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (((tmp_isr & ADC_FLAG_AWD1) == ADC_FLAG_AWD1) && ((tmp_ier & ADC_IT_AWD1) == ADC_IT_AWD1))
2586:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2587:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
2588:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_AWD1);
2589:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2590:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Level out of window 1 callback */
2591:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
2592:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->LevelOutOfWindowCallback(hadc);
2593:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
2594:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_LevelOutOfWindowCallback(hadc);
2595:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
2596:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2597:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear ADC analog watchdog flag */
2598:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_AWD1);
2599:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2600:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2601:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ========== Check analog watchdog 2 flag ========== */
2602:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (((tmp_isr & ADC_FLAG_AWD2) == ADC_FLAG_AWD2) && ((tmp_ier & ADC_IT_AWD2) == ADC_IT_AWD2))
2603:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2604:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
2605:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_AWD2);
2606:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2607:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Level out of window 2 callback */
2608:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
2609:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->LevelOutOfWindow2Callback(hadc);
2610:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
2611:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADCEx_LevelOutOfWindow2Callback(hadc);
2612:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
2613:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2614:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear ADC analog watchdog flag */
2615:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_AWD2);
2616:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2617:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2618:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ========== Check analog watchdog 3 flag ========== */
2619:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (((tmp_isr & ADC_FLAG_AWD3) == ADC_FLAG_AWD3) && ((tmp_ier & ADC_IT_AWD3) == ADC_IT_AWD3))
2620:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2621:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
2622:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_AWD3);
2623:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2624:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Level out of window 3 callback */
2625:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
2626:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->LevelOutOfWindow3Callback(hadc);
2627:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
2628:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADCEx_LevelOutOfWindow3Callback(hadc);
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 178
2629:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
2630:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2631:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear ADC analog watchdog flag */
2632:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_AWD3);
2633:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2634:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2635:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ========== Check Overrun flag ========== */
2636:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (((tmp_isr & ADC_FLAG_OVR) == ADC_FLAG_OVR) && ((tmp_ier & ADC_IT_OVR) == ADC_IT_OVR))
2637:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2638:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If overrun is set to overwrite previous data (default setting), */
2639:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* overrun event is not considered as an error. */
2640:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* (cf ref manual "Managing conversions without using the DMA and without */
2641:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* overrun ") */
2642:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Exception for usage with DMA overrun event always considered as an */
2643:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* error. */
2644:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Init.Overrun == ADC_OVR_DATA_PRESERVED)
2645:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2646:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** overrun_error = 1UL;
2647:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2648:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2649:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2650:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check DMA configuration */
2651:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (tmp_multimode_config != LL_ADC_MULTI_INDEPENDENT)
2652:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2653:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Multimode (when feature is available) is enabled,
2654:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Common Control Register MDMA bits must be checked. */
2655:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_GetMultiDMATransfer(__LL_ADC_COMMON_INSTANCE(hadc->Instance)) != LL_ADC_MULTI_RE
2656:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2657:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** overrun_error = 1UL;
2658:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2659:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2660:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2661:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2662:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Multimode not set or feature not available or ADC independent */
2663:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->Instance->CFGR & ADC_CFGR_DMNGT) != 0UL)
2664:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2665:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** overrun_error = 1UL;
2666:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2667:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2668:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2669:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2670:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (overrun_error == 1UL)
2671:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2672:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Change ADC state to error state */
2673:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_OVR);
2674:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2675:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to overrun */
2676:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_OVR);
2677:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2678:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Error callback */
2679:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: In case of overrun, ADC conversion data is preserved until */
2680:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* flag OVR is reset. */
2681:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Therefore, old ADC conversion data can be retrieved in */
2682:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* function "HAL_ADC_ErrorCallback()". */
2683:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
2684:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ErrorCallback(hadc);
2685:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 179
2686:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_ErrorCallback(hadc);
2687:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
2688:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2689:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2690:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear ADC overrun flag */
2691:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_OVR);
2692:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2693:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2694:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ========== Check Injected context queue overflow flag ========== */
2695:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (((tmp_isr & ADC_FLAG_JQOVF) == ADC_FLAG_JQOVF) && ((tmp_ier & ADC_IT_JQOVF) == ADC_IT_JQOVF))
2696:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2697:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Change ADC state to overrun state */
2698:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_INJ_JQOVF);
2699:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2700:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to Injected context queue overflow */
2701:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_JQOVF);
2702:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2703:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear the Injected context queue overflow flag */
2704:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JQOVF);
2705:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2706:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Injected context queue overflow callback */
2707:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
2708:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->InjectedQueueOverflowCallback(hadc);
2709:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
2710:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADCEx_InjectedQueueOverflowCallback(hadc);
2711:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
2712:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2713:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2714:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2715:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2716:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
2717:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Conversion complete callback in non-blocking mode.
2718:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
2719:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval None
2720:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2721:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __weak void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc)
2722:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
734 .loc 1 2722 1 is_stmt 1 view -0
735 .cfi_startproc
736 @ args = 0, pretend = 0, frame = 0
737 @ frame_needed = 0, uses_anonymous_args = 0
738 @ link register save eliminated.
2723:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
2724:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** UNUSED(hadc);
739 .loc 1 2724 3 view .LVU204
2725:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2726:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* NOTE : This function should not be modified. When the callback is needed,
2727:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** function HAL_ADC_ConvCpltCallback must be implemented in the user file.
2728:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2729:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
740 .loc 1 2729 1 is_stmt 0 view .LVU205
741 0000 7047 bx lr
742 .cfi_endproc
743 .LFE349:
745 .section .text.HAL_ADC_ConvHalfCpltCallback,"ax",%progbits
746 .align 1
747 .weak HAL_ADC_ConvHalfCpltCallback
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 180
748 .syntax unified
749 .thumb
750 .thumb_func
752 HAL_ADC_ConvHalfCpltCallback:
753 .LVL48:
754 .LFB350:
2730:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2731:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
2732:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Conversion DMA half-transfer callback in non-blocking mode.
2733:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
2734:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval None
2735:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2736:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __weak void HAL_ADC_ConvHalfCpltCallback(ADC_HandleTypeDef *hadc)
2737:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
755 .loc 1 2737 1 is_stmt 1 view -0
756 .cfi_startproc
757 @ args = 0, pretend = 0, frame = 0
758 @ frame_needed = 0, uses_anonymous_args = 0
759 @ link register save eliminated.
2738:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
2739:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** UNUSED(hadc);
760 .loc 1 2739 3 view .LVU207
2740:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2741:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* NOTE : This function should not be modified. When the callback is needed,
2742:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** function HAL_ADC_ConvHalfCpltCallback must be implemented in the user file.
2743:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2744:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
761 .loc 1 2744 1 is_stmt 0 view .LVU208
762 0000 7047 bx lr
763 .cfi_endproc
764 .LFE350:
766 .section .text.ADC_DMAHalfConvCplt,"ax",%progbits
767 .align 1
768 .global ADC_DMAHalfConvCplt
769 .syntax unified
770 .thumb
771 .thumb_func
773 ADC_DMAHalfConvCplt:
774 .LVL49:
775 .LFB361:
2745:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2746:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
2747:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Analog watchdog 1 callback in non-blocking mode.
2748:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
2749:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval None
2750:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2751:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __weak void HAL_ADC_LevelOutOfWindowCallback(ADC_HandleTypeDef *hadc)
2752:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2753:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
2754:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** UNUSED(hadc);
2755:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2756:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* NOTE : This function should not be modified. When the callback is needed,
2757:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** function HAL_ADC_LevelOutOfWindowCallback must be implemented in the user file.
2758:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2759:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2760:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2761:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 181
2762:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief ADC error callback in non-blocking mode
2763:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * (ADC conversion with interruption or transfer by DMA).
2764:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note In case of error due to overrun when using ADC with DMA transfer
2765:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * (HAL ADC handle parameter "ErrorCode" to state "HAL_ADC_ERROR_OVR"):
2766:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * - Reinitialize the DMA using function "HAL_ADC_Stop_DMA()".
2767:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * - If needed, restart a new ADC conversion using function
2768:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * "HAL_ADC_Start_DMA()"
2769:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * (this function is also clearing overrun flag)
2770:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
2771:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval None
2772:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2773:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __weak void HAL_ADC_ErrorCallback(ADC_HandleTypeDef *hadc)
2774:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2775:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
2776:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** UNUSED(hadc);
2777:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2778:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* NOTE : This function should not be modified. When the callback is needed,
2779:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** function HAL_ADC_ErrorCallback must be implemented in the user file.
2780:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2781:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2782:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2783:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
2784:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @}
2785:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2786:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2787:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions_Group3 Peripheral Control functions
2788:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Peripheral Control functions
2789:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** *
2790:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** @verbatim
2791:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ===============================================================================
2792:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ##### Peripheral Control functions #####
2793:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ===============================================================================
2794:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..] This section provides functions allowing to:
2795:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Configure channels on regular group
2796:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Configure the analog watchdog
2797:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2798:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** @endverbatim
2799:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @{
2800:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
2801:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2802:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
2803:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Configure a channel to be assigned to ADC group regular.
2804:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note In case of usage of internal measurement channels:
2805:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * Vbat/VrefInt/TempSensor.
2806:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * These internal paths can be disabled using function
2807:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * HAL_ADC_DeInit().
2808:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Possibility to update parameters on the fly:
2809:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * This function initializes channel into ADC group regular,
2810:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * following calls to this function can be used to reconfigure
2811:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * some parameters of structure "ADC_ChannelConfTypeDef" on the fly,
2812:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * without resetting the ADC.
2813:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * The setting of these parameters is conditioned to ADC state:
2814:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * Refer to comments of structure "ADC_ChannelConfTypeDef".
2815:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
2816:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param sConfig Structure of ADC channel assigned to ADC group regular.
2817:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status
2818:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 182
2819:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef *hadc, ADC_ChannelConfTypeDef *sConfig)
2820:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
2822:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpOffsetShifted;
2823:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_config_internal_channel;
2824:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __IO uint32_t wait_loop_index = 0;
2825:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_regular;
2826:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_injected;
2827:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2828:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
2829:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
2830:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank));
2831:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_SAMPLE_TIME(sConfig->SamplingTime));
2832:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_SINGLE_DIFFERENTIAL(sConfig->SingleDiff));
2833:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_OFFSET_NUMBER(sConfig->OffsetNumber));
2834:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check offset range according to oversampling setting */
2835:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Init.OversamplingMode == ENABLE)
2836:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2837:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_RANGE(ADC_GET_RESOLUTION(hadc), sConfig->Offset / (hadc->Init.Oversampling.
2838:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2839:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2840:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2841:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
2842:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
2843:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2844:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC3_RANGE(ADC_GET_RESOLUTION(hadc), sConfig->Offset));
2845:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2846:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2847:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
2848:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2849:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_RANGE(ADC_GET_RESOLUTION(hadc), sConfig->Offset));
2850:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2851:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2852:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2853:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* if ROVSE is set, the value of the OFFSETy_EN bit in ADCx_OFRy register is
2854:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ignored (considered as reset) */
2855:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(!((sConfig->OffsetNumber != ADC_OFFSET_NONE) && (hadc->Init.OversamplingMode == ENAB
2856:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2857:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Verification of channel number */
2858:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (sConfig->SingleDiff != ADC_DIFFERENTIAL_ENDED)
2859:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2860:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_CHANNEL(sConfig->Channel));
2861:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2862:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2863:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2864:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC1)
2865:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2866:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC1_DIFF_CHANNEL(sConfig->Channel));
2867:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2868:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC2)
2869:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2870:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC2_DIFF_CHANNEL(sConfig->Channel));
2871:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2872:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC3)
2873:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ADC3 is not available on some STM32H7 products */
2874:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
2875:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 183
2876:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC3_DIFF_CHANNEL(sConfig->Channel));
2877:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2878:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
2879:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2880:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2881:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process locked */
2882:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_LOCK(hadc);
2883:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2884:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Parameters update conditioned to ADC state: */
2885:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Parameters that can be updated when ADC is disabled or enabled without */
2886:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* conversion on going on regular group: */
2887:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Channel number */
2888:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Channel rank */
2889:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_REG_IsConversionOngoing(hadc->Instance) == 0UL)
2890:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2891:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (!(__LL_ADC_IS_CHANNEL_INTERNAL(sConfig->Channel)))
2892:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2893:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
2894:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance != ADC3)
2895:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2896:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ADC channels preselection */
2897:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Instance->PCSEL_RES0 |= (1UL << (__LL_ADC_CHANNEL_TO_DECIMAL_NB((uint32_t)sConfig->Ch
2898:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2899:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
2900:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ADC channels preselection */
2901:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Instance->PCSEL |= (1UL << (__LL_ADC_CHANNEL_TO_DECIMAL_NB((uint32_t)sConfig->Channel)
2902:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
2903:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2904:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2905:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC group regular sequence: channel on the selected scan sequence rank */
2906:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_REG_SetSequencerRanks(hadc->Instance, sConfig->Rank, sConfig->Channel);
2907:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2908:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Parameters update conditioned to ADC state: */
2909:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Parameters that can be updated when ADC is disabled or enabled without */
2910:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* conversion on going on regular group: */
2911:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Channel sampling time */
2912:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Channel offset */
2913:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_regular = LL_ADC_REG_IsConversionOngoing(hadc->Instance);
2914:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_injected = LL_ADC_INJ_IsConversionOngoing(hadc->Instance);
2915:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((tmp_adc_is_conversion_on_going_regular == 0UL)
2916:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_is_conversion_on_going_injected == 0UL)
2917:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
2918:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2919:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set sampling time of the selected ADC channel */
2920:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetChannelSamplingTime(hadc->Instance, sConfig->Channel, sConfig->SamplingTime);
2921:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2922:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configure the offset: offset enable/disable, channel, offset value */
2923:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2924:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Shift the offset with respect to the selected ADC resolution. */
2925:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Offset has to be left-aligned on bit 11, the LSB (right bits) are set to 0 */
2926:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
2927:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
2928:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2929:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpOffsetShifted = ADC3_OFFSET_SHIFT_RESOLUTION(hadc, (uint32_t)sConfig->Offset);
2930:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2931:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2932:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 184
2933:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2934:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpOffsetShifted = ADC_OFFSET_SHIFT_RESOLUTION(hadc, (uint32_t)sConfig->Offset);
2935:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2936:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2937:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (sConfig->OffsetNumber != ADC_OFFSET_NONE)
2938:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2939:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC selected offset number */
2940:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetOffset(hadc->Instance, sConfig->OffsetNumber, sConfig->Channel, tmpOffsetShifted)
2941:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2942:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
2943:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
2944:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2945:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC3_OFFSET_SIGN(sConfig->OffsetSign));
2946:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(sConfig->OffsetSaturation));
2947:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC selected offset sign & saturation */
2948:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetOffsetSign(hadc->Instance, sConfig->OffsetNumber, sConfig->OffsetSign);
2949:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetOffsetSaturation(hadc->Instance, sConfig->OffsetNumber, (sConfig->OffsetSaturat
2950:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2951:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2952:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
2953:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2954:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(sConfig->OffsetSignedSaturation));
2955:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC selected offset signed saturation */
2956:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetOffsetSignedSaturation(hadc->Instance, sConfig->OffsetNumber, (sConfig->OffsetS
2957:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2958:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(sConfig->OffsetRightShift));
2959:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC selected offset right shift */
2960:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetDataRightShift(hadc->Instance, sConfig->OffsetNumber, (sConfig->OffsetRightShif
2961:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2962:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2963:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2964:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
2965:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2966:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Scan OFR1, OFR2, OFR3, OFR4 to check if the selected channel is enabled.
2967:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** If this is the case, offset OFRx is disabled since
2968:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->OffsetNumber = ADC_OFFSET_NONE. */
2969:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
2970:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
2971:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2972:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (__LL_ADC_CHANNEL_TO_DECIMAL_NB(LL_ADC_GetOffsetChannel(hadc->Instance, LL_ADC_OFFSET_
2973:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2974:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetOffsetState(hadc->Instance, LL_ADC_OFFSET_1, LL_ADC_OFFSET_DISABLE);
2975:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2976:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (__LL_ADC_CHANNEL_TO_DECIMAL_NB(LL_ADC_GetOffsetChannel(hadc->Instance, LL_ADC_OFFSET_
2977:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2978:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetOffsetState(hadc->Instance, LL_ADC_OFFSET_2, LL_ADC_OFFSET_DISABLE);
2979:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2980:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (__LL_ADC_CHANNEL_TO_DECIMAL_NB(LL_ADC_GetOffsetChannel(hadc->Instance, LL_ADC_OFFSET_
2981:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2982:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetOffsetState(hadc->Instance, LL_ADC_OFFSET_3, LL_ADC_OFFSET_DISABLE);
2983:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2984:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (__LL_ADC_CHANNEL_TO_DECIMAL_NB(LL_ADC_GetOffsetChannel(hadc->Instance, LL_ADC_OFFSET_
2985:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2986:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetOffsetState(hadc->Instance, LL_ADC_OFFSET_4, LL_ADC_OFFSET_DISABLE);
2987:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2988:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2989:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 185
2990:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
2991:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2992:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (((hadc->Instance->OFR1) & ADC_OFR1_OFFSET1_CH) == ADC_OFR_CHANNEL(sConfig->Channel))
2993:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2994:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->OFR1, ADC_OFR1_SSATE);
2995:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2996:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (((hadc->Instance->OFR2) & ADC_OFR2_OFFSET2_CH) == ADC_OFR_CHANNEL(sConfig->Channel))
2997:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2998:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->OFR2, ADC_OFR2_SSATE);
2999:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3000:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (((hadc->Instance->OFR3) & ADC_OFR3_OFFSET3_CH) == ADC_OFR_CHANNEL(sConfig->Channel))
3001:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3002:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->OFR3, ADC_OFR3_SSATE);
3003:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3004:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (((hadc->Instance->OFR4) & ADC_OFR4_OFFSET4_CH) == ADC_OFR_CHANNEL(sConfig->Channel))
3005:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3006:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->OFR4, ADC_OFR4_SSATE);
3007:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3008:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3009:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3010:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3011:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3012:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3013:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Parameters update conditioned to ADC state: */
3014:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Parameters that can be updated only when ADC is disabled: */
3015:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Single or differential mode */
3016:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Internal measurement channels: Vbat/VrefInt/TempSensor */
3017:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_IsEnabled(hadc->Instance) == 0UL)
3018:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3019:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set mode single-ended or differential input of the selected ADC channel */
3020:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetChannelSingleDiff(hadc->Instance, sConfig->Channel, sConfig->SingleDiff);
3021:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3022:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configuration of differential mode */
3023:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (sConfig->SingleDiff == ADC_DIFFERENTIAL_ENDED)
3024:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3025:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set sampling time of the selected ADC channel */
3026:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: ADC channel number masked with value "0x1F" to ensure shift value within 32 bits r
3027:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetChannelSamplingTime(hadc->Instance,
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (uint32_t)(__LL_ADC_DECIMAL_NB_TO_CHANNEL((__LL_ADC_CHANNEL_T
3029:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
3030:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3031:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3032:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Management of internal measurement channels: Vbat/VrefInt/TempSensor. */
3033:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If internal channel selected, enable dedicated internal buffers and */
3034:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* paths. */
3035:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: these internal measurement paths can be disabled using */
3036:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* HAL_ADC_DeInit(). */
3037:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3038:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (__LL_ADC_IS_CHANNEL_INTERNAL(sConfig->Channel))
3039:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3040:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configuration of common ADC parameters */
3041:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3042:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_config_internal_channel = LL_ADC_GetCommonPathInternalCh(__LL_ADC_COMMON_INSTANCE(hadc-
3043:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3044:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Software is allowed to change common parameters only when all ADCs */
3045:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* of the common group are disabled. */
3046:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (__LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE(__LL_ADC_COMMON_INSTANCE(hadc->Instance)) == 0U
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 186
3047:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3048:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If the requested internal measurement path has already been enabled, */
3049:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* bypass the configuration processing. */
3050:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((sConfig->Channel == ADC_CHANNEL_TEMPSENSOR) && ((tmp_config_internal_channel & LL_AD
3051:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3052:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (ADC_TEMPERATURE_SENSOR_INSTANCE(hadc))
3053:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3054:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetCommonPathInternalCh(__LL_ADC_COMMON_INSTANCE(hadc->Instance), LL_ADC_PATH_
3055:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3056:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Delay for temperature sensor stabilization time */
3057:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Wait loop initialization and execution */
3058:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: Variable divided by 2 to compensate partially */
3059:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* CPU processing cycles, scaling in us split to not */
3060:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* exceed 32 bits register capacity and handle low frequency. */
3061:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** wait_loop_index = ((LL_ADC_DELAY_TEMPSENSOR_STAB_US / 10UL) * ((SystemCoreClock / (10
3062:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while (wait_loop_index != 0UL)
3063:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3064:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** wait_loop_index--;
3065:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3066:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3067:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3068:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else if ((sConfig->Channel == ADC_CHANNEL_VBAT) && ((tmp_config_internal_channel & LL_ADC
3069:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3070:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (ADC_BATTERY_VOLTAGE_INSTANCE(hadc))
3071:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3072:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetCommonPathInternalCh(__LL_ADC_COMMON_INSTANCE(hadc->Instance), LL_ADC_PATH_
3073:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3074:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3075:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else if ((sConfig->Channel == ADC_CHANNEL_VREFINT) && ((tmp_config_internal_channel & LL_
3076:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3077:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (ADC_VREFINT_INSTANCE(hadc))
3078:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3079:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetCommonPathInternalCh(__LL_ADC_COMMON_INSTANCE(hadc->Instance), LL_ADC_PATH_
3080:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3081:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3082:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3083:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3084:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* nothing to do */
3085:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3086:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3087:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If the requested internal measurement path has already been */
3088:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* enabled and other ADC of the common group are enabled, internal */
3089:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* measurement paths cannot be enabled. */
3090:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3091:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3092:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to error */
3093:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
3094:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3095:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = HAL_ERROR;
3096:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3097:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3098:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3099:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3100:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3101:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If a conversion is on going on regular group, no update on regular */
3102:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* channel could be done on neither of the channel configuration structure */
3103:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* parameters. */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 187
3104:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3105:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3106:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to error */
3107:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
3108:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3109:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = HAL_ERROR;
3110:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3111:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3112:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
3113:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
3114:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3115:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return function status */
3116:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return tmp_hal_status;
3117:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3118:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3119:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
3120:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Configure the analog watchdog.
3121:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Possibility to update parameters on the fly:
3122:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * This function initializes the selected analog watchdog, successive
3123:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * calls to this function can be used to reconfigure some parameters
3124:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * of structure "ADC_AnalogWDGConfTypeDef" on the fly, without resetting
3125:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * the ADC.
3126:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * The setting of these parameters is conditioned to ADC state.
3127:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * For parameters constraints, see comments of structure
3128:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * "ADC_AnalogWDGConfTypeDef".
3129:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note On this STM32 series, analog watchdog thresholds cannot be modified
3130:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * while ADC conversion is on going.
3131:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
3132:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param AnalogWDGConfig Structure of ADC analog watchdog configuration
3133:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status
3134:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3135:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_AnalogWDGConfig(ADC_HandleTypeDef *hadc, ADC_AnalogWDGConfTypeDef *Analog
3136:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3137:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
3138:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpAWDHighThresholdShifted;
3139:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpAWDLowThresholdShifted;
3140:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_regular;
3141:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_injected;
3142:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3143:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
3144:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
3145:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ANALOG_WATCHDOG_NUMBER(AnalogWDGConfig->WatchdogNumber));
3146:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ANALOG_WATCHDOG_MODE(AnalogWDGConfig->WatchdogMode));
3147:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(AnalogWDGConfig->ITMode));
3148:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3149:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((AnalogWDGConfig->WatchdogMode == ADC_ANALOGWATCHDOG_SINGLE_REG) ||
3150:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (AnalogWDGConfig->WatchdogMode == ADC_ANALOGWATCHDOG_SINGLE_INJEC) ||
3151:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (AnalogWDGConfig->WatchdogMode == ADC_ANALOGWATCHDOG_SINGLE_REGINJEC))
3152:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3153:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_CHANNEL(AnalogWDGConfig->Channel));
3154:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3155:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3156:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
3157:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3158:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
3159:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3160:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Verify thresholds range */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 188
3161:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Init.OversamplingMode == ENABLE)
3162:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3163:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Case of oversampling enabled: thresholds are compared to oversampling
3164:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** intermediate computation (after ratio, before shift application) */
3165:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC3_RANGE(ADC_GET_RESOLUTION(hadc), AnalogWDGConfig->HighThreshold / (hadc->
3166:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC3_RANGE(ADC_GET_RESOLUTION(hadc), AnalogWDGConfig->LowThreshold / (hadc->I
3167:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3168:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3169:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3170:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Verify if thresholds are within the selected ADC resolution */
3171:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC3_RANGE(ADC_GET_RESOLUTION(hadc), AnalogWDGConfig->HighThreshold));
3172:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC3_RANGE(ADC_GET_RESOLUTION(hadc), AnalogWDGConfig->LowThreshold));
3173:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3174:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3175:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3176:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
3177:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3178:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Verify thresholds range */
3179:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Init.OversamplingMode == ENABLE)
3180:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3181:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Case of oversampling enabled: thresholds are compared to oversampling
3182:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** intermediate computation (after ratio, before shift application) */
3183:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_RANGE(ADC_GET_RESOLUTION(hadc), AnalogWDGConfig->HighThreshold / (hadc->I
3184:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_RANGE(ADC_GET_RESOLUTION(hadc), AnalogWDGConfig->LowThreshold / (hadc->In
3185:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3186:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3187:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3188:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Verify if thresholds are within the selected ADC resolution */
3189:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_RANGE(ADC_GET_RESOLUTION(hadc), AnalogWDGConfig->HighThreshold));
3190:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_RANGE(ADC_GET_RESOLUTION(hadc), AnalogWDGConfig->LowThreshold));
3191:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3192:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3193:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3194:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process locked */
3195:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_LOCK(hadc);
3196:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3197:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Parameters update conditioned to ADC state: */
3198:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Parameters that can be updated when ADC is disabled or enabled without */
3199:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* conversion on going on ADC groups regular and injected: */
3200:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Analog watchdog channels */
3201:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Analog watchdog thresholds */
3202:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_regular = LL_ADC_REG_IsConversionOngoing(hadc->Instance);
3203:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_injected = LL_ADC_INJ_IsConversionOngoing(hadc->Instance);
3204:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((tmp_adc_is_conversion_on_going_regular == 0UL)
3205:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_is_conversion_on_going_injected == 0UL)
3206:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
3207:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3208:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Analog watchdog configuration */
3209:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (AnalogWDGConfig->WatchdogNumber == ADC_ANALOGWATCHDOG_1)
3210:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3211:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configuration of analog watchdog: */
3212:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* - Set the analog watchdog enable mode: one or overall group of */
3213:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* channels, on groups regular and-or injected. */
3214:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (AnalogWDGConfig->WatchdogMode)
3215:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3216:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_ANALOGWATCHDOG_SINGLE_REG:
3217:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetAnalogWDMonitChannels(hadc->Instance, LL_ADC_AWD1, __LL_ADC_ANALOGWD_CHANNEL_GR
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 189
3218:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_GROUP_REGULAR));
3219:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3220:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3221:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_ANALOGWATCHDOG_SINGLE_INJEC:
3222:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetAnalogWDMonitChannels(hadc->Instance, LL_ADC_AWD1, __LL_ADC_ANALOGWD_CHANNEL_GR
3223:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_GROUP_INJECTED));
3224:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3225:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3226:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_ANALOGWATCHDOG_SINGLE_REGINJEC:
3227:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetAnalogWDMonitChannels(hadc->Instance, LL_ADC_AWD1, __LL_ADC_ANALOGWD_CHANNEL_GR
3228:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_GROUP_REGULAR_INJECTED));
3229:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3230:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3231:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_ANALOGWATCHDOG_ALL_REG:
3232:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetAnalogWDMonitChannels(hadc->Instance, LL_ADC_AWD1, LL_ADC_AWD_ALL_CHANNELS_REG)
3233:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3234:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3235:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_ANALOGWATCHDOG_ALL_INJEC:
3236:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetAnalogWDMonitChannels(hadc->Instance, LL_ADC_AWD1, LL_ADC_AWD_ALL_CHANNELS_INJ)
3237:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3238:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3239:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_ANALOGWATCHDOG_ALL_REGINJEC:
3240:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetAnalogWDMonitChannels(hadc->Instance, LL_ADC_AWD1, LL_ADC_AWD_ALL_CHANNELS_REG_
3241:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3242:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3243:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default: /* ADC_ANALOGWATCHDOG_NONE */
3244:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetAnalogWDMonitChannels(hadc->Instance, LL_ADC_AWD1, LL_ADC_AWD_DISABLE);
3245:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3246:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3247:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3248:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Shift the offset in function of the selected ADC resolution: */
3249:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Thresholds have to be left-aligned on bit 11, the LSB (right bits) */
3250:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* are set to 0 */
3251:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpAWDHighThresholdShifted = ADC_AWD1THRESHOLD_SHIFT_RESOLUTION(hadc, AnalogWDGConfig->HighTh
3252:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpAWDLowThresholdShifted = ADC_AWD1THRESHOLD_SHIFT_RESOLUTION(hadc, AnalogWDGConfig->LowThr
3253:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3254:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set the high and low thresholds */
3255:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
3256:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
3257:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3258:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->LTR1_TR1,
3259:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC3_TR1_AWDFILT,
3260:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** AnalogWDGConfig->FilteringConfig);
3261:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->LTR1_TR1, ADC3_TR1_LT1, tmpAWDLowThresholdShifted);
3262:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->LTR1_TR1, ADC3_TR1_HT1, (tmpAWDHighThresholdShifted << ADC3_TR1
3263:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3264:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3265:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3266:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3267:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->LTR1_TR1, ADC_LTR_LT, tmpAWDLowThresholdShifted);
3268:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->HTR1_TR2, ADC_HTR_HT, tmpAWDHighThresholdShifted);
3269:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3270:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
3271:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->LTR1, ADC_LTR_LT, tmpAWDLowThresholdShifted);
3272:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->HTR1, ADC_HTR_HT, tmpAWDHighThresholdShifted);
3273:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
3274:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 190
3275:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update state, clear previous result related to AWD1 */
3276:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_AWD1);
3277:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3278:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear flag ADC analog watchdog */
3279:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: Flag cleared Clear the ADC Analog watchdog flag to be ready */
3280:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* to use for HAL_ADC_IRQHandler() or HAL_ADC_PollForEvent() */
3281:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* (in case left enabled by previous ADC operations). */
3282:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_ClearFlag_AWD1(hadc->Instance);
3283:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3284:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configure ADC analog watchdog interrupt */
3285:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (AnalogWDGConfig->ITMode == ENABLE)
3286:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3287:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_EnableIT_AWD1(hadc->Instance);
3288:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3289:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3290:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3291:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_DisableIT_AWD1(hadc->Instance);
3292:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3293:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3294:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Case of ADC_ANALOGWATCHDOG_2 or ADC_ANALOGWATCHDOG_3 */
3295:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3296:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3297:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (AnalogWDGConfig->WatchdogMode)
3298:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3299:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_ANALOGWATCHDOG_SINGLE_REG:
3300:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_ANALOGWATCHDOG_SINGLE_INJEC:
3301:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_ANALOGWATCHDOG_SINGLE_REGINJEC:
3302:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update AWD by bitfield to keep the possibility to monitor */
3303:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* several channels by successive calls of this function. */
3304:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (AnalogWDGConfig->WatchdogNumber == ADC_ANALOGWATCHDOG_2)
3305:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3306:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->Instance->AWD2CR, (1UL << (__LL_ADC_CHANNEL_TO_DECIMAL_NB(AnalogWDGConfig
3307:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3308:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3309:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3310:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->Instance->AWD3CR, (1UL << (__LL_ADC_CHANNEL_TO_DECIMAL_NB(AnalogWDGConfig
3311:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3312:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3313:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3314:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_ANALOGWATCHDOG_ALL_REG:
3315:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_ANALOGWATCHDOG_ALL_INJEC:
3316:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_ANALOGWATCHDOG_ALL_REGINJEC:
3317:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3318:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
3319:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
3320:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3321:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3322:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetAnalogWDMonitChannels(hadc->Instance, AnalogWDGConfig->WatchdogNumber, LL_ADC
3323:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3324:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3325:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3326:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3327:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /*ADC_VER_V5_V90*/
3328:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update AWD by bitfield to keep the possibility to monitor */
3329:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* several channels by successive calls of this function. */
3330:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (AnalogWDGConfig->WatchdogNumber == ADC_ANALOGWATCHDOG_2)
3331:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 191
3332:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->Instance->AWD2CR, (1UL << (__LL_ADC_CHANNEL_TO_DECIMAL_NB(AnalogWDGConf
3333:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3334:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3335:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3336:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->Instance->AWD3CR, (1UL << (__LL_ADC_CHANNEL_TO_DECIMAL_NB(AnalogWDGConf
3337:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3338:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
3339:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3340:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /*ADC_VER_V5_V90*/
3341:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3342:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3343:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default: /* ADC_ANALOGWATCHDOG_NONE */
3344:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_SetAnalogWDMonitChannels(hadc->Instance, AnalogWDGConfig->WatchdogNumber, LL_ADC_A
3345:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3346:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3347:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3348:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Shift the thresholds in function of the selected ADC resolution */
3349:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* have to be left-aligned on bit 15, the LSB (right bits) are set to 0 */
3350:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpAWDHighThresholdShifted = ADC_AWD23THRESHOLD_SHIFT_RESOLUTION(hadc, AnalogWDGConfig->HighT
3351:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpAWDLowThresholdShifted = ADC_AWD23THRESHOLD_SHIFT_RESOLUTION(hadc, AnalogWDGConfig->LowTh
3352:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3353:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
3354:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (hadc->Instance == ADC3)
3355:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3356:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3357:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Analog watchdog thresholds configuration */
3358:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (AnalogWDGConfig->WatchdogNumber != ADC_ANALOGWATCHDOG_1)
3359:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3360:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Shift the offset with respect to the selected ADC resolution: */
3361:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Thresholds have to be left-aligned on bit 7, the LSB (right bits) */
3362:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* are set to 0. */
3363:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpAWDHighThresholdShifted = ADC_AWD23THRESHOLD_SHIFT_RESOLUTION(hadc, AnalogWDGConfig->H
3364:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpAWDLowThresholdShifted = ADC_AWD23THRESHOLD_SHIFT_RESOLUTION(hadc, AnalogWDGConfig->L
3365:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3366:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3367:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC analog watchdog thresholds value of both thresholds high and low */
3368:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_ConfigAnalogWDThresholds(hadc->Instance, AnalogWDGConfig->WatchdogNumber, tmpAWDHigh
3369:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3370:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3371:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3372:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3373:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3374:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3375:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (AnalogWDGConfig->WatchdogNumber == ADC_ANALOGWATCHDOG_2)
3376:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3377:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC analog watchdog thresholds value of both thresholds high and low */
3378:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->LTR2_DIFSEL, ADC_LTR_LT, tmpAWDLowThresholdShifted);
3379:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->HTR2_CALFACT, ADC_HTR_HT, tmpAWDHighThresholdShifted);
3380:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3381:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3382:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3383:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC analog watchdog thresholds value of both thresholds high and low */
3384:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->LTR3_RES10, ADC_LTR_LT, tmpAWDLowThresholdShifted);
3385:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->HTR3_RES11, ADC_HTR_HT, tmpAWDHighThresholdShifted);
3386:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3387:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3388:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 192
3389:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (AnalogWDGConfig->WatchdogNumber == ADC_ANALOGWATCHDOG_2)
3390:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3391:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC analog watchdog thresholds value of both thresholds high and low */
3392:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->LTR2, ADC_LTR_LT, tmpAWDLowThresholdShifted);
3393:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->HTR2, ADC_HTR_HT, tmpAWDHighThresholdShifted);
3394:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3395:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3396:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3397:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC analog watchdog thresholds value of both thresholds high and low */
3398:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->LTR3, ADC_LTR_LT, tmpAWDLowThresholdShifted);
3399:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->HTR3, ADC_HTR_HT, tmpAWDHighThresholdShifted);
3400:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3401:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3402:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
3403:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (AnalogWDGConfig->WatchdogNumber == ADC_ANALOGWATCHDOG_2)
3404:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3405:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update state, clear previous result related to AWD2 */
3406:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_AWD2);
3407:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3408:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear flag ADC analog watchdog */
3409:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: Flag cleared Clear the ADC Analog watchdog flag to be ready */
3410:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* to use for HAL_ADC_IRQHandler() or HAL_ADC_PollForEvent() */
3411:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* (in case left enabled by previous ADC operations). */
3412:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_ClearFlag_AWD2(hadc->Instance);
3413:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3414:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configure ADC analog watchdog interrupt */
3415:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (AnalogWDGConfig->ITMode == ENABLE)
3416:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3417:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_EnableIT_AWD2(hadc->Instance);
3418:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3419:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3420:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3421:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_DisableIT_AWD2(hadc->Instance);
3422:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3423:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3424:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* (AnalogWDGConfig->WatchdogNumber == ADC_ANALOGWATCHDOG_3) */
3425:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3426:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3427:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update state, clear previous result related to AWD3 */
3428:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_AWD3);
3429:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3430:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear flag ADC analog watchdog */
3431:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: Flag cleared Clear the ADC Analog watchdog flag to be ready */
3432:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* to use for HAL_ADC_IRQHandler() or HAL_ADC_PollForEvent() */
3433:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* (in case left enabled by previous ADC operations). */
3434:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_ClearFlag_AWD3(hadc->Instance);
3435:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3436:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Configure ADC analog watchdog interrupt */
3437:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (AnalogWDGConfig->ITMode == ENABLE)
3438:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3439:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_EnableIT_AWD3(hadc->Instance);
3440:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3441:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3442:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3443:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_DisableIT_AWD3(hadc->Instance);
3444:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3445:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 193
3446:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3447:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3448:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3449:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If a conversion is on going on ADC group regular or injected, no update */
3450:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* could be done on neither of the AWD configuration structure parameters. */
3451:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3452:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3453:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to error */
3454:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
3455:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3456:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_hal_status = HAL_ERROR;
3457:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3458:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
3459:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_UNLOCK(hadc);
3460:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3461:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return function status */
3462:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return tmp_hal_status;
3463:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3464:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3465:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3466:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
3467:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @}
3468:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3469:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3470:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions_Group4 Peripheral State functions
3471:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief ADC Peripheral State functions
3472:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** *
3473:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** @verbatim
3474:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ===============================================================================
3475:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ##### Peripheral state and errors functions #####
3476:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ===============================================================================
3477:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** [..]
3478:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** This subsection provides functions to get in run-time the status of the
3479:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** peripheral.
3480:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Check the ADC state
3481:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (+) Check the ADC error code
3482:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3483:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** @endverbatim
3484:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @{
3485:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3486:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3487:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
3488:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Return the ADC handle state.
3489:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note ADC state machine is managed by bitfields, ADC status must be
3490:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * compared with states bits.
3491:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * For example:
3492:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * " if ((HAL_ADC_GetState(hadc1) & HAL_ADC_STATE_REG_BUSY) != 0UL) "
3493:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * " if ((HAL_ADC_GetState(hadc1) & HAL_ADC_STATE_AWD1) != 0UL) "
3494:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
3495:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval ADC handle state (bitfield on 32 bits)
3496:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3497:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t HAL_ADC_GetState(ADC_HandleTypeDef *hadc)
3498:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3499:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
3500:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
3501:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3502:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return ADC handle state */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 194
3503:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return hadc->State;
3504:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3505:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3506:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
3507:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Return the ADC error code.
3508:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
3509:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval ADC error code (bitfield on 32 bits)
3510:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3511:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t HAL_ADC_GetError(ADC_HandleTypeDef *hadc)
3512:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3513:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
3514:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
3515:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3516:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return hadc->ErrorCode;
3517:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3518:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3519:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
3520:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @}
3521:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3522:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3523:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
3524:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @}
3525:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3526:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3527:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /** @defgroup ADC_Private_Functions ADC Private Functions
3528:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @{
3529:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3530:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3531:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
3532:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Stop ADC conversion.
3533:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
3534:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param ConversionGroup ADC group regular and/or injected.
3535:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * This parameter can be one of the following values:
3536:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref ADC_REGULAR_GROUP ADC regular conversion type.
3537:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref ADC_INJECTED_GROUP ADC injected conversion type.
3538:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @arg @ref ADC_REGULAR_INJECTED_GROUP ADC regular and injected conversion type.
3539:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status.
3540:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3541:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef ADC_ConversionStop(ADC_HandleTypeDef *hadc, uint32_t ConversionGroup)
3542:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3543:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tickstart;
3544:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t Conversion_Timeout_CPU_cycles = 0UL;
3545:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t conversion_group_reassigned = ConversionGroup;
3546:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_ADC_CR_ADSTART_JADSTART;
3547:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_regular;
3548:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_injected;
3549:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3550:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
3551:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
3552:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_CONVERSION_GROUP(ConversionGroup));
3553:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3554:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Verification if ADC is not already stopped (on regular and injected */
3555:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* groups) to bypass this function if not needed. */
3556:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_regular = LL_ADC_REG_IsConversionOngoing(hadc->Instance);
3557:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_injected = LL_ADC_INJ_IsConversionOngoing(hadc->Instance);
3558:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((tmp_adc_is_conversion_on_going_regular != 0UL)
3559:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_adc_is_conversion_on_going_injected != 0UL)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 195
3560:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
3561:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3562:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Particular case of continuous auto-injection mode combined with */
3563:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* auto-delay mode. */
3564:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* In auto-injection mode, regular group stop ADC_CR_ADSTP is used (not */
3565:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* injected group stop ADC_CR_JADSTP). */
3566:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Procedure to be followed: Wait until JEOS=1, clear JEOS, set ADSTP=1 */
3567:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* (see reference manual). */
3568:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (((hadc->Instance->CFGR & ADC_CFGR_JAUTO) != 0UL)
3569:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (hadc->Init.ContinuousConvMode == ENABLE)
3570:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (hadc->Init.LowPowerAutoWait == ENABLE)
3571:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
3572:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3573:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Use stop of regular group */
3574:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** conversion_group_reassigned = ADC_REGULAR_GROUP;
3575:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3576:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Wait until JEOS=1 (maximum Timeout: 4 injected conversions) */
3577:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while (__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_JEOS) == 0UL)
3578:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3579:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (Conversion_Timeout_CPU_cycles >= (ADC_CONVERSION_TIME_MAX_CPU_CYCLES * 4UL))
3580:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3581:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to error */
3582:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL);
3583:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3584:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to ADC peripheral internal error */
3585:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL);
3586:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3587:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_ERROR;
3588:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3589:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Conversion_Timeout_CPU_cycles ++;
3590:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3591:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3592:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Clear JEOS */
3593:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JEOS);
3594:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3595:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3596:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Stop potential conversion on going on ADC group regular */
3597:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (conversion_group_reassigned != ADC_INJECTED_GROUP)
3598:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3599:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Software is allowed to set ADSTP only when ADSTART=1 and ADDIS=0 */
3600:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_REG_IsConversionOngoing(hadc->Instance) != 0UL)
3601:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3602:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_IsDisableOngoing(hadc->Instance) == 0UL)
3603:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3604:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Stop ADC group regular conversion */
3605:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_REG_StopConversion(hadc->Instance);
3606:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3607:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3608:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3609:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3610:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Stop potential conversion on going on ADC group injected */
3611:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (conversion_group_reassigned != ADC_REGULAR_GROUP)
3612:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3613:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Software is allowed to set JADSTP only when JADSTART=1 and ADDIS=0 */
3614:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_INJ_IsConversionOngoing(hadc->Instance) != 0UL)
3615:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3616:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_IsDisableOngoing(hadc->Instance) == 0UL)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 196
3617:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3618:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Stop ADC group injected conversion */
3619:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_INJ_StopConversion(hadc->Instance);
3620:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3621:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3622:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3623:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3624:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Selection of start and stop bits with respect to the regular or injected group */
3625:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (conversion_group_reassigned)
3626:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3627:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_REGULAR_INJECTED_GROUP:
3628:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_ADC_CR_ADSTART_JADSTART = (ADC_CR_ADSTART | ADC_CR_JADSTART);
3629:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3630:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_INJECTED_GROUP:
3631:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_ADC_CR_ADSTART_JADSTART = ADC_CR_JADSTART;
3632:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3633:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Case ADC_REGULAR_GROUP only*/
3634:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default:
3635:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_ADC_CR_ADSTART_JADSTART = ADC_CR_ADSTART;
3636:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3637:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3638:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3639:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Wait for conversion effectively stopped */
3640:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tickstart = HAL_GetTick();
3641:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3642:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while ((hadc->Instance->CR & tmp_ADC_CR_ADSTART_JADSTART) != 0UL)
3643:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3644:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((HAL_GetTick() - tickstart) > ADC_STOP_CONVERSION_TIMEOUT)
3645:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3646:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* New check to avoid false timeout detection in case of preemption */
3647:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if((hadc->Instance->CR & tmp_ADC_CR_ADSTART_JADSTART) != 0UL)
3648:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3649:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to error */
3650:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL);
3651:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3652:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to ADC peripheral internal error */
3653:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL);
3654:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3655:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_ERROR;
3656:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3657:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3658:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3659:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3660:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3661:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3662:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return HAL status */
3663:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_OK;
3664:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3665:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3666:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3667:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3668:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
3669:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Enable the selected ADC.
3670:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Prerequisite condition to use this function: ADC must be disabled
3671:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * and voltage regulator must be enabled (done into HAL_ADC_Init()).
3672:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
3673:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status.
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 197
3674:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3675:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef ADC_Enable(ADC_HandleTypeDef *hadc)
3676:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3677:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tickstart;
3678:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3679:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* ADC enable and wait for ADC ready (in case of ADC is disabled or */
3680:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* enabling phase not yet completed: flag ADC ready not yet set). */
3681:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Timeout implemented to not be stuck if ADC cannot be enabled (possible */
3682:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* causes: ADC clock not running, ...). */
3683:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_IsEnabled(hadc->Instance) == 0UL)
3684:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3685:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check if conditions to enable the ADC are fulfilled */
3686:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->Instance->CR & (ADC_CR_ADCAL | ADC_CR_JADSTP | ADC_CR_ADSTP | ADC_CR_JADSTART | ADC_
3687:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3688:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to error */
3689:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL);
3690:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3691:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to ADC peripheral internal error */
3692:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL);
3693:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3694:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_ERROR;
3695:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3696:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3697:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Enable the ADC peripheral */
3698:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_Enable(hadc->Instance);
3699:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3700:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Wait for ADC effectively enabled */
3701:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tickstart = HAL_GetTick();
3702:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3703:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Poll for ADC ready flag raised except case of multimode enabled
3704:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** and ADC slave selected. */
3705:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_multimode_config = LL_ADC_GetMultimode(__LL_ADC_COMMON_INSTANCE(hadc->Instance));
3706:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((__LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance) == hadc->Instance)
3707:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
3708:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
3709:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3710:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while (__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_RDY) == 0UL)
3711:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3712:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* If ADEN bit is set less than 4 ADC clock cycles after the ADCAL bit
3713:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** has been cleared (after a calibration), ADEN bit is reset by the
3714:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** calibration logic.
3715:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** The workaround is to continue setting ADEN until ADRDY is becomes 1.
3716:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** Additionally, ADC_ENABLE_TIMEOUT is defined to encompass this
3717:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** 4 ADC clock cycle duration */
3718:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: Test of ADC enabled required due to hardware constraint to */
3719:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* not enable ADC if already enabled. */
3720:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_IsEnabled(hadc->Instance) == 0UL)
3721:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3722:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_Enable(hadc->Instance);
3723:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3724:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3725:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((HAL_GetTick() - tickstart) > ADC_ENABLE_TIMEOUT)
3726:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3727:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* New check to avoid false timeout detection in case of preemption */
3728:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_RDY) == 0UL)
3729:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3730:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to error */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 198
3731:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL);
3732:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3733:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to ADC peripheral internal error */
3734:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL);
3735:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3736:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_ERROR;
3737:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3738:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3739:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3740:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3741:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3742:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3743:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return HAL status */
3744:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_OK;
3745:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3746:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3747:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
3748:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Disable the selected ADC.
3749:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Prerequisite condition to use this function: ADC conversions must be
3750:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * stopped.
3751:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
3752:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval HAL status.
3753:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3754:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef ADC_Disable(ADC_HandleTypeDef *hadc)
3755:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3756:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tickstart;
3757:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** const uint32_t tmp_adc_is_disable_on_going = LL_ADC_IsDisableOngoing(hadc->Instance);
3758:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3759:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Verification if ADC is not already disabled: */
3760:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Note: forbidden to disable ADC (set bit ADC_CR_ADDIS) if ADC is already */
3761:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* disabled. */
3762:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((LL_ADC_IsEnabled(hadc->Instance) != 0UL)
3763:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_is_disable_on_going == 0UL)
3764:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
3765:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3766:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check if conditions to disable the ADC are fulfilled */
3767:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->Instance->CR & (ADC_CR_JADSTART | ADC_CR_ADSTART | ADC_CR_ADEN)) == ADC_CR_ADEN)
3768:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3769:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Disable the ADC peripheral */
3770:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_Disable(hadc->Instance);
3771:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, (ADC_FLAG_EOSMP | ADC_FLAG_RDY));
3772:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3773:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3774:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3775:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to error */
3776:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL);
3777:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3778:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to ADC peripheral internal error */
3779:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL);
3780:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3781:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_ERROR;
3782:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3783:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3784:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Wait for ADC effectively disabled */
3785:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Get tick count */
3786:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tickstart = HAL_GetTick();
3787:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 199
3788:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while ((hadc->Instance->CR & ADC_CR_ADEN) != 0UL)
3789:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3790:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((HAL_GetTick() - tickstart) > ADC_DISABLE_TIMEOUT)
3791:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3792:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* New check to avoid false timeout detection in case of preemption */
3793:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->Instance->CR & ADC_CR_ADEN) != 0UL)
3794:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3795:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update ADC state machine to error */
3796:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL);
3797:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3798:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to ADC peripheral internal error */
3799:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL);
3800:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3801:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_ERROR;
3802:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3803:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3804:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3805:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3806:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3807:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Return HAL status */
3808:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** return HAL_OK;
3809:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3810:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3811:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
3812:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief DMA transfer complete callback.
3813:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hdma pointer to DMA handle.
3814:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval None
3815:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3816:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** void ADC_DMAConvCplt(DMA_HandleTypeDef *hdma)
3817:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3818:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Retrieve ADC handle corresponding to current DMA handle */
3819:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_HandleTypeDef *hadc = (ADC_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
3820:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Update state machine on conversion status if not in error state */
3822:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & (HAL_ADC_STATE_ERROR_INTERNAL | HAL_ADC_STATE_ERROR_DMA)) == 0UL)
3823:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3824:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
3825:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOC);
3826:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3827:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Determine whether any further conversion upcoming on group regular */
3828:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* by external trigger, continuous mode or scan sequence on going */
3829:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* to disable interruption. */
3830:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Is it the end of the regular sequence ? */
3831:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->Instance->ISR & ADC_FLAG_EOS) != 0UL)
3832:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3833:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Are conversions software-triggered ? */
3834:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (LL_ADC_REG_IsTriggerSourceSWStart(hadc->Instance) != 0UL)
3835:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3836:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Is CONT bit set ? */
3837:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (READ_BIT(hadc->Instance->CFGR, ADC_CFGR_CONT) == 0UL)
3838:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3839:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* CONT bit is not set, no more conversions expected */
3840:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_REG_BUSY);
3841:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_INJ_BUSY) == 0UL)
3842:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3843:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
3844:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 200
3845:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3846:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3847:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3848:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3849:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3850:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* DMA End of Transfer interrupt was triggered but conversions sequence
3851:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** is not over. If DMACFG is set to 0, conversions are stopped. */
3852:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (READ_BIT(hadc->Instance->CFGR, ADC_CFGR_DMNGT) == 0UL)
3853:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3854:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* DMACFG bit is not set, conversions are stopped. */
3855:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_REG_BUSY);
3856:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_INJ_BUSY) == 0UL)
3857:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3858:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
3859:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3860:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3861:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3862:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3863:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Conversion complete callback */
3864:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
3865:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ConvCpltCallback(hadc);
3866:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
3867:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_ConvCpltCallback(hadc);
3868:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
3869:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3870:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else /* DMA and-or internal error occurred */
3871:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3872:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_ERROR_INTERNAL) != 0UL)
3873:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3874:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Call HAL ADC Error Callback function */
3875:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
3876:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ErrorCallback(hadc);
3877:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
3878:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_ErrorCallback(hadc);
3879:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
3880:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3881:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3882:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3883:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Call ADC DMA error callback */
3884:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->DMA_Handle->XferErrorCallback(hdma);
3885:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3886:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3887:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3888:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3889:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
3890:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief DMA half transfer complete callback.
3891:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hdma pointer to DMA handle.
3892:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval None
3893:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3894:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** void ADC_DMAHalfConvCplt(DMA_HandleTypeDef *hdma)
3895:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
776 .loc 1 3895 1 is_stmt 1 view -0
777 .cfi_startproc
778 @ args = 0, pretend = 0, frame = 0
779 @ frame_needed = 0, uses_anonymous_args = 0
780 .loc 1 3895 1 is_stmt 0 view .LVU210
781 0000 08B5 push {r3, lr}
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 201
782 .cfi_def_cfa_offset 8
783 .cfi_offset 3, -8
784 .cfi_offset 14, -4
3896:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Retrieve ADC handle corresponding to current DMA handle */
3897:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_HandleTypeDef *hadc = (ADC_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
785 .loc 1 3897 3 is_stmt 1 view .LVU211
786 .LVL50:
3898:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3899:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Half conversion callback */
3900:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
3901:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ConvHalfCpltCallback(hadc);
3902:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
3903:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_ConvHalfCpltCallback(hadc);
787 .loc 1 3903 3 view .LVU212
788 0002 806B ldr r0, [r0, #56]
789 .LVL51:
790 .loc 1 3903 3 is_stmt 0 view .LVU213
791 0004 FFF7FEFF bl HAL_ADC_ConvHalfCpltCallback
792 .LVL52:
3904:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
3905:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
793 .loc 1 3905 1 view .LVU214
794 0008 08BD pop {r3, pc}
795 .cfi_endproc
796 .LFE361:
798 .section .text.HAL_ADC_LevelOutOfWindowCallback,"ax",%progbits
799 .align 1
800 .weak HAL_ADC_LevelOutOfWindowCallback
801 .syntax unified
802 .thumb
803 .thumb_func
805 HAL_ADC_LevelOutOfWindowCallback:
806 .LVL53:
807 .LFB351:
2752:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
808 .loc 1 2752 1 is_stmt 1 view -0
809 .cfi_startproc
810 @ args = 0, pretend = 0, frame = 0
811 @ frame_needed = 0, uses_anonymous_args = 0
812 @ link register save eliminated.
2754:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
813 .loc 1 2754 3 view .LVU216
2759:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
814 .loc 1 2759 1 is_stmt 0 view .LVU217
815 0000 7047 bx lr
816 .cfi_endproc
817 .LFE351:
819 .section .text.HAL_ADC_ErrorCallback,"ax",%progbits
820 .align 1
821 .weak HAL_ADC_ErrorCallback
822 .syntax unified
823 .thumb
824 .thumb_func
826 HAL_ADC_ErrorCallback:
827 .LVL54:
828 .LFB352:
2774:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 202
829 .loc 1 2774 1 is_stmt 1 view -0
830 .cfi_startproc
831 @ args = 0, pretend = 0, frame = 0
832 @ frame_needed = 0, uses_anonymous_args = 0
833 @ link register save eliminated.
2776:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
834 .loc 1 2776 3 view .LVU219
2781:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
835 .loc 1 2781 1 is_stmt 0 view .LVU220
836 0000 7047 bx lr
837 .cfi_endproc
838 .LFE352:
840 .section .text.HAL_ADC_IRQHandler,"ax",%progbits
841 .align 1
842 .global HAL_ADC_IRQHandler
843 .syntax unified
844 .thumb
845 .thumb_func
847 HAL_ADC_IRQHandler:
848 .LVL55:
849 .LFB348:
2362:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t overrun_error = 0UL; /* flag set if overrun occurrence has to be considered as an error
850 .loc 1 2362 1 is_stmt 1 view -0
851 .cfi_startproc
852 @ args = 0, pretend = 0, frame = 0
853 @ frame_needed = 0, uses_anonymous_args = 0
2362:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t overrun_error = 0UL; /* flag set if overrun occurrence has to be considered as an error
854 .loc 1 2362 1 is_stmt 0 view .LVU222
855 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
856 .cfi_def_cfa_offset 24
857 .cfi_offset 3, -24
858 .cfi_offset 4, -20
859 .cfi_offset 5, -16
860 .cfi_offset 6, -12
861 .cfi_offset 7, -8
862 .cfi_offset 14, -4
863 0002 0446 mov r4, r0
2363:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_isr = hadc->Instance->ISR;
864 .loc 1 2363 3 is_stmt 1 view .LVU223
865 .LVL56:
2364:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_ier = hadc->Instance->IER;
866 .loc 1 2364 3 view .LVU224
2364:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_ier = hadc->Instance->IER;
867 .loc 1 2364 26 is_stmt 0 view .LVU225
868 0004 0368 ldr r3, [r0]
2364:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_ier = hadc->Instance->IER;
869 .loc 1 2364 12 view .LVU226
870 0006 1F68 ldr r7, [r3]
871 .LVL57:
2365:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_inj_is_trigger_source_sw_start;
872 .loc 1 2365 3 is_stmt 1 view .LVU227
2365:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_inj_is_trigger_source_sw_start;
873 .loc 1 2365 12 is_stmt 0 view .LVU228
874 0008 5D68 ldr r5, [r3, #4]
875 .LVL58:
2366:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_reg_is_trigger_source_sw_start;
876 .loc 1 2366 3 is_stmt 1 view .LVU229
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 203
2367:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_cfgr;
877 .loc 1 2367 3 view .LVU230
2368:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** const ADC_TypeDef *tmpADC_Master;
878 .loc 1 2368 3 view .LVU231
2369:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_multimode_config = LL_ADC_GetMultimode(__LL_ADC_COMMON_INSTANCE(hadc->Instance));
879 .loc 1 2369 3 view .LVU232
2370:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
880 .loc 1 2370 3 view .LVU233
881 .LBB272:
882 .LBI272:
6601:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
883 .loc 2 6601 26 view .LVU234
884 .LBB273:
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
885 .loc 2 6603 3 view .LVU235
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
886 .loc 2 6603 21 is_stmt 0 view .LVU236
887 000a 9A4B ldr r3, .L108
888 000c 9E68 ldr r6, [r3, #8]
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
889 .loc 2 6603 10 view .LVU237
890 000e 06F01F06 and r6, r6, #31
891 .LVL59:
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
892 .loc 2 6603 10 view .LVU238
893 .LBE273:
894 .LBE272:
2373:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_EOC_SELECTION(hadc->Init.EOCSelection));
895 .loc 1 2373 3 is_stmt 1 view .LVU239
2374:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
896 .loc 1 2374 3 view .LVU240
2377:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
897 .loc 1 2377 3 view .LVU241
2377:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
898 .loc 1 2377 6 is_stmt 0 view .LVU242
899 0012 17F0020F tst r7, #2
900 0016 10D0 beq .L62
2377:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
901 .loc 1 2377 54 discriminator 1 view .LVU243
902 0018 15F0020F tst r5, #2
903 001c 0DD0 beq .L62
2380:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
904 .loc 1 2380 5 is_stmt 1 view .LVU244
2380:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
905 .loc 1 2380 14 is_stmt 0 view .LVU245
906 001e 436D ldr r3, [r0, #84]
2380:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
907 .loc 1 2380 8 view .LVU246
908 0020 13F0100F tst r3, #16
909 0024 03D1 bne .L63
2383:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
910 .loc 1 2383 7 is_stmt 1 view .LVU247
911 0026 436D ldr r3, [r0, #84]
912 0028 43F40063 orr r3, r3, #2048
913 002c 4365 str r3, [r0, #84]
914 .L63:
2390:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 204
915 .loc 1 2390 5 view .LVU248
916 002e 2046 mov r0, r4
917 .LVL60:
2390:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
918 .loc 1 2390 5 is_stmt 0 view .LVU249
919 0030 FFF7FEFF bl HAL_ADCEx_EndOfSamplingCallback
920 .LVL61:
2394:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
921 .loc 1 2394 5 is_stmt 1 view .LVU250
922 0034 2368 ldr r3, [r4]
923 0036 0222 movs r2, #2
924 0038 1A60 str r2, [r3]
925 .L62:
2398:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (((tmp_isr & ADC_FLAG_EOS) == ADC_FLAG_EOS) && ((tmp_ier & ADC_IT_EOS) == ADC_IT_EOS)))
926 .loc 1 2398 3 view .LVU251
2398:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (((tmp_isr & ADC_FLAG_EOS) == ADC_FLAG_EOS) && ((tmp_ier & ADC_IT_EOS) == ADC_IT_EOS)))
927 .loc 1 2398 6 is_stmt 0 view .LVU252
928 003a 17F0040F tst r7, #4
929 003e 02D0 beq .L64
2398:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (((tmp_isr & ADC_FLAG_EOS) == ADC_FLAG_EOS) && ((tmp_ier & ADC_IT_EOS) == ADC_IT_EOS)))
930 .loc 1 2398 51 discriminator 1 view .LVU253
931 0040 15F0040F tst r5, #4
932 0044 05D1 bne .L65
933 .L64:
2398:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (((tmp_isr & ADC_FLAG_EOS) == ADC_FLAG_EOS) && ((tmp_ier & ADC_IT_EOS) == ADC_IT_EOS)))
934 .loc 1 2398 94 discriminator 3 view .LVU254
935 0046 17F0080F tst r7, #8
936 004a 4DD0 beq .L66
2399:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
937 .loc 1 2399 51 view .LVU255
938 004c 15F0080F tst r5, #8
939 0050 4AD0 beq .L66
940 .L65:
2402:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
941 .loc 1 2402 5 is_stmt 1 view .LVU256
2402:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
942 .loc 1 2402 14 is_stmt 0 view .LVU257
943 0052 636D ldr r3, [r4, #84]
2402:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
944 .loc 1 2402 8 view .LVU258
945 0054 13F0100F tst r3, #16
946 0058 03D1 bne .L67
2405:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
947 .loc 1 2405 7 is_stmt 1 view .LVU259
948 005a 636D ldr r3, [r4, #84]
949 005c 43F40073 orr r3, r3, #512
950 0060 6365 str r3, [r4, #84]
951 .L67:
2411:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
952 .loc 1 2411 5 view .LVU260
2411:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
953 .loc 1 2411 9 is_stmt 0 view .LVU261
954 0062 2368 ldr r3, [r4]
955 .LVL62:
956 .LBB274:
957 .LBI274:
3928:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 205
958 .loc 2 3928 26 is_stmt 1 view .LVU262
959 .LBB275:
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
960 .loc 2 3930 3 view .LVU263
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
961 .loc 2 3930 12 is_stmt 0 view .LVU264
962 0064 DA68 ldr r2, [r3, #12]
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
963 .loc 2 3930 103 view .LVU265
964 0066 12F4406F tst r2, #3072
965 006a 37D1 bne .L68
966 .LVL63:
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
967 .loc 2 3930 103 view .LVU266
968 .LBE275:
969 .LBE274:
2416:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
970 .loc 1 2416 7 is_stmt 1 view .LVU267
2416:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
971 .loc 1 2416 12 is_stmt 0 view .LVU268
972 006c 824A ldr r2, .L108+4
973 006e 9342 cmp r3, r2
974 0070 27D0 beq .L102
2416:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
975 .loc 1 2416 12 discriminator 1 view .LVU269
976 0072 1A46 mov r2, r3
977 .L69:
2416:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
978 .loc 1 2416 10 discriminator 4 view .LVU270
979 0074 9342 cmp r3, r2
980 0076 07D0 beq .L70
981 0078 092E cmp r6, #9
982 007a 25D8 bhi .L71
983 007c 40F22121 movw r1, #545
984 0080 F140 lsrs r1, r1, r6
985 0082 11F0010F tst r1, #1
986 0086 1FD0 beq .L71
987 .L70:
2423:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
988 .loc 1 2423 9 is_stmt 1 view .LVU271
2423:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
989 .loc 1 2423 18 is_stmt 0 view .LVU272
990 0088 DA68 ldr r2, [r3, #12]
991 .LVL64:
992 .L72:
2433:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
993 .loc 1 2433 7 is_stmt 1 view .LVU273
2433:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
994 .loc 1 2433 10 is_stmt 0 view .LVU274
995 008a 12F4005F tst r2, #8192
996 008e 25D1 bne .L68
2436:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
997 .loc 1 2436 9 is_stmt 1 view .LVU275
2436:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
998 .loc 1 2436 13 is_stmt 0 view .LVU276
999 0090 1A68 ldr r2, [r3]
1000 .LVL65:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 206
2436:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1001 .loc 1 2436 12 view .LVU277
1002 0092 12F0080F tst r2, #8
1003 0096 21D0 beq .L68
2440:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1004 .loc 1 2440 11 is_stmt 1 view .LVU278
1005 .LVL66:
1006 .LBB276:
1007 .LBI276:
6695:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6696:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6697:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6698:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Set ADC multimode delay between 2 sampling phases.
6699:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note The sampling delay range depends on ADC resolution:
6700:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC resolution 12 bits can have maximum delay of 12 cycles.
6701:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC resolution 10 bits can have maximum delay of 10 cycles.
6702:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC resolution 8 bits can have maximum delay of 8 cycles.
6703:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - ADC resolution 6 bits can have maximum delay of 6 cycles.
6704:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6705:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6706:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * All ADC instances of the ADC common group must be disabled.
6707:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * This check can be done with function @ref LL_ADC_IsEnabled() for each
6708:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC instance or by using helper macro helper macro
6709:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref __LL_ADC_IS_ENABLED_ALL_COMMON_INSTANCE().
6710:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CCR DELAY LL_ADC_SetMultiTwoSamplingDelay
6711:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
6712:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
6713:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param MultiTwoSamplingDelay This parameter can be one of the following values:
6714:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_1CYCLE_5
6715:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_2CYCLES_5
6716:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_3CYCLES_5
6717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_4CYCLES_5 (1)
6718:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_4CYCLES_5_8_BITS
6719:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_5CYCLES_5 (2)
6720:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_5CYCLES_5_10_BITS
6721:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES (3)
6722:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES_5 (4)
6723:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES_5_12_BITS
6724:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_7CYCLES_5 (5)
6725:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_8CYCLES (6)
6726:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_9CYCLES (7)
6727:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
6728:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) Parameter available only if ADC resolution is 16, 14, 12 or 10 bits.
6729:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) Parameter available only if ADC resolution is 16, 14 or 12 bits.
6730:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) Parameter available only if ADC resolution is 10 or 8 bits.
6731:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (4) Parameter available only if ADC resolution is 16 or 14 bits.
6732:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (5) Parameter available only if ADC resolution is 16 bits.
6733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (6) Parameter available only if ADC resolution is 12 bits.
6734:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (7) Parameter available only if ADC resolution is 16 or 14 bits.
6735:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6736:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6737:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_SetMultiTwoSamplingDelay(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t Mul
6738:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6739:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCxy_COMMON->CCR, ADC_CCR_DELAY, MultiTwoSamplingDelay);
6740:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6741:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6742:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 207
6743:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC multimode delay between 2 sampling phases.
6744:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CCR DELAY LL_ADC_GetMultiTwoSamplingDelay
6745:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
6746:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
6747:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Returned value can be one of the following values:
6748:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_1CYCLE_5
6749:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_2CYCLES_5
6750:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_3CYCLES_5
6751:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_4CYCLES_5 (1)
6752:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_4CYCLES_5_8_BITS
6753:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_5CYCLES_5 (2)
6754:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_5CYCLES_5_10_BITS
6755:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES (3)
6756:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES_5 (4)
6757:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_6CYCLES_5_12_BITS
6758:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_7CYCLES_5 (5)
6759:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_8CYCLES (6)
6760:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_TWOSMP_DELAY_9CYCLES (7)
6761:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** *
6762:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (1) Parameter available only if ADC resolution is 16, 14, 12 or 10 bits.
6763:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (2) Parameter available only if ADC resolution is 16, 14 or 12 bits.
6764:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (3) Parameter available only if ADC resolution is 10 or 8 bits.
6765:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (4) Parameter available only if ADC resolution is 16 or 14 bits.
6766:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (5) Parameter available only if ADC resolution is 16 bits.
6767:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (6) Parameter available only if ADC resolution is 12 bits.
6768:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (7) Parameter available only if ADC resolution is 16 or 14 bits.
6769:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6770:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_GetMultiTwoSamplingDelay(ADC_Common_TypeDef *ADCxy_COMMON)
6771:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6772:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCxy_COMMON->CCR, ADC_CCR_DELAY));
6773:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6775:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6776:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
6777:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6778:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Operation_ADC_Instance Operation on ADC hierarchical scope: ADC instance
6779:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
6780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6781:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6782:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Put ADC instance in deep power down state.
6784:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note In case of ADC calibration necessary: When ADC is in deep-power-down
6785:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * state, the internal analog calibration is lost. After exiting from
6786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * deep power down, calibration must be relaunched or calibration factor
6787:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (preliminarily saved) must be set back into calibration register.
6788:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6789:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6790:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be ADC disabled.
6791:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR DEEPPWD LL_ADC_EnableDeepPowerDown
6792:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6793:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6794:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6795:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_EnableDeepPowerDown(ADC_TypeDef *ADCx)
6796:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6797:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Note: Write register with some additional bits forced to state reset */
6798:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* instead of modifying only the selected bit for this function, */
6799:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* to not interfere with bits with HW property "rs". */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 208
6800:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CR,
6801:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
6802:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_DEEPPWD);
6803:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6804:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6805:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6806:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Disable ADC deep power down mode.
6807:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note In case of ADC calibration necessary: When ADC is in deep-power-down
6808:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * state, the internal analog calibration is lost. After exiting from
6809:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * deep power down, calibration must be relaunched or calibration factor
6810:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (preliminarily saved) must be set back into calibration register.
6811:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6812:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6813:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be ADC disabled.
6814:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR DEEPPWD LL_ADC_DisableDeepPowerDown
6815:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6816:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6817:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6818:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_DisableDeepPowerDown(ADC_TypeDef *ADCx)
6819:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6820:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Note: Write register with some additional bits forced to state reset */
6821:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* instead of modifying only the selected bit for this function, */
6822:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* to not interfere with bits with HW property "rs". */
6823:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCx->CR, (ADC_CR_DEEPPWD | ADC_CR_BITS_PROPERTY_RS));
6824:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6825:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6826:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6827:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get the selected ADC instance deep power down state.
6828:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR DEEPPWD LL_ADC_IsDeepPowerDownEnabled
6829:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6830:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval 0: deep power down is disabled, 1: deep power down is enabled.
6831:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6832:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsDeepPowerDownEnabled(ADC_TypeDef *ADCx)
6833:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6834:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->CR, ADC_CR_DEEPPWD) == (ADC_CR_DEEPPWD)) ? 1UL : 0UL);
6835:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6836:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6837:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6838:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Enable ADC instance internal voltage regulator.
6839:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, after ADC internal voltage regulator enable,
6840:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * a delay for ADC internal voltage regulator stabilization
6841:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is required before performing a ADC calibration or ADC enable.
6842:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to device datasheet, parameter tADCVREG_STUP.
6843:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to literal @ref LL_ADC_DELAY_INTERNAL_REGUL_STAB_US.
6844:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6845:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6846:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be ADC disabled.
6847:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR ADVREGEN LL_ADC_EnableInternalRegulator
6848:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6849:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6850:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6851:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_EnableInternalRegulator(ADC_TypeDef *ADCx)
6852:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6853:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Note: Write register with some additional bits forced to state reset */
6854:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* instead of modifying only the selected bit for this function, */
6855:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* to not interfere with bits with HW property "rs". */
6856:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CR,
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 209
6857:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
6858:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_ADVREGEN);
6859:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6860:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6861:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6862:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Disable ADC internal voltage regulator.
6863:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6864:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6865:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be ADC disabled.
6866:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR ADVREGEN LL_ADC_DisableInternalRegulator
6867:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6868:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6869:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6870:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_DisableInternalRegulator(ADC_TypeDef *ADCx)
6871:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6872:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCx->CR, (ADC_CR_ADVREGEN | ADC_CR_BITS_PROPERTY_RS));
6873:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6874:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6875:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6876:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get the selected ADC instance internal voltage regulator state.
6877:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR ADVREGEN LL_ADC_IsInternalRegulatorEnabled
6878:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6879:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval 0: internal regulator is disabled, 1: internal regulator is enabled.
6880:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6881:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsInternalRegulatorEnabled(ADC_TypeDef *ADCx)
6882:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->CR, ADC_CR_ADVREGEN) == (ADC_CR_ADVREGEN)) ? 1UL : 0UL);
6884:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6885:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6886:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6887:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Enable the selected ADC instance.
6888:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, after ADC enable, a delay for
6889:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC internal analog stabilization is required before performing a
6890:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC conversion start.
6891:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to device datasheet, parameter tSTAB.
6892:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, flag LL_ADC_FLAG_ADRDY is raised when the ADC
6893:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is enabled and when conversion clock is active.
6894:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (not only core clock: this ADC has a dual clock domain)
6895:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6896:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6897:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be ADC disabled and ADC internal voltage regulator enabled.
6898:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR ADEN LL_ADC_Enable
6899:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6900:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6901:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6902:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_Enable(ADC_TypeDef *ADCx)
6903:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6904:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Note: Write register with some additional bits forced to state reset */
6905:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* instead of modifying only the selected bit for this function, */
6906:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* to not interfere with bits with HW property "rs". */
6907:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CR,
6908:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
6909:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_ADEN);
6910:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6911:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6912:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6913:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Disable the selected ADC instance.
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 210
6914:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6915:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6916:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be not disabled. Must be enabled without conversion on going
6917:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * on either groups regular or injected.
6918:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR ADDIS LL_ADC_Disable
6919:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6920:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6921:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6922:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_Disable(ADC_TypeDef *ADCx)
6923:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6924:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Note: Write register with some additional bits forced to state reset */
6925:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* instead of modifying only the selected bit for this function, */
6926:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* to not interfere with bits with HW property "rs". */
6927:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CR,
6928:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
6929:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_ADDIS);
6930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6931:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6932:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6933:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get the selected ADC instance enable state.
6934:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, flag LL_ADC_FLAG_ADRDY is raised when the ADC
6935:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is enabled and when conversion clock is active.
6936:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (not only core clock: this ADC has a dual clock domain)
6937:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR ADEN LL_ADC_IsEnabled
6938:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6939:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval 0: ADC is disabled, 1: ADC is enabled.
6940:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsEnabled(ADC_TypeDef *ADCx)
6942:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->CR, ADC_CR_ADEN) == (ADC_CR_ADEN)) ? 1UL : 0UL);
6944:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6945:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6946:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6947:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get the selected ADC instance disable state.
6948:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR ADDIS LL_ADC_IsDisableOngoing
6949:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6950:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval 0: no ADC disable command on going.
6951:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6952:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsDisableOngoing(ADC_TypeDef *ADCx)
6953:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->CR, ADC_CR_ADDIS) == (ADC_CR_ADDIS)) ? 1UL : 0UL);
6955:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6956:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
6957:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
6958:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Start ADC calibration in the mode single-ended
6959:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or differential (for devices with differential mode available).
6960:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, a minimum number of ADC clock cycles
6961:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * are required between ADC end of calibration and ADC enable.
6962:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Refer to literal @ref LL_ADC_DELAY_CALIB_ENABLE_ADC_CYCLES.
6963:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note Calibration duration:
6964:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Calibration of offset: 520 ADC clock cycles
6965:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - Calibration of linearity: 131072 ADC clock cycles
6966:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with differential mode available:
6967:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Calibration of offset is specific to each of
6968:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * single-ended and differential modes
6969:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (calibration run must be performed for each of these
6970:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * differential modes, if used afterwards and if the application
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 211
6971:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * requires their calibration).
6972:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * Calibration of linearity is common to both
6973:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * single-ended and differential modes
6974:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (calibration run can be performed only once).
6975:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
6976:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
6977:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be ADC disabled.
6978:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR ADCAL LL_ADC_StartCalibration\n
6979:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CR ADCALDIF LL_ADC_StartCalibration\n
6980:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CR ADCALLIN LL_ADC_StartCalibration
6981:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
6982:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param CalibrationMode This parameter can be one of the following values:
6983:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CALIB_OFFSET
6984:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_CALIB_OFFSET_LINEARITY
6985:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param SingleDiff This parameter can be one of the following values:
6986:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_SINGLE_ENDED
6987:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_DIFFERENTIAL_ENDED
6988:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
6989:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
6990:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_StartCalibration(ADC_TypeDef *ADCx, uint32_t CalibrationMode, uint32_t
6991:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6992:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Note: Write register with some additional bits forced to state reset */
6993:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* instead of modifying only the selected bit for this function, */
6994:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* to not interfere with bits with HW property "rs". */
6995:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CR,
6996:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_ADCALLIN | ADC_CR_ADCALDIF | ADC_CR_BITS_PROPERTY_RS,
6997:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_ADCAL | (CalibrationMode & ADC_CALIB_MODE_MASK) | (SingleDiff & ADC_SINGLEDIFF_
6998:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6999:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7000:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7001:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC calibration state.
7002:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR ADCAL LL_ADC_IsCalibrationOnGoing
7003:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7004:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval 0: calibration complete, 1: calibration in progress.
7005:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7006:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsCalibrationOnGoing(ADC_TypeDef *ADCx)
7007:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7008:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->CR, ADC_CR_ADCAL) == (ADC_CR_ADCAL)) ? 1UL : 0UL);
7009:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7010:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7011:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7012:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
7013:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7014:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7015:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Operation_ADC_Group_Regular Operation on ADC hierarchical scope: group regu
7016:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
7017:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7018:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7019:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7020:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Start ADC group regular conversion.
7021:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, this function is relevant for both
7022:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * internal trigger (SW start) and external trigger:
7023:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - If ADC trigger has been set to software start, ADC conversion
7024:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * starts immediately.
7025:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - If ADC trigger has been set to external trigger, ADC conversion
7026:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * will start at next trigger event (on the selected trigger edge)
7027:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * following the ADC start conversion command.
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 212
7028:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
7029:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
7030:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be enabled without conversion on going on group regular,
7031:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * without conversion stop command on going on group regular,
7032:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * without ADC disable command on going.
7033:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR ADSTART LL_ADC_REG_StartConversion
7034:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7035:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7036:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7037:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_StartConversion(ADC_TypeDef *ADCx)
7038:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7039:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Note: Write register with some additional bits forced to state reset */
7040:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* instead of modifying only the selected bit for this function, */
7041:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* to not interfere with bits with HW property "rs". */
7042:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CR,
7043:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
7044:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_ADSTART);
7045:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7046:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7047:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7048:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Stop ADC group regular conversion.
7049:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
7050:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
7051:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be enabled with conversion on going on group regular,
7052:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * without ADC disable command on going.
7053:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR ADSTP LL_ADC_REG_StopConversion
7054:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7055:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7056:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7057:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_REG_StopConversion(ADC_TypeDef *ADCx)
7058:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7059:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Note: Write register with some additional bits forced to state reset */
7060:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* instead of modifying only the selected bit for this function, */
7061:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* to not interfere with bits with HW property "rs". */
7062:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CR,
7063:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
7064:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_ADSTP);
7065:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7066:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7067:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7068:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular conversion state.
7069:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR ADSTART LL_ADC_REG_IsConversionOngoing
7070:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7071:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval 0: no conversion is on going on ADC group regular.
7072:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_IsConversionOngoing(ADC_TypeDef *ADCx)
1008 .loc 2 7073 26 view .LVU279
1009 .LBB277:
7074:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->CR, ADC_CR_ADSTART) == (ADC_CR_ADSTART)) ? 1UL : 0UL);
1010 .loc 2 7075 3 view .LVU280
1011 .loc 2 7075 12 is_stmt 0 view .LVU281
1012 0098 9A68 ldr r2, [r3, #8]
1013 .loc 2 7075 74 view .LVU282
1014 009a 12F0040F tst r2, #4
1015 009e 15D1 bne .L73
1016 .LVL67:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 213
1017 .loc 2 7075 74 view .LVU283
1018 .LBE277:
1019 .LBE276:
2446:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1020 .loc 1 2446 13 is_stmt 1 view .LVU284
1021 00a0 5A68 ldr r2, [r3, #4]
1022 00a2 22F00C02 bic r2, r2, #12
1023 00a6 5A60 str r2, [r3, #4]
2449:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1024 .loc 1 2449 13 view .LVU285
1025 00a8 636D ldr r3, [r4, #84]
1026 00aa 23F48073 bic r3, r3, #256
1027 00ae 6365 str r3, [r4, #84]
2451:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1028 .loc 1 2451 13 view .LVU286
2451:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1029 .loc 1 2451 22 is_stmt 0 view .LVU287
1030 00b0 636D ldr r3, [r4, #84]
2451:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1031 .loc 1 2451 16 view .LVU288
1032 00b2 13F4805F tst r3, #4096
1033 00b6 11D1 bne .L68
2453:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1034 .loc 1 2453 15 is_stmt 1 view .LVU289
1035 00b8 636D ldr r3, [r4, #84]
1036 00ba 43F00103 orr r3, r3, #1
1037 00be 6365 str r3, [r4, #84]
1038 00c0 0CE0 b .L68
1039 .LVL68:
1040 .L102:
2416:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
1041 .loc 1 2416 12 is_stmt 0 discriminator 2 view .LVU290
1042 00c2 A2F58072 sub r2, r2, #256
1043 00c6 D5E7 b .L69
1044 .L71:
2428:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_cfgr = READ_REG(tmpADC_Master->CFGR);
1045 .loc 1 2428 9 is_stmt 1 view .LVU291
1046 .LVL69:
2429:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1047 .loc 1 2429 9 view .LVU292
2429:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1048 .loc 1 2429 18 is_stmt 0 view .LVU293
1049 00c8 D268 ldr r2, [r2, #12]
1050 .LVL70:
2429:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1051 .loc 1 2429 18 view .LVU294
1052 00ca DEE7 b .L72
1053 .LVL71:
1054 .L73:
2459:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1055 .loc 1 2459 13 is_stmt 1 view .LVU295
1056 00cc 636D ldr r3, [r4, #84]
1057 00ce 43F01003 orr r3, r3, #16
1058 00d2 6365 str r3, [r4, #84]
2462:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1059 .loc 1 2462 13 view .LVU296
1060 00d4 A36D ldr r3, [r4, #88]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 214
1061 00d6 43F00103 orr r3, r3, #1
1062 00da A365 str r3, [r4, #88]
1063 .LVL72:
1064 .L68:
2476:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
1065 .loc 1 2476 5 view .LVU297
1066 00dc 2046 mov r0, r4
1067 00de FFF7FEFF bl HAL_ADC_ConvCpltCallback
1068 .LVL73:
2484:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1069 .loc 1 2484 5 view .LVU298
1070 00e2 2368 ldr r3, [r4]
1071 00e4 0C22 movs r2, #12
1072 00e6 1A60 str r2, [r3]
1073 .L66:
2488:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (((tmp_isr & ADC_FLAG_JEOS) == ADC_FLAG_JEOS) && ((tmp_ier & ADC_IT_JEOS) == ADC_IT_JEOS)))
1074 .loc 1 2488 3 view .LVU299
2488:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (((tmp_isr & ADC_FLAG_JEOS) == ADC_FLAG_JEOS) && ((tmp_ier & ADC_IT_JEOS) == ADC_IT_JEOS)))
1075 .loc 1 2488 6 is_stmt 0 view .LVU300
1076 00e8 17F0200F tst r7, #32
1077 00ec 02D0 beq .L75
2488:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (((tmp_isr & ADC_FLAG_JEOS) == ADC_FLAG_JEOS) && ((tmp_ier & ADC_IT_JEOS) == ADC_IT_JEOS)))
1078 .loc 1 2488 53 discriminator 1 view .LVU301
1079 00ee 15F0200F tst r5, #32
1080 00f2 05D1 bne .L76
1081 .L75:
2488:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (((tmp_isr & ADC_FLAG_JEOS) == ADC_FLAG_JEOS) && ((tmp_ier & ADC_IT_JEOS) == ADC_IT_JEOS)))
1082 .loc 1 2488 98 discriminator 3 view .LVU302
1083 00f4 17F0400F tst r7, #64
1084 00f8 63D0 beq .L77
2489:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1085 .loc 1 2489 53 view .LVU303
1086 00fa 15F0400F tst r5, #64
1087 00fe 60D0 beq .L77
1088 .L76:
2492:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1089 .loc 1 2492 5 is_stmt 1 view .LVU304
2492:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1090 .loc 1 2492 14 is_stmt 0 view .LVU305
1091 0100 636D ldr r3, [r4, #84]
2492:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1092 .loc 1 2492 8 view .LVU306
1093 0102 13F0100F tst r3, #16
1094 0106 03D1 bne .L78
2495:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1095 .loc 1 2495 7 is_stmt 1 view .LVU307
1096 0108 636D ldr r3, [r4, #84]
1097 010a 43F40053 orr r3, r3, #8192
1098 010e 6365 str r3, [r4, #84]
1099 .L78:
2499:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_reg_is_trigger_source_sw_start = LL_ADC_REG_IsTriggerSourceSWStart(hadc->Instance);
1100 .loc 1 2499 5 view .LVU308
2499:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_reg_is_trigger_source_sw_start = LL_ADC_REG_IsTriggerSourceSWStart(hadc->Instance);
1101 .loc 1 2499 46 is_stmt 0 view .LVU309
1102 0110 2368 ldr r3, [r4]
1103 .LVL74:
1104 .LBB278:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 215
1105 .LBI278:
4715:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
1106 .loc 2 4715 26 is_stmt 1 view .LVU310
1107 .LBB279:
4717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1108 .loc 2 4717 3 view .LVU311
4717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1109 .loc 2 4717 12 is_stmt 0 view .LVU312
1110 0112 DA6C ldr r2, [r3, #76]
4717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1111 .loc 2 4717 105 view .LVU313
1112 0114 12F4C07F tst r2, #384
1113 0118 19D1 bne .L98
4717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1114 .loc 2 4717 105 discriminator 1 view .LVU314
1115 011a 0121 movs r1, #1
1116 .L79:
1117 .LVL75:
4717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1118 .loc 2 4717 105 discriminator 1 view .LVU315
1119 .LBE279:
1120 .LBE278:
2500:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Get relevant register CFGR in ADC instance of ADC master or slave */
1121 .loc 1 2500 5 is_stmt 1 view .LVU316
1122 .LBB281:
1123 .LBI281:
3928:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
1124 .loc 2 3928 26 view .LVU317
1125 .LBB282:
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1126 .loc 2 3930 3 view .LVU318
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1127 .loc 2 3930 12 is_stmt 0 view .LVU319
1128 011c DA68 ldr r2, [r3, #12]
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1129 .loc 2 3930 103 view .LVU320
1130 011e 12F4406F tst r2, #3072
1131 0122 16D1 bne .L99
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1132 .loc 2 3930 103 discriminator 1 view .LVU321
1133 0124 0120 movs r0, #1
1134 .L80:
1135 .LVL76:
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1136 .loc 2 3930 103 discriminator 1 view .LVU322
1137 .LBE282:
1138 .LBE281:
2504:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
1139 .loc 1 2504 5 is_stmt 1 view .LVU323
2504:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
1140 .loc 1 2504 10 is_stmt 0 view .LVU324
1141 0126 544A ldr r2, .L108+4
1142 0128 9342 cmp r3, r2
1143 012a 14D0 beq .L103
2504:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
1144 .loc 1 2504 10 discriminator 1 view .LVU325
1145 012c 1A46 mov r2, r3
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 216
1146 .L81:
2504:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
1147 .loc 1 2504 8 discriminator 4 view .LVU326
1148 012e 9342 cmp r3, r2
1149 0130 14D0 beq .L82
2506:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_REG_INTERL)
1150 .loc 1 2506 34 view .LVU327
1151 0132 062E cmp r6, #6
1152 0134 14BF ite ne
1153 0136 4FF0000C movne ip, #0
1154 013a 4FF0010C moveq ip, #1
2506:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_REG_INTERL)
1155 .loc 1 2506 9 view .LVU328
1156 013e 6EB1 cbz r6, .L82
1157 0140 BCF1000F cmp ip, #0
1158 0144 0AD1 bne .L82
2507:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
1159 .loc 1 2507 9 view .LVU329
1160 0146 072E cmp r6, #7
1161 0148 08D0 beq .L82
2514:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_cfgr = READ_REG(tmpADC_Master->CFGR);
1162 .loc 1 2514 7 is_stmt 1 view .LVU330
1163 .LVL77:
2515:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1164 .loc 1 2515 7 view .LVU331
2515:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1165 .loc 1 2515 16 is_stmt 0 view .LVU332
1166 014a D268 ldr r2, [r2, #12]
1167 .LVL78:
2515:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1168 .loc 1 2515 16 view .LVU333
1169 014c 07E0 b .L84
1170 .LVL79:
1171 .L98:
1172 .LBB284:
1173 .LBB280:
4717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1174 .loc 2 4717 105 discriminator 2 view .LVU334
1175 014e 0021 movs r1, #0
1176 0150 E4E7 b .L79
1177 .LVL80:
1178 .L99:
4717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1179 .loc 2 4717 105 discriminator 2 view .LVU335
1180 .LBE280:
1181 .LBE284:
1182 .LBB285:
1183 .LBB283:
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1184 .loc 2 3930 103 discriminator 2 view .LVU336
1185 0152 0020 movs r0, #0
1186 0154 E7E7 b .L80
1187 .LVL81:
1188 .L103:
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1189 .loc 2 3930 103 discriminator 2 view .LVU337
1190 .LBE283:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 217
1191 .LBE285:
2504:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
1192 .loc 1 2504 10 discriminator 2 view .LVU338
1193 0156 A2F58072 sub r2, r2, #256
1194 015a E8E7 b .L81
1195 .L82:
2510:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1196 .loc 1 2510 7 is_stmt 1 view .LVU339
2510:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1197 .loc 1 2510 16 is_stmt 0 view .LVU340
1198 015c DA68 ldr r2, [r3, #12]
1199 .LVL82:
1200 .L84:
2523:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1201 .loc 1 2523 5 is_stmt 1 view .LVU341
2523:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1202 .loc 1 2523 8 is_stmt 0 view .LVU342
1203 015e 51B3 cbz r1, .L85
2525:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ((tmp_adc_reg_is_trigger_source_sw_start != 0UL) &&
1204 .loc 1 2525 7 is_stmt 1 view .LVU343
2525:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ((tmp_adc_reg_is_trigger_source_sw_start != 0UL) &&
1205 .loc 1 2525 10 is_stmt 0 view .LVU344
1206 0160 12F0007F tst r2, #33554432
1207 0164 03D0 beq .L86
2525:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ((tmp_adc_reg_is_trigger_source_sw_start != 0UL) &&
1208 .loc 1 2525 55 discriminator 1 view .LVU345
1209 0166 30B3 cbz r0, .L85
2526:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (READ_BIT(tmp_cfgr, ADC_CFGR_CONT) == 0UL)))
1210 .loc 1 2526 60 view .LVU346
1211 0168 12F4005F tst r2, #8192
1212 016c 23D1 bne .L85
1213 .L86:
2530:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1214 .loc 1 2530 9 is_stmt 1 view .LVU347
2530:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1215 .loc 1 2530 13 is_stmt 0 view .LVU348
1216 016e 1968 ldr r1, [r3]
1217 .LVL83:
2530:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1218 .loc 1 2530 12 view .LVU349
1219 0170 11F0400F tst r1, #64
1220 0174 1FD0 beq .L85
2538:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1221 .loc 1 2538 11 is_stmt 1 view .LVU350
2538:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1222 .loc 1 2538 14 is_stmt 0 view .LVU351
1223 0176 12F4001F tst r2, #2097152
1224 017a 1CD1 bne .L85
2542:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1225 .loc 1 2542 13 is_stmt 1 view .LVU352
1226 .LVL84:
1227 .LBB286:
1228 .LBI286:
7076:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7077:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7078:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7079:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular command of conversion stop state
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 218
7080:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR ADSTP LL_ADC_REG_IsStopConversionOngoing
7081:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7082:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval 0: no command of conversion stop is on going on ADC group regular.
7083:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7084:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_IsStopConversionOngoing(ADC_TypeDef *ADCx)
7085:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7086:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->CR, ADC_CR_ADSTP) == (ADC_CR_ADSTP)) ? 1UL : 0UL);
7087:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7088:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7089:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7090:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular conversion data, range fit for
7091:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * all ADC configurations: all ADC resolutions and
7092:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * all oversampling increased data width (for devices
7093:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * with feature oversampling).
7094:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll DR RDATA LL_ADC_REG_ReadConversionData32
7095:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7096:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x00000000 and Max_Data=0xFFFFFFFF
7097:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7098:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_ReadConversionData32(ADC_TypeDef *ADCx)
7099:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7100:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCx->DR, ADC_DR_RDATA));
7101:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7102:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7103:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7104:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular conversion data, range fit for
7105:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC resolution 16 bits.
7106:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with feature oversampling: Oversampling
7107:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * can increase data width, function for extended range
7108:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * may be needed: @ref LL_ADC_REG_ReadConversionData32.
7109:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll DR RDATA LL_ADC_REG_ReadConversionData16
7110:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7111:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFFFF
7112:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7113:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint16_t LL_ADC_REG_ReadConversionData16(ADC_TypeDef *ADCx)
7114:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7115:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint16_t)(READ_BIT(ADCx->DR, ADC_DR_RDATA));
7116:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7117:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7118:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7119:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular conversion data, range fit for
7120:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC resolution 14 bits.
7121:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with feature oversampling: Oversampling
7122:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * can increase data width, function for extended range
7123:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * may be needed: @ref LL_ADC_REG_ReadConversionData32.
7124:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll DR RDATA LL_ADC_REG_ReadConversionData14
7125:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7126:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x00 and Max_Data=0x3FF
7127:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7128:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint16_t LL_ADC_REG_ReadConversionData14(ADC_TypeDef *ADCx)
7129:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7130:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint16_t)(READ_BIT(ADCx->DR, ADC_DR_RDATA));
7131:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7132:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7133:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7134:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular conversion data, range fit for
7135:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC resolution 12 bits.
7136:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with feature oversampling: Oversampling
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 219
7137:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * can increase data width, function for extended range
7138:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * may be needed: @ref LL_ADC_REG_ReadConversionData32.
7139:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll DR RDATA LL_ADC_REG_ReadConversionData12
7140:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7141:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0xFFF
7142:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7143:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint16_t LL_ADC_REG_ReadConversionData12(ADC_TypeDef *ADCx)
7144:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7145:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint16_t)(READ_BIT(ADCx->DR, ADC_DR_RDATA));
7146:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7147:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7148:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7149:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular conversion data, range fit for
7150:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC resolution 10 bits.
7151:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with feature oversampling: Oversampling
7152:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * can increase data width, function for extended range
7153:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * may be needed: @ref LL_ADC_REG_ReadConversionData32.
7154:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll DR RDATA LL_ADC_REG_ReadConversionData10
7155:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7156:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0x3FF
7157:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7158:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint16_t LL_ADC_REG_ReadConversionData10(ADC_TypeDef *ADCx)
7159:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7160:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint16_t)(READ_BIT(ADCx->DR, ADC_DR_RDATA));
7161:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7162:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7163:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7164:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group regular conversion data, range fit for
7165:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC resolution 8 bits.
7166:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with feature oversampling: Oversampling
7167:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * can increase data width, function for extended range
7168:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * may be needed: @ref LL_ADC_REG_ReadConversionData32.
7169:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll DR RDATA LL_ADC_REG_ReadConversionData8
7170:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7171:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFF
7172:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7173:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint8_t LL_ADC_REG_ReadConversionData8(ADC_TypeDef *ADCx)
7174:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7175:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint8_t)(READ_BIT(ADCx->DR, ADC_DR_RDATA));
7176:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7177:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7178:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC multimode conversion data of ADC master, ADC slave
7179:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * or raw data with ADC master and slave concatenated.
7180:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note If raw data with ADC master and slave concatenated is retrieved,
7181:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * a macro is available to get the conversion data of
7182:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC master or ADC slave: see helper macro
7183:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @ref __LL_ADC_MULTI_CONV_DATA_MASTER_SLAVE().
7184:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (however this macro is mainly intended for multimode
7185:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * transfer by DMA, because this function can do the same
7186:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * by getting multimode conversion data of ADC master or ADC slave
7187:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * separately).
7188:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CDR RDATA_MST LL_ADC_REG_ReadMultiConversionData32\n
7189:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * CDR RDATA_SLV LL_ADC_REG_ReadMultiConversionData32
7190:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7191:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7192:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ConversionData This parameter can be one of the following values:
7193:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_MASTER
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 220
7194:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_SLAVE
7195:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_MULTI_MASTER_SLAVE
7196:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x00000000 and Max_Data=0xFFFFFFFF
7197:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7198:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_REG_ReadMultiConversionData32(ADC_Common_TypeDef *ADCxy_COMMON, uin
7199:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7200:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(ADCxy_COMMON->CDR,
7201:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ConversionData)
7202:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** >> (POSITION_VAL(ConversionData) & 0x1FUL)
7203:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
7204:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7205:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7206:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7207:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
7208:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7209:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7210:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EF_Operation_ADC_Group_Injected Operation on ADC hierarchical scope: group inj
7211:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
7212:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7213:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7214:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7215:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Start ADC group injected conversion.
7216:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, this function is relevant for both
7217:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * internal trigger (SW start) and external trigger:
7218:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - If ADC trigger has been set to software start, ADC conversion
7219:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * starts immediately.
7220:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * - If ADC trigger has been set to external trigger, ADC conversion
7221:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * will start at next trigger event (on the selected trigger edge)
7222:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * following the ADC start conversion command.
7223:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
7224:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
7225:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be enabled without conversion on going on group injected,
7226:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * without conversion stop command on going on group injected,
7227:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * without ADC disable command on going.
7228:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR JADSTART LL_ADC_INJ_StartConversion
7229:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7230:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7231:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7232:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_StartConversion(ADC_TypeDef *ADCx)
7233:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7234:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Note: Write register with some additional bits forced to state reset */
7235:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* instead of modifying only the selected bit for this function, */
7236:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* to not interfere with bits with HW property "rs". */
7237:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CR,
7238:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
7239:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_JADSTART);
7240:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7241:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7242:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7243:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Stop ADC group injected conversion.
7244:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, setting of this feature is conditioned to
7245:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC state:
7246:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC must be enabled with conversion on going on group injected,
7247:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * without ADC disable command on going.
7248:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR JADSTP LL_ADC_INJ_StopConversion
7249:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7250:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 221
7251:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7252:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_INJ_StopConversion(ADC_TypeDef *ADCx)
7253:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7254:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* Note: Write register with some additional bits forced to state reset */
7255:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* instead of modifying only the selected bit for this function, */
7256:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /* to not interfere with bits with HW property "rs". */
7257:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(ADCx->CR,
7258:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
7259:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_JADSTP);
7260:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7261:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7262:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7263:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected conversion state.
7264:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR JADSTART LL_ADC_INJ_IsConversionOngoing
7265:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7266:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval 0: no conversion is on going on ADC group injected.
7267:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7268:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_IsConversionOngoing(ADC_TypeDef *ADCx)
1229 .loc 2 7268 26 view .LVU353
1230 .LBB287:
7269:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->CR, ADC_CR_JADSTART) == (ADC_CR_JADSTART)) ? 1UL : 0UL);
1231 .loc 2 7270 3 view .LVU354
1232 .loc 2 7270 12 is_stmt 0 view .LVU355
1233 017c 9A68 ldr r2, [r3, #8]
1234 .LVL85:
1235 .loc 2 7270 76 view .LVU356
1236 017e 12F0080F tst r2, #8
1237 0182 10D1 bne .L87
1238 .LVL86:
1239 .loc 2 7270 76 view .LVU357
1240 .LBE287:
1241 .LBE286:
2545:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1242 .loc 1 2545 15 is_stmt 1 view .LVU358
1243 0184 5A68 ldr r2, [r3, #4]
1244 0186 22F06002 bic r2, r2, #96
1245 018a 5A60 str r2, [r3, #4]
2548:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1246 .loc 1 2548 15 view .LVU359
1247 018c 636D ldr r3, [r4, #84]
1248 018e 23F48053 bic r3, r3, #4096
1249 0192 6365 str r3, [r4, #84]
2550:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1250 .loc 1 2550 15 view .LVU360
2550:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1251 .loc 1 2550 24 is_stmt 0 view .LVU361
1252 0194 636D ldr r3, [r4, #84]
2550:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1253 .loc 1 2550 18 view .LVU362
1254 0196 13F4807F tst r3, #256
1255 019a 0CD1 bne .L85
2552:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1256 .loc 1 2552 17 is_stmt 1 view .LVU363
1257 019c 636D ldr r3, [r4, #84]
1258 019e 43F00103 orr r3, r3, #1
1259 01a2 6365 str r3, [r4, #84]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 222
1260 01a4 07E0 b .L85
1261 .LVL87:
1262 .L87:
2558:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1263 .loc 1 2558 15 view .LVU364
1264 01a6 636D ldr r3, [r4, #84]
1265 01a8 43F01003 orr r3, r3, #16
1266 01ac 6365 str r3, [r4, #84]
2561:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1267 .loc 1 2561 15 view .LVU365
1268 01ae A36D ldr r3, [r4, #88]
1269 01b0 43F00103 orr r3, r3, #1
1270 01b4 A365 str r3, [r4, #88]
1271 .L85:
2577:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
1272 .loc 1 2577 5 view .LVU366
1273 01b6 2046 mov r0, r4
1274 .LVL88:
2577:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
1275 .loc 1 2577 5 is_stmt 0 view .LVU367
1276 01b8 FFF7FEFF bl HAL_ADCEx_InjectedConvCpltCallback
1277 .LVL89:
2581:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1278 .loc 1 2581 5 is_stmt 1 view .LVU368
1279 01bc 2368 ldr r3, [r4]
1280 01be 6022 movs r2, #96
1281 01c0 1A60 str r2, [r3]
1282 .LVL90:
1283 .L77:
2585:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1284 .loc 1 2585 3 view .LVU369
2585:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1285 .loc 1 2585 6 is_stmt 0 view .LVU370
1286 01c2 17F0800F tst r7, #128
1287 01c6 02D0 beq .L89
2585:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1288 .loc 1 2585 52 discriminator 1 view .LVU371
1289 01c8 15F0800F tst r5, #128
1290 01cc 2FD1 bne .L104
1291 .L89:
2602:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1292 .loc 1 2602 3 is_stmt 1 view .LVU372
2602:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1293 .loc 1 2602 6 is_stmt 0 view .LVU373
1294 01ce 17F4807F tst r7, #256
1295 01d2 02D0 beq .L90
2602:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1296 .loc 1 2602 52 discriminator 1 view .LVU374
1297 01d4 15F4807F tst r5, #256
1298 01d8 34D1 bne .L105
1299 .L90:
2619:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1300 .loc 1 2619 3 is_stmt 1 view .LVU375
2619:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1301 .loc 1 2619 6 is_stmt 0 view .LVU376
1302 01da 17F4007F tst r7, #512
1303 01de 02D0 beq .L91
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 223
2619:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1304 .loc 1 2619 52 discriminator 1 view .LVU377
1305 01e0 15F4007F tst r5, #512
1306 01e4 3AD1 bne .L106
1307 .L91:
2636:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1308 .loc 1 2636 3 is_stmt 1 view .LVU378
2636:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1309 .loc 1 2636 6 is_stmt 0 view .LVU379
1310 01e6 17F0100F tst r7, #16
1311 01ea 19D0 beq .L92
2636:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1312 .loc 1 2636 50 discriminator 1 view .LVU380
1313 01ec 15F0100F tst r5, #16
1314 01f0 16D0 beq .L92
2644:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1315 .loc 1 2644 5 is_stmt 1 view .LVU381
2644:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1316 .loc 1 2644 19 is_stmt 0 view .LVU382
1317 01f2 236B ldr r3, [r4, #48]
2644:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1318 .loc 1 2644 8 view .LVU383
1319 01f4 33B1 cbz r3, .L93
2651:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1320 .loc 1 2651 7 is_stmt 1 view .LVU384
2651:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1321 .loc 1 2651 10 is_stmt 0 view .LVU385
1322 01f6 002E cmp r6, #0
1323 01f8 40D0 beq .L94
2655:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1324 .loc 1 2655 9 is_stmt 1 view .LVU386
1325 .LVL91:
1326 .LBB288:
1327 .LBI288:
6692:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
1328 .loc 2 6692 26 view .LVU387
1329 .LBB289:
6694:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1330 .loc 2 6694 3 view .LVU388
6694:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1331 .loc 2 6694 21 is_stmt 0 view .LVU389
1332 01fa 1E4B ldr r3, .L108
1333 01fc 9B68 ldr r3, [r3, #8]
1334 .LVL92:
6694:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1335 .loc 2 6694 21 view .LVU390
1336 .LBE289:
1337 .LBE288:
2655:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1338 .loc 1 2655 12 discriminator 1 view .LVU391
1339 01fe 13F4404F tst r3, #49152
1340 0202 0AD0 beq .L95
1341 .L93:
1342 .LVL93:
2673:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1343 .loc 1 2673 7 is_stmt 1 view .LVU392
1344 0204 636D ldr r3, [r4, #84]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 224
1345 0206 43F48063 orr r3, r3, #1024
1346 020a 6365 str r3, [r4, #84]
2676:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1347 .loc 1 2676 7 view .LVU393
1348 020c A36D ldr r3, [r4, #88]
1349 020e 43F00203 orr r3, r3, #2
1350 0212 A365 str r3, [r4, #88]
2686:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
1351 .loc 1 2686 7 view .LVU394
1352 0214 2046 mov r0, r4
1353 0216 FFF7FEFF bl HAL_ADC_ErrorCallback
1354 .LVL94:
1355 .L95:
2691:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1356 .loc 1 2691 5 view .LVU395
1357 021a 2368 ldr r3, [r4]
1358 021c 1022 movs r2, #16
1359 021e 1A60 str r2, [r3]
1360 .L92:
2695:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1361 .loc 1 2695 3 view .LVU396
2695:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1362 .loc 1 2695 6 is_stmt 0 view .LVU397
1363 0220 17F4806F tst r7, #1024
1364 0224 02D0 beq .L61
2695:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1365 .loc 1 2695 54 discriminator 1 view .LVU398
1366 0226 15F4806F tst r5, #1024
1367 022a 2DD1 bne .L107
1368 .L61:
2714:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1369 .loc 1 2714 1 view .LVU399
1370 022c F8BD pop {r3, r4, r5, r6, r7, pc}
1371 .LVL95:
1372 .L104:
2588:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1373 .loc 1 2588 5 is_stmt 1 view .LVU400
1374 022e 636D ldr r3, [r4, #84]
1375 0230 43F48033 orr r3, r3, #65536
1376 0234 6365 str r3, [r4, #84]
2594:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
1377 .loc 1 2594 5 view .LVU401
1378 0236 2046 mov r0, r4
1379 0238 FFF7FEFF bl HAL_ADC_LevelOutOfWindowCallback
1380 .LVL96:
2598:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1381 .loc 1 2598 5 view .LVU402
1382 023c 2368 ldr r3, [r4]
1383 023e 8022 movs r2, #128
1384 0240 1A60 str r2, [r3]
1385 0242 C4E7 b .L89
1386 .L105:
2605:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1387 .loc 1 2605 5 view .LVU403
1388 0244 636D ldr r3, [r4, #84]
1389 0246 43F40033 orr r3, r3, #131072
1390 024a 6365 str r3, [r4, #84]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 225
2611:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
1391 .loc 1 2611 5 view .LVU404
1392 024c 2046 mov r0, r4
1393 024e FFF7FEFF bl HAL_ADCEx_LevelOutOfWindow2Callback
1394 .LVL97:
2615:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1395 .loc 1 2615 5 view .LVU405
1396 0252 2368 ldr r3, [r4]
1397 0254 4FF48072 mov r2, #256
1398 0258 1A60 str r2, [r3]
1399 025a BEE7 b .L90
1400 .L106:
2622:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1401 .loc 1 2622 5 view .LVU406
1402 025c 636D ldr r3, [r4, #84]
1403 025e 43F48023 orr r3, r3, #262144
1404 0262 6365 str r3, [r4, #84]
2628:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
1405 .loc 1 2628 5 view .LVU407
1406 0264 2046 mov r0, r4
1407 0266 FFF7FEFF bl HAL_ADCEx_LevelOutOfWindow3Callback
1408 .LVL98:
2632:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1409 .loc 1 2632 5 view .LVU408
1410 026a 2368 ldr r3, [r4]
1411 026c 4FF40072 mov r2, #512
1412 0270 1A60 str r2, [r3]
1413 0272 B8E7 b .L91
1414 .L109:
1415 .align 2
1416 .L108:
1417 0274 00230240 .word 1073881856
1418 0278 00210240 .word 1073881344
1419 .L94:
2663:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1420 .loc 1 2663 9 view .LVU409
2663:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1421 .loc 1 2663 18 is_stmt 0 view .LVU410
1422 027c 2368 ldr r3, [r4]
2663:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1423 .loc 1 2663 28 view .LVU411
1424 027e DB68 ldr r3, [r3, #12]
2663:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1425 .loc 1 2663 12 view .LVU412
1426 0280 13F0030F tst r3, #3
1427 0284 C9D0 beq .L95
1428 0286 BDE7 b .L93
1429 .LVL99:
1430 .L107:
2698:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1431 .loc 1 2698 5 is_stmt 1 view .LVU413
1432 0288 636D ldr r3, [r4, #84]
1433 028a 43F48043 orr r3, r3, #16384
1434 028e 6365 str r3, [r4, #84]
2701:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1435 .loc 1 2701 5 view .LVU414
1436 0290 A36D ldr r3, [r4, #88]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 226
1437 0292 43F00803 orr r3, r3, #8
1438 0296 A365 str r3, [r4, #88]
2704:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1439 .loc 1 2704 5 view .LVU415
1440 0298 2368 ldr r3, [r4]
1441 029a 4FF48062 mov r2, #1024
1442 029e 1A60 str r2, [r3]
2710:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
1443 .loc 1 2710 5 view .LVU416
1444 02a0 2046 mov r0, r4
1445 02a2 FFF7FEFF bl HAL_ADCEx_InjectedQueueOverflowCallback
1446 .LVL100:
2714:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1447 .loc 1 2714 1 is_stmt 0 view .LVU417
1448 02a6 C1E7 b .L61
1449 .cfi_endproc
1450 .LFE348:
1452 .section .text.ADC_DMAConvCplt,"ax",%progbits
1453 .align 1
1454 .global ADC_DMAConvCplt
1455 .syntax unified
1456 .thumb
1457 .thumb_func
1459 ADC_DMAConvCplt:
1460 .LVL101:
1461 .LFB360:
3817:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Retrieve ADC handle corresponding to current DMA handle */
1462 .loc 1 3817 1 is_stmt 1 view -0
1463 .cfi_startproc
1464 @ args = 0, pretend = 0, frame = 0
1465 @ frame_needed = 0, uses_anonymous_args = 0
3817:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Retrieve ADC handle corresponding to current DMA handle */
1466 .loc 1 3817 1 is_stmt 0 view .LVU419
1467 0000 08B5 push {r3, lr}
1468 .cfi_def_cfa_offset 8
1469 .cfi_offset 3, -8
1470 .cfi_offset 14, -4
1471 0002 0346 mov r3, r0
3819:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1472 .loc 1 3819 3 is_stmt 1 view .LVU420
3819:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1473 .loc 1 3819 22 is_stmt 0 view .LVU421
1474 0004 806B ldr r0, [r0, #56]
1475 .LVL102:
3822:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1476 .loc 1 3822 3 is_stmt 1 view .LVU422
3822:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1477 .loc 1 3822 12 is_stmt 0 view .LVU423
1478 0006 426D ldr r2, [r0, #84]
3822:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1479 .loc 1 3822 6 view .LVU424
1480 0008 12F0500F tst r2, #80
1481 000c 30D1 bne .L111
3825:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1482 .loc 1 3825 5 is_stmt 1 view .LVU425
1483 000e 436D ldr r3, [r0, #84]
1484 .LVL103:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 227
3825:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1485 .loc 1 3825 5 is_stmt 0 view .LVU426
1486 0010 43F40073 orr r3, r3, #512
1487 0014 4365 str r3, [r0, #84]
3831:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1488 .loc 1 3831 5 is_stmt 1 view .LVU427
3831:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1489 .loc 1 3831 14 is_stmt 0 view .LVU428
1490 0016 0368 ldr r3, [r0]
3831:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1491 .loc 1 3831 24 view .LVU429
1492 0018 1A68 ldr r2, [r3]
3831:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1493 .loc 1 3831 8 view .LVU430
1494 001a 12F0080F tst r2, #8
1495 001e 14D0 beq .L112
3834:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1496 .loc 1 3834 7 is_stmt 1 view .LVU431
1497 .LVL104:
1498 .LBB290:
1499 .LBI290:
3928:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
1500 .loc 2 3928 26 view .LVU432
1501 .LBB291:
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1502 .loc 2 3930 3 view .LVU433
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1503 .loc 2 3930 12 is_stmt 0 view .LVU434
1504 0020 DA68 ldr r2, [r3, #12]
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1505 .loc 2 3930 103 view .LVU435
1506 0022 12F4406F tst r2, #3072
1507 0026 20D1 bne .L113
1508 .LVL105:
3930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1509 .loc 2 3930 103 view .LVU436
1510 .LBE291:
1511 .LBE290:
3837:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1512 .loc 1 3837 9 is_stmt 1 view .LVU437
3837:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1513 .loc 1 3837 13 is_stmt 0 view .LVU438
1514 0028 DB68 ldr r3, [r3, #12]
3837:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1515 .loc 1 3837 12 view .LVU439
1516 002a 13F4005F tst r3, #8192
1517 002e 1CD1 bne .L113
3840:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_INJ_BUSY) == 0UL)
1518 .loc 1 3840 11 is_stmt 1 view .LVU440
1519 0030 436D ldr r3, [r0, #84]
1520 0032 23F48073 bic r3, r3, #256
1521 0036 4365 str r3, [r0, #84]
3841:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1522 .loc 1 3841 11 view .LVU441
3841:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1523 .loc 1 3841 20 is_stmt 0 view .LVU442
1524 0038 436D ldr r3, [r0, #84]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 228
3841:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1525 .loc 1 3841 14 view .LVU443
1526 003a 13F4805F tst r3, #4096
1527 003e 14D1 bne .L113
3843:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1528 .loc 1 3843 13 is_stmt 1 view .LVU444
1529 0040 436D ldr r3, [r0, #84]
1530 0042 43F00103 orr r3, r3, #1
1531 0046 4365 str r3, [r0, #84]
1532 0048 0FE0 b .L113
1533 .L112:
3852:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1534 .loc 1 3852 7 view .LVU445
3852:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1535 .loc 1 3852 11 is_stmt 0 view .LVU446
1536 004a DB68 ldr r3, [r3, #12]
3852:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1537 .loc 1 3852 10 view .LVU447
1538 004c 13F0030F tst r3, #3
1539 0050 0BD1 bne .L113
3855:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_INJ_BUSY) == 0UL)
1540 .loc 1 3855 9 is_stmt 1 view .LVU448
1541 0052 436D ldr r3, [r0, #84]
1542 0054 23F48073 bic r3, r3, #256
1543 0058 4365 str r3, [r0, #84]
3856:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1544 .loc 1 3856 9 view .LVU449
3856:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1545 .loc 1 3856 18 is_stmt 0 view .LVU450
1546 005a 436D ldr r3, [r0, #84]
3856:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1547 .loc 1 3856 12 view .LVU451
1548 005c 13F4805F tst r3, #4096
1549 0060 03D1 bne .L113
3858:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1550 .loc 1 3858 11 is_stmt 1 view .LVU452
1551 0062 436D ldr r3, [r0, #84]
1552 0064 43F00103 orr r3, r3, #1
1553 0068 4365 str r3, [r0, #84]
1554 .L113:
3867:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
1555 .loc 1 3867 5 view .LVU453
1556 006a FFF7FEFF bl HAL_ADC_ConvCpltCallback
1557 .LVL106:
1558 .L110:
3887:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1559 .loc 1 3887 1 is_stmt 0 view .LVU454
1560 006e 08BD pop {r3, pc}
1561 .LVL107:
1562 .L111:
3872:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1563 .loc 1 3872 5 is_stmt 1 view .LVU455
3872:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1564 .loc 1 3872 14 is_stmt 0 view .LVU456
1565 0070 426D ldr r2, [r0, #84]
3872:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1566 .loc 1 3872 8 view .LVU457
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 229
1567 0072 12F0100F tst r2, #16
1568 0076 04D1 bne .L117
3884:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1569 .loc 1 3884 7 is_stmt 1 view .LVU458
3884:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1570 .loc 1 3884 11 is_stmt 0 view .LVU459
1571 0078 C26C ldr r2, [r0, #76]
3884:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1572 .loc 1 3884 23 view .LVU460
1573 007a D26C ldr r2, [r2, #76]
3884:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1574 .loc 1 3884 7 view .LVU461
1575 007c 1846 mov r0, r3
1576 .LVL108:
3884:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1577 .loc 1 3884 7 view .LVU462
1578 007e 9047 blx r2
1579 .LVL109:
3887:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1580 .loc 1 3887 1 view .LVU463
1581 0080 F5E7 b .L110
1582 .LVL110:
1583 .L117:
3878:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
1584 .loc 1 3878 7 is_stmt 1 view .LVU464
1585 0082 FFF7FEFF bl HAL_ADC_ErrorCallback
1586 .LVL111:
3878:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
1587 .loc 1 3878 7 is_stmt 0 view .LVU465
1588 0086 F2E7 b .L110
1589 .cfi_endproc
1590 .LFE360:
1592 .section .text.ADC_DMAError,"ax",%progbits
1593 .align 1
1594 .global ADC_DMAError
1595 .syntax unified
1596 .thumb
1597 .thumb_func
1599 ADC_DMAError:
1600 .LVL112:
1601 .LFB362:
3906:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3907:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
3908:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief DMA error callback.
3909:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hdma pointer to DMA handle.
3910:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval None
3911:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3912:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** void ADC_DMAError(DMA_HandleTypeDef *hdma)
3913:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1602 .loc 1 3913 1 is_stmt 1 view -0
1603 .cfi_startproc
1604 @ args = 0, pretend = 0, frame = 0
1605 @ frame_needed = 0, uses_anonymous_args = 0
1606 .loc 1 3913 1 is_stmt 0 view .LVU467
1607 0000 08B5 push {r3, lr}
1608 .cfi_def_cfa_offset 8
1609 .cfi_offset 3, -8
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 230
1610 .cfi_offset 14, -4
3914:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Retrieve ADC handle corresponding to current DMA handle */
3915:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_HandleTypeDef *hadc = (ADC_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
1611 .loc 1 3915 3 is_stmt 1 view .LVU468
1612 .loc 1 3915 22 is_stmt 0 view .LVU469
1613 0002 806B ldr r0, [r0, #56]
1614 .LVL113:
3916:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3917:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC state */
3918:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_DMA);
1615 .loc 1 3918 3 is_stmt 1 view .LVU470
1616 0004 436D ldr r3, [r0, #84]
1617 0006 43F04003 orr r3, r3, #64
1618 000a 4365 str r3, [r0, #84]
3919:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3920:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC error code to DMA error */
3921:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_DMA);
1619 .loc 1 3921 3 view .LVU471
1620 000c 836D ldr r3, [r0, #88]
1621 000e 43F00403 orr r3, r3, #4
1622 0012 8365 str r3, [r0, #88]
3922:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3923:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Error callback */
3924:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
3925:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->ErrorCallback(hadc);
3926:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
3927:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_ErrorCallback(hadc);
1623 .loc 1 3927 3 view .LVU472
1624 0014 FFF7FEFF bl HAL_ADC_ErrorCallback
1625 .LVL114:
3928:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
3929:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1626 .loc 1 3929 1 is_stmt 0 view .LVU473
1627 0018 08BD pop {r3, pc}
1628 .cfi_endproc
1629 .LFE362:
1631 .section .text.HAL_ADC_ConfigChannel,"ax",%progbits
1632 .align 1
1633 .global HAL_ADC_ConfigChannel
1634 .syntax unified
1635 .thumb
1636 .thumb_func
1638 HAL_ADC_ConfigChannel:
1639 .LVL115:
1640 .LFB353:
2820:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
1641 .loc 1 2820 1 is_stmt 1 view -0
1642 .cfi_startproc
1643 @ args = 0, pretend = 0, frame = 8
1644 @ frame_needed = 0, uses_anonymous_args = 0
2820:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
1645 .loc 1 2820 1 is_stmt 0 view .LVU475
1646 0000 F0B5 push {r4, r5, r6, r7, lr}
1647 .cfi_def_cfa_offset 20
1648 .cfi_offset 4, -20
1649 .cfi_offset 5, -16
1650 .cfi_offset 6, -12
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 231
1651 .cfi_offset 7, -8
1652 .cfi_offset 14, -4
1653 0002 83B0 sub sp, sp, #12
1654 .cfi_def_cfa_offset 32
2821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpOffsetShifted;
1655 .loc 1 2821 3 is_stmt 1 view .LVU476
1656 .LVL116:
2822:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_config_internal_channel;
1657 .loc 1 2822 3 view .LVU477
2823:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __IO uint32_t wait_loop_index = 0;
1658 .loc 1 2823 3 view .LVU478
2824:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_regular;
1659 .loc 1 2824 3 view .LVU479
2824:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_regular;
1660 .loc 1 2824 17 is_stmt 0 view .LVU480
1661 0004 0023 movs r3, #0
1662 0006 0193 str r3, [sp, #4]
2825:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_injected;
1663 .loc 1 2825 3 is_stmt 1 view .LVU481
2826:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1664 .loc 1 2826 3 view .LVU482
2829:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank));
1665 .loc 1 2829 3 view .LVU483
2830:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_SAMPLE_TIME(sConfig->SamplingTime));
1666 .loc 1 2830 3 view .LVU484
2831:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_SINGLE_DIFFERENTIAL(sConfig->SingleDiff));
1667 .loc 1 2831 3 view .LVU485
2832:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_OFFSET_NUMBER(sConfig->OffsetNumber));
1668 .loc 1 2832 3 view .LVU486
2833:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check offset range according to oversampling setting */
1669 .loc 1 2833 3 view .LVU487
2835:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1670 .loc 1 2835 3 view .LVU488
2837:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1671 .loc 1 2837 5 view .LVU489
2849:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1672 .loc 1 2849 7 view .LVU490
2855:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1673 .loc 1 2855 3 view .LVU491
2858:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1674 .loc 1 2858 3 view .LVU492
2864:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1675 .loc 1 2864 5 view .LVU493
2866:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1676 .loc 1 2866 7 view .LVU494
2868:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1677 .loc 1 2868 5 view .LVU495
2870:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1678 .loc 1 2870 7 view .LVU496
2882:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1679 .loc 1 2882 3 view .LVU497
2882:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1680 .loc 1 2882 3 view .LVU498
1681 0008 90F85030 ldrb r3, [r0, #80] @ zero_extendqisi2
1682 000c 012B cmp r3, #1
1683 000e 00F0FA81 beq .L168
1684 0012 0446 mov r4, r0
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 232
1685 0014 0D46 mov r5, r1
2882:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1686 .loc 1 2882 3 discriminator 2 view .LVU499
1687 0016 0123 movs r3, #1
1688 0018 80F85030 strb r3, [r0, #80]
2882:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1689 .loc 1 2882 3 view .LVU500
2889:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1690 .loc 1 2889 3 view .LVU501
2889:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1691 .loc 1 2889 7 is_stmt 0 view .LVU502
1692 001c 0268 ldr r2, [r0]
1693 .LVL117:
1694 .LBB292:
1695 .LBI292:
7073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
1696 .loc 2 7073 26 is_stmt 1 view .LVU503
1697 .LBB293:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1698 .loc 2 7075 3 view .LVU504
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1699 .loc 2 7075 12 is_stmt 0 view .LVU505
1700 001e 9368 ldr r3, [r2, #8]
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1701 .loc 2 7075 74 view .LVU506
1702 0020 13F0040F tst r3, #4
1703 0024 09D0 beq .L122
1704 .LVL118:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1705 .loc 2 7075 74 view .LVU507
1706 .LBE293:
1707 .LBE292:
3107:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1708 .loc 1 3107 5 is_stmt 1 view .LVU508
1709 0026 436D ldr r3, [r0, #84]
1710 0028 43F02003 orr r3, r3, #32
1711 002c 4365 str r3, [r0, #84]
3109:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1712 .loc 1 3109 5 view .LVU509
1713 .LVL119:
3109:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1714 .loc 1 3109 20 is_stmt 0 view .LVU510
1715 002e 0120 movs r0, #1
1716 .LVL120:
1717 .L123:
3113:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1718 .loc 1 3113 3 is_stmt 1 view .LVU511
3113:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1719 .loc 1 3113 3 view .LVU512
1720 0030 0023 movs r3, #0
1721 0032 84F85030 strb r3, [r4, #80]
3113:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1722 .loc 1 3113 3 view .LVU513
3116:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1723 .loc 1 3116 3 view .LVU514
1724 .LVL121:
1725 .L121:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 233
3117:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1726 .loc 1 3117 1 is_stmt 0 view .LVU515
1727 0036 03B0 add sp, sp, #12
1728 .cfi_remember_state
1729 .cfi_def_cfa_offset 20
1730 @ sp needed
1731 0038 F0BD pop {r4, r5, r6, r7, pc}
1732 .LVL122:
1733 .L122:
1734 .cfi_restore_state
2891:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1735 .loc 1 2891 5 is_stmt 1 view .LVU516
2891:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1736 .loc 1 2891 11 is_stmt 0 view .LVU517
1737 003a 0B68 ldr r3, [r1]
2891:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1738 .loc 1 2891 8 view .LVU518
1739 003c 002B cmp r3, #0
1740 003e 0ADB blt .L124
2901:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
1741 .loc 1 2901 7 is_stmt 1 view .LVU519
2901:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
1742 .loc 1 2901 41 is_stmt 0 view .LVU520
1743 0040 C3F31301 ubfx r1, r3, #0, #20
1744 .LVL123:
2901:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
1745 .loc 1 2901 37 view .LVU521
1746 0044 0029 cmp r1, #0
1747 0046 39D1 bne .L125
2901:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
1748 .loc 1 2901 41 discriminator 1 view .LVU522
1749 0048 C3F38463 ubfx r3, r3, #26, #5
2901:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
1750 .loc 1 2901 37 discriminator 1 view .LVU523
1751 004c 0121 movs r1, #1
1752 004e 9940 lsls r1, r1, r3
1753 .L126:
2901:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
1754 .loc 1 2901 21 discriminator 4 view .LVU524
1755 0050 D369 ldr r3, [r2, #28]
2901:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
1756 .loc 1 2901 29 discriminator 4 view .LVU525
1757 0052 0B43 orrs r3, r3, r1
1758 0054 D361 str r3, [r2, #28]
1759 .L124:
2906:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1760 .loc 1 2906 5 is_stmt 1 view .LVU526
1761 0056 2A68 ldr r2, [r5]
1762 0058 6968 ldr r1, [r5, #4]
1763 005a 2068 ldr r0, [r4]
1764 .LVL124:
2906:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1765 .loc 1 2906 5 is_stmt 0 view .LVU527
1766 005c FFF7FEFF bl LL_ADC_REG_SetSequencerRanks
1767 .LVL125:
2913:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_injected = LL_ADC_INJ_IsConversionOngoing(hadc->Instance);
1768 .loc 1 2913 5 is_stmt 1 view .LVU528
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 234
2913:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_injected = LL_ADC_INJ_IsConversionOngoing(hadc->Instance);
1769 .loc 1 2913 46 is_stmt 0 view .LVU529
1770 0060 2068 ldr r0, [r4]
1771 .LVL126:
1772 .LBB294:
1773 .LBI294:
7073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
1774 .loc 2 7073 26 is_stmt 1 view .LVU530
1775 .LBB295:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1776 .loc 2 7075 3 view .LVU531
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1777 .loc 2 7075 12 is_stmt 0 view .LVU532
1778 0062 8668 ldr r6, [r0, #8]
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1779 .loc 2 7075 74 view .LVU533
1780 0064 16F00406 ands r6, r6, #4
1781 0068 00D0 beq .L128
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1782 .loc 2 7075 74 discriminator 1 view .LVU534
1783 006a 0126 movs r6, #1
1784 .L128:
1785 .LVL127:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1786 .loc 2 7075 74 discriminator 1 view .LVU535
1787 .LBE295:
1788 .LBE294:
2914:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((tmp_adc_is_conversion_on_going_regular == 0UL)
1789 .loc 1 2914 5 is_stmt 1 view .LVU536
1790 .LBB296:
1791 .LBI296:
7268:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
1792 .loc 2 7268 26 view .LVU537
1793 .LBB297:
1794 .loc 2 7270 3 view .LVU538
1795 .loc 2 7270 12 is_stmt 0 view .LVU539
1796 006c 8368 ldr r3, [r0, #8]
1797 .loc 2 7270 76 view .LVU540
1798 006e 13F0080F tst r3, #8
1799 0072 00D1 bne .L129
1800 .LVL128:
1801 .loc 2 7270 76 view .LVU541
1802 .LBE297:
1803 .LBE296:
2915:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_is_conversion_on_going_injected == 0UL)
1804 .loc 1 2915 5 is_stmt 1 view .LVU542
2915:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_is_conversion_on_going_injected == 0UL)
1805 .loc 1 2915 8 is_stmt 0 view .LVU543
1806 0074 76B3 cbz r6, .L186
1807 .LVL129:
1808 .L129:
3017:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1809 .loc 1 3017 5 is_stmt 1 view .LVU544
3017:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1810 .loc 1 3017 9 is_stmt 0 view .LVU545
1811 0076 2168 ldr r1, [r4]
1812 .LVL130:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 235
1813 .LBB298:
1814 .LBI298:
6941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
1815 .loc 2 6941 26 is_stmt 1 view .LVU546
1816 .LBB299:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1817 .loc 2 6943 3 view .LVU547
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1818 .loc 2 6943 12 is_stmt 0 view .LVU548
1819 0078 8B68 ldr r3, [r1, #8]
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1820 .loc 2 6943 68 view .LVU549
1821 007a 13F0010F tst r3, #1
1822 007e 40F0BE81 bne .L171
1823 .LVL131:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1824 .loc 2 6943 68 view .LVU550
1825 .LBE299:
1826 .LBE298:
3020:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1827 .loc 1 3020 7 is_stmt 1 view .LVU551
1828 0082 2B68 ldr r3, [r5]
1829 0084 E868 ldr r0, [r5, #12]
1830 .LVL132:
1831 .LBB300:
1832 .LBI300:
5555:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
1833 .loc 2 5555 22 view .LVU552
1834 .LBB301:
5577:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** Channel & ADC_SINGLEDIFF_CHANNEL_MASK,
1835 .loc 2 5577 3 view .LVU553
1836 0086 D1F8C020 ldr r2, [r1, #192]
1837 008a C3F31306 ubfx r6, r3, #0, #20
1838 008e 22EA0602 bic r2, r2, r6
1839 0092 00F01806 and r6, r0, #24
1840 0096 A148 ldr r0, .L200
1841 .LVL133:
5577:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** Channel & ADC_SINGLEDIFF_CHANNEL_MASK,
1842 .loc 2 5577 3 is_stmt 0 view .LVU554
1843 0098 F040 lsrs r0, r0, r6
1844 009a 0340 ands r3, r3, r0
1845 .LVL134:
5577:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** Channel & ADC_SINGLEDIFF_CHANNEL_MASK,
1846 .loc 2 5577 3 view .LVU555
1847 009c C3F31303 ubfx r3, r3, #0, #20
1848 00a0 1343 orrs r3, r3, r2
1849 00a2 C1F8C030 str r3, [r1, #192]
1850 .LVL135:
5577:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** Channel & ADC_SINGLEDIFF_CHANNEL_MASK,
1851 .loc 2 5577 3 view .LVU556
1852 .LBE301:
1853 .LBE300:
3023:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1854 .loc 1 3023 7 is_stmt 1 view .LVU557
3023:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1855 .loc 1 3023 18 is_stmt 0 view .LVU558
1856 00a6 EA68 ldr r2, [r5, #12]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 236
3023:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1857 .loc 1 3023 10 view .LVU559
1858 00a8 9D4B ldr r3, .L200+4
1859 00aa 9A42 cmp r2, r3
1860 00ac 00F08F80 beq .L187
1861 .L138:
3038:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1862 .loc 1 3038 7 is_stmt 1 view .LVU560
3038:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1863 .loc 1 3038 11 is_stmt 0 view .LVU561
1864 00b0 2B68 ldr r3, [r5]
3038:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1865 .loc 1 3038 10 view .LVU562
1866 00b2 002B cmp r3, #0
1867 00b4 C0F23681 blt .L188
2821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpOffsetShifted;
1868 .loc 1 2821 21 view .LVU563
1869 00b8 0020 movs r0, #0
1870 00ba B9E7 b .L123
1871 .LVL136:
1872 .L125:
1873 .LBB302:
1874 .LBI302:
1875 .file 3 "Drivers/CMSIS/Include/cmsis_gcc.h"
1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.2.0
5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 08. May 2019
6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
24:Drivers/CMSIS/Include/cmsis_gcc.h ****
25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
27:Drivers/CMSIS/Include/cmsis_gcc.h ****
28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
33:Drivers/CMSIS/Include/cmsis_gcc.h ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 237
34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
38:Drivers/CMSIS/Include/cmsis_gcc.h ****
39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 238
91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
116:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __COMPILER_BARRIER
117:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __COMPILER_BARRIER() __ASM volatile("":::"memory")
118:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
119:Drivers/CMSIS/Include/cmsis_gcc.h ****
120:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ######################### Startup and Lowlevel Init ######################## */
121:Drivers/CMSIS/Include/cmsis_gcc.h ****
122:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PROGRAM_START
123:Drivers/CMSIS/Include/cmsis_gcc.h ****
124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Initializes data and bss sections
126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details This default implementations initialized all data and additional bss
127:Drivers/CMSIS/Include/cmsis_gcc.h **** sections relying on .copy.table and .zero.table specified properly
128:Drivers/CMSIS/Include/cmsis_gcc.h **** in the used linker script.
129:Drivers/CMSIS/Include/cmsis_gcc.h ****
130:Drivers/CMSIS/Include/cmsis_gcc.h **** */
131:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE __NO_RETURN void __cmsis_start(void)
132:Drivers/CMSIS/Include/cmsis_gcc.h **** {
133:Drivers/CMSIS/Include/cmsis_gcc.h **** extern void _start(void) __NO_RETURN;
134:Drivers/CMSIS/Include/cmsis_gcc.h ****
135:Drivers/CMSIS/Include/cmsis_gcc.h **** typedef struct {
136:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t const* src;
137:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t* dest;
138:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t wlen;
139:Drivers/CMSIS/Include/cmsis_gcc.h **** } __copy_table_t;
140:Drivers/CMSIS/Include/cmsis_gcc.h ****
141:Drivers/CMSIS/Include/cmsis_gcc.h **** typedef struct {
142:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t* dest;
143:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t wlen;
144:Drivers/CMSIS/Include/cmsis_gcc.h **** } __zero_table_t;
145:Drivers/CMSIS/Include/cmsis_gcc.h ****
146:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __copy_table_t __copy_table_start__;
147:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __copy_table_t __copy_table_end__;
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 239
148:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __zero_table_t __zero_table_start__;
149:Drivers/CMSIS/Include/cmsis_gcc.h **** extern const __zero_table_t __zero_table_end__;
150:Drivers/CMSIS/Include/cmsis_gcc.h ****
151:Drivers/CMSIS/Include/cmsis_gcc.h **** for (__copy_table_t const* pTable = &__copy_table_start__; pTable < &__copy_table_end__; ++pTable
152:Drivers/CMSIS/Include/cmsis_gcc.h **** for(uint32_t i=0u; i<pTable->wlen; ++i) {
153:Drivers/CMSIS/Include/cmsis_gcc.h **** pTable->dest[i] = pTable->src[i];
154:Drivers/CMSIS/Include/cmsis_gcc.h **** }
155:Drivers/CMSIS/Include/cmsis_gcc.h **** }
156:Drivers/CMSIS/Include/cmsis_gcc.h ****
157:Drivers/CMSIS/Include/cmsis_gcc.h **** for (__zero_table_t const* pTable = &__zero_table_start__; pTable < &__zero_table_end__; ++pTable
158:Drivers/CMSIS/Include/cmsis_gcc.h **** for(uint32_t i=0u; i<pTable->wlen; ++i) {
159:Drivers/CMSIS/Include/cmsis_gcc.h **** pTable->dest[i] = 0u;
160:Drivers/CMSIS/Include/cmsis_gcc.h **** }
161:Drivers/CMSIS/Include/cmsis_gcc.h **** }
162:Drivers/CMSIS/Include/cmsis_gcc.h ****
163:Drivers/CMSIS/Include/cmsis_gcc.h **** _start();
164:Drivers/CMSIS/Include/cmsis_gcc.h **** }
165:Drivers/CMSIS/Include/cmsis_gcc.h ****
166:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PROGRAM_START __cmsis_start
167:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
168:Drivers/CMSIS/Include/cmsis_gcc.h ****
169:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INITIAL_SP
170:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INITIAL_SP __StackTop
171:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
172:Drivers/CMSIS/Include/cmsis_gcc.h ****
173:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STACK_LIMIT
174:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STACK_LIMIT __StackLimit
175:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
176:Drivers/CMSIS/Include/cmsis_gcc.h ****
177:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __VECTOR_TABLE
178:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __VECTOR_TABLE __Vectors
179:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
180:Drivers/CMSIS/Include/cmsis_gcc.h ****
181:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __VECTOR_TABLE_ATTRIBUTE
182:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __VECTOR_TABLE_ATTRIBUTE __attribute((used, section(".vectors")))
183:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
184:Drivers/CMSIS/Include/cmsis_gcc.h ****
185:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
186:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
187:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
188:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
189:Drivers/CMSIS/Include/cmsis_gcc.h **** */
190:Drivers/CMSIS/Include/cmsis_gcc.h ****
191:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
192:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
193:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
194:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
195:Drivers/CMSIS/Include/cmsis_gcc.h **** */
196:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
197:Drivers/CMSIS/Include/cmsis_gcc.h **** {
198:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
199:Drivers/CMSIS/Include/cmsis_gcc.h **** }
200:Drivers/CMSIS/Include/cmsis_gcc.h ****
201:Drivers/CMSIS/Include/cmsis_gcc.h ****
202:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
203:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
204:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 240
205:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
206:Drivers/CMSIS/Include/cmsis_gcc.h **** */
207:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
208:Drivers/CMSIS/Include/cmsis_gcc.h **** {
209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
210:Drivers/CMSIS/Include/cmsis_gcc.h **** }
211:Drivers/CMSIS/Include/cmsis_gcc.h ****
212:Drivers/CMSIS/Include/cmsis_gcc.h ****
213:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
214:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
215:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
216:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
217:Drivers/CMSIS/Include/cmsis_gcc.h **** */
218:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
219:Drivers/CMSIS/Include/cmsis_gcc.h **** {
220:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
221:Drivers/CMSIS/Include/cmsis_gcc.h ****
222:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
223:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
224:Drivers/CMSIS/Include/cmsis_gcc.h **** }
225:Drivers/CMSIS/Include/cmsis_gcc.h ****
226:Drivers/CMSIS/Include/cmsis_gcc.h ****
227:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
236:Drivers/CMSIS/Include/cmsis_gcc.h ****
237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
240:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
241:Drivers/CMSIS/Include/cmsis_gcc.h ****
242:Drivers/CMSIS/Include/cmsis_gcc.h ****
243:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
244:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
245:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
246:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
247:Drivers/CMSIS/Include/cmsis_gcc.h **** */
248:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
249:Drivers/CMSIS/Include/cmsis_gcc.h **** {
250:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
251:Drivers/CMSIS/Include/cmsis_gcc.h **** }
252:Drivers/CMSIS/Include/cmsis_gcc.h ****
253:Drivers/CMSIS/Include/cmsis_gcc.h ****
254:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
255:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
256:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
257:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
258:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
259:Drivers/CMSIS/Include/cmsis_gcc.h **** */
260:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
261:Drivers/CMSIS/Include/cmsis_gcc.h **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 241
262:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
263:Drivers/CMSIS/Include/cmsis_gcc.h **** }
264:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
265:Drivers/CMSIS/Include/cmsis_gcc.h ****
266:Drivers/CMSIS/Include/cmsis_gcc.h ****
267:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
268:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
269:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
270:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
271:Drivers/CMSIS/Include/cmsis_gcc.h **** */
272:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
273:Drivers/CMSIS/Include/cmsis_gcc.h **** {
274:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
275:Drivers/CMSIS/Include/cmsis_gcc.h ****
276:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
277:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
278:Drivers/CMSIS/Include/cmsis_gcc.h **** }
279:Drivers/CMSIS/Include/cmsis_gcc.h ****
280:Drivers/CMSIS/Include/cmsis_gcc.h ****
281:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
282:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
283:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
284:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
285:Drivers/CMSIS/Include/cmsis_gcc.h **** */
286:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
287:Drivers/CMSIS/Include/cmsis_gcc.h **** {
288:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
289:Drivers/CMSIS/Include/cmsis_gcc.h ****
290:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
291:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
293:Drivers/CMSIS/Include/cmsis_gcc.h ****
294:Drivers/CMSIS/Include/cmsis_gcc.h ****
295:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
296:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
297:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
298:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
299:Drivers/CMSIS/Include/cmsis_gcc.h **** */
300:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
301:Drivers/CMSIS/Include/cmsis_gcc.h **** {
302:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
303:Drivers/CMSIS/Include/cmsis_gcc.h ****
304:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
305:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
306:Drivers/CMSIS/Include/cmsis_gcc.h **** }
307:Drivers/CMSIS/Include/cmsis_gcc.h ****
308:Drivers/CMSIS/Include/cmsis_gcc.h ****
309:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
310:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
311:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
312:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
313:Drivers/CMSIS/Include/cmsis_gcc.h **** */
314:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
315:Drivers/CMSIS/Include/cmsis_gcc.h **** {
316:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
317:Drivers/CMSIS/Include/cmsis_gcc.h ****
318:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 242
319:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
320:Drivers/CMSIS/Include/cmsis_gcc.h **** }
321:Drivers/CMSIS/Include/cmsis_gcc.h ****
322:Drivers/CMSIS/Include/cmsis_gcc.h ****
323:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
324:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
325:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
326:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
327:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
328:Drivers/CMSIS/Include/cmsis_gcc.h **** */
329:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
330:Drivers/CMSIS/Include/cmsis_gcc.h **** {
331:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
332:Drivers/CMSIS/Include/cmsis_gcc.h ****
333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
334:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
335:Drivers/CMSIS/Include/cmsis_gcc.h **** }
336:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
337:Drivers/CMSIS/Include/cmsis_gcc.h ****
338:Drivers/CMSIS/Include/cmsis_gcc.h ****
339:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
340:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
341:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
342:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
343:Drivers/CMSIS/Include/cmsis_gcc.h **** */
344:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
345:Drivers/CMSIS/Include/cmsis_gcc.h **** {
346:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
347:Drivers/CMSIS/Include/cmsis_gcc.h **** }
348:Drivers/CMSIS/Include/cmsis_gcc.h ****
349:Drivers/CMSIS/Include/cmsis_gcc.h ****
350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
354:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
358:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
359:Drivers/CMSIS/Include/cmsis_gcc.h **** }
360:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
361:Drivers/CMSIS/Include/cmsis_gcc.h ****
362:Drivers/CMSIS/Include/cmsis_gcc.h ****
363:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
364:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
365:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
366:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
367:Drivers/CMSIS/Include/cmsis_gcc.h **** */
368:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
369:Drivers/CMSIS/Include/cmsis_gcc.h **** {
370:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
371:Drivers/CMSIS/Include/cmsis_gcc.h ****
372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
373:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
374:Drivers/CMSIS/Include/cmsis_gcc.h **** }
375:Drivers/CMSIS/Include/cmsis_gcc.h ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 243
376:Drivers/CMSIS/Include/cmsis_gcc.h ****
377:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
378:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
379:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
380:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
381:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
382:Drivers/CMSIS/Include/cmsis_gcc.h **** */
383:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
384:Drivers/CMSIS/Include/cmsis_gcc.h **** {
385:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
386:Drivers/CMSIS/Include/cmsis_gcc.h ****
387:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
388:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
389:Drivers/CMSIS/Include/cmsis_gcc.h **** }
390:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
391:Drivers/CMSIS/Include/cmsis_gcc.h ****
392:Drivers/CMSIS/Include/cmsis_gcc.h ****
393:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
394:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
395:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
396:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
397:Drivers/CMSIS/Include/cmsis_gcc.h **** */
398:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
399:Drivers/CMSIS/Include/cmsis_gcc.h **** {
400:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
401:Drivers/CMSIS/Include/cmsis_gcc.h **** }
402:Drivers/CMSIS/Include/cmsis_gcc.h ****
403:Drivers/CMSIS/Include/cmsis_gcc.h ****
404:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
405:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
406:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
407:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
408:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
409:Drivers/CMSIS/Include/cmsis_gcc.h **** */
410:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
411:Drivers/CMSIS/Include/cmsis_gcc.h **** {
412:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
413:Drivers/CMSIS/Include/cmsis_gcc.h **** }
414:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
415:Drivers/CMSIS/Include/cmsis_gcc.h ****
416:Drivers/CMSIS/Include/cmsis_gcc.h ****
417:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
418:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
419:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
420:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
421:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
422:Drivers/CMSIS/Include/cmsis_gcc.h **** */
423:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
424:Drivers/CMSIS/Include/cmsis_gcc.h **** {
425:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
426:Drivers/CMSIS/Include/cmsis_gcc.h ****
427:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
428:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
429:Drivers/CMSIS/Include/cmsis_gcc.h **** }
430:Drivers/CMSIS/Include/cmsis_gcc.h ****
431:Drivers/CMSIS/Include/cmsis_gcc.h ****
432:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 244
433:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
434:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
435:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
436:Drivers/CMSIS/Include/cmsis_gcc.h **** */
437:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
438:Drivers/CMSIS/Include/cmsis_gcc.h **** {
439:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
440:Drivers/CMSIS/Include/cmsis_gcc.h **** }
441:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
442:Drivers/CMSIS/Include/cmsis_gcc.h ****
443:Drivers/CMSIS/Include/cmsis_gcc.h ****
444:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
445:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
446:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
447:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
448:Drivers/CMSIS/Include/cmsis_gcc.h **** */
449:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
450:Drivers/CMSIS/Include/cmsis_gcc.h **** {
451:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
452:Drivers/CMSIS/Include/cmsis_gcc.h ****
453:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
454:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
455:Drivers/CMSIS/Include/cmsis_gcc.h **** }
456:Drivers/CMSIS/Include/cmsis_gcc.h ****
457:Drivers/CMSIS/Include/cmsis_gcc.h ****
458:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
459:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
460:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
461:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
462:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
463:Drivers/CMSIS/Include/cmsis_gcc.h **** */
464:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
465:Drivers/CMSIS/Include/cmsis_gcc.h **** {
466:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
467:Drivers/CMSIS/Include/cmsis_gcc.h ****
468:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
469:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
470:Drivers/CMSIS/Include/cmsis_gcc.h **** }
471:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
472:Drivers/CMSIS/Include/cmsis_gcc.h ****
473:Drivers/CMSIS/Include/cmsis_gcc.h ****
474:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
475:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
476:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
477:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
478:Drivers/CMSIS/Include/cmsis_gcc.h **** */
479:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
480:Drivers/CMSIS/Include/cmsis_gcc.h **** {
481:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
483:Drivers/CMSIS/Include/cmsis_gcc.h ****
484:Drivers/CMSIS/Include/cmsis_gcc.h ****
485:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
486:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
487:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask (non-secure)
488:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Priority Mask Register when in secure state.
489:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 245
490:Drivers/CMSIS/Include/cmsis_gcc.h **** */
491:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PRIMASK_NS(uint32_t priMask)
492:Drivers/CMSIS/Include/cmsis_gcc.h **** {
493:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask_ns, %0" : : "r" (priMask) : "memory");
494:Drivers/CMSIS/Include/cmsis_gcc.h **** }
495:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
496:Drivers/CMSIS/Include/cmsis_gcc.h ****
497:Drivers/CMSIS/Include/cmsis_gcc.h ****
498:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
499:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
500:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
501:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
502:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable FIQ
503:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables FIQ interrupts by clearing the F-bit in the CPSR.
504:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
505:Drivers/CMSIS/Include/cmsis_gcc.h **** */
506:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_fault_irq(void)
507:Drivers/CMSIS/Include/cmsis_gcc.h **** {
508:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie f" : : : "memory");
509:Drivers/CMSIS/Include/cmsis_gcc.h **** }
510:Drivers/CMSIS/Include/cmsis_gcc.h ****
511:Drivers/CMSIS/Include/cmsis_gcc.h ****
512:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
513:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable FIQ
514:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables FIQ interrupts by setting the F-bit in the CPSR.
515:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
516:Drivers/CMSIS/Include/cmsis_gcc.h **** */
517:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_fault_irq(void)
518:Drivers/CMSIS/Include/cmsis_gcc.h **** {
519:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid f" : : : "memory");
520:Drivers/CMSIS/Include/cmsis_gcc.h **** }
521:Drivers/CMSIS/Include/cmsis_gcc.h ****
522:Drivers/CMSIS/Include/cmsis_gcc.h ****
523:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
524:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority
525:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Base Priority register.
526:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
527:Drivers/CMSIS/Include/cmsis_gcc.h **** */
528:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_BASEPRI(void)
529:Drivers/CMSIS/Include/cmsis_gcc.h **** {
530:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
531:Drivers/CMSIS/Include/cmsis_gcc.h ****
532:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri" : "=r" (result) );
533:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
534:Drivers/CMSIS/Include/cmsis_gcc.h **** }
535:Drivers/CMSIS/Include/cmsis_gcc.h ****
536:Drivers/CMSIS/Include/cmsis_gcc.h ****
537:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
538:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
539:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority (non-secure)
540:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Base Priority register when in secure state.
541:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
542:Drivers/CMSIS/Include/cmsis_gcc.h **** */
543:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_BASEPRI_NS(void)
544:Drivers/CMSIS/Include/cmsis_gcc.h **** {
545:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
546:Drivers/CMSIS/Include/cmsis_gcc.h ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 246
547:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri_ns" : "=r" (result) );
548:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
549:Drivers/CMSIS/Include/cmsis_gcc.h **** }
550:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
551:Drivers/CMSIS/Include/cmsis_gcc.h ****
552:Drivers/CMSIS/Include/cmsis_gcc.h ****
553:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
554:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority
555:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register.
556:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
557:Drivers/CMSIS/Include/cmsis_gcc.h **** */
558:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI(uint32_t basePri)
559:Drivers/CMSIS/Include/cmsis_gcc.h **** {
560:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri, %0" : : "r" (basePri) : "memory");
561:Drivers/CMSIS/Include/cmsis_gcc.h **** }
562:Drivers/CMSIS/Include/cmsis_gcc.h ****
563:Drivers/CMSIS/Include/cmsis_gcc.h ****
564:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
565:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
566:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority (non-secure)
567:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Base Priority register when in secure state.
568:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
569:Drivers/CMSIS/Include/cmsis_gcc.h **** */
570:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_BASEPRI_NS(uint32_t basePri)
571:Drivers/CMSIS/Include/cmsis_gcc.h **** {
572:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_ns, %0" : : "r" (basePri) : "memory");
573:Drivers/CMSIS/Include/cmsis_gcc.h **** }
574:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
575:Drivers/CMSIS/Include/cmsis_gcc.h ****
576:Drivers/CMSIS/Include/cmsis_gcc.h ****
577:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
578:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority with condition
579:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register only if BASEPRI masking is disable
580:Drivers/CMSIS/Include/cmsis_gcc.h **** or the new value increases the BASEPRI priority level.
581:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
582:Drivers/CMSIS/Include/cmsis_gcc.h **** */
583:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI_MAX(uint32_t basePri)
584:Drivers/CMSIS/Include/cmsis_gcc.h **** {
585:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_max, %0" : : "r" (basePri) : "memory");
586:Drivers/CMSIS/Include/cmsis_gcc.h **** }
587:Drivers/CMSIS/Include/cmsis_gcc.h ****
588:Drivers/CMSIS/Include/cmsis_gcc.h ****
589:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
590:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask
591:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Fault Mask register.
592:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
593:Drivers/CMSIS/Include/cmsis_gcc.h **** */
594:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FAULTMASK(void)
595:Drivers/CMSIS/Include/cmsis_gcc.h **** {
596:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
597:Drivers/CMSIS/Include/cmsis_gcc.h ****
598:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask" : "=r" (result) );
599:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
600:Drivers/CMSIS/Include/cmsis_gcc.h **** }
601:Drivers/CMSIS/Include/cmsis_gcc.h ****
602:Drivers/CMSIS/Include/cmsis_gcc.h ****
603:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 247
604:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
605:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask (non-secure)
606:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Fault Mask register when in secure state.
607:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
608:Drivers/CMSIS/Include/cmsis_gcc.h **** */
609:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_FAULTMASK_NS(void)
610:Drivers/CMSIS/Include/cmsis_gcc.h **** {
611:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
612:Drivers/CMSIS/Include/cmsis_gcc.h ****
613:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask_ns" : "=r" (result) );
614:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
615:Drivers/CMSIS/Include/cmsis_gcc.h **** }
616:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
617:Drivers/CMSIS/Include/cmsis_gcc.h ****
618:Drivers/CMSIS/Include/cmsis_gcc.h ****
619:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
620:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask
621:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Fault Mask register.
622:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
623:Drivers/CMSIS/Include/cmsis_gcc.h **** */
624:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FAULTMASK(uint32_t faultMask)
625:Drivers/CMSIS/Include/cmsis_gcc.h **** {
626:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory");
627:Drivers/CMSIS/Include/cmsis_gcc.h **** }
628:Drivers/CMSIS/Include/cmsis_gcc.h ****
629:Drivers/CMSIS/Include/cmsis_gcc.h ****
630:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
631:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
632:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask (non-secure)
633:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Fault Mask register when in secure state.
634:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
635:Drivers/CMSIS/Include/cmsis_gcc.h **** */
636:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_FAULTMASK_NS(uint32_t faultMask)
637:Drivers/CMSIS/Include/cmsis_gcc.h **** {
638:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask_ns, %0" : : "r" (faultMask) : "memory");
639:Drivers/CMSIS/Include/cmsis_gcc.h **** }
640:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
641:Drivers/CMSIS/Include/cmsis_gcc.h ****
642:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
643:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
644:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) */
645:Drivers/CMSIS/Include/cmsis_gcc.h ****
646:Drivers/CMSIS/Include/cmsis_gcc.h ****
647:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
648:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) )
649:Drivers/CMSIS/Include/cmsis_gcc.h ****
650:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
651:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit
652:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
653:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
654:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
655:Drivers/CMSIS/Include/cmsis_gcc.h ****
656:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer Limit (PSPLIM).
657:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
658:Drivers/CMSIS/Include/cmsis_gcc.h **** */
659:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSPLIM(void)
660:Drivers/CMSIS/Include/cmsis_gcc.h **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 248
661:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
662:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
663:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
664:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
665:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
666:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
667:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim" : "=r" (result) );
668:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
669:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
670:Drivers/CMSIS/Include/cmsis_gcc.h **** }
671:Drivers/CMSIS/Include/cmsis_gcc.h ****
672:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3))
673:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
674:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit (non-secure)
675:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
676:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
677:Drivers/CMSIS/Include/cmsis_gcc.h ****
678:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in
679:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
680:Drivers/CMSIS/Include/cmsis_gcc.h **** */
681:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSPLIM_NS(void)
682:Drivers/CMSIS/Include/cmsis_gcc.h **** {
683:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
684:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
685:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
686:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
687:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
688:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim_ns" : "=r" (result) );
689:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
690:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
691:Drivers/CMSIS/Include/cmsis_gcc.h **** }
692:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
693:Drivers/CMSIS/Include/cmsis_gcc.h ****
694:Drivers/CMSIS/Include/cmsis_gcc.h ****
695:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
696:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer Limit
697:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
698:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
699:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
700:Drivers/CMSIS/Include/cmsis_gcc.h ****
701:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer Limit (PSPLIM).
702:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
703:Drivers/CMSIS/Include/cmsis_gcc.h **** */
704:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSPLIM(uint32_t ProcStackPtrLimit)
705:Drivers/CMSIS/Include/cmsis_gcc.h **** {
706:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
707:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
708:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
709:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
710:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
711:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim, %0" : : "r" (ProcStackPtrLimit));
712:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
713:Drivers/CMSIS/Include/cmsis_gcc.h **** }
714:Drivers/CMSIS/Include/cmsis_gcc.h ****
715:Drivers/CMSIS/Include/cmsis_gcc.h ****
716:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
717:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 249
718:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
719:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
720:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
721:Drivers/CMSIS/Include/cmsis_gcc.h ****
722:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in s
723:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
724:Drivers/CMSIS/Include/cmsis_gcc.h **** */
725:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSPLIM_NS(uint32_t ProcStackPtrLimit)
726:Drivers/CMSIS/Include/cmsis_gcc.h **** {
727:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
728:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
729:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
730:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
731:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim_ns, %0\n" : : "r" (ProcStackPtrLimit));
732:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
733:Drivers/CMSIS/Include/cmsis_gcc.h **** }
734:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
735:Drivers/CMSIS/Include/cmsis_gcc.h ****
736:Drivers/CMSIS/Include/cmsis_gcc.h ****
737:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
738:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit
739:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
740:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
741:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
742:Drivers/CMSIS/Include/cmsis_gcc.h ****
743:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer Limit (MSPLIM).
744:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
745:Drivers/CMSIS/Include/cmsis_gcc.h **** */
746:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSPLIM(void)
747:Drivers/CMSIS/Include/cmsis_gcc.h **** {
748:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
749:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
750:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
751:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
752:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
753:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
754:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim" : "=r" (result) );
755:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
756:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
757:Drivers/CMSIS/Include/cmsis_gcc.h **** }
758:Drivers/CMSIS/Include/cmsis_gcc.h ****
759:Drivers/CMSIS/Include/cmsis_gcc.h ****
760:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
761:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
762:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit (non-secure)
763:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
764:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
765:Drivers/CMSIS/Include/cmsis_gcc.h ****
766:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in sec
767:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
768:Drivers/CMSIS/Include/cmsis_gcc.h **** */
769:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSPLIM_NS(void)
770:Drivers/CMSIS/Include/cmsis_gcc.h **** {
771:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
772:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
773:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
774:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 250
775:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
776:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim_ns" : "=r" (result) );
777:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
778:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
779:Drivers/CMSIS/Include/cmsis_gcc.h **** }
780:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
781:Drivers/CMSIS/Include/cmsis_gcc.h ****
782:Drivers/CMSIS/Include/cmsis_gcc.h ****
783:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
784:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit
785:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
786:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
787:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
788:Drivers/CMSIS/Include/cmsis_gcc.h ****
789:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer Limit (MSPLIM).
790:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer Limit value to set
791:Drivers/CMSIS/Include/cmsis_gcc.h **** */
792:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSPLIM(uint32_t MainStackPtrLimit)
793:Drivers/CMSIS/Include/cmsis_gcc.h **** {
794:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
795:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
796:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
797:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
798:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
799:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim, %0" : : "r" (MainStackPtrLimit));
800:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
801:Drivers/CMSIS/Include/cmsis_gcc.h **** }
802:Drivers/CMSIS/Include/cmsis_gcc.h ****
803:Drivers/CMSIS/Include/cmsis_gcc.h ****
804:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
805:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
806:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit (non-secure)
807:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
808:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
809:Drivers/CMSIS/Include/cmsis_gcc.h ****
810:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secu
811:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer value to set
812:Drivers/CMSIS/Include/cmsis_gcc.h **** */
813:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSPLIM_NS(uint32_t MainStackPtrLimit)
814:Drivers/CMSIS/Include/cmsis_gcc.h **** {
815:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
816:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
817:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
818:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
819:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim_ns, %0" : : "r" (MainStackPtrLimit));
820:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
821:Drivers/CMSIS/Include/cmsis_gcc.h **** }
822:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
823:Drivers/CMSIS/Include/cmsis_gcc.h ****
824:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
825:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) */
826:Drivers/CMSIS/Include/cmsis_gcc.h ****
827:Drivers/CMSIS/Include/cmsis_gcc.h ****
828:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
829:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get FPSCR
830:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Floating Point Status/Control register.
831:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Floating Point Status/Control register value
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 251
832:Drivers/CMSIS/Include/cmsis_gcc.h **** */
833:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FPSCR(void)
834:Drivers/CMSIS/Include/cmsis_gcc.h **** {
835:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
836:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
837:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_get_fpscr)
838:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
839:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
840:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
841:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_arm_get_fpscr();
842:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
843:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
844:Drivers/CMSIS/Include/cmsis_gcc.h ****
845:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMRS %0, fpscr" : "=r" (result) );
846:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
847:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
848:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
849:Drivers/CMSIS/Include/cmsis_gcc.h **** return(0U);
850:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
851:Drivers/CMSIS/Include/cmsis_gcc.h **** }
852:Drivers/CMSIS/Include/cmsis_gcc.h ****
853:Drivers/CMSIS/Include/cmsis_gcc.h ****
854:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
855:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set FPSCR
856:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Floating Point Status/Control register.
857:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] fpscr Floating Point Status/Control value to set
858:Drivers/CMSIS/Include/cmsis_gcc.h **** */
859:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FPSCR(uint32_t fpscr)
860:Drivers/CMSIS/Include/cmsis_gcc.h **** {
861:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
862:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
863:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_set_fpscr)
864:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
865:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
866:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
867:Drivers/CMSIS/Include/cmsis_gcc.h **** __builtin_arm_set_fpscr(fpscr);
868:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
869:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc", "memory");
870:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
871:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
872:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)fpscr;
873:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
874:Drivers/CMSIS/Include/cmsis_gcc.h **** }
875:Drivers/CMSIS/Include/cmsis_gcc.h ****
876:Drivers/CMSIS/Include/cmsis_gcc.h ****
877:Drivers/CMSIS/Include/cmsis_gcc.h **** /*@} end of CMSIS_Core_RegAccFunctions */
878:Drivers/CMSIS/Include/cmsis_gcc.h ****
879:Drivers/CMSIS/Include/cmsis_gcc.h ****
880:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################## Core Instruction Access ######################### */
881:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
882:Drivers/CMSIS/Include/cmsis_gcc.h **** Access to dedicated instructions
883:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
884:Drivers/CMSIS/Include/cmsis_gcc.h **** */
885:Drivers/CMSIS/Include/cmsis_gcc.h ****
886:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Define macros for porting to both thumb1 and thumb2.
887:Drivers/CMSIS/Include/cmsis_gcc.h **** * For thumb1, use low register (r0-r7), specified by constraint "l"
888:Drivers/CMSIS/Include/cmsis_gcc.h **** * Otherwise, use general registers, specified by constraint "r" */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 252
889:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined (__thumb__) && !defined (__thumb2__)
890:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=l" (r)
891:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+l" (r)
892:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "l" (r)
893:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
894:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=r" (r)
895:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+r" (r)
896:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "r" (r)
897:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
898:Drivers/CMSIS/Include/cmsis_gcc.h ****
899:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
900:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief No Operation
901:Drivers/CMSIS/Include/cmsis_gcc.h **** \details No Operation does nothing. This instruction can be used for code alignment purposes.
902:Drivers/CMSIS/Include/cmsis_gcc.h **** */
903:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NOP() __ASM volatile ("nop")
904:Drivers/CMSIS/Include/cmsis_gcc.h ****
905:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
906:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Interrupt
907:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Interrupt is a hint instruction that suspends execution until one of a number o
908:Drivers/CMSIS/Include/cmsis_gcc.h **** */
909:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFI() __ASM volatile ("wfi")
910:Drivers/CMSIS/Include/cmsis_gcc.h ****
911:Drivers/CMSIS/Include/cmsis_gcc.h ****
912:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
913:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Event
914:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Event is a hint instruction that permits the processor to enter
915:Drivers/CMSIS/Include/cmsis_gcc.h **** a low-power state until one of a number of events occurs.
916:Drivers/CMSIS/Include/cmsis_gcc.h **** */
917:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFE() __ASM volatile ("wfe")
918:Drivers/CMSIS/Include/cmsis_gcc.h ****
919:Drivers/CMSIS/Include/cmsis_gcc.h ****
920:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
921:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Send Event
922:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Send Event is a hint instruction. It causes an event to be signaled to the CPU.
923:Drivers/CMSIS/Include/cmsis_gcc.h **** */
924:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __SEV() __ASM volatile ("sev")
925:Drivers/CMSIS/Include/cmsis_gcc.h ****
926:Drivers/CMSIS/Include/cmsis_gcc.h ****
927:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
928:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Instruction Synchronization Barrier
929:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Instruction Synchronization Barrier flushes the pipeline in the processor,
930:Drivers/CMSIS/Include/cmsis_gcc.h **** so that all instructions following the ISB are fetched from cache or memory,
931:Drivers/CMSIS/Include/cmsis_gcc.h **** after the instruction has been completed.
932:Drivers/CMSIS/Include/cmsis_gcc.h **** */
933:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __ISB(void)
934:Drivers/CMSIS/Include/cmsis_gcc.h **** {
935:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("isb 0xF":::"memory");
936:Drivers/CMSIS/Include/cmsis_gcc.h **** }
937:Drivers/CMSIS/Include/cmsis_gcc.h ****
938:Drivers/CMSIS/Include/cmsis_gcc.h ****
939:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
940:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Synchronization Barrier
941:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Acts as a special kind of Data Memory Barrier.
942:Drivers/CMSIS/Include/cmsis_gcc.h **** It completes when all explicit memory accesses before this instruction complete.
943:Drivers/CMSIS/Include/cmsis_gcc.h **** */
944:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DSB(void)
945:Drivers/CMSIS/Include/cmsis_gcc.h **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 253
946:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dsb 0xF":::"memory");
947:Drivers/CMSIS/Include/cmsis_gcc.h **** }
948:Drivers/CMSIS/Include/cmsis_gcc.h ****
949:Drivers/CMSIS/Include/cmsis_gcc.h ****
950:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
951:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Memory Barrier
952:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Ensures the apparent order of the explicit memory operations before
953:Drivers/CMSIS/Include/cmsis_gcc.h **** and after the instruction, without ensuring their completion.
954:Drivers/CMSIS/Include/cmsis_gcc.h **** */
955:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DMB(void)
956:Drivers/CMSIS/Include/cmsis_gcc.h **** {
957:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dmb 0xF":::"memory");
958:Drivers/CMSIS/Include/cmsis_gcc.h **** }
959:Drivers/CMSIS/Include/cmsis_gcc.h ****
960:Drivers/CMSIS/Include/cmsis_gcc.h ****
961:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
962:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (32 bit)
963:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order in unsigned integer value. For example, 0x12345678 becomes 0x785
964:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
965:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
966:Drivers/CMSIS/Include/cmsis_gcc.h **** */
967:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __REV(uint32_t value)
968:Drivers/CMSIS/Include/cmsis_gcc.h **** {
969:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
970:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_bswap32(value);
971:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
972:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
973:Drivers/CMSIS/Include/cmsis_gcc.h ****
974:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rev %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
975:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
976:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
977:Drivers/CMSIS/Include/cmsis_gcc.h **** }
978:Drivers/CMSIS/Include/cmsis_gcc.h ****
979:Drivers/CMSIS/Include/cmsis_gcc.h ****
980:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
981:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (16 bit)
982:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order within each halfword of a word. For example, 0x12345678 becomes
983:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
984:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
985:Drivers/CMSIS/Include/cmsis_gcc.h **** */
986:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __REV16(uint32_t value)
987:Drivers/CMSIS/Include/cmsis_gcc.h **** {
988:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
989:Drivers/CMSIS/Include/cmsis_gcc.h ****
990:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rev16 %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
991:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
992:Drivers/CMSIS/Include/cmsis_gcc.h **** }
993:Drivers/CMSIS/Include/cmsis_gcc.h ****
994:Drivers/CMSIS/Include/cmsis_gcc.h ****
995:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
996:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (16 bit)
997:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order in a 16-bit value and returns the signed 16-bit result. For exam
998:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
999:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
1000:Drivers/CMSIS/Include/cmsis_gcc.h **** */
1001:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE int16_t __REVSH(int16_t value)
1002:Drivers/CMSIS/Include/cmsis_gcc.h **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 254
1003:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
1004:Drivers/CMSIS/Include/cmsis_gcc.h **** return (int16_t)__builtin_bswap16(value);
1005:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
1006:Drivers/CMSIS/Include/cmsis_gcc.h **** int16_t result;
1007:Drivers/CMSIS/Include/cmsis_gcc.h ****
1008:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("revsh %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
1009:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
1010:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
1011:Drivers/CMSIS/Include/cmsis_gcc.h **** }
1012:Drivers/CMSIS/Include/cmsis_gcc.h ****
1013:Drivers/CMSIS/Include/cmsis_gcc.h ****
1014:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
1015:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Rotate Right in unsigned value (32 bit)
1016:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Rotate Right (immediate) provides the value of the contents of a register rotated by a v
1017:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] op1 Value to rotate
1018:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] op2 Number of Bits to rotate
1019:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Rotated value
1020:Drivers/CMSIS/Include/cmsis_gcc.h **** */
1021:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
1022:Drivers/CMSIS/Include/cmsis_gcc.h **** {
1023:Drivers/CMSIS/Include/cmsis_gcc.h **** op2 %= 32U;
1024:Drivers/CMSIS/Include/cmsis_gcc.h **** if (op2 == 0U)
1025:Drivers/CMSIS/Include/cmsis_gcc.h **** {
1026:Drivers/CMSIS/Include/cmsis_gcc.h **** return op1;
1027:Drivers/CMSIS/Include/cmsis_gcc.h **** }
1028:Drivers/CMSIS/Include/cmsis_gcc.h **** return (op1 >> op2) | (op1 << (32U - op2));
1029:Drivers/CMSIS/Include/cmsis_gcc.h **** }
1030:Drivers/CMSIS/Include/cmsis_gcc.h ****
1031:Drivers/CMSIS/Include/cmsis_gcc.h ****
1032:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
1033:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Breakpoint
1034:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Causes the processor to enter Debug state.
1035:Drivers/CMSIS/Include/cmsis_gcc.h **** Debug tools can use this to investigate system state when the instruction at a particula
1036:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value is ignored by the processor.
1037:Drivers/CMSIS/Include/cmsis_gcc.h **** If required, a debugger can use it to store additional information about the break
1038:Drivers/CMSIS/Include/cmsis_gcc.h **** */
1039:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __BKPT(value) __ASM volatile ("bkpt "#value)
1040:Drivers/CMSIS/Include/cmsis_gcc.h ****
1041:Drivers/CMSIS/Include/cmsis_gcc.h ****
1042:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
1043:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse bit order of value
1044:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the bit order of the given value.
1045:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
1046:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
1047:Drivers/CMSIS/Include/cmsis_gcc.h **** */
1048:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __RBIT(uint32_t value)
1876 .loc 3 1048 31 is_stmt 1 view .LVU564
1877 .LBB303:
1049:Drivers/CMSIS/Include/cmsis_gcc.h **** {
1050:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
1878 .loc 3 1050 3 view .LVU565
1051:Drivers/CMSIS/Include/cmsis_gcc.h ****
1052:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
1053:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
1054:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
1055:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rbit %0, %1" : "=r" (result) : "r" (value) );
1879 .loc 3 1055 4 view .LVU566
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 255
1880 .syntax unified
1881 @ 1055 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
1882 00bc 93FAA3F3 rbit r3, r3
1883 @ 0 "" 2
1884 .LVL137:
1056:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
1057:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t s = (4U /*sizeof(v)*/ * 8U) - 1U; /* extra shift needed at end */
1058:Drivers/CMSIS/Include/cmsis_gcc.h ****
1059:Drivers/CMSIS/Include/cmsis_gcc.h **** result = value; /* r will be reversed bits of v; first get LSB of v */
1060:Drivers/CMSIS/Include/cmsis_gcc.h **** for (value >>= 1U; value != 0U; value >>= 1U)
1061:Drivers/CMSIS/Include/cmsis_gcc.h **** {
1062:Drivers/CMSIS/Include/cmsis_gcc.h **** result <<= 1U;
1063:Drivers/CMSIS/Include/cmsis_gcc.h **** result |= value & 1U;
1064:Drivers/CMSIS/Include/cmsis_gcc.h **** s--;
1065:Drivers/CMSIS/Include/cmsis_gcc.h **** }
1066:Drivers/CMSIS/Include/cmsis_gcc.h **** result <<= s; /* shift when v's highest bits are zero */
1067:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
1885 .loc 3 1068 3 view .LVU567
1886 .loc 3 1068 3 is_stmt 0 view .LVU568
1887 .thumb
1888 .syntax unified
1889 .LBE303:
1890 .LBE302:
1891 .LBB304:
1892 .LBI304:
1069:Drivers/CMSIS/Include/cmsis_gcc.h **** }
1070:Drivers/CMSIS/Include/cmsis_gcc.h ****
1071:Drivers/CMSIS/Include/cmsis_gcc.h ****
1072:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
1073:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Count leading zeros
1074:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Counts the number of leading zeros of a data value.
1075:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to count the leading zeros
1076:Drivers/CMSIS/Include/cmsis_gcc.h **** \return number of leading zeros in value
1077:Drivers/CMSIS/Include/cmsis_gcc.h **** */
1078:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint8_t __CLZ(uint32_t value)
1893 .loc 3 1078 30 is_stmt 1 view .LVU569
1894 .LBB305:
1079:Drivers/CMSIS/Include/cmsis_gcc.h **** {
1080:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Even though __builtin_clz produces a CLZ instruction on ARM, formally
1081:Drivers/CMSIS/Include/cmsis_gcc.h **** __builtin_clz(0) is undefined behaviour, so handle this case specially.
1082:Drivers/CMSIS/Include/cmsis_gcc.h **** This guarantees ARM-compatible results if happening to compile on a non-ARM
1083:Drivers/CMSIS/Include/cmsis_gcc.h **** target, and ensures the compiler doesn't decide to activate any
1084:Drivers/CMSIS/Include/cmsis_gcc.h **** optimisations using the logic "value was passed to __builtin_clz, so it
1085:Drivers/CMSIS/Include/cmsis_gcc.h **** is non-zero".
1086:Drivers/CMSIS/Include/cmsis_gcc.h **** ARM GCC 7.3 and possibly earlier will optimise this test away, leaving a
1087:Drivers/CMSIS/Include/cmsis_gcc.h **** single CLZ instruction.
1088:Drivers/CMSIS/Include/cmsis_gcc.h **** */
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** if (value == 0U)
1895 .loc 3 1089 3 view .LVU570
1896 .loc 3 1089 6 is_stmt 0 view .LVU571
1897 00c0 33B1 cbz r3, .L169
1090:Drivers/CMSIS/Include/cmsis_gcc.h **** {
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** return 32U;
1092:Drivers/CMSIS/Include/cmsis_gcc.h **** }
1093:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_clz(value);
1898 .loc 3 1093 3 is_stmt 1 view .LVU572
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 256
1899 .loc 3 1093 10 is_stmt 0 discriminator 1 view .LVU573
1900 00c2 B3FA83F3 clz r3, r3
1901 .LVL138:
1902 .L127:
1903 .loc 3 1093 10 discriminator 1 view .LVU574
1904 .LBE305:
1905 .LBE304:
2901:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
1906 .loc 1 2901 100 discriminator 2 view .LVU575
1907 00c6 03F01F03 and r3, r3, #31
2901:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
1908 .loc 1 2901 37 discriminator 2 view .LVU576
1909 00ca 0121 movs r1, #1
1910 00cc 9940 lsls r1, r1, r3
1911 00ce BFE7 b .L126
1912 .LVL139:
1913 .L169:
1914 .LBB307:
1915 .LBB306:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
1916 .loc 3 1091 12 view .LVU577
1917 00d0 2023 movs r3, #32
1918 .LVL140:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
1919 .loc 3 1091 12 view .LVU578
1920 00d2 F8E7 b .L127
1921 .LVL141:
1922 .L186:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
1923 .loc 3 1091 12 view .LVU579
1924 .LBE306:
1925 .LBE307:
2920:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1926 .loc 1 2920 7 is_stmt 1 view .LVU580
1927 00d4 AA68 ldr r2, [r5, #8]
1928 00d6 2968 ldr r1, [r5]
1929 00d8 FFF7FEFF bl LL_ADC_SetChannelSamplingTime
1930 .LVL142:
2934:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1931 .loc 1 2934 9 view .LVU581
2934:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1932 .loc 1 2934 28 is_stmt 0 view .LVU582
1933 00dc 2368 ldr r3, [r4]
1934 00de DA68 ldr r2, [r3, #12]
1935 00e0 12F0100F tst r2, #16
1936 00e4 31D1 bne .L130
2934:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
1937 .loc 1 2934 28 discriminator 1 view .LVU583
1938 00e6 6A69 ldr r2, [r5, #20]
1939 00e8 D968 ldr r1, [r3, #12]
1940 00ea C1F38201 ubfx r1, r1, #2, #3
1941 00ee 4900 lsls r1, r1, #1
1942 00f0 8A40 lsls r2, r2, r1
1943 .L131:
1944 .LVL143:
2937:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1945 .loc 1 2937 7 is_stmt 1 view .LVU584
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 257
2937:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1946 .loc 1 2937 18 is_stmt 0 view .LVU585
1947 00f2 2F69 ldr r7, [r5, #16]
2937:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
1948 .loc 1 2937 10 view .LVU586
1949 00f4 042F cmp r7, #4
1950 00f6 36D0 beq .L132
2940:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1951 .loc 1 2940 9 is_stmt 1 view .LVU587
1952 00f8 2868 ldr r0, [r5]
1953 .LVL144:
1954 .LBB308:
1955 .LBI308:
3379:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
1956 .loc 2 3379 22 view .LVU588
1957 .LBB309:
3381:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
1958 .loc 2 3381 3 view .LVU589
3381:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** #if defined(ADC_VER_V5_V90)
1959 .loc 2 3381 25 is_stmt 0 view .LVU590
1960 00fa 6033 adds r3, r3, #96
1961 .LVL145:
3392:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_OFR1_OFFSET1_CH | ADC_OFR1_OFFSET1,
1962 .loc 2 3392 5 is_stmt 1 view .LVU591
1963 00fc 53F82710 ldr r1, [r3, r7, lsl #2]
1964 0100 01F00041 and r1, r1, #-2147483648
1965 0104 00F0F840 and r0, r0, #2080374784
1966 .LVL146:
3392:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_OFR1_OFFSET1_CH | ADC_OFR1_OFFSET1,
1967 .loc 2 3392 5 is_stmt 0 view .LVU592
1968 0108 0243 orrs r2, r2, r0
1969 .LVL147:
3392:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_OFR1_OFFSET1_CH | ADC_OFR1_OFFSET1,
1970 .loc 2 3392 5 view .LVU593
1971 010a 0A43 orrs r2, r2, r1
1972 010c 43F82720 str r2, [r3, r7, lsl #2]
1973 .LVL148:
3392:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_OFR1_OFFSET1_CH | ADC_OFR1_OFFSET1,
1974 .loc 2 3392 5 view .LVU594
1975 .LBE309:
1976 .LBE308:
2954:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC selected offset signed saturation */
1977 .loc 1 2954 11 is_stmt 1 view .LVU595
2956:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1978 .loc 1 2956 11 view .LVU596
1979 0110 2368 ldr r3, [r4]
1980 0112 2869 ldr r0, [r5, #16]
2956:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1981 .loc 1 2956 91 is_stmt 0 view .LVU597
1982 0114 6A7E ldrb r2, [r5, #25] @ zero_extendqisi2
2956:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1983 .loc 1 2956 11 view .LVU598
1984 0116 012A cmp r2, #1
1985 0118 1FD0 beq .L189
2956:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
1986 .loc 1 2956 11 discriminator 2 view .LVU599
1987 011a 3246 mov r2, r6
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 258
1988 .L133:
1989 .LVL149:
1990 .LBB310:
1991 .LBI310:
3552:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
1992 .loc 2 3552 22 is_stmt 1 view .LVU600
1993 .LBB311:
3562:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg, ADC_OFR1_SSATE, OffsetSignedSaturation);
1994 .loc 2 3562 5 view .LVU601
3562:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** MODIFY_REG(*preg, ADC_OFR1_SSATE, OffsetSignedSaturation);
1995 .loc 2 3562 27 is_stmt 0 view .LVU602
1996 011c 6033 adds r3, r3, #96
1997 .LVL150:
3563:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
1998 .loc 2 3563 5 is_stmt 1 view .LVU603
1999 011e 53F82010 ldr r1, [r3, r0, lsl #2]
2000 0122 21F00041 bic r1, r1, #-2147483648
2001 0126 0A43 orrs r2, r2, r1
2002 .LVL151:
3563:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2003 .loc 2 3563 5 is_stmt 0 view .LVU604
2004 0128 43F82020 str r2, [r3, r0, lsl #2]
2005 .LVL152:
3563:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2006 .loc 2 3563 5 view .LVU605
2007 .LBE311:
2008 .LBE310:
2958:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Set ADC selected offset right shift */
2009 .loc 1 2958 11 is_stmt 1 view .LVU606
2960:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2010 .loc 1 2960 11 view .LVU607
2011 012c 2068 ldr r0, [r4]
2012 012e 2969 ldr r1, [r5, #16]
2960:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2013 .loc 1 2960 83 is_stmt 0 view .LVU608
2014 0130 2B7E ldrb r3, [r5, #24] @ zero_extendqisi2
2960:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2015 .loc 1 2960 11 view .LVU609
2016 0132 012B cmp r3, #1
2017 0134 14D0 beq .L190
2018 .LVL153:
2019 .L134:
2020 .LBB312:
2021 .LBI312:
3510:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2022 .loc 2 3510 22 is_stmt 1 view .LVU610
2023 .LBB313:
3512:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2024 .loc 2 3512 3 view .LVU611
2025 0136 0269 ldr r2, [r0, #16]
2026 0138 22F4F042 bic r2, r2, #30720
2027 013c 01F01F03 and r3, r1, #31
2028 0140 06FA03F3 lsl r3, r6, r3
2029 0144 1343 orrs r3, r3, r2
2030 0146 0361 str r3, [r0, #16]
2031 .LVL154:
3513:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 259
2032 .loc 2 3513 1 is_stmt 0 view .LVU612
2033 0148 95E7 b .L129
2034 .LVL155:
2035 .L130:
3513:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2036 .loc 2 3513 1 view .LVU613
2037 .LBE313:
2038 .LBE312:
2934:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2039 .loc 1 2934 28 discriminator 2 view .LVU614
2040 014a 6A69 ldr r2, [r5, #20]
2041 014c D968 ldr r1, [r3, #12]
2042 014e 8908 lsrs r1, r1, #2
2043 0150 01F00401 and r1, r1, #4
2044 0154 4900 lsls r1, r1, #1
2045 0156 8A40 lsls r2, r2, r1
2046 0158 CBE7 b .L131
2047 .LVL156:
2048 .L189:
2956:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2049 .loc 1 2956 11 discriminator 1 view .LVU615
2050 015a 4FF00042 mov r2, #-2147483648
2051 015e DDE7 b .L133
2052 .L190:
2960:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2053 .loc 1 2960 11 discriminator 1 view .LVU616
2054 0160 4FF40066 mov r6, #2048
2055 .LVL157:
2960:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2056 .loc 1 2960 11 discriminator 1 view .LVU617
2057 0164 E7E7 b .L134
2058 .LVL158:
2059 .L132:
2992:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2060 .loc 1 2992 11 is_stmt 1 view .LVU618
2992:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2061 .loc 1 2992 31 is_stmt 0 view .LVU619
2062 0166 1A6E ldr r2, [r3, #96]
2063 .LVL159:
2992:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2064 .loc 1 2992 39 view .LVU620
2065 0168 02F0F842 and r2, r2, #2080374784
2992:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2066 .loc 1 2992 65 view .LVU621
2067 016c 2968 ldr r1, [r5]
2992:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2068 .loc 1 2992 14 view .LVU622
2069 016e B2EB816F cmp r2, r1, lsl #26
2070 0172 1DD0 beq .L191
2071 .L135:
2996:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2072 .loc 1 2996 11 is_stmt 1 view .LVU623
2996:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2073 .loc 1 2996 21 is_stmt 0 view .LVU624
2074 0174 2268 ldr r2, [r4]
2996:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2075 .loc 1 2996 31 view .LVU625
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 260
2076 0176 536E ldr r3, [r2, #100]
2996:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2077 .loc 1 2996 39 view .LVU626
2078 0178 03F0F843 and r3, r3, #2080374784
2996:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2079 .loc 1 2996 65 view .LVU627
2080 017c 2968 ldr r1, [r5]
2996:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2081 .loc 1 2996 14 view .LVU628
2082 017e B3EB816F cmp r3, r1, lsl #26
2083 0182 1AD0 beq .L192
2084 .L136:
3000:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2085 .loc 1 3000 11 is_stmt 1 view .LVU629
3000:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2086 .loc 1 3000 21 is_stmt 0 view .LVU630
2087 0184 2268 ldr r2, [r4]
3000:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2088 .loc 1 3000 31 view .LVU631
2089 0186 936E ldr r3, [r2, #104]
3000:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2090 .loc 1 3000 39 view .LVU632
2091 0188 03F0F843 and r3, r3, #2080374784
3000:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2092 .loc 1 3000 65 view .LVU633
2093 018c 2968 ldr r1, [r5]
3000:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2094 .loc 1 3000 14 view .LVU634
2095 018e B3EB816F cmp r3, r1, lsl #26
2096 0192 17D0 beq .L193
2097 .L137:
3004:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2098 .loc 1 3004 11 is_stmt 1 view .LVU635
3004:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2099 .loc 1 3004 21 is_stmt 0 view .LVU636
2100 0194 2268 ldr r2, [r4]
3004:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2101 .loc 1 3004 31 view .LVU637
2102 0196 D36E ldr r3, [r2, #108]
3004:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2103 .loc 1 3004 39 view .LVU638
2104 0198 03F0F843 and r3, r3, #2080374784
3004:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2105 .loc 1 3004 65 view .LVU639
2106 019c 2968 ldr r1, [r5]
3004:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2107 .loc 1 3004 14 view .LVU640
2108 019e B3EB816F cmp r3, r1, lsl #26
2109 01a2 7FF468AF bne .L129
3006:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2110 .loc 1 3006 13 is_stmt 1 view .LVU641
2111 01a6 D36E ldr r3, [r2, #108]
2112 01a8 23F00043 bic r3, r3, #-2147483648
2113 01ac D366 str r3, [r2, #108]
2114 01ae 62E7 b .L129
2115 .L191:
2994:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 261
2116 .loc 1 2994 13 view .LVU642
2117 01b0 1A6E ldr r2, [r3, #96]
2118 01b2 22F00042 bic r2, r2, #-2147483648
2119 01b6 1A66 str r2, [r3, #96]
2120 01b8 DCE7 b .L135
2121 .L192:
2998:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2122 .loc 1 2998 13 view .LVU643
2123 01ba 536E ldr r3, [r2, #100]
2124 01bc 23F00043 bic r3, r3, #-2147483648
2125 01c0 5366 str r3, [r2, #100]
2126 01c2 DFE7 b .L136
2127 .L193:
3002:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2128 .loc 1 3002 13 view .LVU644
2129 01c4 936E ldr r3, [r2, #104]
2130 01c6 23F00043 bic r3, r3, #-2147483648
2131 01ca 9366 str r3, [r2, #104]
2132 01cc E2E7 b .L137
2133 .LVL160:
2134 .L187:
3027:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (uint32_t)(__LL_ADC_DECIMAL_NB_TO_CHANNEL((__LL_ADC_CHANNEL_T
2135 .loc 1 3027 9 view .LVU645
2136 01ce 2068 ldr r0, [r4]
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2137 .loc 1 3028 50 is_stmt 0 view .LVU646
2138 01d0 2B68 ldr r3, [r5]
2139 01d2 C3F31306 ubfx r6, r3, #0, #20
2140 01d6 26BB cbnz r6, .L139
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2141 .loc 1 3028 50 discriminator 1 view .LVU647
2142 01d8 9A0E lsrs r2, r3, #26
2143 01da 0132 adds r2, r2, #1
2144 01dc 02F01F02 and r2, r2, #31
2145 01e0 092A cmp r2, #9
2146 01e2 8CBF ite hi
2147 01e4 0022 movhi r2, #0
2148 01e6 0122 movls r2, #1
2149 .L140:
3027:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (uint32_t)(__LL_ADC_DECIMAL_NB_TO_CHANNEL((__LL_ADC_CHANNEL_T
2150 .loc 1 3027 9 view .LVU648
2151 01e8 002A cmp r2, #0
2152 01ea 51D0 beq .L142
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2153 .loc 1 3028 50 view .LVU649
2154 01ec 46BB cbnz r6, .L143
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2155 .loc 1 3028 50 discriminator 3 view .LVU650
2156 01ee 990E lsrs r1, r3, #26
2157 01f0 0131 adds r1, r1, #1
2158 01f2 8906 lsls r1, r1, #26
2159 01f4 01F0F841 and r1, r1, #2080374784
2160 .L144:
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2161 .loc 1 3028 50 discriminator 6 view .LVU651
2162 01f8 76BB cbnz r6, .L146
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 262
2163 .loc 1 3028 50 discriminator 7 view .LVU652
2164 01fa 9F0E lsrs r7, r3, #26
2165 01fc 0137 adds r7, r7, #1
2166 01fe 07F01F07 and r7, r7, #31
2167 0202 0122 movs r2, #1
2168 0204 BA40 lsls r2, r2, r7
2169 .L147:
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2170 .loc 1 3028 50 discriminator 10 view .LVU653
2171 0206 1143 orrs r1, r1, r2
2172 0208 A6BB cbnz r6, .L149
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2173 .loc 1 3028 50 discriminator 11 view .LVU654
2174 020a 9B0E lsrs r3, r3, #26
2175 020c 0133 adds r3, r3, #1
2176 020e 03F01F03 and r3, r3, #31
2177 0212 03EB4303 add r3, r3, r3, lsl #1
2178 0216 1B05 lsls r3, r3, #20
2179 .L150:
3027:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (uint32_t)(__LL_ADC_DECIMAL_NB_TO_CHANNEL((__LL_ADC_CHANNEL_T
2180 .loc 1 3027 9 view .LVU655
2181 0218 1943 orrs r1, r1, r3
2182 .L152:
3027:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (uint32_t)(__LL_ADC_DECIMAL_NB_TO_CHANNEL((__LL_ADC_CHANNEL_T
2183 .loc 1 3027 9 discriminator 1 view .LVU656
2184 021a AA68 ldr r2, [r5, #8]
2185 021c FFF7FEFF bl LL_ADC_SetChannelSamplingTime
2186 .LVL161:
2187 0220 46E7 b .L138
2188 .L139:
2189 .LVL162:
2190 .LBB314:
2191 .LBI314:
1048:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2192 .loc 3 1048 31 is_stmt 1 view .LVU657
2193 .LBB315:
1050:Drivers/CMSIS/Include/cmsis_gcc.h ****
2194 .loc 3 1050 3 view .LVU658
1055:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
2195 .loc 3 1055 4 view .LVU659
2196 .syntax unified
2197 @ 1055 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
2198 0222 93FAA3F2 rbit r2, r3
2199 @ 0 "" 2
2200 .LVL163:
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2201 .loc 3 1068 3 view .LVU660
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2202 .loc 3 1068 3 is_stmt 0 view .LVU661
2203 .thumb
2204 .syntax unified
2205 .LBE315:
2206 .LBE314:
2207 .LBB316:
2208 .LBI316:
1078:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2209 .loc 3 1078 30 is_stmt 1 view .LVU662
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 263
2210 .LBB317:
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2211 .loc 3 1089 3 view .LVU663
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2212 .loc 3 1089 6 is_stmt 0 view .LVU664
2213 0226 4AB1 cbz r2, .L172
2214 .loc 3 1093 3 is_stmt 1 view .LVU665
2215 .loc 3 1093 10 is_stmt 0 discriminator 1 view .LVU666
2216 0228 B2FA82F2 clz r2, r2
2217 .LVL164:
2218 .L141:
2219 .loc 3 1093 10 discriminator 1 view .LVU667
2220 .LBE317:
2221 .LBE316:
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2222 .loc 1 3028 50 discriminator 2 view .LVU668
2223 022c 0132 adds r2, r2, #1
2224 022e 02F01F02 and r2, r2, #31
2225 0232 092A cmp r2, #9
2226 0234 8CBF ite hi
2227 0236 0022 movhi r2, #0
2228 0238 0122 movls r2, #1
2229 023a D5E7 b .L140
2230 .LVL165:
2231 .L172:
2232 .LBB319:
2233 .LBB318:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2234 .loc 3 1091 12 view .LVU669
2235 023c 2022 movs r2, #32
2236 .LVL166:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2237 .loc 3 1091 12 view .LVU670
2238 023e F5E7 b .L141
2239 .LVL167:
2240 .L143:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2241 .loc 3 1091 12 view .LVU671
2242 .LBE318:
2243 .LBE319:
2244 .LBB320:
2245 .LBI320:
1048:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2246 .loc 3 1048 31 is_stmt 1 view .LVU672
2247 .LBB321:
1050:Drivers/CMSIS/Include/cmsis_gcc.h ****
2248 .loc 3 1050 3 view .LVU673
1055:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
2249 .loc 3 1055 4 view .LVU674
2250 .syntax unified
2251 @ 1055 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
2252 0240 93FAA3F1 rbit r1, r3
2253 @ 0 "" 2
2254 .LVL168:
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2255 .loc 3 1068 3 view .LVU675
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 264
2256 .loc 3 1068 3 is_stmt 0 view .LVU676
2257 .thumb
2258 .syntax unified
2259 .LBE321:
2260 .LBE320:
2261 .LBB322:
2262 .LBI322:
1078:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2263 .loc 3 1078 30 is_stmt 1 view .LVU677
2264 .LBB323:
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2265 .loc 3 1089 3 view .LVU678
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2266 .loc 3 1089 6 is_stmt 0 view .LVU679
2267 0244 31B1 cbz r1, .L173
2268 .loc 3 1093 3 is_stmt 1 view .LVU680
2269 .loc 3 1093 10 is_stmt 0 discriminator 1 view .LVU681
2270 0246 B1FA81F1 clz r1, r1
2271 .LVL169:
2272 .L145:
2273 .loc 3 1093 10 discriminator 1 view .LVU682
2274 .LBE323:
2275 .LBE322:
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2276 .loc 1 3028 50 discriminator 2 view .LVU683
2277 024a 0131 adds r1, r1, #1
2278 024c 8906 lsls r1, r1, #26
2279 024e 01F0F841 and r1, r1, #2080374784
2280 0252 D1E7 b .L144
2281 .LVL170:
2282 .L173:
2283 .LBB325:
2284 .LBB324:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2285 .loc 3 1091 12 view .LVU684
2286 0254 2021 movs r1, #32
2287 .LVL171:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2288 .loc 3 1091 12 view .LVU685
2289 0256 F8E7 b .L145
2290 .LVL172:
2291 .L146:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2292 .loc 3 1091 12 view .LVU686
2293 .LBE324:
2294 .LBE325:
2295 .LBB326:
2296 .LBI326:
1048:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2297 .loc 3 1048 31 is_stmt 1 view .LVU687
2298 .LBB327:
1050:Drivers/CMSIS/Include/cmsis_gcc.h ****
2299 .loc 3 1050 3 view .LVU688
1055:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
2300 .loc 3 1055 4 view .LVU689
2301 .syntax unified
2302 @ 1055 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 265
2303 0258 93FAA3F2 rbit r2, r3
2304 @ 0 "" 2
2305 .LVL173:
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2306 .loc 3 1068 3 view .LVU690
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2307 .loc 3 1068 3 is_stmt 0 view .LVU691
2308 .thumb
2309 .syntax unified
2310 .LBE327:
2311 .LBE326:
2312 .LBB328:
2313 .LBI328:
1078:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2314 .loc 3 1078 30 is_stmt 1 view .LVU692
2315 .LBB329:
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2316 .loc 3 1089 3 view .LVU693
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2317 .loc 3 1089 6 is_stmt 0 view .LVU694
2318 025c 42B1 cbz r2, .L174
2319 .loc 3 1093 3 is_stmt 1 view .LVU695
2320 .loc 3 1093 10 is_stmt 0 discriminator 1 view .LVU696
2321 025e B2FA82F2 clz r2, r2
2322 .LVL174:
2323 .L148:
2324 .loc 3 1093 10 discriminator 1 view .LVU697
2325 .LBE329:
2326 .LBE328:
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2327 .loc 1 3028 50 discriminator 2 view .LVU698
2328 0262 0132 adds r2, r2, #1
2329 0264 02F01F02 and r2, r2, #31
2330 0268 0127 movs r7, #1
2331 026a 07FA02F2 lsl r2, r7, r2
2332 026e CAE7 b .L147
2333 .LVL175:
2334 .L174:
2335 .LBB331:
2336 .LBB330:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2337 .loc 3 1091 12 view .LVU699
2338 0270 2022 movs r2, #32
2339 .LVL176:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2340 .loc 3 1091 12 view .LVU700
2341 0272 F6E7 b .L148
2342 .LVL177:
2343 .L149:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2344 .loc 3 1091 12 view .LVU701
2345 .LBE330:
2346 .LBE331:
2347 .LBB332:
2348 .LBI332:
1048:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2349 .loc 3 1048 31 is_stmt 1 view .LVU702
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 266
2350 .LBB333:
1050:Drivers/CMSIS/Include/cmsis_gcc.h ****
2351 .loc 3 1050 3 view .LVU703
1055:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
2352 .loc 3 1055 4 view .LVU704
2353 .syntax unified
2354 @ 1055 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
2355 0274 93FAA3F3 rbit r3, r3
2356 @ 0 "" 2
2357 .LVL178:
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2358 .loc 3 1068 3 view .LVU705
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2359 .loc 3 1068 3 is_stmt 0 view .LVU706
2360 .thumb
2361 .syntax unified
2362 .LBE333:
2363 .LBE332:
2364 .LBB334:
2365 .LBI334:
1078:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2366 .loc 3 1078 30 is_stmt 1 view .LVU707
2367 .LBB335:
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2368 .loc 3 1089 3 view .LVU708
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2369 .loc 3 1089 6 is_stmt 0 view .LVU709
2370 0278 43B1 cbz r3, .L175
2371 .loc 3 1093 3 is_stmt 1 view .LVU710
2372 .loc 3 1093 10 is_stmt 0 discriminator 1 view .LVU711
2373 027a B3FA83F3 clz r3, r3
2374 .LVL179:
2375 .L151:
2376 .loc 3 1093 10 discriminator 1 view .LVU712
2377 .LBE335:
2378 .LBE334:
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2379 .loc 1 3028 50 discriminator 2 view .LVU713
2380 027e 0133 adds r3, r3, #1
2381 0280 03F01F03 and r3, r3, #31
2382 0284 03EB4303 add r3, r3, r3, lsl #1
2383 0288 1B05 lsls r3, r3, #20
2384 028a C5E7 b .L150
2385 .LVL180:
2386 .L175:
2387 .LBB337:
2388 .LBB336:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2389 .loc 3 1091 12 view .LVU714
2390 028c 2023 movs r3, #32
2391 .LVL181:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2392 .loc 3 1091 12 view .LVU715
2393 028e F6E7 b .L151
2394 .LVL182:
2395 .L142:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 267
2396 .loc 3 1091 12 view .LVU716
2397 .LBE336:
2398 .LBE337:
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2399 .loc 1 3028 50 view .LVU717
2400 0290 CEB9 cbnz r6, .L153
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2401 .loc 1 3028 50 discriminator 13 view .LVU718
2402 0292 990E lsrs r1, r3, #26
2403 0294 0131 adds r1, r1, #1
2404 0296 8906 lsls r1, r1, #26
2405 0298 01F0F841 and r1, r1, #2080374784
2406 .L154:
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2407 .loc 1 3028 50 discriminator 16 view .LVU719
2408 029c FEB9 cbnz r6, .L156
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2409 .loc 1 3028 50 discriminator 17 view .LVU720
2410 029e 9F0E lsrs r7, r3, #26
2411 02a0 0137 adds r7, r7, #1
2412 02a2 07F01F07 and r7, r7, #31
2413 02a6 0122 movs r2, #1
2414 02a8 BA40 lsls r2, r2, r7
2415 .L157:
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2416 .loc 1 3028 50 discriminator 20 view .LVU721
2417 02aa 1143 orrs r1, r1, r2
2418 02ac 2EBB cbnz r6, .L159
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2419 .loc 1 3028 50 discriminator 21 view .LVU722
2420 02ae 9B0E lsrs r3, r3, #26
2421 02b0 0133 adds r3, r3, #1
2422 02b2 03F01F03 and r3, r3, #31
2423 02b6 03EB4303 add r3, r3, r3, lsl #1
2424 02ba 1E3B subs r3, r3, #30
2425 02bc 1B05 lsls r3, r3, #20
2426 02be 43F00073 orr r3, r3, #33554432
2427 .L160:
3027:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (uint32_t)(__LL_ADC_DECIMAL_NB_TO_CHANNEL((__LL_ADC_CHANNEL_T
2428 .loc 1 3027 9 discriminator 2 view .LVU723
2429 02c2 1943 orrs r1, r1, r3
2430 02c4 A9E7 b .L152
2431 .L153:
2432 .LVL183:
2433 .LBB338:
2434 .LBI338:
1048:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2435 .loc 3 1048 31 is_stmt 1 view .LVU724
2436 .LBB339:
1050:Drivers/CMSIS/Include/cmsis_gcc.h ****
2437 .loc 3 1050 3 view .LVU725
1055:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
2438 .loc 3 1055 4 view .LVU726
2439 .syntax unified
2440 @ 1055 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
2441 02c6 93FAA3F1 rbit r1, r3
2442 @ 0 "" 2
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 268
2443 .LVL184:
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2444 .loc 3 1068 3 view .LVU727
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2445 .loc 3 1068 3 is_stmt 0 view .LVU728
2446 .thumb
2447 .syntax unified
2448 .LBE339:
2449 .LBE338:
2450 .LBB340:
2451 .LBI340:
1078:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2452 .loc 3 1078 30 is_stmt 1 view .LVU729
2453 .LBB341:
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2454 .loc 3 1089 3 view .LVU730
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2455 .loc 3 1089 6 is_stmt 0 view .LVU731
2456 02ca 31B1 cbz r1, .L176
2457 .loc 3 1093 3 is_stmt 1 view .LVU732
2458 .loc 3 1093 10 is_stmt 0 discriminator 1 view .LVU733
2459 02cc B1FA81F1 clz r1, r1
2460 .LVL185:
2461 .L155:
2462 .loc 3 1093 10 discriminator 1 view .LVU734
2463 .LBE341:
2464 .LBE340:
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2465 .loc 1 3028 50 discriminator 2 view .LVU735
2466 02d0 0131 adds r1, r1, #1
2467 02d2 8906 lsls r1, r1, #26
2468 02d4 01F0F841 and r1, r1, #2080374784
2469 02d8 E0E7 b .L154
2470 .LVL186:
2471 .L176:
2472 .LBB343:
2473 .LBB342:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2474 .loc 3 1091 12 view .LVU736
2475 02da 2021 movs r1, #32
2476 .LVL187:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2477 .loc 3 1091 12 view .LVU737
2478 02dc F8E7 b .L155
2479 .LVL188:
2480 .L156:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2481 .loc 3 1091 12 view .LVU738
2482 .LBE342:
2483 .LBE343:
2484 .LBB344:
2485 .LBI344:
1048:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2486 .loc 3 1048 31 is_stmt 1 view .LVU739
2487 .LBB345:
1050:Drivers/CMSIS/Include/cmsis_gcc.h ****
2488 .loc 3 1050 3 view .LVU740
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 269
1055:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
2489 .loc 3 1055 4 view .LVU741
2490 .syntax unified
2491 @ 1055 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
2492 02de 93FAA3F2 rbit r2, r3
2493 @ 0 "" 2
2494 .LVL189:
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2495 .loc 3 1068 3 view .LVU742
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2496 .loc 3 1068 3 is_stmt 0 view .LVU743
2497 .thumb
2498 .syntax unified
2499 .LBE345:
2500 .LBE344:
2501 .LBB346:
2502 .LBI346:
1078:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2503 .loc 3 1078 30 is_stmt 1 view .LVU744
2504 .LBB347:
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2505 .loc 3 1089 3 view .LVU745
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2506 .loc 3 1089 6 is_stmt 0 view .LVU746
2507 02e2 42B1 cbz r2, .L177
2508 .loc 3 1093 3 is_stmt 1 view .LVU747
2509 .loc 3 1093 10 is_stmt 0 discriminator 1 view .LVU748
2510 02e4 B2FA82F2 clz r2, r2
2511 .LVL190:
2512 .L158:
2513 .loc 3 1093 10 discriminator 1 view .LVU749
2514 .LBE347:
2515 .LBE346:
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2516 .loc 1 3028 50 discriminator 2 view .LVU750
2517 02e8 0132 adds r2, r2, #1
2518 02ea 02F01F02 and r2, r2, #31
2519 02ee 0127 movs r7, #1
2520 02f0 07FA02F2 lsl r2, r7, r2
2521 02f4 D9E7 b .L157
2522 .LVL191:
2523 .L177:
2524 .LBB349:
2525 .LBB348:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2526 .loc 3 1091 12 view .LVU751
2527 02f6 2022 movs r2, #32
2528 .LVL192:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2529 .loc 3 1091 12 view .LVU752
2530 02f8 F6E7 b .L158
2531 .LVL193:
2532 .L159:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2533 .loc 3 1091 12 view .LVU753
2534 .LBE348:
2535 .LBE349:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 270
2536 .LBB350:
2537 .LBI350:
1048:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2538 .loc 3 1048 31 is_stmt 1 view .LVU754
2539 .LBB351:
1050:Drivers/CMSIS/Include/cmsis_gcc.h ****
2540 .loc 3 1050 3 view .LVU755
1055:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
2541 .loc 3 1055 4 view .LVU756
2542 .syntax unified
2543 @ 1055 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
2544 02fa 93FAA3F3 rbit r3, r3
2545 @ 0 "" 2
2546 .LVL194:
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2547 .loc 3 1068 3 view .LVU757
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2548 .loc 3 1068 3 is_stmt 0 view .LVU758
2549 .thumb
2550 .syntax unified
2551 .LBE351:
2552 .LBE350:
2553 .LBB352:
2554 .LBI352:
1078:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2555 .loc 3 1078 30 is_stmt 1 view .LVU759
2556 .LBB353:
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2557 .loc 3 1089 3 view .LVU760
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
2558 .loc 3 1089 6 is_stmt 0 view .LVU761
2559 02fe 5BB1 cbz r3, .L178
2560 .loc 3 1093 3 is_stmt 1 view .LVU762
2561 .loc 3 1093 10 is_stmt 0 discriminator 1 view .LVU763
2562 0300 B3FA83F3 clz r3, r3
2563 .LVL195:
2564 .L161:
2565 .loc 3 1093 10 discriminator 1 view .LVU764
2566 .LBE353:
2567 .LBE352:
3028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** sConfig->SamplingTime);
2568 .loc 1 3028 50 discriminator 2 view .LVU765
2569 0304 0133 adds r3, r3, #1
2570 0306 03F01F03 and r3, r3, #31
2571 030a 03EB4303 add r3, r3, r3, lsl #1
2572 030e 1E3B subs r3, r3, #30
2573 0310 1B05 lsls r3, r3, #20
2574 0312 43F00073 orr r3, r3, #33554432
2575 0316 D4E7 b .L160
2576 .LVL196:
2577 .L178:
2578 .LBB355:
2579 .LBB354:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2580 .loc 3 1091 12 view .LVU766
2581 0318 2023 movs r3, #32
2582 .LVL197:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 271
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2583 .loc 3 1091 12 view .LVU767
2584 031a F3E7 b .L161
2585 .L201:
2586 .align 2
2587 .L200:
2588 031c FFFF0F00 .word 1048575
2589 0320 0000FF47 .word 1207894016
2590 .LVL198:
2591 .L188:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
2592 .loc 3 1091 12 view .LVU768
2593 .LBE354:
2594 .LBE355:
3042:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2595 .loc 1 3042 9 is_stmt 1 view .LVU769
2596 .LBB356:
2597 .LBI356:
2753:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2598 .loc 2 2753 26 view .LVU770
2599 .LBB357:
2755:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2600 .loc 2 2755 3 view .LVU771
2755:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2601 .loc 2 2755 21 is_stmt 0 view .LVU772
2602 0324 394A ldr r2, .L202
2603 0326 9168 ldr r1, [r2, #8]
2755:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2604 .loc 2 2755 10 view .LVU773
2605 0328 01F0E075 and r5, r1, #29360128
2606 .LVL199:
2755:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2607 .loc 2 2755 10 view .LVU774
2608 .LBE357:
2609 .LBE356:
3046:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2610 .loc 1 3046 9 is_stmt 1 view .LVU775
2611 .LBB358:
2612 .LBI358:
6941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2613 .loc 2 6941 26 view .LVU776
2614 .LBB359:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2615 .loc 2 6943 3 view .LVU777
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2616 .loc 2 6943 12 is_stmt 0 view .LVU778
2617 032c A2F54072 sub r2, r2, #768
2618 0330 9268 ldr r2, [r2, #8]
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2619 .loc 2 6943 68 view .LVU779
2620 0332 12F00102 ands r2, r2, #1
2621 0336 00D0 beq .L162
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2622 .loc 2 6943 68 discriminator 1 view .LVU780
2623 0338 0122 movs r2, #1
2624 .L162:
2625 .LVL200:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 272
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2626 .loc 2 6943 68 discriminator 1 view .LVU781
2627 .LBE359:
2628 .LBE358:
2629 .LBB360:
2630 .LBI360:
6941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2631 .loc 2 6941 26 is_stmt 1 view .LVU782
2632 .LBB361:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2633 .loc 2 6943 3 view .LVU783
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2634 .loc 2 6943 12 is_stmt 0 view .LVU784
2635 033a 3548 ldr r0, .L202+4
2636 033c 8068 ldr r0, [r0, #8]
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2637 .loc 2 6943 68 view .LVU785
2638 033e 10F0010F tst r0, #1
2639 0342 56D1 bne .L163
2640 .LVL201:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2641 .loc 2 6943 68 view .LVU786
2642 .LBE361:
2643 .LBE360:
3046:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2644 .loc 1 3046 12 discriminator 2 view .LVU787
2645 0344 002A cmp r2, #0
2646 0346 54D1 bne .L163
3050:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2647 .loc 1 3050 11 is_stmt 1 view .LVU788
3050:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2648 .loc 1 3050 14 is_stmt 0 view .LVU789
2649 0348 324A ldr r2, .L202+8
2650 034a 9342 cmp r3, r2
2651 034c 07D0 beq .L194
2652 .L164:
3068:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2653 .loc 1 3068 16 is_stmt 1 view .LVU790
3068:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2654 .loc 1 3068 19 is_stmt 0 view .LVU791
2655 034e 324A ldr r2, .L202+12
2656 0350 9342 cmp r3, r2
2657 0352 28D0 beq .L195
2658 .L167:
3075:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2659 .loc 1 3075 16 is_stmt 1 view .LVU792
3075:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2660 .loc 1 3075 19 is_stmt 0 view .LVU793
2661 0354 314A ldr r2, .L202+16
2662 0356 9342 cmp r3, r2
2663 0358 38D0 beq .L196
2821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpOffsetShifted;
2664 .loc 1 2821 21 view .LVU794
2665 035a 0020 movs r0, #0
2666 035c 68E6 b .L123
2667 .L194:
3050:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 273
2668 .loc 1 3050 60 discriminator 1 view .LVU795
2669 035e 11F4000F tst r1, #8388608
2670 0362 F4D1 bne .L164
3052:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2671 .loc 1 3052 13 is_stmt 1 view .LVU796
3052:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2672 .loc 1 3052 17 is_stmt 0 view .LVU797
2673 0364 2268 ldr r2, [r4]
3052:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2674 .loc 1 3052 16 view .LVU798
2675 0366 2A4B ldr r3, .L202+4
2676 0368 9A42 cmp r2, r3
2677 036a 01D0 beq .L197
2821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpOffsetShifted;
2678 .loc 1 2821 21 view .LVU799
2679 036c 0020 movs r0, #0
2680 036e 5FE6 b .L123
2681 .L197:
3054:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2682 .loc 1 3054 15 is_stmt 1 view .LVU800
2683 0370 45F40003 orr r3, r5, #8388608
2684 .LVL202:
2685 .LBB362:
2686 .LBI362:
2731:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2687 .loc 2 2731 22 view .LVU801
2688 .LBB363:
2733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2689 .loc 2 2733 3 view .LVU802
2690 0374 2549 ldr r1, .L202
2691 0376 8A68 ldr r2, [r1, #8]
2692 0378 22F0E072 bic r2, r2, #29360128
2693 037c 1343 orrs r3, r3, r2
2694 .LVL203:
2733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2695 .loc 2 2733 3 is_stmt 0 view .LVU803
2696 037e 8B60 str r3, [r1, #8]
2697 .LVL204:
2733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2698 .loc 2 2733 3 view .LVU804
2699 .LBE363:
2700 .LBE362:
3061:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while (wait_loop_index != 0UL)
2701 .loc 1 3061 15 is_stmt 1 view .LVU805
3061:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while (wait_loop_index != 0UL)
2702 .loc 1 3061 95 is_stmt 0 view .LVU806
2703 0380 274B ldr r3, .L202+20
2704 0382 1B68 ldr r3, [r3]
2705 0384 9B09 lsrs r3, r3, #6
2706 0386 274A ldr r2, .L202+24
2707 0388 A2FB0323 umull r2, r3, r2, r3
2708 038c 9B09 lsrs r3, r3, #6
3061:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while (wait_loop_index != 0UL)
2709 .loc 1 3061 115 view .LVU807
2710 038e 0133 adds r3, r3, #1
3061:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while (wait_loop_index != 0UL)
2711 .loc 1 3061 75 view .LVU808
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 274
2712 0390 5B00 lsls r3, r3, #1
3061:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while (wait_loop_index != 0UL)
2713 .loc 1 3061 31 view .LVU809
2714 0392 0193 str r3, [sp, #4]
3062:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2715 .loc 1 3062 15 is_stmt 1 view .LVU810
3062:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2716 .loc 1 3062 21 is_stmt 0 view .LVU811
2717 0394 02E0 b .L165
2718 .L166:
3064:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2719 .loc 1 3064 17 is_stmt 1 view .LVU812
3064:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2720 .loc 1 3064 32 is_stmt 0 view .LVU813
2721 0396 019B ldr r3, [sp, #4]
2722 0398 013B subs r3, r3, #1
2723 039a 0193 str r3, [sp, #4]
2724 .L165:
3062:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2725 .loc 1 3062 38 is_stmt 1 view .LVU814
2726 039c 019B ldr r3, [sp, #4]
2727 039e 002B cmp r3, #0
2728 03a0 F9D1 bne .L166
2821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpOffsetShifted;
2729 .loc 1 2821 21 is_stmt 0 view .LVU815
2730 03a2 0020 movs r0, #0
2731 03a4 44E6 b .L123
2732 .L195:
3068:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2733 .loc 1 3068 59 discriminator 1 view .LVU816
2734 03a6 11F0807F tst r1, #16777216
2735 03aa D3D1 bne .L167
3070:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2736 .loc 1 3070 13 is_stmt 1 view .LVU817
3070:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2737 .loc 1 3070 17 is_stmt 0 view .LVU818
2738 03ac 2268 ldr r2, [r4]
3070:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2739 .loc 1 3070 16 view .LVU819
2740 03ae 184B ldr r3, .L202+4
2741 03b0 9A42 cmp r2, r3
2742 03b2 01D0 beq .L198
2821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpOffsetShifted;
2743 .loc 1 2821 21 view .LVU820
2744 03b4 0020 movs r0, #0
2745 03b6 3BE6 b .L123
2746 .L198:
3072:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2747 .loc 1 3072 15 is_stmt 1 view .LVU821
2748 03b8 45F08073 orr r3, r5, #16777216
2749 .LVL205:
2750 .LBB364:
2751 .LBI364:
2731:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2752 .loc 2 2731 22 view .LVU822
2753 .LBB365:
2733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 275
2754 .loc 2 2733 3 view .LVU823
2755 03bc 1349 ldr r1, .L202
2756 03be 8A68 ldr r2, [r1, #8]
2757 03c0 22F0E072 bic r2, r2, #29360128
2758 03c4 1343 orrs r3, r3, r2
2759 .LVL206:
2733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2760 .loc 2 2733 3 is_stmt 0 view .LVU824
2761 03c6 8B60 str r3, [r1, #8]
2762 .LVL207:
2733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2763 .loc 2 2733 3 view .LVU825
2764 .LBE365:
2765 .LBE364:
2821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpOffsetShifted;
2766 .loc 1 2821 21 view .LVU826
2767 03c8 0020 movs r0, #0
2768 .LBB367:
2769 .LBB366:
2734:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2770 .loc 2 2734 1 view .LVU827
2771 03ca 31E6 b .L123
2772 .L196:
2734:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2773 .loc 2 2734 1 view .LVU828
2774 .LBE366:
2775 .LBE367:
3075:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2776 .loc 1 3075 62 discriminator 1 view .LVU829
2777 03cc 11F4800F tst r1, #4194304
2778 03d0 17D1 bne .L183
3077:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2779 .loc 1 3077 13 is_stmt 1 view .LVU830
3077:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2780 .loc 1 3077 17 is_stmt 0 view .LVU831
2781 03d2 2268 ldr r2, [r4]
3077:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2782 .loc 1 3077 16 view .LVU832
2783 03d4 0E4B ldr r3, .L202+4
2784 03d6 9A42 cmp r2, r3
2785 03d8 01D0 beq .L199
2821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpOffsetShifted;
2786 .loc 1 2821 21 view .LVU833
2787 03da 0020 movs r0, #0
2788 03dc 28E6 b .L123
2789 .L199:
3079:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2790 .loc 1 3079 15 is_stmt 1 view .LVU834
2791 03de 45F48003 orr r3, r5, #4194304
2792 .LVL208:
2793 .LBB368:
2794 .LBI368:
2731:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2795 .loc 2 2731 22 view .LVU835
2796 .LBB369:
2733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2797 .loc 2 2733 3 view .LVU836
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 276
2798 03e2 0A49 ldr r1, .L202
2799 03e4 8A68 ldr r2, [r1, #8]
2800 03e6 22F0E072 bic r2, r2, #29360128
2801 03ea 1343 orrs r3, r3, r2
2802 .LVL209:
2733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2803 .loc 2 2733 3 is_stmt 0 view .LVU837
2804 03ec 8B60 str r3, [r1, #8]
2805 .LVL210:
2733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2806 .loc 2 2733 3 view .LVU838
2807 .LBE369:
2808 .LBE368:
2821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpOffsetShifted;
2809 .loc 1 2821 21 view .LVU839
2810 03ee 0020 movs r0, #0
2811 .LBB371:
2812 .LBB370:
2734:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2813 .loc 2 2734 1 view .LVU840
2814 03f0 1EE6 b .L123
2815 .L163:
2734:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
2816 .loc 2 2734 1 view .LVU841
2817 .LBE370:
2818 .LBE371:
3093:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2819 .loc 1 3093 11 is_stmt 1 view .LVU842
2820 03f2 636D ldr r3, [r4, #84]
2821 03f4 43F02003 orr r3, r3, #32
2822 03f8 6365 str r3, [r4, #84]
3095:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2823 .loc 1 3095 11 view .LVU843
2824 .LVL211:
3095:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2825 .loc 1 3095 26 is_stmt 0 view .LVU844
2826 03fa 0120 movs r0, #1
2827 03fc 18E6 b .L123
2828 .LVL212:
2829 .L171:
2821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpOffsetShifted;
2830 .loc 1 2821 21 view .LVU845
2831 03fe 0020 movs r0, #0
2832 0400 16E6 b .L123
2833 .LVL213:
2834 .L183:
2821:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpOffsetShifted;
2835 .loc 1 2821 21 view .LVU846
2836 0402 0020 movs r0, #0
2837 0404 14E6 b .L123
2838 .LVL214:
2839 .L168:
2882:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2840 .loc 1 2882 3 discriminator 1 view .LVU847
2841 0406 0220 movs r0, #2
2842 .LVL215:
2882:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 277
2843 .loc 1 2882 3 discriminator 1 view .LVU848
2844 0408 15E6 b .L121
2845 .L203:
2846 040a 00BF .align 2
2847 .L202:
2848 040c 00230240 .word 1073881856
2849 0410 00210240 .word 1073881344
2850 0414 000084CB .word -880541696
2851 0418 0040C0BA .word -1161805824
2852 041c 0000B8CF .word -810024960
2853 0420 00000000 .word SystemCoreClock
2854 0424 632D3E05 .word 87960931
2855 .cfi_endproc
2856 .LFE353:
2858 .section .text.HAL_ADC_AnalogWDGConfig,"ax",%progbits
2859 .align 1
2860 .global HAL_ADC_AnalogWDGConfig
2861 .syntax unified
2862 .thumb
2863 .thumb_func
2865 HAL_ADC_AnalogWDGConfig:
2866 .LVL216:
2867 .LFB354:
3136:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
2868 .loc 1 3136 1 is_stmt 1 view -0
2869 .cfi_startproc
2870 @ args = 0, pretend = 0, frame = 0
2871 @ frame_needed = 0, uses_anonymous_args = 0
3137:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpAWDHighThresholdShifted;
2872 .loc 1 3137 3 view .LVU850
3138:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpAWDLowThresholdShifted;
2873 .loc 1 3138 3 view .LVU851
3139:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_regular;
2874 .loc 1 3139 3 view .LVU852
3140:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_injected;
2875 .loc 1 3140 3 view .LVU853
3141:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2876 .loc 1 3141 3 view .LVU854
3144:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ANALOG_WATCHDOG_NUMBER(AnalogWDGConfig->WatchdogNumber));
2877 .loc 1 3144 3 view .LVU855
3145:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_ANALOG_WATCHDOG_MODE(AnalogWDGConfig->WatchdogMode));
2878 .loc 1 3145 3 view .LVU856
3146:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(AnalogWDGConfig->ITMode));
2879 .loc 1 3146 3 view .LVU857
3147:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2880 .loc 1 3147 3 view .LVU858
3149:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** (AnalogWDGConfig->WatchdogMode == ADC_ANALOGWATCHDOG_SINGLE_INJEC) ||
2881 .loc 1 3149 3 view .LVU859
3153:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2882 .loc 1 3153 5 view .LVU860
3179:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2883 .loc 1 3179 5 view .LVU861
3183:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_RANGE(ADC_GET_RESOLUTION(hadc), AnalogWDGConfig->LowThreshold / (hadc->In
2884 .loc 1 3183 7 view .LVU862
3184:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2885 .loc 1 3184 7 view .LVU863
3189:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_RANGE(ADC_GET_RESOLUTION(hadc), AnalogWDGConfig->LowThreshold));
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 278
2886 .loc 1 3189 7 view .LVU864
3190:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2887 .loc 1 3190 7 view .LVU865
3195:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2888 .loc 1 3195 3 view .LVU866
3195:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2889 .loc 1 3195 3 view .LVU867
2890 0000 90F85030 ldrb r3, [r0, #80] @ zero_extendqisi2
2891 0004 012B cmp r3, #1
2892 0006 00F0CE81 beq .L252
3136:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
2893 .loc 1 3136 1 is_stmt 0 view .LVU868
2894 000a 70B5 push {r4, r5, r6, lr}
2895 .cfi_def_cfa_offset 16
2896 .cfi_offset 4, -16
2897 .cfi_offset 5, -12
2898 .cfi_offset 6, -8
2899 .cfi_offset 14, -4
2900 000c 0446 mov r4, r0
2901 000e 0D46 mov r5, r1
3195:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2902 .loc 1 3195 3 is_stmt 1 discriminator 2 view .LVU869
2903 0010 0123 movs r3, #1
2904 0012 80F85030 strb r3, [r0, #80]
3195:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
2905 .loc 1 3195 3 view .LVU870
3202:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_injected = LL_ADC_INJ_IsConversionOngoing(hadc->Instance);
2906 .loc 1 3202 3 view .LVU871
3202:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_injected = LL_ADC_INJ_IsConversionOngoing(hadc->Instance);
2907 .loc 1 3202 44 is_stmt 0 view .LVU872
2908 0016 0068 ldr r0, [r0]
2909 .LVL217:
2910 .LBB372:
2911 .LBI372:
7073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2912 .loc 2 7073 26 is_stmt 1 view .LVU873
2913 .LBB373:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2914 .loc 2 7075 3 view .LVU874
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2915 .loc 2 7075 12 is_stmt 0 view .LVU875
2916 0018 8368 ldr r3, [r0, #8]
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2917 .loc 2 7075 74 view .LVU876
2918 001a 13F00403 ands r3, r3, #4
2919 001e 00D0 beq .L206
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2920 .loc 2 7075 74 discriminator 1 view .LVU877
2921 0020 0123 movs r3, #1
2922 .L206:
2923 .LVL218:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
2924 .loc 2 7075 74 discriminator 1 view .LVU878
2925 .LBE373:
2926 .LBE372:
3203:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((tmp_adc_is_conversion_on_going_regular == 0UL)
2927 .loc 1 3203 3 is_stmt 1 view .LVU879
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 279
2928 .LBB374:
2929 .LBI374:
7268:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
2930 .loc 2 7268 26 view .LVU880
2931 .LBB375:
2932 .loc 2 7270 3 view .LVU881
2933 .loc 2 7270 12 is_stmt 0 view .LVU882
2934 0022 8268 ldr r2, [r0, #8]
2935 .loc 2 7270 76 view .LVU883
2936 0024 12F0080F tst r2, #8
2937 0028 40F0B481 bne .L207
2938 .LVL219:
2939 .loc 2 7270 76 view .LVU884
2940 .LBE375:
2941 .LBE374:
3204:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_is_conversion_on_going_injected == 0UL)
2942 .loc 1 3204 3 is_stmt 1 view .LVU885
3204:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_is_conversion_on_going_injected == 0UL)
2943 .loc 1 3204 6 is_stmt 0 view .LVU886
2944 002c 002B cmp r3, #0
2945 002e 40F0B181 bne .L207
3209:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2946 .loc 1 3209 5 is_stmt 1 view .LVU887
3209:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2947 .loc 1 3209 24 is_stmt 0 view .LVU888
2948 0032 2968 ldr r1, [r5]
2949 .LVL220:
3209:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2950 .loc 1 3209 8 view .LVU889
2951 0034 AE4B ldr r3, .L269
2952 .LVL221:
3209:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2953 .loc 1 3209 8 view .LVU890
2954 0036 9942 cmp r1, r3
2955 0038 25D0 beq .L261
3297:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2956 .loc 1 3297 7 is_stmt 1 view .LVU891
3297:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2957 .loc 1 3297 30 is_stmt 0 view .LVU892
2958 003a 6B68 ldr r3, [r5, #4]
3297:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2959 .loc 1 3297 7 view .LVU893
2960 003c B3F1A07F cmp r3, #20971520
2961 0040 00F00481 beq .L224
2962 0044 00F2B580 bhi .L225
2963 0048 B3F5400F cmp r3, #12582912
2964 004c 00F0FE80 beq .L224
2965 0050 B3F1807F cmp r3, #16777216
2966 0054 03D0 beq .L226
2967 0056 B3F5000F cmp r3, #8388608
2968 005a 40F0B180 bne .L227
2969 .L226:
3330:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2970 .loc 1 3330 13 is_stmt 1 view .LVU894
3330:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2971 .loc 1 3330 16 is_stmt 0 view .LVU895
2972 005e A54B ldr r3, .L269+4
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 280
2973 0060 9942 cmp r1, r3
2974 0062 00F02A81 beq .L262
3336:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2975 .loc 1 3336 15 is_stmt 1 view .LVU896
2976 0066 AB68 ldr r3, [r5, #8]
2977 0068 C3F31302 ubfx r2, r3, #0, #20
2978 006c 002A cmp r2, #0
2979 006e 40F04581 bne .L240
3336:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2980 .loc 1 3336 15 is_stmt 0 discriminator 1 view .LVU897
2981 0072 C3F38463 ubfx r3, r3, #26, #5
2982 0076 0122 movs r2, #1
2983 0078 9A40 lsls r2, r2, r3
2984 .L241:
3336:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
2985 .loc 1 3336 15 discriminator 4 view .LVU898
2986 007a D0F8A430 ldr r3, [r0, #164]
2987 007e 1343 orrs r3, r3, r2
2988 0080 C0F8A430 str r3, [r0, #164]
2989 0084 9FE0 b .L232
2990 .L261:
3214:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2991 .loc 1 3214 7 is_stmt 1 view .LVU899
3214:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2992 .loc 1 3214 30 is_stmt 0 view .LVU900
2993 0086 6B68 ldr r3, [r5, #4]
3214:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
2994 .loc 1 3214 7 view .LVU901
2995 0088 B3F1A07F cmp r3, #20971520
2996 008c 5CD0 beq .L209
2997 008e 0FD8 bhi .L210
2998 0090 B3F5400F cmp r3, #12582912
2999 0094 1DD0 beq .L211
3000 0096 B3F1807F cmp r3, #16777216
3001 009a 60D0 beq .L212
3002 009c B3F5000F cmp r3, #8388608
3003 00a0 6BD1 bne .L214
3232:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3004 .loc 1 3232 11 is_stmt 1 view .LVU902
3005 .LVL222:
3006 .LBB376:
3007 .LBI376:
5774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3008 .loc 2 5774 22 view .LVU903
3009 .LBB377:
5780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_CR12_REGOFFSETGAP_MASK) *
3010 .loc 2 5780 3 view .LVU904
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3011 .loc 2 5783 3 view .LVU905
3012 00a2 C268 ldr r2, [r0, #12]
3013 00a4 944B ldr r3, .L269+8
3014 00a6 1340 ands r3, r3, r2
3015 00a8 43F40003 orr r3, r3, #8388608
3016 00ac C360 str r3, [r0, #12]
3017 .LVL223:
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3018 .loc 2 5783 3 is_stmt 0 view .LVU906
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 281
3019 .LBE377:
3020 .LBE376:
3233:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3021 .loc 1 3233 11 is_stmt 1 view .LVU907
3022 .LBB379:
3023 .LBB378:
5786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3024 .loc 2 5786 1 is_stmt 0 view .LVU908
3025 00ae 1AE0 b .L217
3026 .L210:
3027 .LBE378:
3028 .LBE379:
3214:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3029 .loc 1 3214 7 view .LVU909
3030 00b0 B3F1C07F cmp r3, #25165824
3031 00b4 5AD0 beq .L215
3032 00b6 B3F1E07F cmp r3, #29360128
3033 00ba 5ED1 bne .L214
3227:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_GROUP_REGULAR_INJECTED));
3034 .loc 1 3227 11 is_stmt 1 view .LVU910
3227:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_GROUP_REGULAR_INJECTED));
3035 .loc 1 3227 72 is_stmt 0 view .LVU911
3036 00bc AA68 ldr r2, [r5, #8]
3037 .LVL224:
3038 .LBB380:
3039 .LBI380:
5774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3040 .loc 2 5774 22 is_stmt 1 view .LVU912
3041 .LBB381:
5780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_CR12_REGOFFSETGAP_MASK) *
3042 .loc 2 5780 3 view .LVU913
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3043 .loc 2 5783 3 view .LVU914
3044 00be C168 ldr r1, [r0, #12]
3045 00c0 8D4B ldr r3, .L269+8
3046 00c2 0B40 ands r3, r3, r1
3047 00c4 02F0F842 and r2, r2, #2080374784
3048 .LVL225:
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3049 .loc 2 5783 3 is_stmt 0 view .LVU915
3050 00c8 42F0E072 orr r2, r2, #29360128
3051 00cc 1343 orrs r3, r3, r2
3052 00ce C360 str r3, [r0, #12]
3053 .LVL226:
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3054 .loc 2 5783 3 view .LVU916
3055 .LBE381:
3056 .LBE380:
3229:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3057 .loc 1 3229 11 is_stmt 1 view .LVU917
3058 .LBB383:
3059 .LBB382:
5786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3060 .loc 2 5786 1 is_stmt 0 view .LVU918
3061 00d0 09E0 b .L217
3062 .L211:
5786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 282
3063 .loc 2 5786 1 view .LVU919
3064 .LBE382:
3065 .LBE383:
3217:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_GROUP_REGULAR));
3066 .loc 1 3217 11 is_stmt 1 view .LVU920
3217:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_GROUP_REGULAR));
3067 .loc 1 3217 72 is_stmt 0 view .LVU921
3068 00d2 AA68 ldr r2, [r5, #8]
3069 .LVL227:
3070 .LBB384:
3071 .LBI384:
5774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3072 .loc 2 5774 22 is_stmt 1 view .LVU922
3073 .LBB385:
5780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_CR12_REGOFFSETGAP_MASK) *
3074 .loc 2 5780 3 view .LVU923
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3075 .loc 2 5783 3 view .LVU924
3076 00d4 C168 ldr r1, [r0, #12]
3077 00d6 884B ldr r3, .L269+8
3078 00d8 0B40 ands r3, r3, r1
3079 00da 02F0F842 and r2, r2, #2080374784
3080 .LVL228:
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3081 .loc 2 5783 3 is_stmt 0 view .LVU925
3082 00de 42F44002 orr r2, r2, #12582912
3083 00e2 1343 orrs r3, r3, r2
3084 00e4 C360 str r3, [r0, #12]
3085 .LVL229:
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3086 .loc 2 5783 3 view .LVU926
3087 .LBE385:
3088 .LBE384:
3219:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3089 .loc 1 3219 11 is_stmt 1 view .LVU927
3090 .L217:
3251:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpAWDLowThresholdShifted = ADC_AWD1THRESHOLD_SHIFT_RESOLUTION(hadc, AnalogWDGConfig->LowThr
3091 .loc 1 3251 7 view .LVU928
3251:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpAWDLowThresholdShifted = ADC_AWD1THRESHOLD_SHIFT_RESOLUTION(hadc, AnalogWDGConfig->LowThr
3092 .loc 1 3251 36 is_stmt 0 view .LVU929
3093 00e6 2368 ldr r3, [r4]
3094 00e8 DA68 ldr r2, [r3, #12]
3095 00ea 12F0100F tst r2, #16
3096 00ee 49D1 bne .L218
3251:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpAWDLowThresholdShifted = ADC_AWD1THRESHOLD_SHIFT_RESOLUTION(hadc, AnalogWDGConfig->LowThr
3097 .loc 1 3251 36 discriminator 1 view .LVU930
3098 00f0 2969 ldr r1, [r5, #16]
3099 00f2 DA68 ldr r2, [r3, #12]
3100 00f4 C2F38202 ubfx r2, r2, #2, #3
3101 00f8 5200 lsls r2, r2, #1
3102 00fa 9140 lsls r1, r1, r2
3103 .L219:
3104 .LVL230:
3252:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3105 .loc 1 3252 7 is_stmt 1 view .LVU931
3252:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3106 .loc 1 3252 36 is_stmt 0 view .LVU932
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 283
3107 00fc DA68 ldr r2, [r3, #12]
3108 00fe 12F0100F tst r2, #16
3109 0102 47D1 bne .L220
3252:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3110 .loc 1 3252 36 discriminator 1 view .LVU933
3111 0104 6869 ldr r0, [r5, #20]
3112 0106 DA68 ldr r2, [r3, #12]
3113 0108 C2F38202 ubfx r2, r2, #2, #3
3114 010c 5200 lsls r2, r2, #1
3115 010e 9040 lsls r0, r0, r2
3116 .L221:
3117 .LVL231:
3271:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->HTR1, ADC_HTR_HT, tmpAWDHighThresholdShifted);
3118 .loc 1 3271 7 is_stmt 1 view .LVU934
3119 0110 1A6A ldr r2, [r3, #32]
3120 0112 02F07C42 and r2, r2, #-67108864
3121 0116 0243 orrs r2, r2, r0
3122 0118 1A62 str r2, [r3, #32]
3272:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
3123 .loc 1 3272 7 view .LVU935
3124 011a 2268 ldr r2, [r4]
3125 011c 536A ldr r3, [r2, #36]
3126 011e 03F07C43 and r3, r3, #-67108864
3127 0122 0B43 orrs r3, r3, r1
3128 0124 5362 str r3, [r2, #36]
3276:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3129 .loc 1 3276 7 view .LVU936
3130 0126 636D ldr r3, [r4, #84]
3131 0128 23F48033 bic r3, r3, #65536
3132 012c 6365 str r3, [r4, #84]
3282:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3133 .loc 1 3282 7 view .LVU937
3134 012e 2368 ldr r3, [r4]
3135 .LVL232:
3136 .LBB386:
3137 .LBI386:
7271:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7272:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7273:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7274:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected command of conversion stop state
7275:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CR JADSTP LL_ADC_INJ_IsStopConversionOngoing
7276:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7277:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval 0: no command of conversion stop is on going on ADC group injected.
7278:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7279:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_IsStopConversionOngoing(ADC_TypeDef *ADCx)
7280:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7281:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->CR, ADC_CR_JADSTP) == (ADC_CR_JADSTP)) ? 1UL : 0UL);
7282:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7283:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7284:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7285:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected conversion data, range fit for
7286:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * all ADC configurations: all ADC resolutions and
7287:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * all oversampling increased data width (for devices
7288:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * with feature oversampling).
7289:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JDR1 JDATA LL_ADC_INJ_ReadConversionData32\n
7290:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR2 JDATA LL_ADC_INJ_ReadConversionData32\n
7291:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR3 JDATA LL_ADC_INJ_ReadConversionData32\n
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 284
7292:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR4 JDATA LL_ADC_INJ_ReadConversionData32
7293:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7294:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
7295:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1
7296:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2
7297:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3
7298:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4
7299:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x00000000 and Max_Data=0xFFFFFFFF
7300:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7301:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_INJ_ReadConversionData32(ADC_TypeDef *ADCx, uint32_t Rank)
7302:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7303:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->JDR1, ((Rank & ADC_INJ_JDRX_REGOFFSET_MASK
7304:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7305:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint32_t)(READ_BIT(*preg,
7306:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_JDR1_JDATA)
7307:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
7308:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7309:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7310:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7311:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected conversion data, range fit for
7312:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC resolution 16 bits.
7313:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with feature oversampling: Oversampling
7314:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * can increase data width, function for extended range
7315:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * may be needed: @ref LL_ADC_INJ_ReadConversionData32.
7316:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JDR1 JDATA LL_ADC_INJ_ReadConversionData16\n
7317:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR2 JDATA LL_ADC_INJ_ReadConversionData16\n
7318:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR3 JDATA LL_ADC_INJ_ReadConversionData16\n
7319:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR4 JDATA LL_ADC_INJ_ReadConversionData16
7320:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7321:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
7322:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1
7323:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2
7324:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3
7325:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4
7326:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0xFFFF
7327:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7328:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint16_t LL_ADC_INJ_ReadConversionData16(ADC_TypeDef *ADCx, uint32_t Rank)
7329:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7330:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->JDR1, ((Rank & ADC_INJ_JDRX_REGOFFSET_MASK
7331:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7332:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint16_t)(READ_BIT(*preg,
7333:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_JDR1_JDATA)
7334:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
7335:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7336:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7337:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7338:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected conversion data, range fit for
7339:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC resolution 14 bits.
7340:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with feature oversampling: Oversampling
7341:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * can increase data width, function for extended range
7342:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * may be needed: @ref LL_ADC_INJ_ReadConversionData32.
7343:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JDR1 JDATA LL_ADC_INJ_ReadConversionData14\n
7344:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR2 JDATA LL_ADC_INJ_ReadConversionData14\n
7345:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR3 JDATA LL_ADC_INJ_ReadConversionData14\n
7346:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR4 JDATA LL_ADC_INJ_ReadConversionData14
7347:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7348:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 285
7349:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1
7350:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2
7351:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3
7352:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4
7353:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0x3FFF
7354:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7355:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint16_t LL_ADC_INJ_ReadConversionData14(ADC_TypeDef *ADCx, uint32_t Rank)
7356:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7357:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->JDR1, ((Rank & ADC_INJ_JDRX_REGOFFSET_MASK
7358:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7359:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint16_t)(READ_BIT(*preg,
7360:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_JDR1_JDATA)
7361:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
7362:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7363:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7364:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7365:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected conversion data, range fit for
7366:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC resolution 12 bits.
7367:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with feature oversampling: Oversampling
7368:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * can increase data width, function for extended range
7369:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * may be needed: @ref LL_ADC_INJ_ReadConversionData32.
7370:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JDR1 JDATA LL_ADC_INJ_ReadConversionData12\n
7371:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR2 JDATA LL_ADC_INJ_ReadConversionData12\n
7372:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR3 JDATA LL_ADC_INJ_ReadConversionData12\n
7373:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR4 JDATA LL_ADC_INJ_ReadConversionData12
7374:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7375:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
7376:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1
7377:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2
7378:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3
7379:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4
7380:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0xFFF
7381:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7382:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint16_t LL_ADC_INJ_ReadConversionData12(ADC_TypeDef *ADCx, uint32_t Rank)
7383:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7384:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->JDR1, ((Rank & ADC_INJ_JDRX_REGOFFSET_MASK
7385:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7386:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint16_t)(READ_BIT(*preg,
7387:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_JDR1_JDATA)
7388:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
7389:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7390:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7391:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7392:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected conversion data, range fit for
7393:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC resolution 10 bits.
7394:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with feature oversampling: Oversampling
7395:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * can increase data width, function for extended range
7396:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * may be needed: @ref LL_ADC_INJ_ReadConversionData32.
7397:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JDR1 JDATA LL_ADC_INJ_ReadConversionData10\n
7398:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR2 JDATA LL_ADC_INJ_ReadConversionData10\n
7399:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR3 JDATA LL_ADC_INJ_ReadConversionData10\n
7400:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR4 JDATA LL_ADC_INJ_ReadConversionData10
7401:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7402:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
7403:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1
7404:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2
7405:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 286
7406:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4
7407:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x000 and Max_Data=0x3FF
7408:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7409:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint16_t LL_ADC_INJ_ReadConversionData10(ADC_TypeDef *ADCx, uint32_t Rank)
7410:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7411:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->JDR1, ((Rank & ADC_INJ_JDRX_REGOFFSET_MASK
7412:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7413:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint16_t)(READ_BIT(*preg,
7414:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_JDR1_JDATA)
7415:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
7416:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7417:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7418:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7419:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get ADC group injected conversion data, range fit for
7420:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * ADC resolution 8 bits.
7421:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note For devices with feature oversampling: Oversampling
7422:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * can increase data width, function for extended range
7423:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * may be needed: @ref LL_ADC_INJ_ReadConversionData32.
7424:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll JDR1 JDATA LL_ADC_INJ_ReadConversionData8\n
7425:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR2 JDATA LL_ADC_INJ_ReadConversionData8\n
7426:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR3 JDATA LL_ADC_INJ_ReadConversionData8\n
7427:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * JDR4 JDATA LL_ADC_INJ_ReadConversionData8
7428:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7429:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param Rank This parameter can be one of the following values:
7430:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_1
7431:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_2
7432:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_3
7433:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @arg @ref LL_ADC_INJ_RANK_4
7434:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval Value between Min_Data=0x00 and Max_Data=0xFF
7435:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7436:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint8_t LL_ADC_INJ_ReadConversionData8(ADC_TypeDef *ADCx, uint32_t Rank)
7437:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7438:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** const __IO uint32_t *preg = __ADC_PTR_REG_OFFSET(ADCx->JDR1, ((Rank & ADC_INJ_JDRX_REGOFFSET_MASK
7439:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7440:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return (uint8_t)(READ_BIT(*preg,
7441:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_JDR1_JDATA)
7442:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** );
7443:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7444:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7445:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7446:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
7447:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7448:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7449:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EF_FLAG_Management ADC flag management
7450:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
7451:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7452:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7453:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7454:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag ADC ready.
7455:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, flag LL_ADC_FLAG_ADRDY is raised when the ADC
7456:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is enabled and when conversion clock is active.
7457:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (not only core clock: this ADC has a dual clock domain)
7458:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR ADRDY LL_ADC_IsActiveFlag_ADRDY
7459:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7460:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7461:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7462:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_ADRDY(ADC_TypeDef *ADCx)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 287
7463:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7464:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->ISR, LL_ADC_FLAG_ADRDY) == (LL_ADC_FLAG_ADRDY)) ? 1UL : 0UL);
7465:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7466:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7467:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7468:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag ADC group regular end of unitary conversion.
7469:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR EOC LL_ADC_IsActiveFlag_EOC
7470:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7471:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7472:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7473:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_EOC(ADC_TypeDef *ADCx)
7474:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7475:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->ISR, ADC_ISR_EOC) == (ADC_ISR_EOC)) ? 1UL : 0UL);
7476:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7477:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7478:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7479:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag ADC group regular end of sequence conversions.
7480:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR EOS LL_ADC_IsActiveFlag_EOS
7481:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7482:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7483:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7484:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_EOS(ADC_TypeDef *ADCx)
7485:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7486:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->ISR, LL_ADC_FLAG_EOS) == (LL_ADC_FLAG_EOS)) ? 1UL : 0UL);
7487:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7488:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7489:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7490:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag ADC group regular overrun.
7491:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR OVR LL_ADC_IsActiveFlag_OVR
7492:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7493:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7494:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7495:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_OVR(ADC_TypeDef *ADCx)
7496:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7497:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->ISR, LL_ADC_FLAG_OVR) == (LL_ADC_FLAG_OVR)) ? 1UL : 0UL);
7498:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7499:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7500:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7501:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag ADC group regular end of sampling phase.
7502:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR EOSMP LL_ADC_IsActiveFlag_EOSMP
7503:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7504:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7505:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7506:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_EOSMP(ADC_TypeDef *ADCx)
7507:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7508:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->ISR, LL_ADC_FLAG_EOSMP) == (LL_ADC_FLAG_EOSMP)) ? 1UL : 0UL);
7509:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7510:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7511:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7512:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag ADC group injected end of unitary conversion.
7513:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR JEOC LL_ADC_IsActiveFlag_JEOC
7514:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7515:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7516:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7517:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_JEOC(ADC_TypeDef *ADCx)
7518:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7519:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->ISR, LL_ADC_FLAG_JEOC) == (LL_ADC_FLAG_JEOC)) ? 1UL : 0UL);
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 288
7520:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7521:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7522:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7523:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag ADC group injected end of sequence conversions.
7524:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR JEOS LL_ADC_IsActiveFlag_JEOS
7525:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7526:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7527:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7528:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_JEOS(ADC_TypeDef *ADCx)
7529:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7530:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->ISR, LL_ADC_FLAG_JEOS) == (LL_ADC_FLAG_JEOS)) ? 1UL : 0UL);
7531:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7532:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7533:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7534:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag ADC group injected contexts queue overflow.
7535:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR JQOVF LL_ADC_IsActiveFlag_JQOVF
7536:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7537:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7538:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7539:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_JQOVF(ADC_TypeDef *ADCx)
7540:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7541:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->ISR, LL_ADC_FLAG_JQOVF) == (LL_ADC_FLAG_JQOVF)) ? 1UL : 0UL);
7542:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7543:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7544:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7545:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag ADC LDO output voltage ready bit.
7546:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR LDORDY LL_ADC_IsActiveFlag_LDORDY
7547:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7548:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7549:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7550:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_LDORDY(ADC_TypeDef *ADCx)
7551:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7552:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->ISR, LL_ADC_FLAG_LDORDY) == (LL_ADC_FLAG_LDORDY)) ? 1UL : 0UL);
7553:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7554:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7555:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7556:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag ADC analog watchdog 1 flag
7557:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR AWD1 LL_ADC_IsActiveFlag_AWD1
7558:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7559:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7560:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7561:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_AWD1(ADC_TypeDef *ADCx)
7562:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7563:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->ISR, LL_ADC_FLAG_AWD1) == (LL_ADC_FLAG_AWD1)) ? 1UL : 0UL);
7564:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7565:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7566:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7567:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag ADC analog watchdog 2.
7568:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR AWD2 LL_ADC_IsActiveFlag_AWD2
7569:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7570:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7571:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7572:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_AWD2(ADC_TypeDef *ADCx)
7573:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7574:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->ISR, LL_ADC_FLAG_AWD2) == (LL_ADC_FLAG_AWD2)) ? 1UL : 0UL);
7575:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7576:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 289
7577:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7578:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag ADC analog watchdog 3.
7579:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR AWD3 LL_ADC_IsActiveFlag_AWD3
7580:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7581:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7582:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7583:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_AWD3(ADC_TypeDef *ADCx)
7584:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7585:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCx->ISR, LL_ADC_FLAG_AWD3) == (LL_ADC_FLAG_AWD3)) ? 1UL : 0UL);
7586:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7587:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7588:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7589:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Clear flag ADC ready.
7590:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @note On this STM32 series, flag LL_ADC_FLAG_ADRDY is raised when the ADC
7591:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * is enabled and when conversion clock is active.
7592:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (not only core clock: this ADC has a dual clock domain)
7593:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR ADRDY LL_ADC_ClearFlag_ADRDY
7594:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7595:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7596:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7597:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_ClearFlag_ADRDY(ADC_TypeDef *ADCx)
7598:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7599:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** WRITE_REG(ADCx->ISR, LL_ADC_FLAG_ADRDY);
7600:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7601:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7602:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Clear flag ADC group regular end of unitary conversion.
7604:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR EOC LL_ADC_ClearFlag_EOC
7605:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7606:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7607:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7608:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_ClearFlag_EOC(ADC_TypeDef *ADCx)
7609:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7610:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** WRITE_REG(ADCx->ISR, LL_ADC_FLAG_EOC);
7611:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7612:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7613:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7614:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Clear flag ADC group regular end of sequence conversions.
7615:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR EOS LL_ADC_ClearFlag_EOS
7616:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7617:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7618:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7619:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_ClearFlag_EOS(ADC_TypeDef *ADCx)
7620:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7621:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** WRITE_REG(ADCx->ISR, LL_ADC_FLAG_EOS);
7622:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7623:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7624:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7625:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Clear flag ADC group regular overrun.
7626:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR OVR LL_ADC_ClearFlag_OVR
7627:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7628:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7629:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7630:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_ClearFlag_OVR(ADC_TypeDef *ADCx)
7631:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7632:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** WRITE_REG(ADCx->ISR, LL_ADC_FLAG_OVR);
7633:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 290
7634:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7635:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7636:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Clear flag ADC group regular end of sampling phase.
7637:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR EOSMP LL_ADC_ClearFlag_EOSMP
7638:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7639:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7640:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7641:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_ClearFlag_EOSMP(ADC_TypeDef *ADCx)
7642:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7643:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** WRITE_REG(ADCx->ISR, LL_ADC_FLAG_EOSMP);
7644:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7645:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7646:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7647:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Clear flag ADC group injected end of unitary conversion.
7648:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR JEOC LL_ADC_ClearFlag_JEOC
7649:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7650:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7651:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7652:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_ClearFlag_JEOC(ADC_TypeDef *ADCx)
7653:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7654:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** WRITE_REG(ADCx->ISR, LL_ADC_FLAG_JEOC);
7655:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7656:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7657:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7658:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Clear flag ADC group injected end of sequence conversions.
7659:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR JEOS LL_ADC_ClearFlag_JEOS
7660:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7661:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7662:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7663:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_ClearFlag_JEOS(ADC_TypeDef *ADCx)
7664:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7665:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** WRITE_REG(ADCx->ISR, LL_ADC_FLAG_JEOS);
7666:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7667:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7668:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7669:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Clear flag ADC group injected contexts queue overflow.
7670:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR JQOVF LL_ADC_ClearFlag_JQOVF
7671:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7672:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7673:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7674:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_ClearFlag_JQOVF(ADC_TypeDef *ADCx)
7675:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7676:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** WRITE_REG(ADCx->ISR, LL_ADC_FLAG_JQOVF);
7677:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7678:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7679:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7680:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Clear flag ADC analog watchdog 1.
7681:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR AWD1 LL_ADC_ClearFlag_AWD1
7682:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7683:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7684:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7685:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_ClearFlag_AWD1(ADC_TypeDef *ADCx)
3138 .loc 2 7685 22 view .LVU938
3139 .LBB387:
7686:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7687:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** WRITE_REG(ADCx->ISR, LL_ADC_FLAG_AWD1);
3140 .loc 2 7687 3 view .LVU939
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 291
3141 0130 8022 movs r2, #128
3142 0132 1A60 str r2, [r3]
3143 .LVL233:
3144 .loc 2 7687 3 is_stmt 0 view .LVU940
3145 .LBE387:
3146 .LBE386:
3285:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3147 .loc 1 3285 7 is_stmt 1 view .LVU941
3285:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3148 .loc 1 3285 26 is_stmt 0 view .LVU942
3149 0134 2B7B ldrb r3, [r5, #12] @ zero_extendqisi2
3285:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3150 .loc 1 3285 10 view .LVU943
3151 0136 012B cmp r3, #1
3152 0138 34D0 beq .L263
3291:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3153 .loc 1 3291 9 is_stmt 1 view .LVU944
3154 013a 2268 ldr r2, [r4]
3155 .LVL234:
3156 .LBB388:
3157 .LBI388:
7688:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7689:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7690:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7691:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Clear flag ADC analog watchdog 2.
7692:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR AWD2 LL_ADC_ClearFlag_AWD2
7693:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7694:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7695:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7696:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_ClearFlag_AWD2(ADC_TypeDef *ADCx)
7697:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7698:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** WRITE_REG(ADCx->ISR, LL_ADC_FLAG_AWD2);
7699:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7700:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7701:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7702:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Clear flag ADC analog watchdog 3.
7703:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll ISR AWD3 LL_ADC_ClearFlag_AWD3
7704:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7705:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7706:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7707:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_ClearFlag_AWD3(ADC_TypeDef *ADCx)
7708:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7709:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** WRITE_REG(ADCx->ISR, LL_ADC_FLAG_AWD3);
7710:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7711:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7712:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7713:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC ready of the ADC master.
7714:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR ADRDY_MST LL_ADC_IsActiveFlag_MST_ADRDY
7715:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7716:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7717:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7718:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7719:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_ADRDY(ADC_Common_TypeDef *ADCxy_COMMON)
7720:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7721:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_ADRDY_MST) == (LL_ADC_FLAG_ADRDY_MST)) ? 1UL : 0
7722:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7723:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 292
7724:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7725:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC ready of the ADC slave.
7726:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR ADRDY_SLV LL_ADC_IsActiveFlag_SLV_ADRDY
7727:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7728:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7729:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7730:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7731:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_ADRDY(ADC_Common_TypeDef *ADCxy_COMMON)
7732:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7733:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_ADRDY_SLV) == (LL_ADC_FLAG_ADRDY_SLV)) ? 1UL : 0
7734:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7735:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7736:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7737:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC group regular end of unitary conversion of the ADC master.
7738:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR EOC_MST LL_ADC_IsActiveFlag_MST_EOC
7739:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7740:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7741:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7742:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7743:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_EOC(ADC_Common_TypeDef *ADCxy_COMMON)
7744:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7745:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_EOC_SLV) == (LL_ADC_FLAG_EOC_SLV)) ? 1UL : 0UL);
7746:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7747:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7748:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7749:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC group regular end of unitary conversion of the ADC slave.
7750:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR EOC_SLV LL_ADC_IsActiveFlag_SLV_EOC
7751:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7752:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7753:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7754:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7755:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_EOC(ADC_Common_TypeDef *ADCxy_COMMON)
7756:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7757:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_EOC_SLV) == (LL_ADC_FLAG_EOC_SLV)) ? 1UL : 0UL);
7758:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7759:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7760:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7761:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC group regular end of sequence conversions of the ADC master.
7762:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR EOS_MST LL_ADC_IsActiveFlag_MST_EOS
7763:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7764:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7765:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7766:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7767:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_EOS(ADC_Common_TypeDef *ADCxy_COMMON)
7768:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7769:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_EOS_MST) == (LL_ADC_FLAG_EOS_MST)) ? 1UL : 0UL);
7770:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7771:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7772:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7773:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC group regular end of sequence conversions of the ADC slave.
7774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR EOS_SLV LL_ADC_IsActiveFlag_SLV_EOS
7775:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7776:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7777:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7778:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7779:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_EOS(ADC_Common_TypeDef *ADCxy_COMMON)
7780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 293
7781:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_EOS_SLV) == (LL_ADC_FLAG_EOS_SLV)) ? 1UL : 0UL);
7782:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7784:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7785:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC group regular overrun of the ADC master.
7786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR OVR_MST LL_ADC_IsActiveFlag_MST_OVR
7787:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7788:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7789:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7790:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7791:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_OVR(ADC_Common_TypeDef *ADCxy_COMMON)
7792:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7793:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_OVR_MST) == (LL_ADC_FLAG_OVR_MST)) ? 1UL : 0UL);
7794:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7795:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7796:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7797:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC group regular overrun of the ADC slave.
7798:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR OVR_SLV LL_ADC_IsActiveFlag_SLV_OVR
7799:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7800:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7801:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7802:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7803:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_OVR(ADC_Common_TypeDef *ADCxy_COMMON)
7804:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7805:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_OVR_SLV) == (LL_ADC_FLAG_OVR_SLV)) ? 1UL : 0UL);
7806:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7807:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7808:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7809:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC group regular end of sampling of the ADC master.
7810:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR EOSMP_MST LL_ADC_IsActiveFlag_MST_EOSMP
7811:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7812:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7813:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7814:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7815:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_EOSMP(ADC_Common_TypeDef *ADCxy_COMMON)
7816:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7817:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_EOSMP_MST) == (LL_ADC_FLAG_EOSMP_MST)) ? 1UL : 0
7818:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7819:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7820:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7821:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC group regular end of sampling of the ADC slave.
7822:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR EOSMP_SLV LL_ADC_IsActiveFlag_SLV_EOSMP
7823:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7824:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7825:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7826:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7827:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_EOSMP(ADC_Common_TypeDef *ADCxy_COMMON)
7828:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7829:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_EOSMP_SLV) == (LL_ADC_FLAG_EOSMP_SLV)) ? 1UL : 0
7830:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7831:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7832:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7833:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC group injected end of unitary conversion of the ADC master.
7834:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR JEOC_MST LL_ADC_IsActiveFlag_MST_JEOC
7835:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7836:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7837:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 294
7838:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7839:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_JEOC(ADC_Common_TypeDef *ADCxy_COMMON)
7840:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7841:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_JEOC_MST) == (LL_ADC_FLAG_JEOC_MST)) ? 1UL : 0UL
7842:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7843:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7844:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7845:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC group injected end of unitary conversion of the ADC slave.
7846:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR JEOC_SLV LL_ADC_IsActiveFlag_SLV_JEOC
7847:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7848:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7849:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7850:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7851:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_JEOC(ADC_Common_TypeDef *ADCxy_COMMON)
7852:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7853:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_JEOC_SLV) == (LL_ADC_FLAG_JEOC_SLV)) ? 1UL : 0UL
7854:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7855:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7856:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7857:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC group injected end of sequence conversions of the ADC master.
7858:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR JEOS_MST LL_ADC_IsActiveFlag_MST_JEOS
7859:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7860:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7861:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7862:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7863:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_JEOS(ADC_Common_TypeDef *ADCxy_COMMON)
7864:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7865:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_JEOS_MST) == (LL_ADC_FLAG_JEOS_MST)) ? 1UL : 0UL
7866:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7867:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7868:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7869:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC group injected end of sequence conversions of the ADC slave.
7870:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR JEOS_SLV LL_ADC_IsActiveFlag_SLV_JEOS
7871:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7872:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7873:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7874:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7875:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_JEOS(ADC_Common_TypeDef *ADCxy_COMMON)
7876:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7877:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_JEOS_SLV) == (LL_ADC_FLAG_JEOS_SLV)) ? 1UL : 0UL
7878:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7879:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7880:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7881:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC group injected context queue overflow of the ADC master.
7882:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR JQOVF_MST LL_ADC_IsActiveFlag_MST_JQOVF
7883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7884:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7885:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7886:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7887:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_JQOVF(ADC_Common_TypeDef *ADCxy_COMMON)
7888:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7889:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_JQOVF_MST) == (LL_ADC_FLAG_JQOVF_MST)) ? 1UL : 0
7890:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7891:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7892:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7893:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC group injected context queue overflow of the ADC slave.
7894:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR JQOVF_SLV LL_ADC_IsActiveFlag_SLV_JQOVF
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 295
7895:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7896:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7897:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7898:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7899:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_JQOVF(ADC_Common_TypeDef *ADCxy_COMMON)
7900:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7901:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_JQOVF_SLV) == (LL_ADC_FLAG_JQOVF_SLV)) ? 1UL : 0
7902:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7903:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7904:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7905:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC analog watchdog 1 of the ADC master.
7906:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR AWD1_MST LL_ADC_IsActiveFlag_MST_AWD1
7907:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7908:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7909:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7910:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7911:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_AWD1(ADC_Common_TypeDef *ADCxy_COMMON)
7912:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7913:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_AWD1_MST) == (LL_ADC_FLAG_AWD1_MST)) ? 1UL : 0UL
7914:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7915:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7916:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7917:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode analog watchdog 1 of the ADC slave.
7918:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR AWD1_SLV LL_ADC_IsActiveFlag_SLV_AWD1
7919:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7920:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7921:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7922:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7923:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_AWD1(ADC_Common_TypeDef *ADCxy_COMMON)
7924:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7925:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_AWD1_SLV) == (LL_ADC_FLAG_AWD1_SLV)) ? 1UL : 0UL
7926:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7927:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7928:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7929:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC analog watchdog 2 of the ADC master.
7930:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR AWD2_MST LL_ADC_IsActiveFlag_MST_AWD2
7931:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7932:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7933:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7934:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7935:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_AWD2(ADC_Common_TypeDef *ADCxy_COMMON)
7936:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7937:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_AWD2_MST) == (LL_ADC_FLAG_AWD2_MST)) ? 1UL : 0UL
7938:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7939:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7940:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC analog watchdog 2 of the ADC slave.
7942:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR AWD2_SLV LL_ADC_IsActiveFlag_SLV_AWD2
7943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7944:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7945:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7946:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7947:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_AWD2(ADC_Common_TypeDef *ADCxy_COMMON)
7948:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7949:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_AWD2_SLV) == (LL_ADC_FLAG_AWD2_SLV)) ? 1UL : 0UL
7950:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7951:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 296
7952:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7953:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC analog watchdog 3 of the ADC master.
7954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR AWD3_MST LL_ADC_IsActiveFlag_MST_AWD3
7955:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7956:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7957:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7958:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7959:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_MST_AWD3(ADC_Common_TypeDef *ADCxy_COMMON)
7960:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7961:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_AWD3_MST) == (LL_ADC_FLAG_AWD3_MST)) ? 1UL : 0UL
7962:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7963:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7964:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7965:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Get flag multimode ADC analog watchdog 3 of the ADC slave.
7966:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll CSR AWD3_SLV LL_ADC_IsActiveFlag_SLV_AWD3
7967:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCxy_COMMON ADC common instance
7968:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * (can be set directly from CMSIS definition or by using helper macro @ref __LL_ADC_COMMO
7969:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval State of bit (1 or 0).
7970:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7971:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE uint32_t LL_ADC_IsActiveFlag_SLV_AWD3(ADC_Common_TypeDef *ADCxy_COMMON)
7972:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7973:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** return ((READ_BIT(ADCxy_COMMON->CSR, LL_ADC_FLAG_AWD3_SLV) == (LL_ADC_FLAG_AWD3_SLV)) ? 1UL : 0UL
7974:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7975:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7976:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7977:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @}
7978:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7979:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7980:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /** @defgroup ADC_LL_EF_IT_Management ADC IT management
7981:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @{
7982:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7983:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7984:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7985:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Enable ADC ready.
7986:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER ADRDYIE LL_ADC_EnableIT_ADRDY
7987:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7988:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
7989:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
7990:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_EnableIT_ADRDY(ADC_TypeDef *ADCx)
7991:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
7992:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SET_BIT(ADCx->IER, LL_ADC_IT_ADRDY);
7993:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
7994:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
7995:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
7996:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Enable interruption ADC group regular end of unitary conversion.
7997:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER EOCIE LL_ADC_EnableIT_EOC
7998:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
7999:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8000:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8001:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_EnableIT_EOC(ADC_TypeDef *ADCx)
8002:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8003:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SET_BIT(ADCx->IER, LL_ADC_IT_EOC);
8004:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8005:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8006:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8007:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Enable interruption ADC group regular end of sequence conversions.
8008:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER EOSIE LL_ADC_EnableIT_EOS
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 297
8009:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8010:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8011:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8012:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_EnableIT_EOS(ADC_TypeDef *ADCx)
8013:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8014:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SET_BIT(ADCx->IER, LL_ADC_IT_EOS);
8015:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8016:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8017:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8018:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Enable ADC group regular interruption overrun.
8019:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER OVRIE LL_ADC_EnableIT_OVR
8020:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8021:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8022:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8023:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_EnableIT_OVR(ADC_TypeDef *ADCx)
8024:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8025:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SET_BIT(ADCx->IER, LL_ADC_IT_OVR);
8026:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8027:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8028:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8029:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Enable interruption ADC group regular end of sampling.
8030:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER EOSMPIE LL_ADC_EnableIT_EOSMP
8031:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8032:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8033:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8034:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_EnableIT_EOSMP(ADC_TypeDef *ADCx)
8035:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8036:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SET_BIT(ADCx->IER, LL_ADC_IT_EOSMP);
8037:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8038:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8039:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8040:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Enable interruption ADC group injected end of unitary conversion.
8041:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER JEOCIE LL_ADC_EnableIT_JEOC
8042:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8043:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8044:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8045:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_EnableIT_JEOC(ADC_TypeDef *ADCx)
8046:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8047:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SET_BIT(ADCx->IER, LL_ADC_IT_JEOC);
8048:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8049:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8050:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8051:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Enable interruption ADC group injected end of sequence conversions.
8052:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER JEOSIE LL_ADC_EnableIT_JEOS
8053:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8054:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8055:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8056:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_EnableIT_JEOS(ADC_TypeDef *ADCx)
8057:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8058:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SET_BIT(ADCx->IER, LL_ADC_IT_JEOS);
8059:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8060:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8061:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8062:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Enable interruption ADC group injected context queue overflow.
8063:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER JQOVFIE LL_ADC_EnableIT_JQOVF
8064:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8065:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 298
8066:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8067:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_EnableIT_JQOVF(ADC_TypeDef *ADCx)
8068:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8069:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SET_BIT(ADCx->IER, LL_ADC_IT_JQOVF);
8070:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8071:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8072:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Enable interruption ADC analog watchdog 1.
8074:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER AWD1IE LL_ADC_EnableIT_AWD1
8075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8076:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8077:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8078:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_EnableIT_AWD1(ADC_TypeDef *ADCx)
8079:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8080:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SET_BIT(ADCx->IER, LL_ADC_IT_AWD1);
8081:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8082:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8083:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8084:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Enable interruption ADC analog watchdog 2.
8085:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER AWD2IE LL_ADC_EnableIT_AWD2
8086:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8087:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8088:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8089:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_EnableIT_AWD2(ADC_TypeDef *ADCx)
8090:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8091:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SET_BIT(ADCx->IER, LL_ADC_IT_AWD2);
8092:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8093:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8094:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8095:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Enable interruption ADC analog watchdog 3.
8096:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER AWD3IE LL_ADC_EnableIT_AWD3
8097:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8098:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8099:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8100:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_EnableIT_AWD3(ADC_TypeDef *ADCx)
8101:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8102:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** SET_BIT(ADCx->IER, LL_ADC_IT_AWD3);
8103:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8104:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8105:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8106:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Disable interruption ADC ready.
8107:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER ADRDYIE LL_ADC_DisableIT_ADRDY
8108:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8109:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8110:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8111:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_DisableIT_ADRDY(ADC_TypeDef *ADCx)
8112:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8113:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCx->IER, LL_ADC_IT_ADRDY);
8114:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8115:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8116:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8117:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Disable interruption ADC group regular end of unitary conversion.
8118:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER EOCIE LL_ADC_DisableIT_EOC
8119:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8120:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8121:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8122:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_DisableIT_EOC(ADC_TypeDef *ADCx)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 299
8123:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8124:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCx->IER, LL_ADC_IT_EOC);
8125:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8126:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8127:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8128:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Disable interruption ADC group regular end of sequence conversions.
8129:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER EOSIE LL_ADC_DisableIT_EOS
8130:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8131:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8132:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8133:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_DisableIT_EOS(ADC_TypeDef *ADCx)
8134:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8135:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCx->IER, LL_ADC_IT_EOS);
8136:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8137:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8138:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8139:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Disable interruption ADC group regular overrun.
8140:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER OVRIE LL_ADC_DisableIT_OVR
8141:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8142:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8143:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8144:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_DisableIT_OVR(ADC_TypeDef *ADCx)
8145:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8146:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCx->IER, LL_ADC_IT_OVR);
8147:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8148:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8149:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8150:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Disable interruption ADC group regular end of sampling.
8151:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER EOSMPIE LL_ADC_DisableIT_EOSMP
8152:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8153:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8154:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8155:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_DisableIT_EOSMP(ADC_TypeDef *ADCx)
8156:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8157:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCx->IER, LL_ADC_IT_EOSMP);
8158:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8159:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8160:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8161:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Disable interruption ADC group regular end of unitary conversion.
8162:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER JEOCIE LL_ADC_DisableIT_JEOC
8163:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8164:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8165:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8166:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_DisableIT_JEOC(ADC_TypeDef *ADCx)
8167:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8168:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCx->IER, LL_ADC_IT_JEOC);
8169:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8170:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8171:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8172:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Disable interruption ADC group injected end of sequence conversions.
8173:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER JEOSIE LL_ADC_DisableIT_JEOS
8174:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8175:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8176:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8177:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_DisableIT_JEOS(ADC_TypeDef *ADCx)
8178:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8179:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCx->IER, LL_ADC_IT_JEOS);
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 300
8180:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8181:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8182:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8183:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Disable interruption ADC group injected context queue overflow.
8184:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER JQOVFIE LL_ADC_DisableIT_JQOVF
8185:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8186:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8187:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8188:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_DisableIT_JQOVF(ADC_TypeDef *ADCx)
8189:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8190:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCx->IER, LL_ADC_IT_JQOVF);
8191:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8192:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8193:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8194:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Disable interruption ADC analog watchdog 1.
8195:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER AWD1IE LL_ADC_DisableIT_AWD1
8196:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8197:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8198:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8199:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_DisableIT_AWD1(ADC_TypeDef *ADCx)
3158 .loc 2 8199 22 view .LVU945
3159 .LBB389:
8200:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8201:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCx->IER, LL_ADC_IT_AWD1);
3160 .loc 2 8201 3 view .LVU946
3161 013c 5368 ldr r3, [r2, #4]
3162 013e 23F08003 bic r3, r3, #128
3163 0142 5360 str r3, [r2, #4]
3164 .LVL235:
3165 .loc 2 8201 3 is_stmt 0 view .LVU947
3166 .LBE389:
3167 .LBE388:
3137:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpAWDHighThresholdShifted;
3168 .loc 1 3137 21 view .LVU948
3169 0144 0020 movs r0, #0
3170 .LVL236:
3171 .LBB391:
3172 .LBB390:
8202:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3173 .loc 2 8202 1 view .LVU949
3174 0146 2AE1 b .L223
3175 .LVL237:
3176 .L209:
3177 .loc 2 8202 1 view .LVU950
3178 .LBE390:
3179 .LBE391:
3222:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_GROUP_INJECTED));
3180 .loc 1 3222 11 is_stmt 1 view .LVU951
3222:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** LL_ADC_GROUP_INJECTED));
3181 .loc 1 3222 72 is_stmt 0 view .LVU952
3182 0148 AA68 ldr r2, [r5, #8]
3183 .LVL238:
3184 .LBB392:
3185 .LBI392:
5774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3186 .loc 2 5774 22 is_stmt 1 view .LVU953
3187 .LBB393:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 301
5780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_CR12_REGOFFSETGAP_MASK) *
3188 .loc 2 5780 3 view .LVU954
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3189 .loc 2 5783 3 view .LVU955
3190 014a C168 ldr r1, [r0, #12]
3191 014c 6A4B ldr r3, .L269+8
3192 014e 0B40 ands r3, r3, r1
3193 0150 02F0F842 and r2, r2, #2080374784
3194 .LVL239:
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3195 .loc 2 5783 3 is_stmt 0 view .LVU956
3196 0154 42F0A072 orr r2, r2, #20971520
3197 0158 1343 orrs r3, r3, r2
3198 015a C360 str r3, [r0, #12]
3199 .LVL240:
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3200 .loc 2 5783 3 view .LVU957
3201 .LBE393:
3202 .LBE392:
3224:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3203 .loc 1 3224 11 is_stmt 1 view .LVU958
3204 .LBB395:
3205 .LBB394:
5786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3206 .loc 2 5786 1 is_stmt 0 view .LVU959
3207 015c C3E7 b .L217
3208 .L212:
5786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3209 .loc 2 5786 1 view .LVU960
3210 .LBE394:
3211 .LBE395:
3236:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3212 .loc 1 3236 11 is_stmt 1 view .LVU961
3213 .LVL241:
3214 .LBB396:
3215 .LBI396:
5774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3216 .loc 2 5774 22 view .LVU962
3217 .LBB397:
5780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_CR12_REGOFFSETGAP_MASK) *
3218 .loc 2 5780 3 view .LVU963
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3219 .loc 2 5783 3 view .LVU964
3220 015e C268 ldr r2, [r0, #12]
3221 0160 654B ldr r3, .L269+8
3222 0162 1340 ands r3, r3, r2
3223 0164 43F08073 orr r3, r3, #16777216
3224 0168 C360 str r3, [r0, #12]
3225 .LVL242:
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3226 .loc 2 5783 3 is_stmt 0 view .LVU965
3227 .LBE397:
3228 .LBE396:
3237:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3229 .loc 1 3237 11 is_stmt 1 view .LVU966
3230 .LBB399:
3231 .LBB398:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 302
5786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3232 .loc 2 5786 1 is_stmt 0 view .LVU967
3233 016a BCE7 b .L217
3234 .L215:
3235 .LBE398:
3236 .LBE399:
3240:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3237 .loc 1 3240 11 is_stmt 1 view .LVU968
3238 .LVL243:
3239 .LBB400:
3240 .LBI400:
5774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3241 .loc 2 5774 22 view .LVU969
3242 .LBB401:
5780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_CR12_REGOFFSETGAP_MASK) *
3243 .loc 2 5780 3 view .LVU970
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3244 .loc 2 5783 3 view .LVU971
3245 016c C268 ldr r2, [r0, #12]
3246 016e 624B ldr r3, .L269+8
3247 0170 1340 ands r3, r3, r2
3248 0172 43F0C073 orr r3, r3, #25165824
3249 0176 C360 str r3, [r0, #12]
3250 .LVL244:
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3251 .loc 2 5783 3 is_stmt 0 view .LVU972
3252 .LBE401:
3253 .LBE400:
3241:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3254 .loc 1 3241 11 is_stmt 1 view .LVU973
3255 .LBB403:
3256 .LBB402:
5786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3257 .loc 2 5786 1 is_stmt 0 view .LVU974
3258 0178 B5E7 b .L217
3259 .L214:
3260 .LBE402:
3261 .LBE403:
3244:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3262 .loc 1 3244 11 is_stmt 1 view .LVU975
3263 .LVL245:
3264 .LBB404:
3265 .LBI404:
5774:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3266 .loc 2 5774 22 view .LVU976
3267 .LBB405:
5780:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** + ((AWDy & ADC_AWD_CR12_REGOFFSETGAP_MASK) *
3268 .loc 2 5780 3 view .LVU977
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3269 .loc 2 5783 3 view .LVU978
3270 017a C268 ldr r2, [r0, #12]
3271 017c 5E4B ldr r3, .L269+8
3272 017e 1340 ands r3, r3, r2
3273 0180 C360 str r3, [r0, #12]
3274 .LVL246:
5783:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** (AWDy & ADC_AWD_CR_ALL_CHANNEL_MASK),
3275 .loc 2 5783 3 is_stmt 0 view .LVU979
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 303
3276 .LBE405:
3277 .LBE404:
3245:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3278 .loc 1 3245 11 is_stmt 1 view .LVU980
3279 .LBB407:
3280 .LBB406:
5786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3281 .loc 2 5786 1 is_stmt 0 view .LVU981
3282 0182 B0E7 b .L217
3283 .L218:
5786:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3284 .loc 2 5786 1 view .LVU982
3285 .LBE406:
3286 .LBE407:
3251:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpAWDLowThresholdShifted = ADC_AWD1THRESHOLD_SHIFT_RESOLUTION(hadc, AnalogWDGConfig->LowThr
3287 .loc 1 3251 36 discriminator 2 view .LVU983
3288 0184 2969 ldr r1, [r5, #16]
3289 0186 DA68 ldr r2, [r3, #12]
3290 0188 9208 lsrs r2, r2, #2
3291 018a 02F00402 and r2, r2, #4
3292 018e 5200 lsls r2, r2, #1
3293 0190 9140 lsls r1, r1, r2
3294 0192 B3E7 b .L219
3295 .LVL247:
3296 .L220:
3252:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3297 .loc 1 3252 36 discriminator 2 view .LVU984
3298 0194 6869 ldr r0, [r5, #20]
3299 0196 DA68 ldr r2, [r3, #12]
3300 0198 9208 lsrs r2, r2, #2
3301 019a 02F00402 and r2, r2, #4
3302 019e 5200 lsls r2, r2, #1
3303 01a0 9040 lsls r0, r0, r2
3304 01a2 B5E7 b .L221
3305 .LVL248:
3306 .L263:
3287:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3307 .loc 1 3287 9 is_stmt 1 view .LVU985
3308 01a4 2268 ldr r2, [r4]
3309 .LVL249:
3310 .LBB408:
3311 .LBI408:
8078:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3312 .loc 2 8078 22 view .LVU986
3313 .LBB409:
8080:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3314 .loc 2 8080 3 view .LVU987
3315 01a6 5368 ldr r3, [r2, #4]
3316 01a8 43F08003 orr r3, r3, #128
3317 01ac 5360 str r3, [r2, #4]
3318 .LVL250:
8080:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3319 .loc 2 8080 3 is_stmt 0 view .LVU988
3320 .LBE409:
3321 .LBE408:
3137:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpAWDHighThresholdShifted;
3322 .loc 1 3137 21 view .LVU989
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 304
3323 01ae 0020 movs r0, #0
3324 .LVL251:
3325 .LBB411:
3326 .LBB410:
8081:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3327 .loc 2 8081 1 view .LVU990
3328 01b0 F5E0 b .L223
3329 .LVL252:
3330 .L225:
8081:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3331 .loc 2 8081 1 view .LVU991
3332 .LBE410:
3333 .LBE411:
3297:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3334 .loc 1 3297 7 view .LVU992
3335 01b2 B3F1C07F cmp r3, #25165824
3336 01b6 3FF452AF beq .L226
3337 01ba B3F1E07F cmp r3, #29360128
3338 01be 45D0 beq .L224
3339 .L227:
3344:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3340 .loc 1 3344 11 is_stmt 1 view .LVU993
3341 01c0 0022 movs r2, #0
3342 01c2 FFF7FEFF bl LL_ADC_SetAnalogWDMonitChannels
3343 .LVL253:
3345:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3344 .loc 1 3345 11 view .LVU994
3345 .L232:
3350:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpAWDLowThresholdShifted = ADC_AWD23THRESHOLD_SHIFT_RESOLUTION(hadc, AnalogWDGConfig->LowTh
3346 .loc 1 3350 7 view .LVU995
3350:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpAWDLowThresholdShifted = ADC_AWD23THRESHOLD_SHIFT_RESOLUTION(hadc, AnalogWDGConfig->LowTh
3347 .loc 1 3350 36 is_stmt 0 view .LVU996
3348 01c6 2368 ldr r3, [r4]
3349 01c8 DA68 ldr r2, [r3, #12]
3350 01ca 12F0100F tst r2, #16
3351 01ce 40F0A180 bne .L243
3350:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpAWDLowThresholdShifted = ADC_AWD23THRESHOLD_SHIFT_RESOLUTION(hadc, AnalogWDGConfig->LowTh
3352 .loc 1 3350 36 discriminator 1 view .LVU997
3353 01d2 2A69 ldr r2, [r5, #16]
3354 01d4 D968 ldr r1, [r3, #12]
3355 01d6 C1F38201 ubfx r1, r1, #2, #3
3356 01da 4900 lsls r1, r1, #1
3357 01dc 8A40 lsls r2, r2, r1
3358 .L244:
3359 .LVL254:
3351:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3360 .loc 1 3351 7 is_stmt 1 view .LVU998
3351:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3361 .loc 1 3351 36 is_stmt 0 view .LVU999
3362 01de D968 ldr r1, [r3, #12]
3363 01e0 11F0100F tst r1, #16
3364 01e4 40F09E80 bne .L245
3351:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3365 .loc 1 3351 36 discriminator 1 view .LVU1000
3366 01e8 6969 ldr r1, [r5, #20]
3367 01ea D868 ldr r0, [r3, #12]
3368 01ec C0F38200 ubfx r0, r0, #2, #3
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 305
3369 01f0 4000 lsls r0, r0, #1
3370 01f2 8140 lsls r1, r1, r0
3371 .L246:
3372 .LVL255:
3389:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3373 .loc 1 3389 7 is_stmt 1 view .LVU1001
3389:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3374 .loc 1 3389 10 is_stmt 0 view .LVU1002
3375 01f4 3F48 ldr r0, .L269+4
3376 01f6 2E68 ldr r6, [r5]
3377 01f8 8642 cmp r6, r0
3378 01fa 00F09B80 beq .L264
3398:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->HTR3, ADC_HTR_HT, tmpAWDHighThresholdShifted);
3379 .loc 1 3398 9 is_stmt 1 view .LVU1003
3380 01fe D3F8B800 ldr r0, [r3, #184]
3381 0202 00F07C40 and r0, r0, #-67108864
3382 0206 0143 orrs r1, r1, r0
3383 .LVL256:
3398:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->HTR3, ADC_HTR_HT, tmpAWDHighThresholdShifted);
3384 .loc 1 3398 9 is_stmt 0 view .LVU1004
3385 0208 C3F8B810 str r1, [r3, #184]
3399:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3386 .loc 1 3399 9 is_stmt 1 view .LVU1005
3387 020c 2168 ldr r1, [r4]
3388 020e D1F8BC30 ldr r3, [r1, #188]
3389 0212 03F07C43 and r3, r3, #-67108864
3390 0216 1343 orrs r3, r3, r2
3391 0218 C1F8BC30 str r3, [r1, #188]
3392 .L248:
3403:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3393 .loc 1 3403 7 view .LVU1006
3403:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3394 .loc 1 3403 26 is_stmt 0 view .LVU1007
3395 021c 2A68 ldr r2, [r5]
3396 .LVL257:
3403:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3397 .loc 1 3403 10 view .LVU1008
3398 021e 354B ldr r3, .L269+4
3399 0220 9A42 cmp r2, r3
3400 0222 00F09780 beq .L265
3428:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3401 .loc 1 3428 9 is_stmt 1 view .LVU1009
3402 0226 636D ldr r3, [r4, #84]
3403 0228 23F48023 bic r3, r3, #262144
3404 022c 6365 str r3, [r4, #84]
3434:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3405 .loc 1 3434 9 view .LVU1010
3406 022e 2368 ldr r3, [r4]
3407 .LVL258:
3408 .LBB412:
3409 .LBI412:
7707:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3410 .loc 2 7707 22 view .LVU1011
3411 .LBB413:
7709:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3412 .loc 2 7709 3 view .LVU1012
3413 0230 4FF40072 mov r2, #512
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 306
3414 0234 1A60 str r2, [r3]
3415 .LVL259:
7709:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3416 .loc 2 7709 3 is_stmt 0 view .LVU1013
3417 .LBE413:
3418 .LBE412:
3437:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3419 .loc 1 3437 9 is_stmt 1 view .LVU1014
3437:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3420 .loc 1 3437 28 is_stmt 0 view .LVU1015
3421 0236 2B7B ldrb r3, [r5, #12] @ zero_extendqisi2
3437:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3422 .loc 1 3437 12 view .LVU1016
3423 0238 012B cmp r3, #1
3424 023a 00F0A480 beq .L266
3443:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3425 .loc 1 3443 11 is_stmt 1 view .LVU1017
3426 023e 2268 ldr r2, [r4]
3427 .LVL260:
3428 .LBB414:
3429 .LBI414:
8203:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8204:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8205:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Disable interruption ADC analog watchdog 2.
8206:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER AWD2IE LL_ADC_DisableIT_AWD2
8207:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8208:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8209:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8210:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_DisableIT_AWD2(ADC_TypeDef *ADCx)
8211:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8212:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCx->IER, LL_ADC_IT_AWD2);
8213:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
8214:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
8215:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** /**
8216:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @brief Disable interruption ADC analog watchdog 3.
8217:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @rmtoll IER AWD3IE LL_ADC_DisableIT_AWD3
8218:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @param ADCx ADC instance
8219:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** * @retval None
8220:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** */
8221:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** __STATIC_INLINE void LL_ADC_DisableIT_AWD3(ADC_TypeDef *ADCx)
3430 .loc 2 8221 22 view .LVU1018
3431 .LBB415:
8222:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
8223:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** CLEAR_BIT(ADCx->IER, LL_ADC_IT_AWD3);
3432 .loc 2 8223 3 view .LVU1019
3433 0240 5368 ldr r3, [r2, #4]
3434 0242 23F40073 bic r3, r3, #512
3435 0246 5360 str r3, [r2, #4]
3436 .LVL261:
3437 .loc 2 8223 3 is_stmt 0 view .LVU1020
3438 .LBE415:
3439 .LBE414:
3137:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpAWDHighThresholdShifted;
3440 .loc 1 3137 21 view .LVU1021
3441 0248 0020 movs r0, #0
3442 .LBB417:
3443 .LBB416:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 307
8224:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3444 .loc 2 8224 1 view .LVU1022
3445 024a A8E0 b .L223
3446 .LVL262:
3447 .L224:
3448 .loc 2 8224 1 view .LVU1023
3449 .LBE416:
3450 .LBE417:
3304:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3451 .loc 1 3304 11 is_stmt 1 view .LVU1024
3304:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3452 .loc 1 3304 14 is_stmt 0 view .LVU1025
3453 024c 294B ldr r3, .L269+4
3454 024e 9942 cmp r1, r3
3455 0250 0DD0 beq .L267
3310:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3456 .loc 1 3310 13 is_stmt 1 view .LVU1026
3457 0252 AB68 ldr r3, [r5, #8]
3458 0254 C3F31302 ubfx r2, r3, #0, #20
3459 0258 1ABB cbnz r2, .L233
3310:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3460 .loc 1 3310 13 is_stmt 0 discriminator 1 view .LVU1027
3461 025a C3F38463 ubfx r3, r3, #26, #5
3462 025e 0122 movs r2, #1
3463 0260 9A40 lsls r2, r2, r3
3464 .L234:
3310:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3465 .loc 1 3310 13 discriminator 4 view .LVU1028
3466 0262 D0F8A430 ldr r3, [r0, #164]
3467 0266 1343 orrs r3, r3, r2
3468 0268 C0F8A430 str r3, [r0, #164]
3469 026c ABE7 b .L232
3470 .L267:
3306:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3471 .loc 1 3306 13 is_stmt 1 view .LVU1029
3472 026e AB68 ldr r3, [r5, #8]
3473 0270 C3F31302 ubfx r2, r3, #0, #20
3474 0274 4AB9 cbnz r2, .L229
3306:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3475 .loc 1 3306 13 is_stmt 0 discriminator 1 view .LVU1030
3476 0276 C3F38463 ubfx r3, r3, #26, #5
3477 027a 0122 movs r2, #1
3478 027c 9A40 lsls r2, r2, r3
3479 .L230:
3306:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3480 .loc 1 3306 13 discriminator 4 view .LVU1031
3481 027e D0F8A030 ldr r3, [r0, #160]
3482 0282 1343 orrs r3, r3, r2
3483 0284 C0F8A030 str r3, [r0, #160]
3484 0288 9DE7 b .L232
3485 .L229:
3486 .LVL263:
3487 .LBB418:
3488 .LBI418:
1048:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3489 .loc 3 1048 31 is_stmt 1 view .LVU1032
3490 .LBB419:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 308
1050:Drivers/CMSIS/Include/cmsis_gcc.h ****
3491 .loc 3 1050 3 view .LVU1033
1055:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
3492 .loc 3 1055 4 view .LVU1034
3493 .syntax unified
3494 @ 1055 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
3495 028a 93FAA3F3 rbit r3, r3
3496 @ 0 "" 2
3497 .LVL264:
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3498 .loc 3 1068 3 view .LVU1035
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3499 .loc 3 1068 3 is_stmt 0 view .LVU1036
3500 .thumb
3501 .syntax unified
3502 .LBE419:
3503 .LBE418:
3504 .LBB420:
3505 .LBI420:
1078:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3506 .loc 3 1078 30 is_stmt 1 view .LVU1037
3507 .LBB421:
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3508 .loc 3 1089 3 view .LVU1038
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3509 .loc 3 1089 6 is_stmt 0 view .LVU1039
3510 028e 33B1 cbz r3, .L253
3511 .loc 3 1093 3 is_stmt 1 view .LVU1040
3512 .loc 3 1093 10 is_stmt 0 discriminator 1 view .LVU1041
3513 0290 B3FA83F3 clz r3, r3
3514 .LVL265:
3515 .L231:
3516 .loc 3 1093 10 discriminator 1 view .LVU1042
3517 .LBE421:
3518 .LBE420:
3306:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3519 .loc 1 3306 13 discriminator 2 view .LVU1043
3520 0294 03F01F03 and r3, r3, #31
3521 0298 0122 movs r2, #1
3522 029a 9A40 lsls r2, r2, r3
3523 029c EFE7 b .L230
3524 .LVL266:
3525 .L253:
3526 .LBB423:
3527 .LBB422:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3528 .loc 3 1091 12 view .LVU1044
3529 029e 2023 movs r3, #32
3530 .LVL267:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3531 .loc 3 1091 12 view .LVU1045
3532 02a0 F8E7 b .L231
3533 .LVL268:
3534 .L233:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3535 .loc 3 1091 12 view .LVU1046
3536 .LBE422:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 309
3537 .LBE423:
3538 .LBB424:
3539 .LBI424:
1048:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3540 .loc 3 1048 31 is_stmt 1 view .LVU1047
3541 .LBB425:
1050:Drivers/CMSIS/Include/cmsis_gcc.h ****
3542 .loc 3 1050 3 view .LVU1048
1055:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
3543 .loc 3 1055 4 view .LVU1049
3544 .syntax unified
3545 @ 1055 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
3546 02a2 93FAA3F3 rbit r3, r3
3547 @ 0 "" 2
3548 .LVL269:
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3549 .loc 3 1068 3 view .LVU1050
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3550 .loc 3 1068 3 is_stmt 0 view .LVU1051
3551 .thumb
3552 .syntax unified
3553 .LBE425:
3554 .LBE424:
3555 .LBB426:
3556 .LBI426:
1078:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3557 .loc 3 1078 30 is_stmt 1 view .LVU1052
3558 .LBB427:
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3559 .loc 3 1089 3 view .LVU1053
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3560 .loc 3 1089 6 is_stmt 0 view .LVU1054
3561 02a6 33B1 cbz r3, .L254
3562 .loc 3 1093 3 is_stmt 1 view .LVU1055
3563 .loc 3 1093 10 is_stmt 0 discriminator 1 view .LVU1056
3564 02a8 B3FA83F3 clz r3, r3
3565 .LVL270:
3566 .L235:
3567 .loc 3 1093 10 discriminator 1 view .LVU1057
3568 .LBE427:
3569 .LBE426:
3310:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3570 .loc 1 3310 13 discriminator 2 view .LVU1058
3571 02ac 03F01F03 and r3, r3, #31
3572 02b0 0122 movs r2, #1
3573 02b2 9A40 lsls r2, r2, r3
3574 02b4 D5E7 b .L234
3575 .LVL271:
3576 .L254:
3577 .LBB429:
3578 .LBB428:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3579 .loc 3 1091 12 view .LVU1059
3580 02b6 2023 movs r3, #32
3581 .LVL272:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3582 .loc 3 1091 12 view .LVU1060
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 310
3583 02b8 F8E7 b .L235
3584 .LVL273:
3585 .L262:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3586 .loc 3 1091 12 view .LVU1061
3587 .LBE428:
3588 .LBE429:
3332:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3589 .loc 1 3332 15 is_stmt 1 view .LVU1062
3590 02ba AB68 ldr r3, [r5, #8]
3591 02bc C3F31302 ubfx r2, r3, #0, #20
3592 02c0 4AB9 cbnz r2, .L237
3332:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3593 .loc 1 3332 15 is_stmt 0 discriminator 1 view .LVU1063
3594 02c2 C3F38463 ubfx r3, r3, #26, #5
3595 02c6 0122 movs r2, #1
3596 02c8 9A40 lsls r2, r2, r3
3597 .L238:
3332:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3598 .loc 1 3332 15 discriminator 4 view .LVU1064
3599 02ca D0F8A030 ldr r3, [r0, #160]
3600 02ce 1343 orrs r3, r3, r2
3601 02d0 C0F8A030 str r3, [r0, #160]
3602 02d4 77E7 b .L232
3603 .L237:
3604 .LVL274:
3605 .LBB430:
3606 .LBI430:
1048:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3607 .loc 3 1048 31 is_stmt 1 view .LVU1065
3608 .LBB431:
1050:Drivers/CMSIS/Include/cmsis_gcc.h ****
3609 .loc 3 1050 3 view .LVU1066
1055:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
3610 .loc 3 1055 4 view .LVU1067
3611 .syntax unified
3612 @ 1055 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
3613 02d6 93FAA3F3 rbit r3, r3
3614 @ 0 "" 2
3615 .LVL275:
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3616 .loc 3 1068 3 view .LVU1068
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3617 .loc 3 1068 3 is_stmt 0 view .LVU1069
3618 .thumb
3619 .syntax unified
3620 .LBE431:
3621 .LBE430:
3622 .LBB432:
3623 .LBI432:
1078:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3624 .loc 3 1078 30 is_stmt 1 view .LVU1070
3625 .LBB433:
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3626 .loc 3 1089 3 view .LVU1071
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3627 .loc 3 1089 6 is_stmt 0 view .LVU1072
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 311
3628 02da 33B1 cbz r3, .L255
3629 .loc 3 1093 3 is_stmt 1 view .LVU1073
3630 .loc 3 1093 10 is_stmt 0 discriminator 1 view .LVU1074
3631 02dc B3FA83F3 clz r3, r3
3632 .LVL276:
3633 .L239:
3634 .loc 3 1093 10 discriminator 1 view .LVU1075
3635 .LBE433:
3636 .LBE432:
3332:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3637 .loc 1 3332 15 discriminator 2 view .LVU1076
3638 02e0 03F01F03 and r3, r3, #31
3639 02e4 0122 movs r2, #1
3640 02e6 9A40 lsls r2, r2, r3
3641 02e8 EFE7 b .L238
3642 .LVL277:
3643 .L255:
3644 .LBB435:
3645 .LBB434:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3646 .loc 3 1091 12 view .LVU1077
3647 02ea 2023 movs r3, #32
3648 .LVL278:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3649 .loc 3 1091 12 view .LVU1078
3650 02ec F8E7 b .L239
3651 .L270:
3652 02ee 00BF .align 2
3653 .L269:
3654 02f0 0000C07D .word 2109734912
3655 02f4 FFFF1F00 .word 2097151
3656 02f8 FFFF3F82 .word -2109734913
3657 .LVL279:
3658 .L240:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3659 .loc 3 1091 12 view .LVU1079
3660 .LBE434:
3661 .LBE435:
3662 .LBB436:
3663 .LBI436:
1048:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3664 .loc 3 1048 31 is_stmt 1 view .LVU1080
3665 .LBB437:
1050:Drivers/CMSIS/Include/cmsis_gcc.h ****
3666 .loc 3 1050 3 view .LVU1081
1055:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
3667 .loc 3 1055 4 view .LVU1082
3668 .syntax unified
3669 @ 1055 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
3670 02fc 93FAA3F3 rbit r3, r3
3671 @ 0 "" 2
3672 .LVL280:
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3673 .loc 3 1068 3 view .LVU1083
1068:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3674 .loc 3 1068 3 is_stmt 0 view .LVU1084
3675 .thumb
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 312
3676 .syntax unified
3677 .LBE437:
3678 .LBE436:
3679 .LBB438:
3680 .LBI438:
1078:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3681 .loc 3 1078 30 is_stmt 1 view .LVU1085
3682 .LBB439:
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3683 .loc 3 1089 3 view .LVU1086
1089:Drivers/CMSIS/Include/cmsis_gcc.h **** {
3684 .loc 3 1089 6 is_stmt 0 view .LVU1087
3685 0300 33B1 cbz r3, .L256
3686 .loc 3 1093 3 is_stmt 1 view .LVU1088
3687 .loc 3 1093 10 is_stmt 0 discriminator 1 view .LVU1089
3688 0302 B3FA83F3 clz r3, r3
3689 .LVL281:
3690 .L242:
3691 .loc 3 1093 10 discriminator 1 view .LVU1090
3692 .LBE439:
3693 .LBE438:
3336:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3694 .loc 1 3336 15 discriminator 2 view .LVU1091
3695 0306 03F01F03 and r3, r3, #31
3696 030a 0122 movs r2, #1
3697 030c 9A40 lsls r2, r2, r3
3698 030e B4E6 b .L241
3699 .LVL282:
3700 .L256:
3701 .LBB441:
3702 .LBB440:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3703 .loc 3 1091 12 view .LVU1092
3704 0310 2023 movs r3, #32
3705 .LVL283:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3706 .loc 3 1091 12 view .LVU1093
3707 0312 F8E7 b .L242
3708 .LVL284:
3709 .L243:
1091:Drivers/CMSIS/Include/cmsis_gcc.h **** }
3710 .loc 3 1091 12 view .LVU1094
3711 .LBE440:
3712 .LBE441:
3350:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmpAWDLowThresholdShifted = ADC_AWD23THRESHOLD_SHIFT_RESOLUTION(hadc, AnalogWDGConfig->LowTh
3713 .loc 1 3350 36 discriminator 2 view .LVU1095
3714 0314 2A69 ldr r2, [r5, #16]
3715 0316 D968 ldr r1, [r3, #12]
3716 0318 8908 lsrs r1, r1, #2
3717 031a 01F00401 and r1, r1, #4
3718 031e 4900 lsls r1, r1, #1
3719 0320 8A40 lsls r2, r2, r1
3720 0322 5CE7 b .L244
3721 .LVL285:
3722 .L245:
3351:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3723 .loc 1 3351 36 discriminator 2 view .LVU1096
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 313
3724 0324 6969 ldr r1, [r5, #20]
3725 0326 D868 ldr r0, [r3, #12]
3726 0328 8008 lsrs r0, r0, #2
3727 032a 00F00400 and r0, r0, #4
3728 032e 4000 lsls r0, r0, #1
3729 0330 8140 lsls r1, r1, r0
3730 0332 5FE7 b .L246
3731 .LVL286:
3732 .L264:
3392:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->HTR2, ADC_HTR_HT, tmpAWDHighThresholdShifted);
3733 .loc 1 3392 9 is_stmt 1 view .LVU1097
3734 0334 D3F8B000 ldr r0, [r3, #176]
3735 0338 00F07C40 and r0, r0, #-67108864
3736 033c 0143 orrs r1, r1, r0
3737 .LVL287:
3392:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->HTR2, ADC_HTR_HT, tmpAWDHighThresholdShifted);
3738 .loc 1 3392 9 is_stmt 0 view .LVU1098
3739 033e C3F8B010 str r1, [r3, #176]
3393:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3740 .loc 1 3393 9 is_stmt 1 view .LVU1099
3741 0342 2168 ldr r1, [r4]
3742 0344 D1F8B430 ldr r3, [r1, #180]
3743 0348 03F07C43 and r3, r3, #-67108864
3744 034c 1343 orrs r3, r3, r2
3745 034e C1F8B430 str r3, [r1, #180]
3746 0352 63E7 b .L248
3747 .LVL288:
3748 .L265:
3406:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3749 .loc 1 3406 9 view .LVU1100
3750 0354 636D ldr r3, [r4, #84]
3751 0356 23F40033 bic r3, r3, #131072
3752 035a 6365 str r3, [r4, #84]
3412:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3753 .loc 1 3412 9 view .LVU1101
3754 035c 2368 ldr r3, [r4]
3755 .LVL289:
3756 .LBB442:
3757 .LBI442:
7696:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3758 .loc 2 7696 22 view .LVU1102
3759 .LBB443:
7698:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3760 .loc 2 7698 3 view .LVU1103
3761 035e 4FF48072 mov r2, #256
3762 0362 1A60 str r2, [r3]
3763 .LVL290:
7698:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3764 .loc 2 7698 3 is_stmt 0 view .LVU1104
3765 .LBE443:
3766 .LBE442:
3415:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3767 .loc 1 3415 9 is_stmt 1 view .LVU1105
3415:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3768 .loc 1 3415 28 is_stmt 0 view .LVU1106
3769 0364 2B7B ldrb r3, [r5, #12] @ zero_extendqisi2
3415:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 314
3770 .loc 1 3415 12 view .LVU1107
3771 0366 012B cmp r3, #1
3772 0368 06D0 beq .L268
3421:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3773 .loc 1 3421 11 is_stmt 1 view .LVU1108
3774 036a 2268 ldr r2, [r4]
3775 .LVL291:
3776 .LBB444:
3777 .LBI444:
8210:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3778 .loc 2 8210 22 view .LVU1109
3779 .LBB445:
8212:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3780 .loc 2 8212 3 view .LVU1110
3781 036c 5368 ldr r3, [r2, #4]
3782 036e 23F48073 bic r3, r3, #256
3783 0372 5360 str r3, [r2, #4]
3784 .LVL292:
8212:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3785 .loc 2 8212 3 is_stmt 0 view .LVU1111
3786 .LBE445:
3787 .LBE444:
3137:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpAWDHighThresholdShifted;
3788 .loc 1 3137 21 view .LVU1112
3789 0374 0020 movs r0, #0
3790 .LBB447:
3791 .LBB446:
8213:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3792 .loc 2 8213 1 view .LVU1113
3793 0376 12E0 b .L223
3794 .L268:
3795 .LBE446:
3796 .LBE447:
3417:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3797 .loc 1 3417 11 is_stmt 1 view .LVU1114
3798 0378 2268 ldr r2, [r4]
3799 .LVL293:
3800 .LBB448:
3801 .LBI448:
8089:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3802 .loc 2 8089 22 view .LVU1115
3803 .LBB449:
8091:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3804 .loc 2 8091 3 view .LVU1116
3805 037a 5368 ldr r3, [r2, #4]
3806 037c 43F48073 orr r3, r3, #256
3807 0380 5360 str r3, [r2, #4]
3808 .LVL294:
8091:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3809 .loc 2 8091 3 is_stmt 0 view .LVU1117
3810 .LBE449:
3811 .LBE448:
3137:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpAWDHighThresholdShifted;
3812 .loc 1 3137 21 view .LVU1118
3813 0382 0020 movs r0, #0
3814 .LBB451:
3815 .LBB450:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 315
8092:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3816 .loc 2 8092 1 view .LVU1119
3817 0384 0BE0 b .L223
3818 .L266:
8092:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3819 .loc 2 8092 1 view .LVU1120
3820 .LBE450:
3821 .LBE451:
3439:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3822 .loc 1 3439 11 is_stmt 1 view .LVU1121
3823 0386 2268 ldr r2, [r4]
3824 .LVL295:
3825 .LBB452:
3826 .LBI452:
8100:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3827 .loc 2 8100 22 view .LVU1122
3828 .LBB453:
8102:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3829 .loc 2 8102 3 view .LVU1123
3830 0388 5368 ldr r3, [r2, #4]
3831 038a 43F40073 orr r3, r3, #512
3832 038e 5360 str r3, [r2, #4]
3833 .LVL296:
8102:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3834 .loc 2 8102 3 is_stmt 0 view .LVU1124
3835 .LBE453:
3836 .LBE452:
3137:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpAWDHighThresholdShifted;
3837 .loc 1 3137 21 view .LVU1125
3838 0390 0020 movs r0, #0
3839 .LBB455:
3840 .LBB454:
8103:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3841 .loc 2 8103 1 view .LVU1126
3842 0392 04E0 b .L223
3843 .LVL297:
3844 .L207:
8103:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
3845 .loc 2 8103 1 view .LVU1127
3846 .LBE454:
3847 .LBE455:
3454:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3848 .loc 1 3454 5 is_stmt 1 view .LVU1128
3849 0394 636D ldr r3, [r4, #84]
3850 .LVL298:
3454:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3851 .loc 1 3454 5 is_stmt 0 view .LVU1129
3852 0396 43F02003 orr r3, r3, #32
3853 039a 6365 str r3, [r4, #84]
3456:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3854 .loc 1 3456 5 is_stmt 1 view .LVU1130
3855 .LVL299:
3456:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3856 .loc 1 3456 20 is_stmt 0 view .LVU1131
3857 039c 0120 movs r0, #1
3858 .LVL300:
3859 .L223:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 316
3459:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3860 .loc 1 3459 3 is_stmt 1 view .LVU1132
3459:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3861 .loc 1 3459 3 view .LVU1133
3862 039e 0023 movs r3, #0
3863 03a0 84F85030 strb r3, [r4, #80]
3459:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3864 .loc 1 3459 3 view .LVU1134
3462:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3865 .loc 1 3462 3 view .LVU1135
3463:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3866 .loc 1 3463 1 is_stmt 0 view .LVU1136
3867 03a4 70BD pop {r4, r5, r6, pc}
3868 .LVL301:
3869 .L252:
3870 .cfi_def_cfa_offset 0
3871 .cfi_restore 4
3872 .cfi_restore 5
3873 .cfi_restore 6
3874 .cfi_restore 14
3195:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3875 .loc 1 3195 3 discriminator 1 view .LVU1137
3876 03a6 0220 movs r0, #2
3877 .LVL302:
3463:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3878 .loc 1 3463 1 view .LVU1138
3879 03a8 7047 bx lr
3880 .cfi_endproc
3881 .LFE354:
3883 03aa 00BF .section .text.HAL_ADC_GetState,"ax",%progbits
3884 .align 1
3885 .global HAL_ADC_GetState
3886 .syntax unified
3887 .thumb
3888 .thumb_func
3890 HAL_ADC_GetState:
3891 .LVL303:
3892 .LFB355:
3498:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
3893 .loc 1 3498 1 is_stmt 1 view -0
3894 .cfi_startproc
3895 @ args = 0, pretend = 0, frame = 0
3896 @ frame_needed = 0, uses_anonymous_args = 0
3897 @ link register save eliminated.
3500:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3898 .loc 1 3500 3 view .LVU1140
3503:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3899 .loc 1 3503 3 view .LVU1141
3503:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3900 .loc 1 3503 14 is_stmt 0 view .LVU1142
3901 0000 406D ldr r0, [r0, #84]
3902 .LVL304:
3504:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3903 .loc 1 3504 1 view .LVU1143
3904 0002 7047 bx lr
3905 .cfi_endproc
3906 .LFE355:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 317
3908 .section .text.HAL_ADC_GetError,"ax",%progbits
3909 .align 1
3910 .global HAL_ADC_GetError
3911 .syntax unified
3912 .thumb
3913 .thumb_func
3915 HAL_ADC_GetError:
3916 .LVL305:
3917 .LFB356:
3512:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Check the parameters */
3918 .loc 1 3512 1 is_stmt 1 view -0
3919 .cfi_startproc
3920 @ args = 0, pretend = 0, frame = 0
3921 @ frame_needed = 0, uses_anonymous_args = 0
3922 @ link register save eliminated.
3514:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3923 .loc 1 3514 3 view .LVU1145
3516:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3924 .loc 1 3516 3 view .LVU1146
3516:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3925 .loc 1 3516 14 is_stmt 0 view .LVU1147
3926 0000 806D ldr r0, [r0, #88]
3927 .LVL306:
3517:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3928 .loc 1 3517 1 view .LVU1148
3929 0002 7047 bx lr
3930 .cfi_endproc
3931 .LFE356:
3933 .section .text.ADC_ConversionStop,"ax",%progbits
3934 .align 1
3935 .global ADC_ConversionStop
3936 .syntax unified
3937 .thumb
3938 .thumb_func
3940 ADC_ConversionStop:
3941 .LVL307:
3942 .LFB357:
3542:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tickstart;
3943 .loc 1 3542 1 is_stmt 1 view -0
3944 .cfi_startproc
3945 @ args = 0, pretend = 0, frame = 0
3946 @ frame_needed = 0, uses_anonymous_args = 0
3542:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tickstart;
3947 .loc 1 3542 1 is_stmt 0 view .LVU1150
3948 0000 70B5 push {r4, r5, r6, lr}
3949 .cfi_def_cfa_offset 16
3950 .cfi_offset 4, -16
3951 .cfi_offset 5, -12
3952 .cfi_offset 6, -8
3953 .cfi_offset 14, -4
3954 0002 0446 mov r4, r0
3543:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t Conversion_Timeout_CPU_cycles = 0UL;
3955 .loc 1 3543 3 is_stmt 1 view .LVU1151
3544:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t conversion_group_reassigned = ConversionGroup;
3956 .loc 1 3544 3 view .LVU1152
3957 .LVL308:
3545:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_ADC_CR_ADSTART_JADSTART;
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 318
3958 .loc 1 3545 3 view .LVU1153
3546:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_regular;
3959 .loc 1 3546 3 view .LVU1154
3547:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_injected;
3960 .loc 1 3547 3 view .LVU1155
3548:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3961 .loc 1 3548 3 view .LVU1156
3551:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_CONVERSION_GROUP(ConversionGroup));
3962 .loc 1 3551 3 view .LVU1157
3552:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3963 .loc 1 3552 3 view .LVU1158
3556:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_injected = LL_ADC_INJ_IsConversionOngoing(hadc->Instance);
3964 .loc 1 3556 3 view .LVU1159
3556:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_injected = LL_ADC_INJ_IsConversionOngoing(hadc->Instance);
3965 .loc 1 3556 44 is_stmt 0 view .LVU1160
3966 0004 0368 ldr r3, [r0]
3967 .LVL309:
3968 .LBB456:
3969 .LBI456:
7073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3970 .loc 2 7073 26 is_stmt 1 view .LVU1161
3971 .LBB457:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3972 .loc 2 7075 3 view .LVU1162
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3973 .loc 2 7075 12 is_stmt 0 view .LVU1163
3974 0006 9A68 ldr r2, [r3, #8]
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3975 .loc 2 7075 74 view .LVU1164
3976 0008 12F00402 ands r2, r2, #4
3977 000c 00D0 beq .L274
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3978 .loc 2 7075 74 discriminator 1 view .LVU1165
3979 000e 0122 movs r2, #1
3980 .L274:
3981 .LVL310:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3982 .loc 2 7075 74 discriminator 1 view .LVU1166
3983 .LBE457:
3984 .LBE456:
3557:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((tmp_adc_is_conversion_on_going_regular != 0UL)
3985 .loc 1 3557 3 is_stmt 1 view .LVU1167
3986 .LBB458:
3987 .LBI458:
7268:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
3988 .loc 2 7268 26 view .LVU1168
3989 .LBB459:
7270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3990 .loc 2 7270 3 view .LVU1169
7270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3991 .loc 2 7270 12 is_stmt 0 view .LVU1170
3992 0010 9868 ldr r0, [r3, #8]
3993 .LVL311:
7270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3994 .loc 2 7270 76 view .LVU1171
3995 0012 10F0080F tst r0, #8
3996 0016 01D1 bne .L275
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 319
3997 .LVL312:
7270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
3998 .loc 2 7270 76 view .LVU1172
3999 .LBE459:
4000 .LBE458:
3558:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_adc_is_conversion_on_going_injected != 0UL)
4001 .loc 1 3558 3 is_stmt 1 view .LVU1173
3558:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_adc_is_conversion_on_going_injected != 0UL)
4002 .loc 1 3558 6 is_stmt 0 view .LVU1174
4003 0018 002A cmp r2, #0
4004 001a 69D0 beq .L288
4005 .LVL313:
4006 .L275:
3568:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (hadc->Init.ContinuousConvMode == ENABLE)
4007 .loc 1 3568 5 is_stmt 1 view .LVU1175
3568:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (hadc->Init.ContinuousConvMode == ENABLE)
4008 .loc 1 3568 25 is_stmt 0 view .LVU1176
4009 001c DA68 ldr r2, [r3, #12]
4010 .LVL314:
3568:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (hadc->Init.ContinuousConvMode == ENABLE)
4011 .loc 1 3568 8 view .LVU1177
4012 001e 12F0007F tst r2, #33554432
4013 0022 04D0 beq .L277
3570:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
4014 .loc 1 3570 9 view .LVU1178
4015 0024 A08A ldrh r0, [r4, #20]
4016 0026 40F20112 movw r2, #257
4017 002a 9042 cmp r0, r2
4018 002c 4AD0 beq .L294
4019 .L277:
3597:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4020 .loc 1 3597 5 is_stmt 1 view .LVU1179
3597:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4021 .loc 1 3597 8 is_stmt 0 view .LVU1180
4022 002e 0229 cmp r1, #2
4023 0030 10D0 beq .L282
4024 .LVL315:
4025 .L281:
3600:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4026 .loc 1 3600 7 is_stmt 1 view .LVU1181
3600:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4027 .loc 1 3600 11 is_stmt 0 view .LVU1182
4028 0032 2368 ldr r3, [r4]
4029 .LVL316:
4030 .LBB460:
4031 .LBI460:
7073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4032 .loc 2 7073 26 is_stmt 1 view .LVU1183
4033 .LBB461:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4034 .loc 2 7075 3 view .LVU1184
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4035 .loc 2 7075 12 is_stmt 0 view .LVU1185
4036 0034 9A68 ldr r2, [r3, #8]
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4037 .loc 2 7075 74 view .LVU1186
4038 0036 12F0040F tst r2, #4
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 320
4039 003a 09D0 beq .L283
4040 .LVL317:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4041 .loc 2 7075 74 view .LVU1187
4042 .LBE461:
4043 .LBE460:
3602:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4044 .loc 1 3602 9 is_stmt 1 view .LVU1188
4045 .LBB462:
4046 .LBI462:
6952:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4047 .loc 2 6952 26 view .LVU1189
4048 .LBB463:
6954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4049 .loc 2 6954 3 view .LVU1190
6954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4050 .loc 2 6954 12 is_stmt 0 view .LVU1191
4051 003c 9A68 ldr r2, [r3, #8]
6954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4052 .loc 2 6954 70 view .LVU1192
4053 003e 12F0020F tst r2, #2
4054 0042 05D1 bne .L283
4055 .LVL318:
6954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4056 .loc 2 6954 70 view .LVU1193
4057 .LBE463:
4058 .LBE462:
3605:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4059 .loc 1 3605 11 is_stmt 1 view .LVU1194
4060 .LBB464:
4061 .LBI464:
7057:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4062 .loc 2 7057 22 view .LVU1195
4063 .LBB465:
7062:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
4064 .loc 2 7062 3 view .LVU1196
4065 0044 9868 ldr r0, [r3, #8]
4066 0046 2B4A ldr r2, .L298
4067 0048 0240 ands r2, r2, r0
4068 004a 42F01002 orr r2, r2, #16
4069 004e 9A60 str r2, [r3, #8]
4070 .LVL319:
4071 .L283:
7062:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
4072 .loc 2 7062 3 is_stmt 0 view .LVU1197
4073 .LBE465:
4074 .LBE464:
3611:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4075 .loc 1 3611 5 is_stmt 1 view .LVU1198
3611:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4076 .loc 1 3611 8 is_stmt 0 view .LVU1199
4077 0050 0129 cmp r1, #1
4078 0052 45D0 beq .L290
4079 .L282:
3614:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4080 .loc 1 3614 7 is_stmt 1 view .LVU1200
3614:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 321
4081 .loc 1 3614 11 is_stmt 0 view .LVU1201
4082 0054 2368 ldr r3, [r4]
4083 .LVL320:
4084 .LBB466:
4085 .LBI466:
7268:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4086 .loc 2 7268 26 is_stmt 1 view .LVU1202
4087 .LBB467:
7270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4088 .loc 2 7270 3 view .LVU1203
7270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4089 .loc 2 7270 12 is_stmt 0 view .LVU1204
4090 0056 9A68 ldr r2, [r3, #8]
7270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4091 .loc 2 7270 76 view .LVU1205
4092 0058 12F0080F tst r2, #8
4093 005c 09D0 beq .L285
4094 .LVL321:
7270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4095 .loc 2 7270 76 view .LVU1206
4096 .LBE467:
4097 .LBE466:
3616:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4098 .loc 1 3616 9 is_stmt 1 view .LVU1207
4099 .LBB468:
4100 .LBI468:
6952:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4101 .loc 2 6952 26 view .LVU1208
4102 .LBB469:
6954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4103 .loc 2 6954 3 view .LVU1209
6954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4104 .loc 2 6954 12 is_stmt 0 view .LVU1210
4105 005e 9A68 ldr r2, [r3, #8]
6954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4106 .loc 2 6954 70 view .LVU1211
4107 0060 12F0020F tst r2, #2
4108 0064 05D1 bne .L285
4109 .LVL322:
6954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4110 .loc 2 6954 70 view .LVU1212
4111 .LBE469:
4112 .LBE468:
3619:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4113 .loc 1 3619 11 is_stmt 1 view .LVU1213
4114 .LBB470:
4115 .LBI470:
7252:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4116 .loc 2 7252 22 view .LVU1214
4117 .LBB471:
7257:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
4118 .loc 2 7257 3 view .LVU1215
4119 0066 9868 ldr r0, [r3, #8]
4120 0068 224A ldr r2, .L298
4121 006a 0240 ands r2, r2, r0
4122 006c 42F02002 orr r2, r2, #32
4123 0070 9A60 str r2, [r3, #8]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 322
4124 .LVL323:
4125 .L285:
7257:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
4126 .loc 2 7257 3 is_stmt 0 view .LVU1216
4127 .LBE471:
4128 .LBE470:
3625:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4129 .loc 1 3625 5 is_stmt 1 view .LVU1217
4130 0072 0229 cmp r1, #2
4131 0074 36D0 beq .L291
4132 0076 0329 cmp r1, #3
4133 0078 36D1 bne .L292
4134 007a 0C25 movs r5, #12
4135 .L284:
4136 .LVL324:
3640:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4137 .loc 1 3640 5 view .LVU1218
3640:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4138 .loc 1 3640 17 is_stmt 0 view .LVU1219
4139 007c FFF7FEFF bl HAL_GetTick
4140 .LVL325:
4141 0080 0646 mov r6, r0
4142 .LVL326:
3642:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4143 .loc 1 3642 5 is_stmt 1 view .LVU1220
4144 .L286:
3642:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4145 .loc 1 3642 63 view .LVU1221
3642:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4146 .loc 1 3642 17 is_stmt 0 view .LVU1222
4147 0082 2368 ldr r3, [r4]
3642:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4148 .loc 1 3642 27 view .LVU1223
4149 0084 9B68 ldr r3, [r3, #8]
3642:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4150 .loc 1 3642 63 view .LVU1224
4151 0086 2B42 tst r3, r5
4152 0088 30D0 beq .L295
3644:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4153 .loc 1 3644 7 is_stmt 1 view .LVU1225
3644:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4154 .loc 1 3644 12 is_stmt 0 view .LVU1226
4155 008a FFF7FEFF bl HAL_GetTick
4156 .LVL327:
3644:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4157 .loc 1 3644 26 discriminator 1 view .LVU1227
4158 008e 801B subs r0, r0, r6
3644:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4159 .loc 1 3644 10 discriminator 1 view .LVU1228
4160 0090 0528 cmp r0, #5
4161 0092 F6D9 bls .L286
3647:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4162 .loc 1 3647 9 is_stmt 1 view .LVU1229
3647:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4163 .loc 1 3647 17 is_stmt 0 view .LVU1230
4164 0094 2368 ldr r3, [r4]
3647:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 323
4165 .loc 1 3647 27 view .LVU1231
4166 0096 9B68 ldr r3, [r3, #8]
3647:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4167 .loc 1 3647 11 view .LVU1232
4168 0098 2B42 tst r3, r5
4169 009a F2D0 beq .L286
3650:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4170 .loc 1 3650 11 is_stmt 1 view .LVU1233
4171 009c 636D ldr r3, [r4, #84]
4172 009e 43F01003 orr r3, r3, #16
4173 00a2 6365 str r3, [r4, #84]
3653:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4174 .loc 1 3653 11 view .LVU1234
4175 00a4 A36D ldr r3, [r4, #88]
4176 00a6 43F00103 orr r3, r3, #1
4177 00aa A365 str r3, [r4, #88]
3655:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4178 .loc 1 3655 11 view .LVU1235
3655:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4179 .loc 1 3655 18 is_stmt 0 view .LVU1236
4180 00ac 0120 movs r0, #1
4181 00ae 1EE0 b .L276
4182 .LVL328:
4183 .L297:
3582:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4184 .loc 1 3582 11 is_stmt 1 view .LVU1237
4185 00b0 636D ldr r3, [r4, #84]
4186 00b2 43F01003 orr r3, r3, #16
4187 00b6 6365 str r3, [r4, #84]
3585:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4188 .loc 1 3585 11 view .LVU1238
4189 00b8 A36D ldr r3, [r4, #88]
4190 00ba 43F00103 orr r3, r3, #1
4191 00be A365 str r3, [r4, #88]
3587:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4192 .loc 1 3587 11 view .LVU1239
3587:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4193 .loc 1 3587 18 is_stmt 0 view .LVU1240
4194 00c0 0120 movs r0, #1
4195 00c2 14E0 b .L276
4196 .LVL329:
4197 .L294:
3544:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t conversion_group_reassigned = ConversionGroup;
4198 .loc 1 3544 12 view .LVU1241
4199 00c4 0022 movs r2, #0
4200 .LVL330:
4201 .L278:
3577:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4202 .loc 1 3577 54 is_stmt 1 view .LVU1242
3577:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4203 .loc 1 3577 14 is_stmt 0 view .LVU1243
4204 00c6 1968 ldr r1, [r3]
3577:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4205 .loc 1 3577 54 view .LVU1244
4206 00c8 11F0400F tst r1, #64
4207 00cc 04D1 bne .L296
3579:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 324
4208 .loc 1 3579 9 is_stmt 1 view .LVU1245
3579:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4209 .loc 1 3579 12 is_stmt 0 view .LVU1246
4210 00ce 0A49 ldr r1, .L298+4
4211 00d0 8A42 cmp r2, r1
4212 00d2 EDD8 bhi .L297
3589:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4213 .loc 1 3589 9 is_stmt 1 view .LVU1247
3589:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4214 .loc 1 3589 39 is_stmt 0 view .LVU1248
4215 00d4 0132 adds r2, r2, #1
4216 .LVL331:
3589:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4217 .loc 1 3589 39 view .LVU1249
4218 00d6 F6E7 b .L278
4219 .L296:
3593:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4220 .loc 1 3593 7 is_stmt 1 view .LVU1250
4221 00d8 4022 movs r2, #64
4222 .LVL332:
3593:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4223 .loc 1 3593 7 is_stmt 0 view .LVU1251
4224 00da 1A60 str r2, [r3]
4225 .LVL333:
3597:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4226 .loc 1 3597 5 is_stmt 1 view .LVU1252
3574:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4227 .loc 1 3574 35 is_stmt 0 view .LVU1253
4228 00dc 0121 movs r1, #1
4229 00de A8E7 b .L281
4230 .LVL334:
4231 .L290:
3635:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
4232 .loc 1 3635 37 view .LVU1254
4233 00e0 0425 movs r5, #4
4234 00e2 CBE7 b .L284
4235 .L291:
3631:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
4236 .loc 1 3631 37 view .LVU1255
4237 00e4 0825 movs r5, #8
4238 00e6 C9E7 b .L284
4239 .L292:
3635:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
4240 .loc 1 3635 37 view .LVU1256
4241 00e8 0425 movs r5, #4
4242 00ea C7E7 b .L284
4243 .LVL335:
4244 .L295:
3663:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4245 .loc 1 3663 10 view .LVU1257
4246 00ec 0020 movs r0, #0
4247 .LVL336:
4248 .L276:
3664:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4249 .loc 1 3664 1 view .LVU1258
4250 00ee 70BD pop {r4, r5, r6, pc}
4251 .LVL337:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 325
4252 .L288:
3663:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4253 .loc 1 3663 10 view .LVU1259
4254 00f0 0020 movs r0, #0
4255 00f2 FCE7 b .L276
4256 .L299:
4257 .align 2
4258 .L298:
4259 00f4 C0FFFF7F .word 2147483584
4260 00f8 FFDB0C00 .word 842751
4261 .cfi_endproc
4262 .LFE357:
4264 .section .text.ADC_Enable,"ax",%progbits
4265 .align 1
4266 .global ADC_Enable
4267 .syntax unified
4268 .thumb
4269 .thumb_func
4271 ADC_Enable:
4272 .LVL338:
4273 .LFB358:
3676:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tickstart;
4274 .loc 1 3676 1 is_stmt 1 view -0
4275 .cfi_startproc
4276 @ args = 0, pretend = 0, frame = 0
4277 @ frame_needed = 0, uses_anonymous_args = 0
3676:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tickstart;
4278 .loc 1 3676 1 is_stmt 0 view .LVU1261
4279 0000 38B5 push {r3, r4, r5, lr}
4280 .cfi_def_cfa_offset 16
4281 .cfi_offset 3, -16
4282 .cfi_offset 4, -12
4283 .cfi_offset 5, -8
4284 .cfi_offset 14, -4
3677:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4285 .loc 1 3677 3 is_stmt 1 view .LVU1262
3683:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4286 .loc 1 3683 3 view .LVU1263
3683:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4287 .loc 1 3683 7 is_stmt 0 view .LVU1264
4288 0002 0368 ldr r3, [r0]
4289 .LVL339:
4290 .LBB472:
4291 .LBI472:
6941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4292 .loc 2 6941 26 is_stmt 1 view .LVU1265
4293 .LBB473:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4294 .loc 2 6943 3 view .LVU1266
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4295 .loc 2 6943 12 is_stmt 0 view .LVU1267
4296 0004 9A68 ldr r2, [r3, #8]
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4297 .loc 2 6943 68 view .LVU1268
4298 0006 12F0010F tst r2, #1
4299 000a 4DD1 bne .L308
4300 000c 0446 mov r4, r0
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 326
4301 .LVL340:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4302 .loc 2 6943 68 view .LVU1269
4303 .LBE473:
4304 .LBE472:
4305 .LBB474:
3686:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4306 .loc 1 3686 5 is_stmt 1 view .LVU1270
3686:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4307 .loc 1 3686 24 is_stmt 0 view .LVU1271
4308 000e 9968 ldr r1, [r3, #8]
3686:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4309 .loc 1 3686 8 view .LVU1272
4310 0010 264A ldr r2, .L313
4311 0012 1142 tst r1, r2
4312 0014 09D0 beq .L302
3689:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4313 .loc 1 3689 7 is_stmt 1 view .LVU1273
4314 0016 436D ldr r3, [r0, #84]
4315 0018 43F01003 orr r3, r3, #16
4316 001c 4365 str r3, [r0, #84]
3692:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4317 .loc 1 3692 7 view .LVU1274
4318 001e 836D ldr r3, [r0, #88]
4319 0020 43F00103 orr r3, r3, #1
4320 0024 8365 str r3, [r0, #88]
3694:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4321 .loc 1 3694 7 view .LVU1275
3694:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4322 .loc 1 3694 14 is_stmt 0 view .LVU1276
4323 0026 0120 movs r0, #1
4324 .LVL341:
3694:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4325 .loc 1 3694 14 view .LVU1277
4326 0028 3FE0 b .L301
4327 .LVL342:
4328 .L302:
3698:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4329 .loc 1 3698 5 is_stmt 1 view .LVU1278
4330 .LBB475:
4331 .LBI475:
6902:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4332 .loc 2 6902 22 view .LVU1279
4333 .LBB476:
6907:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
4334 .loc 2 6907 3 view .LVU1280
4335 002a 9968 ldr r1, [r3, #8]
4336 002c 204A ldr r2, .L313+4
4337 002e 0A40 ands r2, r2, r1
4338 0030 42F00102 orr r2, r2, #1
4339 0034 9A60 str r2, [r3, #8]
4340 .LVL343:
6907:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
4341 .loc 2 6907 3 is_stmt 0 view .LVU1281
4342 .LBE476:
4343 .LBE475:
3701:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 327
4344 .loc 1 3701 5 is_stmt 1 view .LVU1282
3701:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4345 .loc 1 3701 17 is_stmt 0 view .LVU1283
4346 0036 FFF7FEFF bl HAL_GetTick
4347 .LVL344:
3701:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4348 .loc 1 3701 17 view .LVU1284
4349 003a 0546 mov r5, r0
4350 .LVL345:
3705:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((__LL_ADC_MULTI_INSTANCE_MASTER(hadc->Instance) == hadc->Instance)
4351 .loc 1 3705 5 is_stmt 1 view .LVU1285
4352 .LBB477:
4353 .LBI477:
6601:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4354 .loc 2 6601 26 view .LVU1286
4355 .LBB478:
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4356 .loc 2 6603 3 view .LVU1287
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4357 .loc 2 6603 21 is_stmt 0 view .LVU1288
4358 003c 1D4B ldr r3, .L313+8
4359 003e 9B68 ldr r3, [r3, #8]
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4360 .loc 2 6603 10 view .LVU1289
4361 0040 03F01F03 and r3, r3, #31
4362 .LVL346:
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4363 .loc 2 6603 10 view .LVU1290
4364 .LBE478:
4365 .LBE477:
3706:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4366 .loc 1 3706 5 is_stmt 1 view .LVU1291
3706:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4367 .loc 1 3706 10 is_stmt 0 view .LVU1292
4368 0044 2268 ldr r2, [r4]
4369 0046 1C49 ldr r1, .L313+12
4370 0048 8A42 cmp r2, r1
4371 004a 05D0 beq .L311
3706:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4372 .loc 1 3706 10 discriminator 1 view .LVU1293
4373 004c 1146 mov r1, r2
4374 .L303:
3706:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4375 .loc 1 3706 8 discriminator 4 view .LVU1294
4376 004e 8A42 cmp r2, r1
4377 0050 05D0 beq .L306
3707:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
4378 .loc 1 3707 9 view .LVU1295
4379 0052 23B1 cbz r3, .L306
4380 .LBE474:
3744:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4381 .loc 1 3744 10 view .LVU1296
4382 0054 0020 movs r0, #0
4383 .LVL347:
3744:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4384 .loc 1 3744 10 view .LVU1297
4385 0056 28E0 b .L301
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 328
4386 .LVL348:
4387 .L311:
4388 .LBB483:
3706:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4389 .loc 1 3706 10 discriminator 2 view .LVU1298
4390 0058 A1F58071 sub r1, r1, #256
4391 005c F7E7 b .L303
4392 .LVL349:
4393 .L306:
3710:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4394 .loc 1 3710 53 is_stmt 1 view .LVU1299
3710:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4395 .loc 1 3710 14 is_stmt 0 view .LVU1300
4396 005e 2368 ldr r3, [r4]
4397 0060 1A68 ldr r2, [r3]
3710:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4398 .loc 1 3710 53 view .LVU1301
4399 0062 12F0010F tst r2, #1
4400 0066 1DD1 bne .L312
3720:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4401 .loc 1 3720 9 is_stmt 1 view .LVU1302
4402 .LVL350:
4403 .LBB479:
4404 .LBI479:
6941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4405 .loc 2 6941 26 view .LVU1303
4406 .LBB480:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4407 .loc 2 6943 3 view .LVU1304
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4408 .loc 2 6943 12 is_stmt 0 view .LVU1305
4409 0068 9A68 ldr r2, [r3, #8]
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4410 .loc 2 6943 68 view .LVU1306
4411 006a 12F0010F tst r2, #1
4412 006e 05D1 bne .L305
4413 .LVL351:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4414 .loc 2 6943 68 view .LVU1307
4415 .LBE480:
4416 .LBE479:
3722:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4417 .loc 1 3722 11 is_stmt 1 view .LVU1308
4418 .LBB481:
4419 .LBI481:
6902:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4420 .loc 2 6902 22 view .LVU1309
4421 .LBB482:
6907:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
4422 .loc 2 6907 3 view .LVU1310
4423 0070 9968 ldr r1, [r3, #8]
4424 0072 0F4A ldr r2, .L313+4
4425 0074 0A40 ands r2, r2, r1
4426 0076 42F00102 orr r2, r2, #1
4427 007a 9A60 str r2, [r3, #8]
4428 .LVL352:
4429 .L305:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 329
6907:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
4430 .loc 2 6907 3 is_stmt 0 view .LVU1311
4431 .LBE482:
4432 .LBE481:
3725:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4433 .loc 1 3725 9 is_stmt 1 view .LVU1312
3725:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4434 .loc 1 3725 14 is_stmt 0 view .LVU1313
4435 007c FFF7FEFF bl HAL_GetTick
4436 .LVL353:
3725:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4437 .loc 1 3725 28 discriminator 1 view .LVU1314
4438 0080 401B subs r0, r0, r5
3725:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4439 .loc 1 3725 12 discriminator 1 view .LVU1315
4440 0082 0228 cmp r0, #2
4441 0084 EBD9 bls .L306
3728:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4442 .loc 1 3728 11 is_stmt 1 view .LVU1316
3728:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4443 .loc 1 3728 15 is_stmt 0 view .LVU1317
4444 0086 2368 ldr r3, [r4]
4445 0088 1B68 ldr r3, [r3]
3728:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4446 .loc 1 3728 14 view .LVU1318
4447 008a 13F0010F tst r3, #1
4448 008e E6D1 bne .L306
3731:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4449 .loc 1 3731 13 is_stmt 1 view .LVU1319
4450 0090 636D ldr r3, [r4, #84]
4451 0092 43F01003 orr r3, r3, #16
4452 0096 6365 str r3, [r4, #84]
3734:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4453 .loc 1 3734 13 view .LVU1320
4454 0098 A36D ldr r3, [r4, #88]
4455 009a 43F00103 orr r3, r3, #1
4456 009e A365 str r3, [r4, #88]
3736:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4457 .loc 1 3736 13 view .LVU1321
3736:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4458 .loc 1 3736 20 is_stmt 0 view .LVU1322
4459 00a0 0120 movs r0, #1
4460 00a2 02E0 b .L301
4461 .L312:
3736:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4462 .loc 1 3736 20 view .LVU1323
4463 .LBE483:
3744:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4464 .loc 1 3744 10 view .LVU1324
4465 00a4 0020 movs r0, #0
4466 .LBB484:
4467 00a6 00E0 b .L301
4468 .LVL354:
4469 .L308:
3744:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4470 .loc 1 3744 10 view .LVU1325
4471 .LBE484:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 330
4472 00a8 0020 movs r0, #0
4473 .LVL355:
4474 .L301:
3745:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4475 .loc 1 3745 1 view .LVU1326
4476 00aa 38BD pop {r3, r4, r5, pc}
4477 .L314:
4478 .align 2
4479 .L313:
4480 00ac 3F000080 .word -2147483585
4481 00b0 C0FFFF7F .word 2147483584
4482 00b4 00230240 .word 1073881856
4483 00b8 00210240 .word 1073881344
4484 .cfi_endproc
4485 .LFE358:
4487 .section .text.HAL_ADC_Start,"ax",%progbits
4488 .align 1
4489 .global HAL_ADC_Start
4490 .syntax unified
4491 .thumb
4492 .thumb_func
4494 HAL_ADC_Start:
4495 .LVL356:
4496 .LFB339:
1398:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
4497 .loc 1 1398 1 is_stmt 1 view -0
4498 .cfi_startproc
4499 @ args = 0, pretend = 0, frame = 0
4500 @ frame_needed = 0, uses_anonymous_args = 0
1398:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
4501 .loc 1 1398 1 is_stmt 0 view .LVU1328
4502 0000 38B5 push {r3, r4, r5, lr}
4503 .cfi_def_cfa_offset 16
4504 .cfi_offset 3, -16
4505 .cfi_offset 4, -12
4506 .cfi_offset 5, -8
4507 .cfi_offset 14, -4
1399:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** const ADC_TypeDef *tmpADC_Master;
4508 .loc 1 1399 3 is_stmt 1 view .LVU1329
1400:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_multimode_config = LL_ADC_GetMultimode(__LL_ADC_COMMON_INSTANCE(hadc->Instance));
4509 .loc 1 1400 3 view .LVU1330
1401:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4510 .loc 1 1401 3 view .LVU1331
4511 .LVL357:
4512 .LBB485:
4513 .LBI485:
6601:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4514 .loc 2 6601 26 view .LVU1332
4515 .LBB486:
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4516 .loc 2 6603 3 view .LVU1333
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4517 .loc 2 6603 21 is_stmt 0 view .LVU1334
4518 0002 3A4B ldr r3, .L334
4519 0004 9D68 ldr r5, [r3, #8]
4520 .LVL358:
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 331
4521 .loc 2 6603 21 view .LVU1335
4522 .LBE486:
4523 .LBE485:
1404:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4524 .loc 1 1404 3 is_stmt 1 view .LVU1336
1407:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4525 .loc 1 1407 3 view .LVU1337
1407:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4526 .loc 1 1407 7 is_stmt 0 view .LVU1338
4527 0006 0368 ldr r3, [r0]
4528 .LVL359:
4529 .LBB487:
4530 .LBI487:
7073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4531 .loc 2 7073 26 is_stmt 1 view .LVU1339
4532 .LBB488:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4533 .loc 2 7075 3 view .LVU1340
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4534 .loc 2 7075 12 is_stmt 0 view .LVU1341
4535 0008 9B68 ldr r3, [r3, #8]
4536 .LVL360:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4537 .loc 2 7075 74 view .LVU1342
4538 000a 13F0040F tst r3, #4
4539 000e 69D1 bne .L327
4540 0010 0446 mov r4, r0
4541 0012 05F01F05 and r5, r5, #31
4542 .LVL361:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4543 .loc 2 7075 74 view .LVU1343
4544 .LBE488:
4545 .LBE487:
1410:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4546 .loc 1 1410 5 is_stmt 1 view .LVU1344
1410:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4547 .loc 1 1410 5 view .LVU1345
4548 0016 90F85030 ldrb r3, [r0, #80] @ zero_extendqisi2
4549 001a 012B cmp r3, #1
4550 001c 64D0 beq .L328
1410:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4551 .loc 1 1410 5 discriminator 2 view .LVU1346
4552 001e 0123 movs r3, #1
4553 0020 80F85030 strb r3, [r0, #80]
1410:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4554 .loc 1 1410 5 view .LVU1347
1413:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4555 .loc 1 1413 5 view .LVU1348
1413:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4556 .loc 1 1413 22 is_stmt 0 view .LVU1349
4557 0024 FFF7FEFF bl ADC_Enable
4558 .LVL362:
1416:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4559 .loc 1 1416 5 is_stmt 1 view .LVU1350
1416:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4560 .loc 1 1416 8 is_stmt 0 view .LVU1351
4561 0028 0028 cmp r0, #0
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 332
4562 002a 57D1 bne .L317
1421:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR | HAL_A
4563 .loc 1 1421 7 is_stmt 1 view .LVU1352
4564 002c 626D ldr r2, [r4, #84]
4565 002e A0F60273 subw r3, r0, #3842
4566 0032 1340 ands r3, r3, r2
4567 0034 43F48073 orr r3, r3, #256
4568 0038 6365 str r3, [r4, #84]
1428:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4569 .loc 1 1428 7 view .LVU1353
1428:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4570 .loc 1 1428 12 is_stmt 0 view .LVU1354
4571 003a 2368 ldr r3, [r4]
4572 003c 2C4A ldr r2, .L334+4
4573 003e 9342 cmp r3, r2
4574 0040 34D0 beq .L332
1428:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4575 .loc 1 1428 12 discriminator 1 view .LVU1355
4576 0042 1A46 mov r2, r3
4577 .L318:
1428:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4578 .loc 1 1428 10 discriminator 4 view .LVU1356
4579 0044 9342 cmp r3, r2
4580 0046 00D0 beq .L319
1429:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
4581 .loc 1 1429 11 view .LVU1357
4582 0048 1DB9 cbnz r5, .L320
4583 .L319:
1432:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4584 .loc 1 1432 9 is_stmt 1 view .LVU1358
4585 004a 626D ldr r2, [r4, #84]
4586 004c 22F48012 bic r2, r2, #1048576
4587 0050 6265 str r2, [r4, #84]
4588 .L320:
1437:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4589 .loc 1 1437 7 view .LVU1359
1437:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4590 .loc 1 1437 11 is_stmt 0 view .LVU1360
4591 0052 626D ldr r2, [r4, #84]
1437:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4592 .loc 1 1437 10 view .LVU1361
4593 0054 12F4805F tst r2, #4096
4594 0058 2BD0 beq .L321
1440:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4595 .loc 1 1440 9 is_stmt 1 view .LVU1362
4596 005a A26D ldr r2, [r4, #88]
4597 005c 22F00602 bic r2, r2, #6
4598 0060 A265 str r2, [r4, #88]
4599 .L322:
1450:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4600 .loc 1 1450 7 view .LVU1363
4601 0062 1C22 movs r2, #28
4602 0064 1A60 str r2, [r3]
1455:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4603 .loc 1 1455 7 view .LVU1364
1455:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4604 .loc 1 1455 7 view .LVU1365
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 333
4605 0066 0023 movs r3, #0
4606 0068 84F85030 strb r3, [r4, #80]
1455:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4607 .loc 1 1455 7 view .LVU1366
1465:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4608 .loc 1 1465 7 view .LVU1367
1465:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4609 .loc 1 1465 12 is_stmt 0 view .LVU1368
4610 006c 2368 ldr r3, [r4]
4611 006e 204A ldr r2, .L334+4
4612 0070 9342 cmp r3, r2
4613 0072 21D0 beq .L333
1465:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4614 .loc 1 1465 12 discriminator 1 view .LVU1369
4615 0074 1A46 mov r2, r3
4616 .L323:
1465:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4617 .loc 1 1465 10 discriminator 4 view .LVU1370
4618 0076 9342 cmp r3, r2
4619 0078 07D0 beq .L324
4620 007a 092D cmp r5, #9
4621 007c 1FD8 bhi .L325
4622 007e 40F22121 movw r1, #545
4623 0082 E940 lsrs r1, r1, r5
4624 0084 11F0010F tst r1, #1
4625 0088 19D0 beq .L325
4626 .L324:
1472:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4627 .loc 1 1472 9 is_stmt 1 view .LVU1371
1472:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4628 .loc 1 1472 13 is_stmt 0 view .LVU1372
4629 008a DA68 ldr r2, [r3, #12]
1472:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4630 .loc 1 1472 12 view .LVU1373
4631 008c 12F0007F tst r2, #33554432
4632 0090 05D0 beq .L326
1474:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4633 .loc 1 1474 11 is_stmt 1 view .LVU1374
4634 0092 626D ldr r2, [r4, #84]
4635 0094 22F44052 bic r2, r2, #12288
4636 0098 42F48052 orr r2, r2, #4096
4637 009c 6265 str r2, [r4, #84]
4638 .L326:
1478:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4639 .loc 1 1478 9 view .LVU1375
4640 .LVL363:
4641 .LBB489:
4642 .LBI489:
7037:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4643 .loc 2 7037 22 view .LVU1376
4644 .LBB490:
7042:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
4645 .loc 2 7042 3 view .LVU1377
4646 009e 9968 ldr r1, [r3, #8]
4647 00a0 144A ldr r2, .L334+8
4648 00a2 0A40 ands r2, r2, r1
4649 00a4 42F00402 orr r2, r2, #4
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 334
4650 00a8 9A60 str r2, [r3, #8]
4651 .LVL364:
7045:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4652 .loc 2 7045 1 is_stmt 0 view .LVU1378
4653 00aa 1CE0 b .L316
4654 .L332:
7045:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4655 .loc 2 7045 1 view .LVU1379
4656 .LBE490:
4657 .LBE489:
1428:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4658 .loc 1 1428 12 discriminator 2 view .LVU1380
4659 00ac A2F58072 sub r2, r2, #256
4660 00b0 C8E7 b .L318
4661 .L321:
1445:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4662 .loc 1 1445 9 is_stmt 1 view .LVU1381
4663 00b2 0022 movs r2, #0
4664 00b4 A265 str r2, [r4, #88]
4665 00b6 D4E7 b .L322
4666 .L333:
1465:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4667 .loc 1 1465 12 is_stmt 0 discriminator 2 view .LVU1382
4668 00b8 A2F58072 sub r2, r2, #256
4669 00bc DBE7 b .L323
4670 .L325:
1483:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* if Master ADC JAUTO bit is set, update Slave State in setting
4671 .loc 1 1483 9 is_stmt 1 view .LVU1383
4672 00be 636D ldr r3, [r4, #84]
4673 00c0 43F48013 orr r3, r3, #1048576
4674 00c4 6365 str r3, [r4, #84]
1486:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (READ_BIT(tmpADC_Master->CFGR, ADC_CFGR_JAUTO) != 0UL)
4675 .loc 1 1486 9 view .LVU1384
4676 .LVL365:
1487:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4677 .loc 1 1487 9 view .LVU1385
1487:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4678 .loc 1 1487 13 is_stmt 0 view .LVU1386
4679 00c6 D368 ldr r3, [r2, #12]
1487:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4680 .loc 1 1487 12 view .LVU1387
4681 00c8 13F0007F tst r3, #33554432
4682 00cc 0BD0 beq .L316
1489:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4683 .loc 1 1489 11 is_stmt 1 view .LVU1388
4684 00ce 636D ldr r3, [r4, #84]
4685 00d0 23F44053 bic r3, r3, #12288
4686 00d4 43F48053 orr r3, r3, #4096
4687 00d8 6365 str r3, [r4, #84]
4688 00da 04E0 b .L316
4689 .LVL366:
4690 .L317:
1497:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4691 .loc 1 1497 7 view .LVU1389
1497:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4692 .loc 1 1497 7 view .LVU1390
4693 00dc 0023 movs r3, #0
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 335
4694 00de 84F85030 strb r3, [r4, #80]
4695 00e2 00E0 b .L316
4696 .LVL367:
4697 .L327:
1502:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4698 .loc 1 1502 20 is_stmt 0 view .LVU1391
4699 00e4 0220 movs r0, #2
4700 .LVL368:
4701 .L316:
1507:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4702 .loc 1 1507 1 view .LVU1392
4703 00e6 38BD pop {r3, r4, r5, pc}
4704 .LVL369:
4705 .L328:
1410:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4706 .loc 1 1410 5 discriminator 1 view .LVU1393
4707 00e8 0220 movs r0, #2
4708 .LVL370:
1410:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4709 .loc 1 1410 5 discriminator 1 view .LVU1394
4710 00ea FCE7 b .L316
4711 .L335:
4712 .align 2
4713 .L334:
4714 00ec 00230240 .word 1073881856
4715 00f0 00210240 .word 1073881344
4716 00f4 C0FFFF7F .word 2147483584
4717 .cfi_endproc
4718 .LFE339:
4720 .section .text.HAL_ADC_Start_IT,"ax",%progbits
4721 .align 1
4722 .global HAL_ADC_Start_IT
4723 .syntax unified
4724 .thumb
4725 .thumb_func
4727 HAL_ADC_Start_IT:
4728 .LVL371:
4729 .LFB343:
1885:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
4730 .loc 1 1885 1 is_stmt 1 view -0
4731 .cfi_startproc
4732 @ args = 0, pretend = 0, frame = 0
4733 @ frame_needed = 0, uses_anonymous_args = 0
1885:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
4734 .loc 1 1885 1 is_stmt 0 view .LVU1396
4735 0000 38B5 push {r3, r4, r5, lr}
4736 .cfi_def_cfa_offset 16
4737 .cfi_offset 3, -16
4738 .cfi_offset 4, -12
4739 .cfi_offset 5, -8
4740 .cfi_offset 14, -4
1886:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** const ADC_TypeDef *tmpADC_Master;
4741 .loc 1 1886 3 is_stmt 1 view .LVU1397
1887:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_multimode_config = LL_ADC_GetMultimode(__LL_ADC_COMMON_INSTANCE(hadc->Instance));
4742 .loc 1 1887 3 view .LVU1398
1888:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4743 .loc 1 1888 3 view .LVU1399
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 336
4744 .LVL372:
4745 .LBB491:
4746 .LBI491:
6601:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4747 .loc 2 6601 26 view .LVU1400
4748 .LBB492:
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4749 .loc 2 6603 3 view .LVU1401
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4750 .loc 2 6603 21 is_stmt 0 view .LVU1402
4751 0002 5F4B ldr r3, .L363
4752 0004 9D68 ldr r5, [r3, #8]
4753 .LVL373:
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4754 .loc 2 6603 21 view .LVU1403
4755 .LBE492:
4756 .LBE491:
1891:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4757 .loc 1 1891 3 is_stmt 1 view .LVU1404
1894:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4758 .loc 1 1894 3 view .LVU1405
1894:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4759 .loc 1 1894 7 is_stmt 0 view .LVU1406
4760 0006 0368 ldr r3, [r0]
4761 .LVL374:
4762 .LBB493:
4763 .LBI493:
7073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4764 .loc 2 7073 26 is_stmt 1 view .LVU1407
4765 .LBB494:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4766 .loc 2 7075 3 view .LVU1408
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4767 .loc 2 7075 12 is_stmt 0 view .LVU1409
4768 0008 9B68 ldr r3, [r3, #8]
4769 .LVL375:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4770 .loc 2 7075 74 view .LVU1410
4771 000a 13F0040F tst r3, #4
4772 000e 40F0B380 bne .L353
4773 0012 0446 mov r4, r0
4774 0014 05F01F05 and r5, r5, #31
4775 .LVL376:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
4776 .loc 2 7075 74 view .LVU1411
4777 .LBE494:
4778 .LBE493:
1897:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4779 .loc 1 1897 5 is_stmt 1 view .LVU1412
1897:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4780 .loc 1 1897 5 view .LVU1413
4781 0018 90F85030 ldrb r3, [r0, #80] @ zero_extendqisi2
4782 001c 012B cmp r3, #1
4783 001e 00F0AD80 beq .L354
1897:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4784 .loc 1 1897 5 discriminator 2 view .LVU1414
4785 0022 0123 movs r3, #1
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 337
4786 0024 80F85030 strb r3, [r0, #80]
1897:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4787 .loc 1 1897 5 view .LVU1415
1900:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4788 .loc 1 1900 5 view .LVU1416
1900:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4789 .loc 1 1900 22 is_stmt 0 view .LVU1417
4790 0028 FFF7FEFF bl ADC_Enable
4791 .LVL377:
1903:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4792 .loc 1 1903 5 is_stmt 1 view .LVU1418
1903:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4793 .loc 1 1903 8 is_stmt 0 view .LVU1419
4794 002c 0028 cmp r0, #0
4795 002e 40F09F80 bne .L338
1908:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR | HAL_A
4796 .loc 1 1908 7 is_stmt 1 view .LVU1420
4797 0032 626D ldr r2, [r4, #84]
4798 0034 A0F60273 subw r3, r0, #3842
4799 0038 1340 ands r3, r3, r2
4800 003a 43F48073 orr r3, r3, #256
4801 003e 6365 str r3, [r4, #84]
1915:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4802 .loc 1 1915 7 view .LVU1421
1915:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4803 .loc 1 1915 12 is_stmt 0 view .LVU1422
4804 0040 2368 ldr r3, [r4]
4805 0042 504A ldr r2, .L363+4
4806 0044 9342 cmp r3, r2
4807 0046 55D0 beq .L358
1915:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4808 .loc 1 1915 12 discriminator 1 view .LVU1423
4809 0048 1A46 mov r2, r3
4810 .L339:
1915:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4811 .loc 1 1915 10 discriminator 4 view .LVU1424
4812 004a 9342 cmp r3, r2
4813 004c 00D0 beq .L340
1916:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
4814 .loc 1 1916 11 view .LVU1425
4815 004e 1DB9 cbnz r5, .L341
4816 .L340:
1919:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4817 .loc 1 1919 9 is_stmt 1 view .LVU1426
4818 0050 626D ldr r2, [r4, #84]
4819 0052 22F48012 bic r2, r2, #1048576
4820 0056 6265 str r2, [r4, #84]
4821 .L341:
1924:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4822 .loc 1 1924 7 view .LVU1427
1924:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4823 .loc 1 1924 16 is_stmt 0 view .LVU1428
4824 0058 626D ldr r2, [r4, #84]
1924:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4825 .loc 1 1924 10 view .LVU1429
4826 005a 12F4805F tst r2, #4096
4827 005e 4CD0 beq .L342
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 338
1927:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4828 .loc 1 1927 9 is_stmt 1 view .LVU1430
4829 0060 A26D ldr r2, [r4, #88]
4830 0062 22F00602 bic r2, r2, #6
4831 0066 A265 str r2, [r4, #88]
4832 .L343:
1937:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4833 .loc 1 1937 7 view .LVU1431
4834 0068 1C22 movs r2, #28
4835 006a 1A60 str r2, [r3]
1942:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4836 .loc 1 1942 7 view .LVU1432
1942:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4837 .loc 1 1942 7 view .LVU1433
4838 006c 0023 movs r3, #0
4839 006e 84F85030 strb r3, [r4, #80]
1942:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4840 .loc 1 1942 7 view .LVU1434
1945:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4841 .loc 1 1945 7 view .LVU1435
4842 0072 2268 ldr r2, [r4]
4843 0074 5368 ldr r3, [r2, #4]
4844 0076 23F01C03 bic r3, r3, #28
4845 007a 5360 str r3, [r2, #4]
1948:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4846 .loc 1 1948 7 view .LVU1436
1948:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4847 .loc 1 1948 25 is_stmt 0 view .LVU1437
4848 007c 2369 ldr r3, [r4, #16]
1948:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4849 .loc 1 1948 7 view .LVU1438
4850 007e 082B cmp r3, #8
4851 0080 3ED0 beq .L359
1955:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
4852 .loc 1 1955 11 is_stmt 1 view .LVU1439
4853 0082 2268 ldr r2, [r4]
4854 0084 5368 ldr r3, [r2, #4]
4855 0086 43F00403 orr r3, r3, #4
4856 008a 5360 str r3, [r2, #4]
1956:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4857 .loc 1 1956 11 view .LVU1440
4858 .L345:
1963:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4859 .loc 1 1963 7 view .LVU1441
1963:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4860 .loc 1 1963 21 is_stmt 0 view .LVU1442
4861 008c 236B ldr r3, [r4, #48]
1963:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4862 .loc 1 1963 10 view .LVU1443
4863 008e 23B9 cbnz r3, .L346
1965:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4864 .loc 1 1965 9 is_stmt 1 view .LVU1444
4865 0090 2268 ldr r2, [r4]
4866 0092 5368 ldr r3, [r2, #4]
4867 0094 43F01003 orr r3, r3, #16
4868 0098 5360 str r3, [r2, #4]
4869 .L346:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 339
1976:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4870 .loc 1 1976 7 view .LVU1445
1976:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4871 .loc 1 1976 12 is_stmt 0 view .LVU1446
4872 009a 2368 ldr r3, [r4]
4873 009c 394A ldr r2, .L363+4
4874 009e 9342 cmp r3, r2
4875 00a0 34D0 beq .L360
1976:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4876 .loc 1 1976 12 discriminator 1 view .LVU1447
4877 00a2 1A46 mov r2, r3
4878 .L347:
1976:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4879 .loc 1 1976 10 discriminator 4 view .LVU1448
4880 00a4 9342 cmp r3, r2
4881 00a6 07D0 beq .L348
4882 00a8 092D cmp r5, #9
4883 00aa 3CD8 bhi .L349
4884 00ac 40F22121 movw r1, #545
4885 00b0 E940 lsrs r1, r1, r5
4886 00b2 11F0010F tst r1, #1
4887 00b6 36D0 beq .L349
4888 .L348:
1983:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4889 .loc 1 1983 9 is_stmt 1 view .LVU1449
1983:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4890 .loc 1 1983 13 is_stmt 0 view .LVU1450
4891 00b8 DA68 ldr r2, [r3, #12]
1983:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4892 .loc 1 1983 12 view .LVU1451
4893 00ba 12F0007F tst r2, #33554432
4894 00be 11D0 beq .L350
1985:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4895 .loc 1 1985 11 is_stmt 1 view .LVU1452
4896 00c0 626D ldr r2, [r4, #84]
4897 00c2 22F44052 bic r2, r2, #12288
4898 00c6 42F48052 orr r2, r2, #4096
4899 00ca 6265 str r2, [r4, #84]
1991:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4900 .loc 1 1991 11 view .LVU1453
1991:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4901 .loc 1 1991 29 is_stmt 0 view .LVU1454
4902 00cc 2269 ldr r2, [r4, #16]
1991:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4903 .loc 1 1991 11 view .LVU1455
4904 00ce 082A cmp r2, #8
4905 00d0 1FD0 beq .L361
1999:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_JEOC);
4906 .loc 1 1999 15 is_stmt 1 view .LVU1456
4907 00d2 5A68 ldr r2, [r3, #4]
4908 00d4 22F04002 bic r2, r2, #64
4909 00d8 5A60 str r2, [r3, #4]
2000:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
4910 .loc 1 2000 15 view .LVU1457
4911 00da 2268 ldr r2, [r4]
4912 00dc 5368 ldr r3, [r2, #4]
4913 00de 43F02003 orr r3, r3, #32
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 340
4914 00e2 5360 str r3, [r2, #4]
2001:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4915 .loc 1 2001 15 view .LVU1458
4916 .L350:
2006:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4917 .loc 1 2006 9 view .LVU1459
4918 00e4 2268 ldr r2, [r4]
4919 .LVL378:
4920 .LBB495:
4921 .LBI495:
7037:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
4922 .loc 2 7037 22 view .LVU1460
4923 .LBB496:
7042:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
4924 .loc 2 7042 3 view .LVU1461
4925 00e6 9168 ldr r1, [r2, #8]
4926 00e8 274B ldr r3, .L363+8
4927 00ea 0B40 ands r3, r3, r1
4928 00ec 43F00403 orr r3, r3, #4
4929 00f0 9360 str r3, [r2, #8]
4930 .LVL379:
7045:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4931 .loc 2 7045 1 is_stmt 0 view .LVU1462
4932 00f2 42E0 b .L337
4933 .L358:
7045:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
4934 .loc 2 7045 1 view .LVU1463
4935 .LBE496:
4936 .LBE495:
1915:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4937 .loc 1 1915 12 discriminator 2 view .LVU1464
4938 00f4 A2F58072 sub r2, r2, #256
4939 00f8 A7E7 b .L339
4940 .L342:
1932:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4941 .loc 1 1932 9 is_stmt 1 view .LVU1465
4942 00fa 0022 movs r2, #0
4943 00fc A265 str r2, [r4, #88]
4944 00fe B3E7 b .L343
4945 .L359:
1951:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
4946 .loc 1 1951 11 view .LVU1466
4947 0100 2268 ldr r2, [r4]
4948 0102 5368 ldr r3, [r2, #4]
4949 0104 43F00803 orr r3, r3, #8
4950 0108 5360 str r3, [r2, #4]
1952:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* case ADC_EOC_SINGLE_CONV */
4951 .loc 1 1952 11 view .LVU1467
4952 010a BFE7 b .L345
4953 .L360:
1976:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
4954 .loc 1 1976 12 is_stmt 0 discriminator 2 view .LVU1468
4955 010c A2F58072 sub r2, r2, #256
4956 0110 C8E7 b .L347
4957 .L361:
1994:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_JEOS);
4958 .loc 1 1994 15 is_stmt 1 view .LVU1469
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 341
4959 0112 5A68 ldr r2, [r3, #4]
4960 0114 22F02002 bic r2, r2, #32
4961 0118 5A60 str r2, [r3, #4]
1995:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
4962 .loc 1 1995 15 view .LVU1470
4963 011a 2268 ldr r2, [r4]
4964 011c 5368 ldr r3, [r2, #4]
4965 011e 43F04003 orr r3, r3, #64
4966 0122 5360 str r3, [r2, #4]
1996:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* case ADC_EOC_SINGLE_CONV */
4967 .loc 1 1996 15 view .LVU1471
4968 0124 DEE7 b .L350
4969 .L349:
2011:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* if Master ADC JAUTO bit is set, Slave injected interruptions
4970 .loc 1 2011 9 view .LVU1472
4971 0126 616D ldr r1, [r4, #84]
4972 0128 41F48011 orr r1, r1, #1048576
4973 012c 6165 str r1, [r4, #84]
2014:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (READ_BIT(tmpADC_Master->CFGR, ADC_CFGR_JAUTO) != 0UL)
4974 .loc 1 2014 9 view .LVU1473
4975 .LVL380:
2015:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4976 .loc 1 2015 9 view .LVU1474
2015:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4977 .loc 1 2015 13 is_stmt 0 view .LVU1475
4978 012e D268 ldr r2, [r2, #12]
4979 .LVL381:
2015:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4980 .loc 1 2015 12 view .LVU1476
4981 0130 12F0007F tst r2, #33554432
4982 0134 21D0 beq .L337
2019:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Next, set Slave injected interruptions */
4983 .loc 1 2019 11 is_stmt 1 view .LVU1477
4984 0136 626D ldr r2, [r4, #84]
4985 0138 22F44052 bic r2, r2, #12288
4986 013c 42F48052 orr r2, r2, #4096
4987 0140 6265 str r2, [r4, #84]
2021:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4988 .loc 1 2021 11 view .LVU1478
2021:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4989 .loc 1 2021 29 is_stmt 0 view .LVU1479
4990 0142 2269 ldr r2, [r4, #16]
2021:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4991 .loc 1 2021 11 view .LVU1480
4992 0144 082A cmp r2, #8
4993 0146 09D0 beq .L362
2029:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_JEOC);
4994 .loc 1 2029 15 is_stmt 1 view .LVU1481
4995 0148 5A68 ldr r2, [r3, #4]
4996 014a 22F04002 bic r2, r2, #64
4997 014e 5A60 str r2, [r3, #4]
2030:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
4998 .loc 1 2030 15 view .LVU1482
4999 0150 2268 ldr r2, [r4]
5000 0152 5368 ldr r3, [r2, #4]
5001 0154 43F02003 orr r3, r3, #32
5002 0158 5360 str r3, [r2, #4]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 342
2031:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5003 .loc 1 2031 15 view .LVU1483
5004 015a 0EE0 b .L337
5005 .L362:
2024:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_JEOS);
5006 .loc 1 2024 15 view .LVU1484
5007 015c 5A68 ldr r2, [r3, #4]
5008 015e 22F02002 bic r2, r2, #32
5009 0162 5A60 str r2, [r3, #4]
2025:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
5010 .loc 1 2025 15 view .LVU1485
5011 0164 2268 ldr r2, [r4]
5012 0166 5368 ldr r3, [r2, #4]
5013 0168 43F04003 orr r3, r3, #64
5014 016c 5360 str r3, [r2, #4]
2026:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* case ADC_EOC_SINGLE_CONV */
5015 .loc 1 2026 15 view .LVU1486
5016 016e 04E0 b .L337
5017 .LVL382:
5018 .L338:
2039:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5019 .loc 1 2039 7 view .LVU1487
2039:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5020 .loc 1 2039 7 view .LVU1488
5021 0170 0023 movs r3, #0
5022 0172 84F85030 strb r3, [r4, #80]
5023 0176 00E0 b .L337
5024 .LVL383:
5025 .L353:
2045:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5026 .loc 1 2045 20 is_stmt 0 view .LVU1489
5027 0178 0220 movs r0, #2
5028 .LVL384:
5029 .L337:
2050:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5030 .loc 1 2050 1 view .LVU1490
5031 017a 38BD pop {r3, r4, r5, pc}
5032 .LVL385:
5033 .L354:
1897:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5034 .loc 1 1897 5 discriminator 1 view .LVU1491
5035 017c 0220 movs r0, #2
5036 .LVL386:
1897:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5037 .loc 1 1897 5 discriminator 1 view .LVU1492
5038 017e FCE7 b .L337
5039 .L364:
5040 .align 2
5041 .L363:
5042 0180 00230240 .word 1073881856
5043 0184 00210240 .word 1073881344
5044 0188 C0FFFF7F .word 2147483584
5045 .cfi_endproc
5046 .LFE343:
5048 .section .text.HAL_ADC_Start_DMA,"ax",%progbits
5049 .align 1
5050 .global HAL_ADC_Start_DMA
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 343
5051 .syntax unified
5052 .thumb
5053 .thumb_func
5055 HAL_ADC_Start_DMA:
5056 .LVL387:
5057 .LFB345:
2113:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
5058 .loc 1 2113 1 is_stmt 1 view -0
5059 .cfi_startproc
5060 @ args = 0, pretend = 0, frame = 0
5061 @ frame_needed = 0, uses_anonymous_args = 0
2113:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
5062 .loc 1 2113 1 is_stmt 0 view .LVU1494
5063 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
5064 .cfi_def_cfa_offset 24
5065 .cfi_offset 3, -24
5066 .cfi_offset 4, -20
5067 .cfi_offset 5, -16
5068 .cfi_offset 6, -12
5069 .cfi_offset 7, -8
5070 .cfi_offset 14, -4
5071 0002 0446 mov r4, r0
2114:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_multimode_config = LL_ADC_GetMultimode(__LL_ADC_COMMON_INSTANCE(hadc->Instance));
5072 .loc 1 2114 3 is_stmt 1 view .LVU1495
2115:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5073 .loc 1 2115 3 view .LVU1496
5074 .LVL388:
5075 .LBB497:
5076 .LBI497:
6601:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5077 .loc 2 6601 26 view .LVU1497
5078 .LBB498:
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5079 .loc 2 6603 3 view .LVU1498
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5080 .loc 2 6603 21 is_stmt 0 view .LVU1499
5081 0004 3B4B ldr r3, .L380
5082 0006 9D68 ldr r5, [r3, #8]
5083 .LVL389:
6603:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5084 .loc 2 6603 21 view .LVU1500
5085 .LBE498:
5086 .LBE497:
2118:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5087 .loc 1 2118 3 is_stmt 1 view .LVU1501
2121:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5088 .loc 1 2121 3 view .LVU1502
2121:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5089 .loc 1 2121 7 is_stmt 0 view .LVU1503
5090 0008 0068 ldr r0, [r0]
5091 .LVL390:
5092 .LBB499:
5093 .LBI499:
7073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5094 .loc 2 7073 26 is_stmt 1 view .LVU1504
5095 .LBB500:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 344
5096 .loc 2 7075 3 view .LVU1505
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5097 .loc 2 7075 12 is_stmt 0 view .LVU1506
5098 000a 8068 ldr r0, [r0, #8]
5099 .LVL391:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5100 .loc 2 7075 74 view .LVU1507
5101 000c 10F0040F tst r0, #4
5102 0010 6BD1 bne .L374
5103 0012 0E46 mov r6, r1
5104 0014 1746 mov r7, r2
5105 0016 05F01F05 and r5, r5, #31
5106 .LVL392:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5107 .loc 2 7075 74 view .LVU1508
5108 .LBE500:
5109 .LBE499:
2124:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5110 .loc 1 2124 5 is_stmt 1 view .LVU1509
2124:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5111 .loc 1 2124 5 view .LVU1510
5112 001a 94F85030 ldrb r3, [r4, #80] @ zero_extendqisi2
5113 001e 012B cmp r3, #1
5114 0020 65D0 beq .L375
2124:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5115 .loc 1 2124 5 discriminator 2 view .LVU1511
5116 0022 0123 movs r3, #1
5117 0024 84F85030 strb r3, [r4, #80]
2124:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5118 .loc 1 2124 5 view .LVU1512
2128:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_DUAL_INJ_SIMULT)
5119 .loc 1 2128 5 view .LVU1513
5120 0028 092D cmp r5, #9
5121 002a 05D8 bhi .L367
5122 002c 40F22123 movw r3, #545
5123 0030 EB40 lsrs r3, r3, r5
5124 0032 13F0010F tst r3, #1
5125 0036 04D1 bne .L378
5126 .L367:
2232:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
5127 .loc 1 2232 7 view .LVU1514
5128 .LVL393:
2234:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5129 .loc 1 2234 7 view .LVU1515
2234:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5130 .loc 1 2234 7 view .LVU1516
5131 0038 0023 movs r3, #0
5132 003a 84F85030 strb r3, [r4, #80]
2232:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Process unlocked */
5133 .loc 1 2232 22 is_stmt 0 view .LVU1517
5134 003e 0120 movs r0, #1
5135 0040 54E0 b .L366
5136 .LVL394:
5137 .L378:
2134:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5138 .loc 1 2134 7 is_stmt 1 view .LVU1518
2134:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 345
5139 .loc 1 2134 24 is_stmt 0 view .LVU1519
5140 0042 2046 mov r0, r4
5141 0044 FFF7FEFF bl ADC_Enable
5142 .LVL395:
2137:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5143 .loc 1 2137 7 is_stmt 1 view .LVU1520
2137:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5144 .loc 1 2137 10 is_stmt 0 view .LVU1521
5145 0048 0028 cmp r0, #0
5146 004a 4AD1 bne .L368
2142:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR | HAL
5147 .loc 1 2142 9 is_stmt 1 view .LVU1522
5148 004c 626D ldr r2, [r4, #84]
5149 004e A0F60273 subw r3, r0, #3842
5150 0052 1340 ands r3, r3, r2
5151 0054 43F48073 orr r3, r3, #256
5152 0058 6365 str r3, [r4, #84]
2149:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
5153 .loc 1 2149 9 view .LVU1523
2149:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
5154 .loc 1 2149 14 is_stmt 0 view .LVU1524
5155 005a 2368 ldr r3, [r4]
5156 005c 264A ldr r2, .L380+4
5157 005e 9342 cmp r3, r2
5158 0060 39D0 beq .L379
2149:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
5159 .loc 1 2149 14 discriminator 1 view .LVU1525
5160 0062 1A46 mov r2, r3
5161 .L369:
2149:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
5162 .loc 1 2149 12 discriminator 4 view .LVU1526
5163 0064 9342 cmp r3, r2
5164 0066 00D0 beq .L370
2150:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
5165 .loc 1 2150 13 view .LVU1527
5166 0068 1DB9 cbnz r5, .L371
5167 .L370:
2153:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5168 .loc 1 2153 11 is_stmt 1 view .LVU1528
5169 006a 636D ldr r3, [r4, #84]
5170 006c 23F48013 bic r3, r3, #1048576
5171 0070 6365 str r3, [r4, #84]
5172 .L371:
2157:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5173 .loc 1 2157 9 view .LVU1529
2157:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5174 .loc 1 2157 18 is_stmt 0 view .LVU1530
5175 0072 636D ldr r3, [r4, #84]
2157:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5176 .loc 1 2157 12 view .LVU1531
5177 0074 13F4805F tst r3, #4096
5178 0078 30D0 beq .L372
2160:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5179 .loc 1 2160 11 is_stmt 1 view .LVU1532
5180 007a A36D ldr r3, [r4, #88]
5181 007c 23F00603 bic r3, r3, #6
5182 0080 A365 str r3, [r4, #88]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 346
5183 .L373:
2169:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5184 .loc 1 2169 9 view .LVU1533
2169:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5185 .loc 1 2169 13 is_stmt 0 view .LVU1534
5186 0082 E36C ldr r3, [r4, #76]
2169:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5187 .loc 1 2169 44 view .LVU1535
5188 0084 1D4A ldr r2, .L380+8
5189 0086 DA63 str r2, [r3, #60]
2172:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5190 .loc 1 2172 9 is_stmt 1 view .LVU1536
2172:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5191 .loc 1 2172 13 is_stmt 0 view .LVU1537
5192 0088 E36C ldr r3, [r4, #76]
2172:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5193 .loc 1 2172 48 view .LVU1538
5194 008a 1D4A ldr r2, .L380+12
5195 008c 1A64 str r2, [r3, #64]
2175:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5196 .loc 1 2175 9 is_stmt 1 view .LVU1539
2175:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5197 .loc 1 2175 13 is_stmt 0 view .LVU1540
5198 008e E36C ldr r3, [r4, #76]
2175:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5199 .loc 1 2175 45 view .LVU1541
5200 0090 1C4A ldr r2, .L380+16
5201 0092 DA64 str r2, [r3, #76]
2184:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5202 .loc 1 2184 9 is_stmt 1 view .LVU1542
5203 0094 2368 ldr r3, [r4]
5204 0096 1C22 movs r2, #28
5205 0098 1A60 str r2, [r3]
2189:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5206 .loc 1 2189 9 view .LVU1543
2189:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5207 .loc 1 2189 9 view .LVU1544
5208 009a 0023 movs r3, #0
5209 009c 84F85030 strb r3, [r4, #80]
2189:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5210 .loc 1 2189 9 view .LVU1545
2194:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5211 .loc 1 2194 9 view .LVU1546
5212 00a0 2268 ldr r2, [r4]
5213 00a2 5368 ldr r3, [r2, #4]
5214 00a4 43F01003 orr r3, r3, #16
5215 00a8 5360 str r3, [r2, #4]
2209:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
5216 .loc 1 2209 9 view .LVU1547
5217 00aa 2168 ldr r1, [r4]
2209:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
5218 .loc 1 2209 76 is_stmt 0 view .LVU1548
5219 00ac E36A ldr r3, [r4, #44]
5220 .LVL396:
5221 .LBB501:
5222 .LBI501:
4419:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 347
5223 .loc 2 4419 22 is_stmt 1 view .LVU1549
5224 .LBB502:
4421:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5225 .loc 2 4421 3 view .LVU1550
5226 00ae CA68 ldr r2, [r1, #12]
5227 00b0 22F00302 bic r2, r2, #3
5228 00b4 1343 orrs r3, r3, r2
5229 .LVL397:
4421:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5230 .loc 2 4421 3 is_stmt 0 view .LVU1551
5231 00b6 CB60 str r3, [r1, #12]
5232 .LVL398:
4421:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5233 .loc 2 4421 3 view .LVU1552
5234 .LBE502:
5235 .LBE501:
2214:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5236 .loc 1 2214 9 is_stmt 1 view .LVU1553
2214:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5237 .loc 1 2214 76 is_stmt 0 view .LVU1554
5238 00b8 2168 ldr r1, [r4]
2214:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5239 .loc 1 2214 26 view .LVU1555
5240 00ba 3B46 mov r3, r7
5241 00bc 3246 mov r2, r6
5242 00be 4031 adds r1, r1, #64
5243 00c0 E06C ldr r0, [r4, #76]
5244 .LVL399:
2214:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5245 .loc 1 2214 26 view .LVU1556
5246 00c2 FFF7FEFF bl HAL_DMA_Start_IT
5247 .LVL400:
2221:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5248 .loc 1 2221 9 is_stmt 1 view .LVU1557
5249 00c6 2268 ldr r2, [r4]
5250 .LVL401:
5251 .LBB503:
5252 .LBI503:
7037:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5253 .loc 2 7037 22 view .LVU1558
5254 .LBB504:
7042:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
5255 .loc 2 7042 3 view .LVU1559
5256 00c8 9168 ldr r1, [r2, #8]
5257 00ca 0F4B ldr r3, .L380+20
5258 00cc 0B40 ands r3, r3, r1
5259 00ce 43F00403 orr r3, r3, #4
5260 00d2 9360 str r3, [r2, #8]
5261 .LVL402:
7045:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5262 .loc 2 7045 1 is_stmt 0 view .LVU1560
5263 00d4 0AE0 b .L366
5264 .L379:
7045:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h ****
5265 .loc 2 7045 1 view .LVU1561
5266 .LBE504:
5267 .LBE503:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 348
2149:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (tmp_multimode_config == LL_ADC_MULTI_INDEPENDENT)
5268 .loc 1 2149 14 discriminator 2 view .LVU1562
5269 00d6 A2F58072 sub r2, r2, #256
5270 00da C3E7 b .L369
5271 .L372:
2165:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5272 .loc 1 2165 11 is_stmt 1 view .LVU1563
5273 00dc 0023 movs r3, #0
5274 00de A365 str r3, [r4, #88]
5275 00e0 CFE7 b .L373
5276 .L368:
2226:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5277 .loc 1 2226 9 view .LVU1564
2226:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5278 .loc 1 2226 9 view .LVU1565
5279 00e2 0023 movs r3, #0
5280 00e4 84F85030 strb r3, [r4, #80]
5281 00e8 00E0 b .L366
5282 .LVL403:
5283 .L374:
2239:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5284 .loc 1 2239 20 is_stmt 0 view .LVU1566
5285 00ea 0220 movs r0, #2
5286 .LVL404:
5287 .L366:
2244:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5288 .loc 1 2244 1 view .LVU1567
5289 00ec F8BD pop {r3, r4, r5, r6, r7, pc}
5290 .LVL405:
5291 .L375:
2124:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5292 .loc 1 2124 5 discriminator 1 view .LVU1568
5293 00ee 0220 movs r0, #2
5294 00f0 FCE7 b .L366
5295 .L381:
5296 00f2 00BF .align 2
5297 .L380:
5298 00f4 00230240 .word 1073881856
5299 00f8 00210240 .word 1073881344
5300 00fc 00000000 .word ADC_DMAConvCplt
5301 0100 00000000 .word ADC_DMAHalfConvCplt
5302 0104 00000000 .word ADC_DMAError
5303 0108 C0FFFF7F .word 2147483584
5304 .cfi_endproc
5305 .LFE345:
5307 .section .text.ADC_Disable,"ax",%progbits
5308 .align 1
5309 .global ADC_Disable
5310 .syntax unified
5311 .thumb
5312 .thumb_func
5314 ADC_Disable:
5315 .LVL406:
5316 .LFB359:
3755:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tickstart;
5317 .loc 1 3755 1 is_stmt 1 view -0
5318 .cfi_startproc
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 349
5319 @ args = 0, pretend = 0, frame = 0
5320 @ frame_needed = 0, uses_anonymous_args = 0
3755:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tickstart;
5321 .loc 1 3755 1 is_stmt 0 view .LVU1570
5322 0000 38B5 push {r3, r4, r5, lr}
5323 .cfi_def_cfa_offset 16
5324 .cfi_offset 3, -16
5325 .cfi_offset 4, -12
5326 .cfi_offset 5, -8
5327 .cfi_offset 14, -4
5328 0002 0446 mov r4, r0
3756:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** const uint32_t tmp_adc_is_disable_on_going = LL_ADC_IsDisableOngoing(hadc->Instance);
5329 .loc 1 3756 3 is_stmt 1 view .LVU1571
3757:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5330 .loc 1 3757 3 view .LVU1572
3757:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5331 .loc 1 3757 48 is_stmt 0 view .LVU1573
5332 0004 0268 ldr r2, [r0]
5333 .LVL407:
5334 .LBB505:
5335 .LBI505:
6952:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5336 .loc 2 6952 26 is_stmt 1 view .LVU1574
5337 .LBB506:
6954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5338 .loc 2 6954 3 view .LVU1575
6954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5339 .loc 2 6954 12 is_stmt 0 view .LVU1576
5340 0006 9368 ldr r3, [r2, #8]
6954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5341 .loc 2 6954 70 view .LVU1577
5342 0008 13F00203 ands r3, r3, #2
5343 000c 00D0 beq .L383
6954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5344 .loc 2 6954 70 discriminator 1 view .LVU1578
5345 000e 0123 movs r3, #1
5346 .L383:
5347 .LVL408:
6954:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5348 .loc 2 6954 70 discriminator 1 view .LVU1579
5349 .LBE506:
5350 .LBE505:
3762:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_is_disable_on_going == 0UL)
5351 .loc 1 3762 3 is_stmt 1 view .LVU1580
5352 .LBB507:
5353 .LBI507:
6941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5354 .loc 2 6941 26 view .LVU1581
5355 .LBB508:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5356 .loc 2 6943 3 view .LVU1582
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5357 .loc 2 6943 12 is_stmt 0 view .LVU1583
5358 0010 9168 ldr r1, [r2, #8]
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5359 .loc 2 6943 68 view .LVU1584
5360 0012 11F0010F tst r1, #1
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 350
5361 0016 37D0 beq .L388
5362 .LVL409:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5363 .loc 2 6943 68 view .LVU1585
5364 .LBE508:
5365 .LBE507:
3763:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
5366 .loc 1 3763 7 view .LVU1586
5367 0018 002B cmp r3, #0
5368 001a 37D1 bne .L389
3767:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5369 .loc 1 3767 5 is_stmt 1 view .LVU1587
3767:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5370 .loc 1 3767 24 is_stmt 0 view .LVU1588
5371 001c 9368 ldr r3, [r2, #8]
5372 .LVL410:
3767:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5373 .loc 1 3767 29 view .LVU1589
5374 001e 03F00D03 and r3, r3, #13
3767:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5375 .loc 1 3767 8 view .LVU1590
5376 0022 012B cmp r3, #1
5377 0024 09D0 beq .L391
3776:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5378 .loc 1 3776 7 is_stmt 1 view .LVU1591
5379 0026 636D ldr r3, [r4, #84]
5380 0028 43F01003 orr r3, r3, #16
5381 002c 6365 str r3, [r4, #84]
3779:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5382 .loc 1 3779 7 view .LVU1592
5383 002e A36D ldr r3, [r4, #88]
5384 0030 43F00103 orr r3, r3, #1
5385 0034 A365 str r3, [r4, #88]
3781:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5386 .loc 1 3781 7 view .LVU1593
3781:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5387 .loc 1 3781 14 is_stmt 0 view .LVU1594
5388 0036 0120 movs r0, #1
5389 .LVL411:
3781:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5390 .loc 1 3781 14 view .LVU1595
5391 0038 27E0 b .L384
5392 .LVL412:
5393 .L391:
3770:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, (ADC_FLAG_EOSMP | ADC_FLAG_RDY));
5394 .loc 1 3770 7 is_stmt 1 view .LVU1596
5395 .LBB509:
5396 .LBI509:
6922:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5397 .loc 2 6922 22 view .LVU1597
5398 .LBB510:
6927:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
5399 .loc 2 6927 3 view .LVU1598
5400 003a 9168 ldr r1, [r2, #8]
5401 003c 144B ldr r3, .L393
5402 003e 0B40 ands r3, r3, r1
5403 0040 43F00203 orr r3, r3, #2
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 351
5404 0044 9360 str r3, [r2, #8]
5405 .LVL413:
6927:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
5406 .loc 2 6927 3 is_stmt 0 view .LVU1599
5407 .LBE510:
5408 .LBE509:
3771:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5409 .loc 1 3771 7 is_stmt 1 view .LVU1600
5410 0046 2368 ldr r3, [r4]
5411 0048 0322 movs r2, #3
5412 004a 1A60 str r2, [r3]
3786:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5413 .loc 1 3786 5 view .LVU1601
3786:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5414 .loc 1 3786 17 is_stmt 0 view .LVU1602
5415 004c FFF7FEFF bl HAL_GetTick
5416 .LVL414:
3786:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5417 .loc 1 3786 17 view .LVU1603
5418 0050 0546 mov r5, r0
5419 .LVL415:
3788:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5420 .loc 1 3788 5 is_stmt 1 view .LVU1604
5421 .L386:
3788:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5422 .loc 1 3788 47 view .LVU1605
3788:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5423 .loc 1 3788 17 is_stmt 0 view .LVU1606
5424 0052 2368 ldr r3, [r4]
3788:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5425 .loc 1 3788 27 view .LVU1607
5426 0054 9B68 ldr r3, [r3, #8]
3788:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5427 .loc 1 3788 47 view .LVU1608
5428 0056 13F0010F tst r3, #1
5429 005a 13D0 beq .L392
3790:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5430 .loc 1 3790 7 is_stmt 1 view .LVU1609
3790:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5431 .loc 1 3790 12 is_stmt 0 view .LVU1610
5432 005c FFF7FEFF bl HAL_GetTick
5433 .LVL416:
3790:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5434 .loc 1 3790 26 discriminator 1 view .LVU1611
5435 0060 401B subs r0, r0, r5
3790:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5436 .loc 1 3790 10 discriminator 1 view .LVU1612
5437 0062 0228 cmp r0, #2
5438 0064 F5D9 bls .L386
3793:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5439 .loc 1 3793 9 is_stmt 1 view .LVU1613
3793:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5440 .loc 1 3793 18 is_stmt 0 view .LVU1614
5441 0066 2368 ldr r3, [r4]
3793:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5442 .loc 1 3793 28 view .LVU1615
5443 0068 9B68 ldr r3, [r3, #8]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 352
3793:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5444 .loc 1 3793 12 view .LVU1616
5445 006a 13F0010F tst r3, #1
5446 006e F0D0 beq .L386
3796:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5447 .loc 1 3796 11 is_stmt 1 view .LVU1617
5448 0070 636D ldr r3, [r4, #84]
5449 0072 43F01003 orr r3, r3, #16
5450 0076 6365 str r3, [r4, #84]
3799:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5451 .loc 1 3799 11 view .LVU1618
5452 0078 A36D ldr r3, [r4, #88]
5453 007a 43F00103 orr r3, r3, #1
5454 007e A365 str r3, [r4, #88]
3801:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5455 .loc 1 3801 11 view .LVU1619
3801:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5456 .loc 1 3801 18 is_stmt 0 view .LVU1620
5457 0080 0120 movs r0, #1
5458 0082 02E0 b .L384
5459 .L392:
3808:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5460 .loc 1 3808 10 view .LVU1621
5461 0084 0020 movs r0, #0
5462 0086 00E0 b .L384
5463 .LVL417:
5464 .L388:
3808:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5465 .loc 1 3808 10 view .LVU1622
5466 0088 0020 movs r0, #0
5467 .LVL418:
5468 .L384:
3809:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5469 .loc 1 3809 1 view .LVU1623
5470 008a 38BD pop {r3, r4, r5, pc}
5471 .LVL419:
5472 .L389:
3808:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5473 .loc 1 3808 10 view .LVU1624
5474 008c 0020 movs r0, #0
5475 .LVL420:
3808:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5476 .loc 1 3808 10 view .LVU1625
5477 008e FCE7 b .L384
5478 .L394:
5479 .align 2
5480 .L393:
5481 0090 C0FFFF7F .word 2147483584
5482 .cfi_endproc
5483 .LFE359:
5485 .section .text.HAL_ADC_DeInit,"ax",%progbits
5486 .align 1
5487 .global HAL_ADC_DeInit
5488 .syntax unified
5489 .thumb
5490 .thumb_func
5492 HAL_ADC_DeInit:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 353
5493 .LVL421:
5494 .LFB336:
843:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
5495 .loc 1 843 1 is_stmt 1 view -0
5496 .cfi_startproc
5497 @ args = 0, pretend = 0, frame = 0
5498 @ frame_needed = 0, uses_anonymous_args = 0
843:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
5499 .loc 1 843 1 is_stmt 0 view .LVU1627
5500 0000 38B5 push {r3, r4, r5, lr}
5501 .cfi_def_cfa_offset 16
5502 .cfi_offset 3, -16
5503 .cfi_offset 4, -12
5504 .cfi_offset 5, -8
5505 .cfi_offset 14, -4
844:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5506 .loc 1 844 3 is_stmt 1 view .LVU1628
847:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5507 .loc 1 847 3 view .LVU1629
847:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5508 .loc 1 847 6 is_stmt 0 view .LVU1630
5509 0002 0028 cmp r0, #0
5510 0004 00F0C580 beq .L400
5511 0008 0446 mov r4, r0
853:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5512 .loc 1 853 3 is_stmt 1 view .LVU1631
856:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5513 .loc 1 856 3 view .LVU1632
5514 000a 436D ldr r3, [r0, #84]
5515 000c 43F00203 orr r3, r3, #2
5516 0010 4365 str r3, [r0, #84]
859:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5517 .loc 1 859 3 view .LVU1633
859:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5518 .loc 1 859 20 is_stmt 0 view .LVU1634
5519 0012 0321 movs r1, #3
5520 0014 FFF7FEFF bl ADC_ConversionStop
5521 .LVL422:
867:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5522 .loc 1 867 3 is_stmt 1 view .LVU1635
5523 0018 2268 ldr r2, [r4]
5524 001a D368 ldr r3, [r2, #12]
5525 001c 43F40013 orr r3, r3, #2097152
5526 0020 D360 str r3, [r2, #12]
870:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5527 .loc 1 870 3 view .LVU1636
870:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5528 .loc 1 870 6 is_stmt 0 view .LVU1637
5529 0022 0546 mov r5, r0
5530 0024 0028 cmp r0, #0
5531 0026 00F0A180 beq .L402
5532 .L397:
5533 .LVL423:
891:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_IT_JQOVF | ADC_IT_OVR |
5534 .loc 1 891 3 is_stmt 1 view .LVU1638
5535 002a 2268 ldr r2, [r4]
5536 002c 5368 ldr r3, [r2, #4]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 354
5537 002e 6FF30A03 bfc r3, #0, #11
5538 0032 5360 str r3, [r2, #4]
898:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_FLAG_JQOVF | ADC_FLAG_OVR |
5539 .loc 1 898 3 view .LVU1639
5540 0034 2368 ldr r3, [r4]
5541 0036 40F2FF72 movw r2, #2047
5542 003a 1A60 str r2, [r3]
909:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->Instance->CR, ADC_CR_DEEPPWD);
5543 .loc 1 909 3 view .LVU1640
5544 003c 2268 ldr r2, [r4]
5545 003e 9368 ldr r3, [r2, #8]
5546 0040 23F0A043 bic r3, r3, #1342177280
5547 0044 9360 str r3, [r2, #8]
910:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5548 .loc 1 910 3 view .LVU1641
5549 0046 2268 ldr r2, [r4]
5550 0048 9368 ldr r3, [r2, #8]
5551 004a 43F00053 orr r3, r3, #536870912
5552 004e 9360 str r3, [r2, #8]
913:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_AWD1EN | ADC_CFGR_AWD1SGL | ADC_CFGR_JQM |
5553 .loc 1 913 3 view .LVU1642
5554 0050 2268 ldr r2, [r4]
5555 0052 D368 ldr r3, [r2, #12]
5556 0054 03F08023 and r3, r3, #-2147450880
5557 0058 D360 str r3, [r2, #12]
919:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5558 .loc 1 919 3 view .LVU1643
5559 005a 2268 ldr r2, [r4]
5560 005c D368 ldr r3, [r2, #12]
5561 005e 43F00043 orr r3, r3, #-2147483648
5562 0062 D360 str r3, [r2, #12]
922:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR2_OVSR | ADC_CFGR2_JOVSE | ADC_CFGR2_ROVSE);
5563 .loc 1 922 3 view .LVU1644
5564 0064 2268 ldr r2, [r4]
5565 0066 1169 ldr r1, [r2, #16]
5566 0068 4B4B ldr r3, .L404
5567 006a 0B40 ands r3, r3, r1
5568 006c 1361 str r3, [r2, #16]
926:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5569 .loc 1 926 3 view .LVU1645
5570 006e 2268 ldr r2, [r4]
5571 0070 5369 ldr r3, [r2, #20]
5572 0072 03F04043 and r3, r3, #-1073741824
5573 0076 5361 str r3, [r2, #20]
929:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_SMPR2_SMP15 | ADC_SMPR2_SMP14 | ADC_SMPR2_SMP13 |
5574 .loc 1 929 3 view .LVU1646
5575 0078 2268 ldr r2, [r4]
5576 007a 9369 ldr r3, [r2, #24]
5577 007c 03F07843 and r3, r3, #-134217728
5578 0080 9361 str r3, [r2, #24]
958:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->HTR1, ADC_HTR_HT);
5579 .loc 1 958 3 view .LVU1647
5580 0082 2268 ldr r2, [r4]
5581 0084 136A ldr r3, [r2, #32]
5582 0086 03F07C43 and r3, r3, #-67108864
5583 008a 1362 str r3, [r2, #32]
959:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 355
5584 .loc 1 959 3 view .LVU1648
5585 008c 2268 ldr r2, [r4]
5586 008e 536A ldr r3, [r2, #36]
5587 0090 03F07C43 and r3, r3, #-67108864
5588 0094 5362 str r3, [r2, #36]
962:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->HTR2, ADC_HTR_HT);
5589 .loc 1 962 3 view .LVU1649
5590 0096 2268 ldr r2, [r4]
5591 0098 D2F8B030 ldr r3, [r2, #176]
5592 009c 03F07C43 and r3, r3, #-67108864
5593 00a0 C2F8B030 str r3, [r2, #176]
963:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5594 .loc 1 963 3 view .LVU1650
5595 00a4 2268 ldr r2, [r4]
5596 00a6 D2F8B430 ldr r3, [r2, #180]
5597 00aa 03F07C43 and r3, r3, #-67108864
5598 00ae C2F8B430 str r3, [r2, #180]
966:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->HTR3, ADC_HTR_HT);
5599 .loc 1 966 3 view .LVU1651
5600 00b2 2268 ldr r2, [r4]
5601 00b4 D2F8B830 ldr r3, [r2, #184]
5602 00b8 03F07C43 and r3, r3, #-67108864
5603 00bc C2F8B830 str r3, [r2, #184]
967:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
5604 .loc 1 967 3 view .LVU1652
5605 00c0 2268 ldr r2, [r4]
5606 00c2 D2F8BC30 ldr r3, [r2, #188]
5607 00c6 03F07C43 and r3, r3, #-67108864
5608 00ca C2F8BC30 str r3, [r2, #188]
972:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_SQR1_SQ1 | ADC_SQR1_L);
5609 .loc 1 972 3 view .LVU1653
5610 00ce 2268 ldr r2, [r4]
5611 00d0 116B ldr r1, [r2, #48]
5612 00d2 324B ldr r3, .L404+4
5613 00d4 0B40 ands r3, r3, r1
5614 00d6 1363 str r3, [r2, #48]
976:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_SQR2_SQ6 | ADC_SQR2_SQ5);
5615 .loc 1 976 3 view .LVU1654
5616 00d8 2268 ldr r2, [r4]
5617 00da 536B ldr r3, [r2, #52]
5618 00dc 3049 ldr r1, .L404+8
5619 00de 0B40 ands r3, r3, r1
5620 00e0 5363 str r3, [r2, #52]
980:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_SQR3_SQ11 | ADC_SQR3_SQ10);
5621 .loc 1 980 3 view .LVU1655
5622 00e2 2268 ldr r2, [r4]
5623 00e4 936B ldr r3, [r2, #56]
5624 00e6 0B40 ands r3, r3, r1
5625 00e8 9363 str r3, [r2, #56]
984:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5626 .loc 1 984 3 view .LVU1656
5627 00ea 2268 ldr r2, [r4]
5628 00ec D16B ldr r1, [r2, #60]
5629 00ee 2D4B ldr r3, .L404+12
5630 00f0 0B40 ands r3, r3, r1
5631 00f2 D363 str r3, [r2, #60]
992:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register OFR2 */
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 356
5632 .loc 1 992 3 view .LVU1657
5633 00f4 2268 ldr r2, [r4]
5634 00f6 136E ldr r3, [r2, #96]
5635 00f8 0023 movs r3, #0
5636 00fa 1366 str r3, [r2, #96]
994:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register OFR3 */
5637 .loc 1 994 3 view .LVU1658
5638 00fc 2268 ldr r2, [r4]
5639 00fe 516E ldr r1, [r2, #100]
5640 0100 5366 str r3, [r2, #100]
996:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /* Reset register OFR4 */
5641 .loc 1 996 3 view .LVU1659
5642 0102 2268 ldr r2, [r4]
5643 0104 916E ldr r1, [r2, #104]
5644 0106 9366 str r3, [r2, #104]
998:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5645 .loc 1 998 3 view .LVU1660
5646 0108 2268 ldr r2, [r4]
5647 010a D16E ldr r1, [r2, #108]
5648 010c D366 str r3, [r2, #108]
1004:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5649 .loc 1 1004 3 view .LVU1661
5650 010e 2168 ldr r1, [r4]
5651 0110 D1F8A030 ldr r3, [r1, #160]
5652 0114 244A ldr r2, .L404+16
5653 0116 1340 ands r3, r3, r2
5654 0118 C1F8A030 str r3, [r1, #160]
1007:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5655 .loc 1 1007 3 view .LVU1662
5656 011c 2168 ldr r1, [r4]
5657 011e D1F8A430 ldr r3, [r1, #164]
5658 0122 1340 ands r3, r3, r2
5659 0124 C1F8A430 str r3, [r1, #164]
1028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5660 .loc 1 1028 3 view .LVU1663
5661 0128 2168 ldr r1, [r4]
5662 012a D1F8C030 ldr r3, [r1, #192]
5663 012e 1340 ands r3, r3, r2
5664 0130 C1F8C030 str r3, [r1, #192]
1031:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_V90 */
5665 .loc 1 1031 3 view .LVU1664
5666 0134 2268 ldr r2, [r4]
5667 0136 D2F8C430 ldr r3, [r2, #196]
5668 013a 03F0F823 and r3, r3, #-134154240
5669 013e C2F8C430 str r3, [r2, #196]
1038:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5670 .loc 1 1038 3 view .LVU1665
5671 .LVL424:
5672 .LBB511:
5673 .LBI511:
6941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5674 .loc 2 6941 26 view .LVU1666
5675 .LBB512:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5676 .loc 2 6943 3 view .LVU1667
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5677 .loc 2 6943 12 is_stmt 0 view .LVU1668
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 357
5678 0142 1A4B ldr r3, .L404+20
5679 0144 9B68 ldr r3, [r3, #8]
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5680 .loc 2 6943 68 view .LVU1669
5681 0146 13F00103 ands r3, r3, #1
5682 014a 00D0 beq .L398
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5683 .loc 2 6943 68 discriminator 1 view .LVU1670
5684 014c 0123 movs r3, #1
5685 .L398:
5686 .LVL425:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5687 .loc 2 6943 68 discriminator 1 view .LVU1671
5688 .LBE512:
5689 .LBE511:
5690 .LBB513:
5691 .LBI513:
6941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
5692 .loc 2 6941 26 is_stmt 1 view .LVU1672
5693 .LBB514:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5694 .loc 2 6943 3 view .LVU1673
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5695 .loc 2 6943 12 is_stmt 0 view .LVU1674
5696 014e 184A ldr r2, .L404+24
5697 0150 9268 ldr r2, [r2, #8]
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5698 .loc 2 6943 68 view .LVU1675
5699 0152 12F0010F tst r2, #1
5700 0156 00D1 bne .L399
5701 .LVL426:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
5702 .loc 2 6943 68 view .LVU1676
5703 .LBE514:
5704 .LBE513:
1038:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5705 .loc 1 1038 6 discriminator 2 view .LVU1677
5706 0158 93B1 cbz r3, .L403
5707 .L399:
1074:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5708 .loc 1 1074 3 is_stmt 1 view .LVU1678
5709 015a 0023 movs r3, #0
5710 015c A365 str r3, [r4, #88]
1077:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->InjectionConfig.ChannelCount = 0;
5711 .loc 1 1077 3 view .LVU1679
1077:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->InjectionConfig.ChannelCount = 0;
5712 .loc 1 1077 38 is_stmt 0 view .LVU1680
5713 015e E365 str r3, [r4, #92]
1078:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5714 .loc 1 1078 3 is_stmt 1 view .LVU1681
1078:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5715 .loc 1 1078 38 is_stmt 0 view .LVU1682
5716 0160 2366 str r3, [r4, #96]
1081:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5717 .loc 1 1081 3 is_stmt 1 view .LVU1683
1081:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5718 .loc 1 1081 15 is_stmt 0 view .LVU1684
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 358
5719 0162 6365 str r3, [r4, #84]
1084:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5720 .loc 1 1084 3 is_stmt 1 view .LVU1685
1084:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5721 .loc 1 1084 3 view .LVU1686
5722 0164 84F85030 strb r3, [r4, #80]
1084:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5723 .loc 1 1084 3 view .LVU1687
1087:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5724 .loc 1 1087 3 view .LVU1688
5725 .LVL427:
5726 .L396:
1088:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5727 .loc 1 1088 1 is_stmt 0 view .LVU1689
5728 0168 2846 mov r0, r5
5729 016a 38BD pop {r3, r4, r5, pc}
5730 .LVL428:
5731 .L402:
873:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5732 .loc 1 873 5 is_stmt 1 view .LVU1690
873:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5733 .loc 1 873 22 is_stmt 0 view .LVU1691
5734 016c 2046 mov r0, r4
5735 .LVL429:
873:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5736 .loc 1 873 22 view .LVU1692
5737 016e FFF7FEFF bl ADC_Disable
5738 .LVL430:
876:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5739 .loc 1 876 5 is_stmt 1 view .LVU1693
876:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5740 .loc 1 876 8 is_stmt 0 view .LVU1694
5741 0172 0546 mov r5, r0
5742 0174 0028 cmp r0, #0
5743 0176 7FF458AF bne .L397
879:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5744 .loc 1 879 7 is_stmt 1 view .LVU1695
879:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5745 .loc 1 879 19 is_stmt 0 view .LVU1696
5746 017a 0123 movs r3, #1
5747 017c 6365 str r3, [r4, #84]
5748 017e 54E7 b .L397
5749 .LVL431:
5750 .L403:
1047:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5751 .loc 1 1047 5 is_stmt 1 view .LVU1697
5752 0180 0C4A ldr r2, .L404+28
5753 0182 9168 ldr r1, [r2, #8]
5754 0184 0C4B ldr r3, .L404+32
5755 0186 0B40 ands r3, r3, r1
5756 0188 9360 str r3, [r2, #8]
1068:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
5757 .loc 1 1068 5 view .LVU1698
5758 018a 2046 mov r0, r4
5759 018c FFF7FEFF bl HAL_ADC_MspDeInit
5760 .LVL432:
5761 0190 E3E7 b .L399
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 359
5762 .LVL433:
5763 .L400:
849:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5764 .loc 1 849 12 is_stmt 0 view .LVU1699
5765 0192 0125 movs r5, #1
5766 0194 E8E7 b .L396
5767 .L405:
5768 0196 00BF .align 2
5769 .L404:
5770 0198 1CF800FC .word -67045348
5771 019c 300882E0 .word -528349136
5772 01a0 200882E0 .word -528349152
5773 01a4 20F8FFFF .word -2016
5774 01a8 0000F0FF .word -1048576
5775 01ac 00200240 .word 1073881088
5776 01b0 00210240 .word 1073881344
5777 01b4 00230240 .word 1073881856
5778 01b8 E03000FE .word -33541920
5779 .cfi_endproc
5780 .LFE336:
5782 .section .text.HAL_ADC_Stop,"ax",%progbits
5783 .align 1
5784 .global HAL_ADC_Stop
5785 .syntax unified
5786 .thumb
5787 .thumb_func
5789 HAL_ADC_Stop:
5790 .LVL434:
5791 .LFB340:
1519:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
5792 .loc 1 1519 1 is_stmt 1 view -0
5793 .cfi_startproc
5794 @ args = 0, pretend = 0, frame = 0
5795 @ frame_needed = 0, uses_anonymous_args = 0
1520:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5796 .loc 1 1520 3 view .LVU1701
1523:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5797 .loc 1 1523 3 view .LVU1702
1526:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5798 .loc 1 1526 3 view .LVU1703
1526:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5799 .loc 1 1526 3 view .LVU1704
5800 0000 90F85030 ldrb r3, [r0, #80] @ zero_extendqisi2
5801 0004 012B cmp r3, #1
5802 0006 18D0 beq .L409
1519:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
5803 .loc 1 1519 1 is_stmt 0 view .LVU1705
5804 0008 10B5 push {r4, lr}
5805 .cfi_def_cfa_offset 8
5806 .cfi_offset 4, -8
5807 .cfi_offset 14, -4
5808 000a 0446 mov r4, r0
1526:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5809 .loc 1 1526 3 is_stmt 1 discriminator 2 view .LVU1706
5810 000c 0123 movs r3, #1
5811 000e 80F85030 strb r3, [r0, #80]
1526:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 360
5812 .loc 1 1526 3 view .LVU1707
1529:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5813 .loc 1 1529 3 view .LVU1708
1529:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5814 .loc 1 1529 20 is_stmt 0 view .LVU1709
5815 0012 0321 movs r1, #3
5816 0014 FFF7FEFF bl ADC_ConversionStop
5817 .LVL435:
1532:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5818 .loc 1 1532 3 is_stmt 1 view .LVU1710
1532:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5819 .loc 1 1532 6 is_stmt 0 view .LVU1711
5820 0018 18B1 cbz r0, .L414
5821 .L408:
1548:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5822 .loc 1 1548 3 is_stmt 1 view .LVU1712
1548:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5823 .loc 1 1548 3 view .LVU1713
5824 001a 0023 movs r3, #0
5825 001c 84F85030 strb r3, [r4, #80]
1548:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5826 .loc 1 1548 3 view .LVU1714
1551:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5827 .loc 1 1551 3 view .LVU1715
1552:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5828 .loc 1 1552 1 is_stmt 0 view .LVU1716
5829 0020 10BD pop {r4, pc}
5830 .LVL436:
5831 .L414:
1535:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5832 .loc 1 1535 5 is_stmt 1 view .LVU1717
1535:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5833 .loc 1 1535 22 is_stmt 0 view .LVU1718
5834 0022 2046 mov r0, r4
5835 .LVL437:
1535:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5836 .loc 1 1535 22 view .LVU1719
5837 0024 FFF7FEFF bl ADC_Disable
5838 .LVL438:
1538:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5839 .loc 1 1538 5 is_stmt 1 view .LVU1720
1538:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5840 .loc 1 1538 8 is_stmt 0 view .LVU1721
5841 0028 0028 cmp r0, #0
5842 002a F6D1 bne .L408
1541:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
5843 .loc 1 1541 7 is_stmt 1 view .LVU1722
5844 002c 626D ldr r2, [r4, #84]
5845 002e 044B ldr r3, .L415
5846 0030 1340 ands r3, r3, r2
5847 0032 43F00103 orr r3, r3, #1
5848 0036 6365 str r3, [r4, #84]
5849 0038 EFE7 b .L408
5850 .LVL439:
5851 .L409:
5852 .cfi_def_cfa_offset 0
5853 .cfi_restore 4
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 361
5854 .cfi_restore 14
1526:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5855 .loc 1 1526 3 is_stmt 0 discriminator 1 view .LVU1723
5856 003a 0220 movs r0, #2
5857 .LVL440:
1552:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5858 .loc 1 1552 1 view .LVU1724
5859 003c 7047 bx lr
5860 .L416:
5861 003e 00BF .align 2
5862 .L415:
5863 0040 FEEEFFFF .word -4354
5864 .cfi_endproc
5865 .LFE340:
5867 .section .text.HAL_ADC_Stop_IT,"ax",%progbits
5868 .align 1
5869 .global HAL_ADC_Stop_IT
5870 .syntax unified
5871 .thumb
5872 .thumb_func
5874 HAL_ADC_Stop_IT:
5875 .LVL441:
5876 .LFB344:
2060:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
5877 .loc 1 2060 1 is_stmt 1 view -0
5878 .cfi_startproc
5879 @ args = 0, pretend = 0, frame = 0
5880 @ frame_needed = 0, uses_anonymous_args = 0
2061:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5881 .loc 1 2061 3 view .LVU1726
2064:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5882 .loc 1 2064 3 view .LVU1727
2067:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5883 .loc 1 2067 3 view .LVU1728
2067:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5884 .loc 1 2067 3 view .LVU1729
5885 0000 90F85030 ldrb r3, [r0, #80] @ zero_extendqisi2
5886 0004 012B cmp r3, #1
5887 0006 1DD0 beq .L420
2060:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
5888 .loc 1 2060 1 is_stmt 0 view .LVU1730
5889 0008 10B5 push {r4, lr}
5890 .cfi_def_cfa_offset 8
5891 .cfi_offset 4, -8
5892 .cfi_offset 14, -4
5893 000a 0446 mov r4, r0
2067:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5894 .loc 1 2067 3 is_stmt 1 discriminator 2 view .LVU1731
5895 000c 0123 movs r3, #1
5896 000e 80F85030 strb r3, [r0, #80]
2067:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5897 .loc 1 2067 3 view .LVU1732
2070:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5898 .loc 1 2070 3 view .LVU1733
2070:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5899 .loc 1 2070 20 is_stmt 0 view .LVU1734
5900 0012 0321 movs r1, #3
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 362
5901 0014 FFF7FEFF bl ADC_ConversionStop
5902 .LVL442:
2073:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5903 .loc 1 2073 3 is_stmt 1 view .LVU1735
2073:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5904 .loc 1 2073 6 is_stmt 0 view .LVU1736
5905 0018 18B1 cbz r0, .L425
5906 .L419:
2093:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5907 .loc 1 2093 3 is_stmt 1 view .LVU1737
2093:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5908 .loc 1 2093 3 view .LVU1738
5909 001a 0023 movs r3, #0
5910 001c 84F85030 strb r3, [r4, #80]
2093:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5911 .loc 1 2093 3 view .LVU1739
2096:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
5912 .loc 1 2096 3 view .LVU1740
2097:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5913 .loc 1 2097 1 is_stmt 0 view .LVU1741
5914 0020 10BD pop {r4, pc}
5915 .LVL443:
5916 .L425:
2077:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5917 .loc 1 2077 5 is_stmt 1 view .LVU1742
5918 0022 2268 ldr r2, [r4]
5919 0024 5368 ldr r3, [r2, #4]
5920 0026 23F01C03 bic r3, r3, #28
5921 002a 5360 str r3, [r2, #4]
2080:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5922 .loc 1 2080 5 view .LVU1743
2080:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5923 .loc 1 2080 22 is_stmt 0 view .LVU1744
5924 002c 2046 mov r0, r4
5925 .LVL444:
2080:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5926 .loc 1 2080 22 view .LVU1745
5927 002e FFF7FEFF bl ADC_Disable
5928 .LVL445:
2083:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5929 .loc 1 2083 5 is_stmt 1 view .LVU1746
2083:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5930 .loc 1 2083 8 is_stmt 0 view .LVU1747
5931 0032 0028 cmp r0, #0
5932 0034 F1D1 bne .L419
2086:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
5933 .loc 1 2086 7 is_stmt 1 view .LVU1748
5934 0036 626D ldr r2, [r4, #84]
5935 0038 034B ldr r3, .L426
5936 003a 1340 ands r3, r3, r2
5937 003c 43F00103 orr r3, r3, #1
5938 0040 6365 str r3, [r4, #84]
5939 0042 EAE7 b .L419
5940 .LVL446:
5941 .L420:
5942 .cfi_def_cfa_offset 0
5943 .cfi_restore 4
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 363
5944 .cfi_restore 14
2067:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5945 .loc 1 2067 3 is_stmt 0 discriminator 1 view .LVU1749
5946 0044 0220 movs r0, #2
5947 .LVL447:
2097:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5948 .loc 1 2097 1 view .LVU1750
5949 0046 7047 bx lr
5950 .L427:
5951 .align 2
5952 .L426:
5953 0048 FEEEFFFF .word -4354
5954 .cfi_endproc
5955 .LFE344:
5957 .section .text.HAL_ADC_Stop_DMA,"ax",%progbits
5958 .align 1
5959 .global HAL_ADC_Stop_DMA
5960 .syntax unified
5961 .thumb
5962 .thumb_func
5964 HAL_ADC_Stop_DMA:
5965 .LVL448:
5966 .LFB346:
2260:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
5967 .loc 1 2260 1 is_stmt 1 view -0
5968 .cfi_startproc
5969 @ args = 0, pretend = 0, frame = 0
5970 @ frame_needed = 0, uses_anonymous_args = 0
2260:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status;
5971 .loc 1 2260 1 is_stmt 0 view .LVU1752
5972 0000 38B5 push {r3, r4, r5, lr}
5973 .cfi_def_cfa_offset 16
5974 .cfi_offset 3, -16
5975 .cfi_offset 4, -12
5976 .cfi_offset 5, -8
5977 .cfi_offset 14, -4
2261:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5978 .loc 1 2261 3 is_stmt 1 view .LVU1753
2264:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5979 .loc 1 2264 3 view .LVU1754
2267:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5980 .loc 1 2267 3 view .LVU1755
2267:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5981 .loc 1 2267 3 view .LVU1756
5982 0002 90F85030 ldrb r3, [r0, #80] @ zero_extendqisi2
5983 0006 012B cmp r3, #1
5984 0008 36D0 beq .L434
5985 000a 0446 mov r4, r0
2267:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5986 .loc 1 2267 3 discriminator 2 view .LVU1757
5987 000c 0123 movs r3, #1
5988 000e 80F85030 strb r3, [r0, #80]
2267:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5989 .loc 1 2267 3 view .LVU1758
2270:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5990 .loc 1 2270 3 view .LVU1759
2270:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 364
5991 .loc 1 2270 20 is_stmt 0 view .LVU1760
5992 0012 0321 movs r1, #3
5993 0014 FFF7FEFF bl ADC_ConversionStop
5994 .LVL449:
2273:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5995 .loc 1 2273 3 is_stmt 1 view .LVU1761
2273:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
5996 .loc 1 2273 6 is_stmt 0 view .LVU1762
5997 0018 0546 mov r5, r0
5998 001a D0B9 cbnz r0, .L430
2276:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
5999 .loc 1 2276 5 is_stmt 1 view .LVU1763
6000 001c 2268 ldr r2, [r4]
6001 001e D368 ldr r3, [r2, #12]
6002 0020 23F00303 bic r3, r3, #3
6003 0024 D360 str r3, [r2, #12]
2280:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6004 .loc 1 2280 5 view .LVU1764
2280:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6005 .loc 1 2280 13 is_stmt 0 view .LVU1765
6006 0026 E06C ldr r0, [r4, #76]
6007 .LVL450:
2280:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6008 .loc 1 2280 25 view .LVU1766
6009 0028 90F83530 ldrb r3, [r0, #53] @ zero_extendqisi2
2280:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6010 .loc 1 2280 8 view .LVU1767
6011 002c 022B cmp r3, #2
6012 002e 15D0 beq .L436
6013 .LVL451:
6014 .L431:
2293:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6015 .loc 1 2293 5 is_stmt 1 view .LVU1768
6016 0030 2268 ldr r2, [r4]
6017 0032 5368 ldr r3, [r2, #4]
6018 0034 23F01003 bic r3, r3, #16
6019 0038 5360 str r3, [r2, #4]
2298:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6020 .loc 1 2298 5 view .LVU1769
2298:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6021 .loc 1 2298 8 is_stmt 0 view .LVU1770
6022 003a CDB9 cbnz r5, .L432
2300:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6023 .loc 1 2300 7 is_stmt 1 view .LVU1771
2300:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6024 .loc 1 2300 24 is_stmt 0 view .LVU1772
6025 003c 2046 mov r0, r4
6026 003e FFF7FEFF bl ADC_Disable
6027 .LVL452:
6028 0042 0546 mov r5, r0
6029 .LVL453:
6030 .L433:
2308:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6031 .loc 1 2308 5 is_stmt 1 view .LVU1773
2308:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6032 .loc 1 2308 8 is_stmt 0 view .LVU1774
6033 0044 2DB9 cbnz r5, .L430
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 365
2311:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
6034 .loc 1 2311 7 is_stmt 1 view .LVU1775
6035 0046 626D ldr r2, [r4, #84]
6036 0048 0C4B ldr r3, .L437
6037 004a 1340 ands r3, r3, r2
6038 004c 43F00103 orr r3, r3, #1
6039 0050 6365 str r3, [r4, #84]
6040 .LVL454:
6041 .L430:
2319:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6042 .loc 1 2319 3 view .LVU1776
2319:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6043 .loc 1 2319 3 view .LVU1777
6044 0052 0023 movs r3, #0
6045 0054 84F85030 strb r3, [r4, #80]
2319:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6046 .loc 1 2319 3 view .LVU1778
2322:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6047 .loc 1 2322 3 view .LVU1779
6048 .LVL455:
6049 .L429:
2323:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6050 .loc 1 2323 1 is_stmt 0 view .LVU1780
6051 0058 2846 mov r0, r5
6052 005a 38BD pop {r3, r4, r5, pc}
6053 .LVL456:
6054 .L436:
2282:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6055 .loc 1 2282 7 is_stmt 1 view .LVU1781
2282:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6056 .loc 1 2282 24 is_stmt 0 view .LVU1782
6057 005c FFF7FEFF bl HAL_DMA_Abort
6058 .LVL457:
2285:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6059 .loc 1 2285 7 is_stmt 1 view .LVU1783
2285:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6060 .loc 1 2285 10 is_stmt 0 view .LVU1784
6061 0060 0546 mov r5, r0
6062 0062 0028 cmp r0, #0
6063 0064 E4D0 beq .L431
2288:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6064 .loc 1 2288 9 is_stmt 1 view .LVU1785
6065 0066 636D ldr r3, [r4, #84]
6066 0068 43F04003 orr r3, r3, #64
6067 006c 6365 str r3, [r4, #84]
6068 006e DFE7 b .L431
6069 .LVL458:
6070 .L432:
2304:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6071 .loc 1 2304 7 view .LVU1786
2304:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6072 .loc 1 2304 13 is_stmt 0 view .LVU1787
6073 0070 2046 mov r0, r4
6074 0072 FFF7FEFF bl ADC_Disable
6075 .LVL459:
6076 0076 E5E7 b .L433
6077 .LVL460:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 366
6078 .L434:
2267:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6079 .loc 1 2267 3 discriminator 1 view .LVU1788
6080 0078 0225 movs r5, #2
6081 007a EDE7 b .L429
6082 .L438:
6083 .align 2
6084 .L437:
6085 007c FEEEFFFF .word -4354
6086 .cfi_endproc
6087 .LFE346:
6089 .section .text.ADC_ConfigureBoostMode,"ax",%progbits
6090 .align 1
6091 .global ADC_ConfigureBoostMode
6092 .syntax unified
6093 .thumb
6094 .thumb_func
6096 ADC_ConfigureBoostMode:
6097 .LVL461:
6098 .LFB363:
3930:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3931:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** /**
3932:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @brief Configure boost mode of selected ADC.
3933:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @note Prerequisite condition to use this function: ADC conversions must be
3934:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * stopped.
3935:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @param hadc ADC handle
3936:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** * @retval None.
3937:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** */
3938:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** void ADC_ConfigureBoostMode(ADC_HandleTypeDef *hadc)
3939:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6099 .loc 1 3939 1 is_stmt 1 view -0
6100 .cfi_startproc
6101 @ args = 0, pretend = 0, frame = 0
6102 @ frame_needed = 0, uses_anonymous_args = 0
6103 .loc 1 3939 1 is_stmt 0 view .LVU1790
6104 0000 10B5 push {r4, lr}
6105 .cfi_def_cfa_offset 8
6106 .cfi_offset 4, -8
6107 .cfi_offset 14, -4
6108 0002 0446 mov r4, r0
3940:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t freq;
6109 .loc 1 3940 3 is_stmt 1 view .LVU1791
3941:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (ADC_IS_SYNCHRONOUS_CLOCK_MODE(hadc))
6110 .loc 1 3941 3 view .LVU1792
6111 .loc 1 3941 7 is_stmt 0 view .LVU1793
6112 0004 3A4B ldr r3, .L459
6113 0006 9B68 ldr r3, [r3, #8]
6114 .loc 1 3941 6 view .LVU1794
6115 0008 13F4403F tst r3, #196608
6116 000c 19D0 beq .L440
3942:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3943:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** freq = HAL_RCC_GetHCLKFreq();
6117 .loc 1 3943 5 is_stmt 1 view .LVU1795
6118 .loc 1 3943 12 is_stmt 0 view .LVU1796
6119 000e FFF7FEFF bl HAL_RCC_GetHCLKFreq
6120 .LVL462:
3944:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (hadc->Init.ClockPrescaler)
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 367
6121 .loc 1 3944 5 is_stmt 1 view .LVU1797
6122 .loc 1 3944 23 is_stmt 0 view .LVU1798
6123 0012 6368 ldr r3, [r4, #4]
6124 .loc 1 3944 5 view .LVU1799
6125 0014 B3F5003F cmp r3, #131072
6126 0018 05D0 beq .L441
6127 001a B3F5403F cmp r3, #196608
6128 001e 0ED0 beq .L442
6129 0020 B3F5803F cmp r3, #65536
6130 0024 02D1 bne .L443
6131 .L441:
3945:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3946:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_SYNC_PCLK_DIV1:
3947:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_SYNC_PCLK_DIV2:
3948:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** freq /= (hadc->Init.ClockPrescaler >> ADC_CCR_CKMODE_Pos);
6132 .loc 1 3948 9 is_stmt 1 view .LVU1800
6133 .loc 1 3948 44 is_stmt 0 view .LVU1801
6134 0026 1B0C lsrs r3, r3, #16
6135 .loc 1 3948 14 view .LVU1802
6136 0028 B0FBF3F0 udiv r0, r0, r3
6137 .LVL463:
3949:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6138 .loc 1 3949 9 is_stmt 1 view .LVU1803
6139 .L443:
3950:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_SYNC_PCLK_DIV4:
3951:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** freq /= 4UL;
3952:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3953:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default:
3954:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3955:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3956:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3957:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
3958:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3959:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** freq = HAL_RCCEx_GetPeriphCLKFreq(RCC_PERIPHCLK_ADC);
3960:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (hadc->Init.ClockPrescaler)
3961:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3962:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV2:
3963:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV4:
3964:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV6:
3965:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV8:
3966:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV10:
3967:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV12:
3968:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** freq /= ((hadc->Init.ClockPrescaler >> ADC_CCR_PRESC_Pos) << 1UL);
3969:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3970:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV16:
3971:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** freq /= 16UL;
3972:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3973:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV32:
3974:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** freq /= 32UL;
3975:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3976:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV64:
3977:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** freq /= 64UL;
3978:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3979:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV128:
3980:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** freq /= 128UL;
3981:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3982:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV256:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 368
3983:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** freq /= 256UL;
3984:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3985:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default:
3986:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
3987:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3988:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3989:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
3990:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_3) || defined(ADC_VER_V5_V90)
3991:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** freq /= 2U;
6140 .loc 1 3991 3 view .LVU1804
3992:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (freq <= 6250000UL)
6141 .loc 1 3992 3 view .LVU1805
6142 .loc 1 3992 6 is_stmt 0 view .LVU1806
6143 002c 314B ldr r3, .L459+4
6144 002e 9842 cmp r0, r3
6145 0030 41D8 bhi .L453
3993:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3994:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CR, ADC_CR_BOOST, 0UL);
6146 .loc 1 3994 5 is_stmt 1 view .LVU1807
6147 0032 2268 ldr r2, [r4]
6148 0034 9368 ldr r3, [r2, #8]
6149 0036 23F44073 bic r3, r3, #768
6150 003a 9360 str r3, [r2, #8]
6151 .L439:
3995:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
3996:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else if (freq <= 12500000UL)
3997:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
3998:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CR, ADC_CR_BOOST, ADC_CR_BOOST_0);
3999:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4000:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else if (freq <= 25000000UL)
4001:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4002:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CR, ADC_CR_BOOST, ADC_CR_BOOST_1);
4003:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4004:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else /* if(freq > 25000000UL) */
4005:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4006:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CR, ADC_CR_BOOST, ADC_CR_BOOST_1 | ADC_CR_BOOST_0);
4007:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4008:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #else
4009:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (HAL_GetREVID() <= REV_ID_Y) /* STM32H7 silicon Rev.Y */
4010:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4011:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (freq > 20000000UL)
4012:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4013:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** SET_BIT(hadc->Instance->CR, ADC_CR_BOOST_0);
4014:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4015:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else
4016:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4017:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->CR, ADC_CR_BOOST_0);
4018:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4019:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4020:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else /* STM32H7 silicon Rev.V */
4021:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4022:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** freq /= 2U; /* divider by 2 for Rev.V */
4023:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
4024:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if (freq <= 6250000UL)
4025:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4026:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CR, ADC_CR_BOOST, 0UL);
4027:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 369
4028:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else if (freq <= 12500000UL)
4029:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4030:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CR, ADC_CR_BOOST, ADC_CR_BOOST_0);
4031:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4032:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else if (freq <= 25000000UL)
4033:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4034:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CR, ADC_CR_BOOST, ADC_CR_BOOST_1);
4035:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4036:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** else /* if(freq > 25000000UL) */
4037:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
4038:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CR, ADC_CR_BOOST, ADC_CR_BOOST_1 | ADC_CR_BOOST_0);
4039:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4040:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
4041:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* ADC_VER_V5_3 */
4042:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6152 .loc 1 4042 1 is_stmt 0 view .LVU1808
6153 003c 10BD pop {r4, pc}
6154 .LVL464:
6155 .L442:
3951:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6156 .loc 1 3951 9 is_stmt 1 view .LVU1809
3951:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6157 .loc 1 3951 14 is_stmt 0 view .LVU1810
6158 003e 8008 lsrs r0, r0, #2
6159 .LVL465:
3952:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default:
6160 .loc 1 3952 9 is_stmt 1 view .LVU1811
6161 0040 F4E7 b .L443
6162 .LVL466:
6163 .L440:
3959:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (hadc->Init.ClockPrescaler)
6164 .loc 1 3959 5 view .LVU1812
3959:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (hadc->Init.ClockPrescaler)
6165 .loc 1 3959 12 is_stmt 0 view .LVU1813
6166 0042 4FF40020 mov r0, #524288
6167 .LVL467:
3959:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** switch (hadc->Init.ClockPrescaler)
6168 .loc 1 3959 12 view .LVU1814
6169 0046 0021 movs r1, #0
6170 0048 FFF7FEFF bl HAL_RCCEx_GetPeriphCLKFreq
6171 .LVL468:
3960:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6172 .loc 1 3960 5 is_stmt 1 view .LVU1815
3960:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6173 .loc 1 3960 23 is_stmt 0 view .LVU1816
6174 004c 6368 ldr r3, [r4, #4]
3960:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6175 .loc 1 3960 5 view .LVU1817
6176 004e B3F5101F cmp r3, #2359296
6177 0052 2CD0 beq .L444
6178 0054 21D8 bhi .L445
6179 0056 B3F5E01F cmp r3, #1835008
6180 005a 26D0 beq .L446
6181 005c 04D9 bls .L458
6182 005e B3F5001F cmp r3, #2097152
6183 0062 E3D1 bne .L443
3974:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 370
6184 .loc 1 3974 9 is_stmt 1 view .LVU1818
3974:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6185 .loc 1 3974 14 is_stmt 0 view .LVU1819
6186 0064 4009 lsrs r0, r0, #5
6187 .LVL469:
3975:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV64:
6188 .loc 1 3975 9 is_stmt 1 view .LVU1820
6189 0066 E1E7 b .L443
6190 .L458:
3960:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6191 .loc 1 3960 5 is_stmt 0 view .LVU1821
6192 0068 B3F5801F cmp r3, #1048576
6193 006c 10D0 beq .L448
6194 006e 09D8 bhi .L449
6195 0070 B3F5002F cmp r3, #524288
6196 0074 0CD0 beq .L448
6197 0076 B3F5402F cmp r3, #786432
6198 007a 09D0 beq .L448
6199 007c B3F5802F cmp r3, #262144
6200 0080 06D0 beq .L448
6201 0082 D3E7 b .L443
6202 .L449:
6203 0084 B3F5A01F cmp r3, #1310720
6204 0088 02D0 beq .L448
6205 008a B3F5C01F cmp r3, #1572864
6206 008e CDD1 bne .L443
6207 .L448:
3968:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6208 .loc 1 3968 9 is_stmt 1 view .LVU1822
3968:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6209 .loc 1 3968 45 is_stmt 0 view .LVU1823
6210 0090 9B0C lsrs r3, r3, #18
3968:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6211 .loc 1 3968 67 view .LVU1824
6212 0092 5B00 lsls r3, r3, #1
3968:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6213 .loc 1 3968 14 view .LVU1825
6214 0094 B0FBF3F0 udiv r0, r0, r3
6215 .LVL470:
3969:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV16:
6216 .loc 1 3969 9 is_stmt 1 view .LVU1826
6217 0098 C8E7 b .L443
6218 .L445:
3960:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6219 .loc 1 3960 5 is_stmt 0 view .LVU1827
6220 009a B3F5201F cmp r3, #2621440
6221 009e 08D0 beq .L451
6222 00a0 B3F5301F cmp r3, #2883584
6223 00a4 C2D1 bne .L443
3983:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6224 .loc 1 3983 9 is_stmt 1 view .LVU1828
3983:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6225 .loc 1 3983 14 is_stmt 0 view .LVU1829
6226 00a6 000A lsrs r0, r0, #8
6227 .LVL471:
3984:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** default:
6228 .loc 1 3984 9 is_stmt 1 view .LVU1830
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 371
6229 00a8 C0E7 b .L443
6230 .L446:
3971:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6231 .loc 1 3971 9 view .LVU1831
3971:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6232 .loc 1 3971 14 is_stmt 0 view .LVU1832
6233 00aa 0009 lsrs r0, r0, #4
6234 .LVL472:
3972:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV32:
6235 .loc 1 3972 9 is_stmt 1 view .LVU1833
6236 00ac BEE7 b .L443
6237 .L444:
3977:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6238 .loc 1 3977 9 view .LVU1834
3977:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6239 .loc 1 3977 14 is_stmt 0 view .LVU1835
6240 00ae 8009 lsrs r0, r0, #6
6241 .LVL473:
3978:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV128:
6242 .loc 1 3978 9 is_stmt 1 view .LVU1836
6243 00b0 BCE7 b .L443
6244 .L451:
3980:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6245 .loc 1 3980 9 view .LVU1837
3980:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** break;
6246 .loc 1 3980 14 is_stmt 0 view .LVU1838
6247 00b2 C009 lsrs r0, r0, #7
6248 .LVL474:
3981:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** case ADC_CLOCK_ASYNC_DIV256:
6249 .loc 1 3981 9 is_stmt 1 view .LVU1839
6250 00b4 BAE7 b .L443
6251 .LVL475:
6252 .L453:
3996:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6253 .loc 1 3996 8 view .LVU1840
3996:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6254 .loc 1 3996 11 is_stmt 0 view .LVU1841
6255 00b6 104B ldr r3, .L459+8
6256 00b8 9842 cmp r0, r3
6257 00ba 07D8 bhi .L455
3998:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6258 .loc 1 3998 5 is_stmt 1 view .LVU1842
6259 00bc 2268 ldr r2, [r4]
6260 00be 9368 ldr r3, [r2, #8]
6261 00c0 23F44073 bic r3, r3, #768
6262 00c4 43F48073 orr r3, r3, #256
6263 00c8 9360 str r3, [r2, #8]
6264 00ca B7E7 b .L439
6265 .L455:
4000:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6266 .loc 1 4000 8 view .LVU1843
4000:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6267 .loc 1 4000 11 is_stmt 0 view .LVU1844
6268 00cc 0B4B ldr r3, .L459+12
6269 00ce 9842 cmp r0, r3
6270 00d0 07D8 bhi .L456
4002:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 372
6271 .loc 1 4002 5 is_stmt 1 view .LVU1845
6272 00d2 2268 ldr r2, [r4]
6273 00d4 9368 ldr r3, [r2, #8]
6274 00d6 23F44073 bic r3, r3, #768
6275 00da 43F40073 orr r3, r3, #512
6276 00de 9360 str r3, [r2, #8]
6277 00e0 ACE7 b .L439
6278 .L456:
4006:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6279 .loc 1 4006 5 view .LVU1846
6280 00e2 2268 ldr r2, [r4]
6281 00e4 9368 ldr r3, [r2, #8]
6282 00e6 43F44073 orr r3, r3, #768
6283 00ea 9360 str r3, [r2, #8]
6284 .loc 1 4042 1 is_stmt 0 view .LVU1847
6285 00ec A6E7 b .L439
6286 .L460:
6287 00ee 00BF .align 2
6288 .L459:
6289 00f0 00230240 .word 1073881856
6290 00f4 21BCBE00 .word 12500001
6291 00f8 41787D01 .word 25000001
6292 00fc 81F0FA02 .word 50000001
6293 .cfi_endproc
6294 .LFE363:
6296 .section .text.HAL_ADC_Init,"ax",%progbits
6297 .align 1
6298 .global HAL_ADC_Init
6299 .syntax unified
6300 .thumb
6301 .thumb_func
6303 HAL_ADC_Init:
6304 .LVL476:
6305 .LFB335:
408:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
6306 .loc 1 408 1 is_stmt 1 view -0
6307 .cfi_startproc
6308 @ args = 0, pretend = 0, frame = 8
6309 @ frame_needed = 0, uses_anonymous_args = 0
408:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
6310 .loc 1 408 1 is_stmt 0 view .LVU1849
6311 0000 30B5 push {r4, r5, lr}
6312 .cfi_def_cfa_offset 12
6313 .cfi_offset 4, -12
6314 .cfi_offset 5, -8
6315 .cfi_offset 14, -4
6316 0002 83B0 sub sp, sp, #12
6317 .cfi_def_cfa_offset 24
409:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpCFGR;
6318 .loc 1 409 3 is_stmt 1 view .LVU1850
6319 .LVL477:
410:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_reg_is_conversion_on_going;
6320 .loc 1 410 3 view .LVU1851
411:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** __IO uint32_t wait_loop_index = 0UL;
6321 .loc 1 411 3 view .LVU1852
412:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_regular;
6322 .loc 1 412 3 view .LVU1853
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 373
412:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_regular;
6323 .loc 1 412 17 is_stmt 0 view .LVU1854
6324 0004 0023 movs r3, #0
6325 0006 0193 str r3, [sp, #4]
413:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmp_adc_is_conversion_on_going_injected;
6326 .loc 1 413 3 is_stmt 1 view .LVU1855
414:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6327 .loc 1 414 3 view .LVU1856
417:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6328 .loc 1 417 3 view .LVU1857
417:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6329 .loc 1 417 6 is_stmt 0 view .LVU1858
6330 0008 0028 cmp r0, #0
6331 000a 00F0DF80 beq .L481
6332 000e 0446 mov r4, r0
423:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_CLOCKPRESCALER(hadc->Init.ClockPrescaler));
6333 .loc 1 423 3 is_stmt 1 view .LVU1859
424:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_RESOLUTION(hadc->Init.Resolution));
6334 .loc 1 424 3 view .LVU1860
425:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_SCAN_MODE(hadc->Init.ScanConvMode));
6335 .loc 1 425 3 view .LVU1861
426:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode));
6336 .loc 1 426 3 view .LVU1862
427:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_EXTTRIG_EDGE(hadc->Init.ExternalTrigConvEdge));
6337 .loc 1 427 3 view .LVU1863
428:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_EXTTRIG(hadc->Init.ExternalTrigConv));
6338 .loc 1 428 3 view .LVU1864
429:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_CONVERSIONDATAMGT(hadc->Init.ConversionDataManagement));
6339 .loc 1 429 3 view .LVU1865
430:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_EOC_SELECTION(hadc->Init.EOCSelection));
6340 .loc 1 430 3 view .LVU1866
431:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_OVERRUN(hadc->Init.Overrun));
6341 .loc 1 431 3 view .LVU1867
432:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.LowPowerAutoWait));
6342 .loc 1 432 3 view .LVU1868
433:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.OversamplingMode));
6343 .loc 1 433 3 view .LVU1869
434:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6344 .loc 1 434 3 view .LVU1870
436:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6345 .loc 1 436 3 view .LVU1871
438:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.DiscontinuousConvMode));
6346 .loc 1 438 5 view .LVU1872
439:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6347 .loc 1 439 5 view .LVU1873
441:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6348 .loc 1 441 5 view .LVU1874
443:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6349 .loc 1 443 7 view .LVU1875
448:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6350 .loc 1 448 3 view .LVU1876
452:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6351 .loc 1 452 3 view .LVU1877
452:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6352 .loc 1 452 11 is_stmt 0 view .LVU1878
6353 0010 436D ldr r3, [r0, #84]
452:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 374
6354 .loc 1 452 6 view .LVU1879
6355 0012 EBB1 cbz r3, .L484
6356 .LVL478:
6357 .L463:
486:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6358 .loc 1 486 3 is_stmt 1 view .LVU1880
486:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6359 .loc 1 486 7 is_stmt 0 view .LVU1881
6360 0014 2368 ldr r3, [r4]
6361 .LVL479:
6362 .LBB515:
6363 .LBI515:
6832:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6364 .loc 2 6832 26 is_stmt 1 view .LVU1882
6365 .LBB516:
6834:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6366 .loc 2 6834 3 view .LVU1883
6834:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6367 .loc 2 6834 12 is_stmt 0 view .LVU1884
6368 0016 9A68 ldr r2, [r3, #8]
6834:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6369 .loc 2 6834 74 view .LVU1885
6370 0018 12F0005F tst r2, #536870912
6371 001c 03D0 beq .L464
6372 .LVL480:
6834:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6373 .loc 2 6834 74 view .LVU1886
6374 .LBE516:
6375 .LBE515:
489:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6376 .loc 1 489 5 is_stmt 1 view .LVU1887
6377 .LBB517:
6378 .LBI517:
6818:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6379 .loc 2 6818 22 view .LVU1888
6380 .LBB518:
6823:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6381 .loc 2 6823 3 view .LVU1889
6382 001e 9968 ldr r1, [r3, #8]
6383 0020 6B4A ldr r2, .L488
6384 0022 0A40 ands r2, r2, r1
6385 0024 9A60 str r2, [r3, #8]
6386 .LVL481:
6387 .L464:
6823:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6388 .loc 2 6823 3 is_stmt 0 view .LVU1890
6389 .LBE518:
6390 .LBE517:
496:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6391 .loc 1 496 3 is_stmt 1 view .LVU1891
496:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6392 .loc 1 496 7 is_stmt 0 view .LVU1892
6393 0026 2368 ldr r3, [r4]
6394 .LVL482:
6395 .LBB519:
6396 .LBI519:
6881:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 375
6397 .loc 2 6881 26 is_stmt 1 view .LVU1893
6398 .LBB520:
6883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6399 .loc 2 6883 3 view .LVU1894
6883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6400 .loc 2 6883 12 is_stmt 0 view .LVU1895
6401 0028 9A68 ldr r2, [r3, #8]
6883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6402 .loc 2 6883 76 view .LVU1896
6403 002a 12F0805F tst r2, #268435456
6404 002e 1CD1 bne .L465
6405 .LVL483:
6883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6406 .loc 2 6883 76 view .LVU1897
6407 .LBE520:
6408 .LBE519:
499:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6409 .loc 1 499 5 is_stmt 1 view .LVU1898
6410 .LBB521:
6411 .LBI521:
6851:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6412 .loc 2 6851 22 view .LVU1899
6413 .LBB522:
6856:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
6414 .loc 2 6856 3 view .LVU1900
6415 0030 9968 ldr r1, [r3, #8]
6416 0032 684A ldr r2, .L488+4
6417 0034 0A40 ands r2, r2, r1
6418 0036 42F08052 orr r2, r2, #268435456
6419 003a 9A60 str r2, [r3, #8]
6420 .LVL484:
6856:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** ADC_CR_BITS_PROPERTY_RS,
6421 .loc 2 6856 3 is_stmt 0 view .LVU1901
6422 .LBE522:
6423 .LBE521:
504:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while (wait_loop_index != 0UL)
6424 .loc 1 504 5 is_stmt 1 view .LVU1902
504:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while (wait_loop_index != 0UL)
6425 .loc 1 504 89 is_stmt 0 view .LVU1903
6426 003c 664B ldr r3, .L488+8
6427 003e 1B68 ldr r3, [r3]
6428 0040 9B09 lsrs r3, r3, #6
6429 0042 664A ldr r2, .L488+12
6430 0044 A2FB0323 umull r2, r3, r2, r3
6431 0048 9B09 lsrs r3, r3, #6
504:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while (wait_loop_index != 0UL)
6432 .loc 1 504 69 view .LVU1904
6433 004a 0133 adds r3, r3, #1
504:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** while (wait_loop_index != 0UL)
6434 .loc 1 504 21 view .LVU1905
6435 004c 0193 str r3, [sp, #4]
505:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6436 .loc 1 505 5 is_stmt 1 view .LVU1906
505:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6437 .loc 1 505 11 is_stmt 0 view .LVU1907
6438 004e 09E0 b .L466
6439 .LVL485:
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 376
6440 .L484:
475:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
6441 .loc 1 475 5 is_stmt 1 view .LVU1908
6442 0050 FFF7FEFF bl HAL_ADC_MspInit
6443 .LVL486:
479:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6444 .loc 1 479 5 view .LVU1909
6445 0054 0023 movs r3, #0
6446 0056 A365 str r3, [r4, #88]
482:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6447 .loc 1 482 5 view .LVU1910
482:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6448 .loc 1 482 16 is_stmt 0 view .LVU1911
6449 0058 84F85030 strb r3, [r4, #80]
6450 005c DAE7 b .L463
6451 .L467:
507:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6452 .loc 1 507 7 is_stmt 1 view .LVU1912
507:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6453 .loc 1 507 22 is_stmt 0 view .LVU1913
6454 005e 019B ldr r3, [sp, #4]
6455 0060 013B subs r3, r3, #1
6456 0062 0193 str r3, [sp, #4]
6457 .L466:
505:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6458 .loc 1 505 28 is_stmt 1 view .LVU1914
6459 0064 019B ldr r3, [sp, #4]
6460 0066 002B cmp r3, #0
6461 0068 F9D1 bne .L467
6462 .L465:
514:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6463 .loc 1 514 3 view .LVU1915
514:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6464 .loc 1 514 7 is_stmt 0 view .LVU1916
6465 006a 2268 ldr r2, [r4]
6466 .LVL487:
6467 .LBB523:
6468 .LBI523:
6881:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6469 .loc 2 6881 26 is_stmt 1 view .LVU1917
6470 .LBB524:
6883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6471 .loc 2 6883 3 view .LVU1918
6883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6472 .loc 2 6883 12 is_stmt 0 view .LVU1919
6473 006c 9368 ldr r3, [r2, #8]
6883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6474 .loc 2 6883 76 view .LVU1920
6475 006e 13F0805F tst r3, #268435456
6476 0072 40F08180 bne .L482
6477 .LVL488:
6883:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6478 .loc 2 6883 76 view .LVU1921
6479 .LBE524:
6480 .LBE523:
517:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6481 .loc 1 517 5 is_stmt 1 view .LVU1922
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 377
6482 0076 636D ldr r3, [r4, #84]
6483 0078 43F01003 orr r3, r3, #16
6484 007c 6365 str r3, [r4, #84]
520:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6485 .loc 1 520 5 view .LVU1923
6486 007e A36D ldr r3, [r4, #88]
6487 0080 43F00103 orr r3, r3, #1
6488 0084 A365 str r3, [r4, #88]
522:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6489 .loc 1 522 5 view .LVU1924
6490 .LVL489:
522:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6491 .loc 1 522 20 is_stmt 0 view .LVU1925
6492 0086 0125 movs r5, #1
6493 .LVL490:
6494 .L468:
529:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6495 .loc 1 529 3 is_stmt 1 view .LVU1926
6496 .LBB525:
6497 .LBI525:
7073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6498 .loc 2 7073 26 view .LVU1927
6499 .LBB526:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6500 .loc 2 7075 3 view .LVU1928
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6501 .loc 2 7075 12 is_stmt 0 view .LVU1929
6502 0088 9368 ldr r3, [r2, #8]
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6503 .loc 2 7075 74 view .LVU1930
6504 008a 13F00403 ands r3, r3, #4
6505 008e 00D0 beq .L469
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6506 .loc 2 7075 74 discriminator 1 view .LVU1931
6507 0090 0123 movs r3, #1
6508 .L469:
6509 .LVL491:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6510 .loc 2 7075 74 discriminator 1 view .LVU1932
6511 .LBE526:
6512 .LBE525:
531:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_reg_is_conversion_on_going == 0UL)
6513 .loc 1 531 3 is_stmt 1 view .LVU1933
531:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_reg_is_conversion_on_going == 0UL)
6514 .loc 1 531 13 is_stmt 0 view .LVU1934
6515 0092 616D ldr r1, [r4, #84]
531:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_reg_is_conversion_on_going == 0UL)
6516 .loc 1 531 6 view .LVU1935
6517 0094 11F0100F tst r1, #16
6518 0098 40F09080 bne .L470
532:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** )
6519 .loc 1 532 7 view .LVU1936
6520 009c 002B cmp r3, #0
6521 009e 40F08D80 bne .L470
536:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY,
6522 .loc 1 536 5 is_stmt 1 view .LVU1937
6523 00a2 636D ldr r3, [r4, #84]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 378
6524 .LVL492:
536:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY,
6525 .loc 1 536 5 is_stmt 0 view .LVU1938
6526 00a4 23F48173 bic r3, r3, #258
6527 00a8 43F00203 orr r3, r3, #2
6528 00ac 6365 str r3, [r4, #84]
545:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6529 .loc 1 545 5 is_stmt 1 view .LVU1939
6530 .LVL493:
6531 .LBB527:
6532 .LBI527:
6941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6533 .loc 2 6941 26 view .LVU1940
6534 .LBB528:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6535 .loc 2 6943 3 view .LVU1941
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6536 .loc 2 6943 12 is_stmt 0 view .LVU1942
6537 00ae 9368 ldr r3, [r2, #8]
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6538 .loc 2 6943 68 view .LVU1943
6539 00b0 13F0010F tst r3, #1
6540 00b4 12D1 bne .L471
6541 .LVL494:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6542 .loc 2 6943 68 view .LVU1944
6543 .LBE528:
6544 .LBE527:
547:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6545 .loc 1 547 7 is_stmt 1 view .LVU1945
6546 .LBB529:
6547 .LBI529:
6941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6548 .loc 2 6941 26 view .LVU1946
6549 .LBB530:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6550 .loc 2 6943 3 view .LVU1947
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6551 .loc 2 6943 12 is_stmt 0 view .LVU1948
6552 00b6 4A4B ldr r3, .L488+16
6553 00b8 9B68 ldr r3, [r3, #8]
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6554 .loc 2 6943 68 view .LVU1949
6555 00ba 13F00103 ands r3, r3, #1
6556 00be 00D0 beq .L472
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6557 .loc 2 6943 68 discriminator 1 view .LVU1950
6558 00c0 0123 movs r3, #1
6559 .L472:
6560 .LVL495:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6561 .loc 2 6943 68 discriminator 1 view .LVU1951
6562 .LBE530:
6563 .LBE529:
6564 .LBB531:
6565 .LBI531:
6941:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 379
6566 .loc 2 6941 26 is_stmt 1 view .LVU1952
6567 .LBB532:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6568 .loc 2 6943 3 view .LVU1953
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6569 .loc 2 6943 12 is_stmt 0 view .LVU1954
6570 00c2 484A ldr r2, .L488+20
6571 00c4 9268 ldr r2, [r2, #8]
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6572 .loc 2 6943 68 view .LVU1955
6573 00c6 12F0010F tst r2, #1
6574 00ca 07D1 bne .L471
6575 .LVL496:
6943:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6576 .loc 2 6943 68 view .LVU1956
6577 .LBE532:
6578 .LBE531:
547:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6579 .loc 1 547 10 discriminator 2 view .LVU1957
6580 00cc 33B9 cbnz r3, .L471
566:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6581 .loc 1 566 9 is_stmt 1 view .LVU1958
6582 00ce 6368 ldr r3, [r4, #4]
6583 .LVL497:
6584 .LBB533:
6585 .LBI533:
2663:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6586 .loc 2 2663 22 view .LVU1959
6587 .LBB534:
2665:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6588 .loc 2 2665 3 view .LVU1960
6589 00d0 4549 ldr r1, .L488+24
6590 00d2 8A68 ldr r2, [r1, #8]
6591 00d4 22F47C12 bic r2, r2, #4128768
6592 00d8 1343 orrs r3, r3, r2
6593 .LVL498:
2665:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6594 .loc 2 2665 3 is_stmt 0 view .LVU1961
6595 00da 8B60 str r3, [r1, #8]
6596 .LVL499:
6597 .L471:
2665:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6598 .loc 2 2665 3 view .LVU1962
6599 .LBE534:
6600 .LBE533:
580:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Overrun |
6601 .loc 1 580 5 is_stmt 1 view .LVU1963
580:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Overrun |
6602 .loc 1 580 17 is_stmt 0 view .LVU1964
6603 00dc 627D ldrb r2, [r4, #21] @ zero_extendqisi2
581:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Resolution |
6604 .loc 1 581 27 view .LVU1965
6605 00de 236B ldr r3, [r4, #48]
580:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Overrun |
6606 .loc 1 580 88 view .LVU1966
6607 00e0 43EA4233 orr r3, r3, r2, lsl #13
582:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_REG_DISCONTINUOUS((uint32_t)hadc->Init.DiscontinuousConvMode));
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 380
6608 .loc 1 582 27 view .LVU1967
6609 00e4 A268 ldr r2, [r4, #8]
581:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Resolution |
6610 .loc 1 581 87 view .LVU1968
6611 00e6 1343 orrs r3, r3, r2
583:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6612 .loc 1 583 17 view .LVU1969
6613 00e8 227F ldrb r2, [r4, #28] @ zero_extendqisi2
580:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** hadc->Init.Overrun |
6614 .loc 1 580 14 view .LVU1970
6615 00ea 43EA0243 orr r3, r3, r2, lsl #16
6616 .LVL500:
623:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6617 .loc 1 623 5 is_stmt 1 view .LVU1971
623:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6618 .loc 1 623 8 is_stmt 0 view .LVU1972
6619 00ee 012A cmp r2, #1
6620 00f0 44D0 beq .L485
6621 .LVL501:
6622 .L473:
633:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6623 .loc 1 633 5 is_stmt 1 view .LVU1973
633:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6624 .loc 1 633 19 is_stmt 0 view .LVU1974
6625 00f2 626A ldr r2, [r4, #36]
633:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6626 .loc 1 633 8 view .LVU1975
6627 00f4 22B1 cbz r2, .L474
635:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** | hadc->Init.ExternalTrigConvEdge
6628 .loc 1 635 7 is_stmt 1 view .LVU1976
635:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** | hadc->Init.ExternalTrigConvEdge
6629 .loc 1 635 48 is_stmt 0 view .LVU1977
6630 00f6 02F47872 and r2, r2, #992
636:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** );
6631 .loc 1 636 31 view .LVU1978
6632 00fa A16A ldr r1, [r4, #40]
636:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** );
6633 .loc 1 636 19 view .LVU1979
6634 00fc 0A43 orrs r2, r2, r1
635:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** | hadc->Init.ExternalTrigConvEdge
6635 .loc 1 635 15 view .LVU1980
6636 00fe 1343 orrs r3, r3, r2
6637 .LVL502:
6638 .L474:
656:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
6639 .loc 1 656 5 is_stmt 1 view .LVU1981
6640 0100 2168 ldr r1, [r4]
6641 0102 C868 ldr r0, [r1, #12]
6642 0104 394A ldr r2, .L488+28
6643 0106 0240 ands r2, r2, r0
6644 0108 1A43 orrs r2, r2, r3
6645 010a CA60 str r2, [r1, #12]
665:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_injected = LL_ADC_INJ_IsConversionOngoing(hadc->Instance);
6646 .loc 1 665 5 view .LVU1982
665:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** tmp_adc_is_conversion_on_going_injected = LL_ADC_INJ_IsConversionOngoing(hadc->Instance);
6647 .loc 1 665 46 is_stmt 0 view .LVU1983
6648 010c 2268 ldr r2, [r4]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 381
6649 .LVL503:
6650 .LBB535:
6651 .LBI535:
7073:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6652 .loc 2 7073 26 is_stmt 1 view .LVU1984
6653 .LBB536:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6654 .loc 2 7075 3 view .LVU1985
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6655 .loc 2 7075 12 is_stmt 0 view .LVU1986
6656 010e 9368 ldr r3, [r2, #8]
6657 .LVL504:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6658 .loc 2 7075 74 view .LVU1987
6659 0110 13F00403 ands r3, r3, #4
6660 0114 00D0 beq .L475
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6661 .loc 2 7075 74 discriminator 1 view .LVU1988
6662 0116 0123 movs r3, #1
6663 .L475:
6664 .LVL505:
7075:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6665 .loc 2 7075 74 discriminator 1 view .LVU1989
6666 .LBE536:
6667 .LBE535:
666:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** if ((tmp_adc_is_conversion_on_going_regular == 0UL)
6668 .loc 1 666 5 is_stmt 1 view .LVU1990
6669 .LBB537:
6670 .LBI537:
7268:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** {
6671 .loc 2 7268 26 view .LVU1991
6672 .LBB538:
7270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6673 .loc 2 7270 3 view .LVU1992
7270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6674 .loc 2 7270 12 is_stmt 0 view .LVU1993
6675 0118 9168 ldr r1, [r2, #8]
7270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6676 .loc 2 7270 76 view .LVU1994
6677 011a 11F0080F tst r1, #8
6678 011e 1CD1 bne .L476
6679 .LVL506:
7270:Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_adc.h **** }
6680 .loc 2 7270 76 view .LVU1995
6681 .LBE538:
6682 .LBE537:
667:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_is_conversion_on_going_injected == 0UL)
6683 .loc 1 667 5 is_stmt 1 view .LVU1996
667:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** && (tmp_adc_is_conversion_on_going_injected == 0UL)
6684 .loc 1 667 8 is_stmt 0 view .LVU1997
6685 0120 DBB9 cbnz r3, .L476
685:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_AUTOWAIT((uint32_t)hadc->Init.LowPowerAutoWait) |
6686 .loc 1 685 7 is_stmt 1 view .LVU1998
686:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_DMACONTREQ((uint32_t)hadc->Init.ConversionDataManagement));
6687 .loc 1 686 19 is_stmt 0 view .LVU1999
6688 0122 217D ldrb r1, [r4, #20] @ zero_extendqisi2
687:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 382
6689 .loc 1 687 19 view .LVU2000
6690 0124 E36A ldr r3, [r4, #44]
6691 .LVL507:
685:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR_AUTOWAIT((uint32_t)hadc->Init.LowPowerAutoWait) |
6692 .loc 1 685 15 view .LVU2001
6693 0126 43EA8131 orr r1, r3, r1, lsl #14
6694 .LVL508:
690:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6695 .loc 1 690 7 is_stmt 1 view .LVU2002
6696 012a D068 ldr r0, [r2, #12]
6697 012c 304B ldr r3, .L488+32
6698 012e 0340 ands r3, r3, r0
6699 0130 0B43 orrs r3, r3, r1
6700 0132 D360 str r3, [r2, #12]
692:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6701 .loc 1 692 7 view .LVU2003
692:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6702 .loc 1 692 21 is_stmt 0 view .LVU2004
6703 0134 94F83830 ldrb r3, [r4, #56] @ zero_extendqisi2
692:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6704 .loc 1 692 10 view .LVU2005
6705 0138 012B cmp r3, #1
6706 013a 24D0 beq .L486
772:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6707 .loc 1 772 9 is_stmt 1 view .LVU2006
6708 013c 2268 ldr r2, [r4]
6709 013e 1369 ldr r3, [r2, #16]
6710 0140 23F00103 bic r3, r3, #1
6711 0144 1361 str r3, [r2, #16]
6712 .LVL509:
6713 .L478:
776:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #if defined(ADC_VER_V5_V90)
6714 .loc 1 776 7 view .LVU2007
6715 0146 2268 ldr r2, [r4]
6716 0148 1369 ldr r3, [r2, #16]
6717 014a 23F07043 bic r3, r3, #-268435456
6718 014e 616B ldr r1, [r4, #52]
6719 0150 0B43 orrs r3, r3, r1
6720 0152 1361 str r3, [r2, #16]
785:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
6721 .loc 1 785 7 view .LVU2008
6722 0154 2046 mov r0, r4
6723 0156 FFF7FEFF bl ADC_ConfigureBoostMode
6724 .LVL510:
6725 .L476:
798:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6726 .loc 1 798 5 view .LVU2009
798:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6727 .loc 1 798 19 is_stmt 0 view .LVU2010
6728 015a E368 ldr r3, [r4, #12]
798:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** {
6729 .loc 1 798 8 view .LVU2011
6730 015c 012B cmp r3, #1
6731 015e 24D0 beq .L487
805:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6732 .loc 1 805 7 is_stmt 1 view .LVU2012
6733 0160 2268 ldr r2, [r4]
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 383
6734 0162 136B ldr r3, [r2, #48]
6735 0164 23F00F03 bic r3, r3, #15
6736 0168 1363 str r3, [r2, #48]
6737 .L480:
810:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6738 .loc 1 810 5 view .LVU2013
6739 016a 636D ldr r3, [r4, #84]
6740 016c 23F00303 bic r3, r3, #3
6741 0170 43F00103 orr r3, r3, #1
6742 0174 6365 str r3, [r4, #84]
6743 0176 26E0 b .L462
6744 .LVL511:
6745 .L482:
409:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** uint32_t tmpCFGR;
6746 .loc 1 409 21 is_stmt 0 view .LVU2014
6747 0178 0025 movs r5, #0
6748 017a 85E7 b .L468
6749 .LVL512:
6750 .L485:
625:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6751 .loc 1 625 7 is_stmt 1 view .LVU2015
625:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6752 .loc 1 625 18 is_stmt 0 view .LVU2016
6753 017c 226A ldr r2, [r4, #32]
6754 017e 013A subs r2, r2, #1
625:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6755 .loc 1 625 15 view .LVU2017
6756 0180 43EA4243 orr r3, r3, r2, lsl #17
6757 .LVL513:
625:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6758 .loc 1 625 15 view .LVU2018
6759 0184 B5E7 b .L473
6760 .LVL514:
6761 .L486:
704:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** #endif
6762 .loc 1 704 9 is_stmt 1 view .LVU2019
706:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_TRIGGERED_OVERSAMPLING_MODE(hadc->Init.Oversampling.TriggeredMode));
6763 .loc 1 706 9 view .LVU2020
707:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** assert_param(IS_ADC_REGOVERSAMPLING_MODE(hadc->Init.Oversampling.OversamplingStopReset));
6764 .loc 1 707 9 view .LVU2021
708:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6765 .loc 1 708 9 view .LVU2022
710:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** || (hadc->Init.ExternalTrigConvEdge == ADC_EXTERNALTRIGCONVEDGE_NONE))
6766 .loc 1 710 9 view .LVU2023
714:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6767 .loc 1 714 11 view .LVU2024
760:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR2_ROVSE |
6768 .loc 1 760 9 view .LVU2025
6769 0186 2068 ldr r0, [r4]
6770 0188 0269 ldr r2, [r0, #16]
6771 018a 1A4B ldr r3, .L488+36
6772 018c 1340 ands r3, r3, r2
6773 018e E26B ldr r2, [r4, #60]
6774 0190 511E subs r1, r2, #1
6775 .LVL515:
760:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** ADC_CFGR2_ROVSE |
6776 .loc 1 760 9 is_stmt 0 view .LVU2026
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 384
6777 0192 226C ldr r2, [r4, #64]
6778 0194 42EA0142 orr r2, r2, r1, lsl #16
6779 0198 616C ldr r1, [r4, #68]
6780 019a 0A43 orrs r2, r2, r1
6781 019c A16C ldr r1, [r4, #72]
6782 019e 0A43 orrs r2, r2, r1
6783 01a0 1343 orrs r3, r3, r2
6784 01a2 43F00103 orr r3, r3, #1
6785 01a6 0361 str r3, [r0, #16]
6786 01a8 CDE7 b .L478
6787 .LVL516:
6788 .L487:
801:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6789 .loc 1 801 7 is_stmt 1 view .LVU2027
6790 01aa 2168 ldr r1, [r4]
6791 01ac 0B6B ldr r3, [r1, #48]
6792 01ae 23F00F03 bic r3, r3, #15
6793 01b2 A269 ldr r2, [r4, #24]
6794 01b4 013A subs r2, r2, #1
6795 01b6 1343 orrs r3, r3, r2
6796 01b8 0B63 str r3, [r1, #48]
6797 01ba D6E7 b .L480
6798 .LVL517:
6799 .L470:
815:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6800 .loc 1 815 5 view .LVU2028
6801 01bc 636D ldr r3, [r4, #84]
6802 .LVL518:
815:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6803 .loc 1 815 5 is_stmt 0 view .LVU2029
6804 01be 43F01003 orr r3, r3, #16
6805 01c2 6365 str r3, [r4, #84]
817:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6806 .loc 1 817 5 is_stmt 1 view .LVU2030
6807 .LVL519:
817:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6808 .loc 1 817 20 is_stmt 0 view .LVU2031
6809 01c4 0125 movs r5, #1
6810 .LVL520:
6811 .L462:
822:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c ****
6812 .loc 1 822 1 view .LVU2032
6813 01c6 2846 mov r0, r5
6814 01c8 03B0 add sp, sp, #12
6815 .cfi_remember_state
6816 .cfi_def_cfa_offset 12
6817 @ sp needed
6818 01ca 30BD pop {r4, r5, pc}
6819 .LVL521:
6820 .L481:
6821 .cfi_restore_state
419:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_adc.c **** }
6822 .loc 1 419 12 view .LVU2033
6823 01cc 0125 movs r5, #1
6824 01ce FAE7 b .L462
6825 .L489:
6826 .align 2
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 385
6827 .L488:
6828 01d0 C0FFFF5F .word 1610612672
6829 01d4 C0FFFF6F .word 1879048128
6830 01d8 00000000 .word SystemCoreClock
6831 01dc 632D3E05 .word 87960931
6832 01e0 00200240 .word 1073881088
6833 01e4 00210240 .word 1073881344
6834 01e8 00230240 .word 1073881856
6835 01ec 03C0F0FF .word -999421
6836 01f0 FCBFFFFF .word -16388
6837 01f4 1EF800FC .word -67045346
6838 .cfi_endproc
6839 .LFE335:
6841 .text
6842 .Letext0:
6843 .file 4 "C:/Users/lenex/AppData/Roaming/Code/User/globalStorage/bmd.stm32-for-vscode/@xpack-dev-to
6844 .file 5 "C:/Users/lenex/AppData/Roaming/Code/User/globalStorage/bmd.stm32-for-vscode/@xpack-dev-to
6845 .file 6 "Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7a3xx.h"
6846 .file 7 "Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7xx.h"
6847 .file 8 "Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h"
6848 .file 9 "Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h"
6849 .file 10 "Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_adc.h"
6850 .file 11 "Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_adc_ex.h"
6851 .file 12 "Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc_ex.h"
6852 .file 13 "Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h"
6853 .file 14 "Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h"
6854 .file 15 "Drivers/CMSIS/Device/ST/STM32H7xx/Include/system_stm32h7xx.h"
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 386
DEFINED SYMBOLS
*ABS*:00000000 stm32h7xx_hal_adc.c
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:20 .text.LL_ADC_REG_SetSequencerRanks:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:25 .text.LL_ADC_REG_SetSequencerRanks:00000000 LL_ADC_REG_SetSequencerRanks
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:70 .text.LL_ADC_SetChannelSamplingTime:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:75 .text.LL_ADC_SetChannelSamplingTime:00000000 LL_ADC_SetChannelSamplingTime
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:118 .text.LL_ADC_SetAnalogWDMonitChannels:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:123 .text.LL_ADC_SetAnalogWDMonitChannels:00000000 LL_ADC_SetAnalogWDMonitChannels
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:163 .text.LL_ADC_SetAnalogWDMonitChannels:0000002c $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:168 .text.HAL_ADC_MspInit:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:174 .text.HAL_ADC_MspInit:00000000 HAL_ADC_MspInit
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:189 .text.HAL_ADC_MspDeInit:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:195 .text.HAL_ADC_MspDeInit:00000000 HAL_ADC_MspDeInit
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:210 .text.HAL_ADC_PollForConversion:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:216 .text.HAL_ADC_PollForConversion:00000000 HAL_ADC_PollForConversion
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:499 .text.HAL_ADC_PollForConversion:00000114 $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:505 .text.HAL_ADC_PollForEvent:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:511 .text.HAL_ADC_PollForEvent:00000000 HAL_ADC_PollForEvent
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:698 .text.HAL_ADC_GetValue:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:704 .text.HAL_ADC_GetValue:00000000 HAL_ADC_GetValue
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:725 .text.HAL_ADC_ConvCpltCallback:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:731 .text.HAL_ADC_ConvCpltCallback:00000000 HAL_ADC_ConvCpltCallback
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:746 .text.HAL_ADC_ConvHalfCpltCallback:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:752 .text.HAL_ADC_ConvHalfCpltCallback:00000000 HAL_ADC_ConvHalfCpltCallback
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:767 .text.ADC_DMAHalfConvCplt:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:773 .text.ADC_DMAHalfConvCplt:00000000 ADC_DMAHalfConvCplt
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:799 .text.HAL_ADC_LevelOutOfWindowCallback:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:805 .text.HAL_ADC_LevelOutOfWindowCallback:00000000 HAL_ADC_LevelOutOfWindowCallback
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:820 .text.HAL_ADC_ErrorCallback:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:826 .text.HAL_ADC_ErrorCallback:00000000 HAL_ADC_ErrorCallback
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:841 .text.HAL_ADC_IRQHandler:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:847 .text.HAL_ADC_IRQHandler:00000000 HAL_ADC_IRQHandler
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:1417 .text.HAL_ADC_IRQHandler:00000274 $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:1422 .text.HAL_ADC_IRQHandler:0000027c $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:1453 .text.ADC_DMAConvCplt:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:1459 .text.ADC_DMAConvCplt:00000000 ADC_DMAConvCplt
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:1593 .text.ADC_DMAError:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:1599 .text.ADC_DMAError:00000000 ADC_DMAError
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:1632 .text.HAL_ADC_ConfigChannel:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:1638 .text.HAL_ADC_ConfigChannel:00000000 HAL_ADC_ConfigChannel
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:2588 .text.HAL_ADC_ConfigChannel:0000031c $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:2602 .text.HAL_ADC_ConfigChannel:00000324 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:2848 .text.HAL_ADC_ConfigChannel:0000040c $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:2859 .text.HAL_ADC_AnalogWDGConfig:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:2865 .text.HAL_ADC_AnalogWDGConfig:00000000 HAL_ADC_AnalogWDGConfig
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:3654 .text.HAL_ADC_AnalogWDGConfig:000002f0 $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:3670 .text.HAL_ADC_AnalogWDGConfig:000002fc $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:3884 .text.HAL_ADC_GetState:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:3890 .text.HAL_ADC_GetState:00000000 HAL_ADC_GetState
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:3909 .text.HAL_ADC_GetError:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:3915 .text.HAL_ADC_GetError:00000000 HAL_ADC_GetError
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:3934 .text.ADC_ConversionStop:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:3940 .text.ADC_ConversionStop:00000000 ADC_ConversionStop
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:4259 .text.ADC_ConversionStop:000000f4 $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:4265 .text.ADC_Enable:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:4271 .text.ADC_Enable:00000000 ADC_Enable
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:4480 .text.ADC_Enable:000000ac $d
ARM GAS C:\Users\lenex\AppData\Local\Temp\cczilwfL.s page 387
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:4488 .text.HAL_ADC_Start:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:4494 .text.HAL_ADC_Start:00000000 HAL_ADC_Start
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:4714 .text.HAL_ADC_Start:000000ec $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:4721 .text.HAL_ADC_Start_IT:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:4727 .text.HAL_ADC_Start_IT:00000000 HAL_ADC_Start_IT
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5042 .text.HAL_ADC_Start_IT:00000180 $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5049 .text.HAL_ADC_Start_DMA:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5055 .text.HAL_ADC_Start_DMA:00000000 HAL_ADC_Start_DMA
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5298 .text.HAL_ADC_Start_DMA:000000f4 $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5308 .text.ADC_Disable:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5314 .text.ADC_Disable:00000000 ADC_Disable
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5481 .text.ADC_Disable:00000090 $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5486 .text.HAL_ADC_DeInit:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5492 .text.HAL_ADC_DeInit:00000000 HAL_ADC_DeInit
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5770 .text.HAL_ADC_DeInit:00000198 $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5783 .text.HAL_ADC_Stop:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5789 .text.HAL_ADC_Stop:00000000 HAL_ADC_Stop
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5863 .text.HAL_ADC_Stop:00000040 $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5868 .text.HAL_ADC_Stop_IT:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5874 .text.HAL_ADC_Stop_IT:00000000 HAL_ADC_Stop_IT
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5953 .text.HAL_ADC_Stop_IT:00000048 $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5958 .text.HAL_ADC_Stop_DMA:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:5964 .text.HAL_ADC_Stop_DMA:00000000 HAL_ADC_Stop_DMA
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:6085 .text.HAL_ADC_Stop_DMA:0000007c $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:6090 .text.ADC_ConfigureBoostMode:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:6096 .text.ADC_ConfigureBoostMode:00000000 ADC_ConfigureBoostMode
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:6289 .text.ADC_ConfigureBoostMode:000000f0 $d
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:6297 .text.HAL_ADC_Init:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:6303 .text.HAL_ADC_Init:00000000 HAL_ADC_Init
C:\Users\lenex\AppData\Local\Temp\cczilwfL.s:6828 .text.HAL_ADC_Init:000001d0 $d
UNDEFINED SYMBOLS
HAL_GetTick
HAL_ADCEx_EndOfSamplingCallback
HAL_ADCEx_InjectedConvCpltCallback
HAL_ADCEx_LevelOutOfWindow2Callback
HAL_ADCEx_LevelOutOfWindow3Callback
HAL_ADCEx_InjectedQueueOverflowCallback
SystemCoreClock
HAL_DMA_Start_IT
HAL_DMA_Abort
HAL_RCC_GetHCLKFreq
HAL_RCCEx_GetPeriphCLKFreq